@etherisc/gif-next 0.0.2-de220d6-949 → 0.0.2-de9ede4-391

Sign up to get free protection for your applications and to get access to all the features.
Files changed (778) hide show
  1. package/README.md +322 -20
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1000 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +746 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +767 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/{shared/IOwnable.sol/IOwnable.json → authorization/AccessAdmin.sol/IAccessManagedChecker.json} +4 -4
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +414 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/access → authorization}/IAccess.sol/IAccess.json +1 -1
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  24. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -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 +1292 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +986 -0
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1494 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +862 -0
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +885 -0
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  41. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +984 -0
  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 +1441 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1991 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -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 +1429 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +470 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1145 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1605 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +502 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2293 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +470 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +808 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +342 -1498
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +709 -0
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +466 -1768
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1684 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +574 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2453 -0
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1018 -0
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +746 -0
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3946 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -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/base/Cloneable.sol/Cloneable.json +137 -0
  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 +181 -0
  100. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  103. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  104. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  105. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  106. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  107. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  108. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  112. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  113. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +929 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +744 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  125. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +845 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  127. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +990 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +766 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1222 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  135. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1360 -0
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  137. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  139. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +922 -0
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  141. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +877 -0
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1285 -0
  144. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  145. package/artifacts/contracts/pool/Pool.sol/Pool.json +997 -0
  146. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1619 -0
  148. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +794 -0
  150. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +806 -0
  152. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  154. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1116 -0
  156. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  158. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1439 -0
  160. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +858 -0
  162. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +573 -0
  164. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
  166. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +944 -0
  168. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +578 -0
  170. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +973 -0
  172. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  173. package/artifacts/contracts/product/IRiskService.sol/IRiskService.json +429 -0
  174. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1313 -0
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  177. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +810 -0
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingService.sol/PricingService.json +923 -0
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  181. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  182. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  183. package/artifacts/contracts/product/Product.sol/Product.json +1074 -0
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  187. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  189. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +242 -12
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +1000 -119
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1019 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +39 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1427 -220
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1899 -0
  200. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1262 -0
  202. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  203. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +737 -0
  204. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  205. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  206. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  208. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  210. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  212. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  213. package/artifacts/contracts/shared/Component.sol/Component.json +677 -0
  214. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  215. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1574 -0
  216. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  217. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +818 -0
  218. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  219. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +232 -235
  220. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  223. package/artifacts/contracts/{registry/IRegistryLinked.sol/IRegistryLinked.json → shared/ContractLib.sol/IInstanceAdminHelper.json} +5 -5
  224. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  226. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  227. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +602 -0
  228. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  229. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1197 -0
  230. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  231. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +679 -0
  232. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  233. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +140 -141
  234. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  235. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  236. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  237. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +47 -74
  238. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  239. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  240. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +113 -24
  242. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  243. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  244. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  245. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +182 -171
  246. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  247. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  248. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  249. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +767 -0
  250. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  251. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  252. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  253. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  254. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  255. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  256. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  257. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +209 -0
  258. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  259. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  260. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +224 -23
  262. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  263. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  264. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  265. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/Service.sol/Service.json} +239 -173
  266. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  267. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +822 -0
  268. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  269. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  270. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  271. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  272. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  273. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1417 -0
  274. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  275. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
  276. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  277. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  278. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  279. package/artifacts/contracts/staking/Staking.sol/Staking.json +1816 -0
  280. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  281. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  282. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +780 -0
  284. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  286. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1265 -0
  288. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +734 -0
  290. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  292. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  293. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  294. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  295. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  296. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  298. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  300. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  302. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  304. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  306. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  308. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  309. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  310. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  312. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  313. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  314. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  316. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  318. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  320. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  322. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +180 -0
  324. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  326. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  328. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  330. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  332. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  334. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  336. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  338. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  340. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  342. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  344. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  345. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  346. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  347. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  348. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  350. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  352. package/contracts/accounting/AccountingService.sol +263 -0
  353. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  354. package/contracts/accounting/IAccountingService.sol +45 -0
  355. package/contracts/authorization/AccessAdmin.sol +615 -0
  356. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  357. package/contracts/authorization/Authorization.sol +289 -0
  358. package/contracts/authorization/IAccess.sol +49 -0
  359. package/contracts/authorization/IAccessAdmin.sol +137 -0
  360. package/contracts/authorization/IAuthorization.sol +60 -0
  361. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  362. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  363. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  364. package/contracts/distribution/BasicDistribution.sol +139 -0
  365. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  366. package/contracts/distribution/Distribution.sol +287 -0
  367. package/contracts/distribution/DistributionService.sol +357 -0
  368. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  369. package/contracts/distribution/IDistributionComponent.sol +52 -0
  370. package/contracts/distribution/IDistributionService.sol +100 -0
  371. package/contracts/examples/fire/DamageLevel.sol +59 -0
  372. package/contracts/examples/fire/FirePool.sol +90 -0
  373. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  374. package/contracts/examples/fire/FireProduct.sol +436 -0
  375. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  376. package/contracts/examples/fire/FireUSD.sol +26 -0
  377. package/contracts/examples/unpermissioned/SimpleDistribution.sol +57 -0
  378. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  379. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  380. package/contracts/examples/unpermissioned/SimplePool.sol +107 -0
  381. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  382. package/contracts/examples/unpermissioned/SimpleProduct.sol +352 -0
  383. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  384. package/contracts/instance/BundleSet.sol +130 -0
  385. package/contracts/instance/IInstance.sol +63 -44
  386. package/contracts/instance/IInstanceService.sol +70 -0
  387. package/contracts/instance/Instance.sol +225 -54
  388. package/contracts/instance/InstanceAdmin.sol +288 -0
  389. package/contracts/instance/InstanceAuthorizationV3.sol +222 -0
  390. package/contracts/instance/InstanceReader.sol +596 -0
  391. package/contracts/instance/InstanceService.sol +392 -0
  392. package/contracts/instance/InstanceServiceManager.sol +39 -0
  393. package/contracts/instance/InstanceStore.sol +297 -0
  394. package/contracts/instance/RiskSet.sol +119 -0
  395. package/contracts/instance/base/BalanceStore.sol +123 -0
  396. package/contracts/instance/base/Cloneable.sol +28 -0
  397. package/contracts/instance/base/ObjectCounter.sol +20 -0
  398. package/contracts/instance/base/ObjectLifecycle.sol +112 -0
  399. package/contracts/instance/base/ObjectSet.sol +78 -0
  400. package/contracts/instance/module/IAccess.sol +46 -0
  401. package/contracts/instance/module/IBundle.sol +20 -0
  402. package/contracts/instance/module/IComponents.sol +59 -0
  403. package/contracts/instance/module/IDistribution.sol +41 -0
  404. package/contracts/instance/module/IPolicy.sol +85 -0
  405. package/contracts/instance/module/IRisk.sol +12 -0
  406. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  407. package/contracts/oracle/BasicOracle.sol +47 -0
  408. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  409. package/contracts/oracle/IOracle.sol +36 -0
  410. package/contracts/oracle/IOracleComponent.sol +33 -0
  411. package/contracts/oracle/IOracleService.sol +66 -0
  412. package/contracts/oracle/Oracle.sol +156 -0
  413. package/contracts/oracle/OracleService.sol +309 -0
  414. package/contracts/oracle/OracleServiceManager.sol +39 -0
  415. package/contracts/pool/BasicPool.sol +175 -0
  416. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  417. package/contracts/pool/BundleService.sol +425 -0
  418. package/contracts/pool/BundleServiceManager.sol +39 -0
  419. package/contracts/pool/IBundleService.sol +121 -0
  420. package/contracts/pool/IPoolComponent.sol +62 -0
  421. package/contracts/pool/IPoolService.sol +153 -0
  422. package/contracts/pool/Pool.sol +345 -0
  423. package/contracts/pool/PoolService.sol +615 -0
  424. package/contracts/pool/PoolServiceManager.sol +39 -0
  425. package/contracts/product/ApplicationService.sol +259 -0
  426. package/contracts/product/ApplicationServiceManager.sol +38 -0
  427. package/contracts/product/BasicProduct.sol +49 -0
  428. package/contracts/product/BasicProductAuthorization.sol +41 -0
  429. package/contracts/product/ClaimService.sol +614 -0
  430. package/contracts/product/ClaimServiceManager.sol +38 -0
  431. package/contracts/product/IApplicationService.sol +66 -0
  432. package/contracts/product/IClaimService.sol +123 -0
  433. package/contracts/product/IPolicyService.sol +90 -0
  434. package/contracts/product/IPricingService.sol +39 -0
  435. package/contracts/product/IProductComponent.sol +59 -0
  436. package/contracts/product/IRiskService.sol +33 -0
  437. package/contracts/product/PolicyService.sol +736 -0
  438. package/contracts/product/PolicyServiceManager.sol +39 -0
  439. package/contracts/product/PricingService.sol +300 -0
  440. package/contracts/product/PricingServiceManager.sol +39 -0
  441. package/contracts/product/Product.sol +427 -0
  442. package/contracts/product/RiskService.sol +107 -0
  443. package/contracts/product/RiskServiceManager.sol +39 -0
  444. package/contracts/registry/ChainNft.sol +130 -40
  445. package/contracts/registry/IRegistry.sol +144 -28
  446. package/contracts/registry/IRegistryService.sol +62 -0
  447. package/contracts/registry/ITransferInterceptor.sol +6 -0
  448. package/contracts/registry/Registry.sol +626 -282
  449. package/contracts/registry/RegistryAdmin.sol +457 -0
  450. package/contracts/registry/RegistryService.sol +241 -0
  451. package/contracts/registry/RegistryServiceManager.sol +53 -0
  452. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  453. package/contracts/registry/ReleaseRegistry.sol +486 -0
  454. package/contracts/registry/ServiceAuthorizationV3.sol +207 -0
  455. package/contracts/registry/TokenRegistry.sol +315 -0
  456. package/contracts/shared/Component.sol +219 -0
  457. package/contracts/shared/ComponentService.sol +696 -0
  458. package/contracts/shared/ComponentServiceManager.sol +38 -0
  459. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  460. package/contracts/shared/ContractLib.sol +224 -0
  461. package/contracts/shared/IComponent.sol +62 -0
  462. package/contracts/shared/IComponentService.sol +116 -0
  463. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  464. package/contracts/shared/IKeyValueStore.sol +54 -0
  465. package/contracts/{instance/base → shared}/ILifecycle.sol +6 -5
  466. package/contracts/shared/INftOwnable.sol +25 -0
  467. package/contracts/shared/IPolicyHolder.sol +35 -0
  468. package/contracts/shared/IRegisterable.sol +23 -21
  469. package/contracts/shared/IRegistryLinked.sol +11 -0
  470. package/contracts/shared/IService.sol +25 -0
  471. package/contracts/shared/InitializableERC165.sol +27 -0
  472. package/contracts/shared/InstanceLinkedComponent.sol +197 -0
  473. package/contracts/shared/KeyValueStore.sol +131 -0
  474. package/contracts/shared/Lifecycle.sol +88 -0
  475. package/contracts/shared/NftIdSet.sol +65 -0
  476. package/contracts/shared/NftOwnable.sol +127 -0
  477. package/contracts/shared/PolicyHolder.sol +62 -0
  478. package/contracts/shared/Registerable.sol +60 -63
  479. package/contracts/shared/RegistryLinked.sol +38 -0
  480. package/contracts/shared/Service.sol +84 -0
  481. package/contracts/shared/TokenHandler.sol +389 -0
  482. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  483. package/contracts/staking/IStaking.sol +173 -0
  484. package/contracts/staking/IStakingService.sol +157 -0
  485. package/contracts/staking/StakeManagerLib.sol +224 -0
  486. package/contracts/staking/Staking.sol +515 -0
  487. package/contracts/staking/StakingLifecycle.sol +23 -0
  488. package/contracts/staking/StakingManager.sol +52 -0
  489. package/contracts/staking/StakingReader.sol +190 -0
  490. package/contracts/staking/StakingService.sol +440 -0
  491. package/contracts/staking/StakingServiceManager.sol +44 -0
  492. package/contracts/staking/StakingStore.sol +605 -0
  493. package/contracts/staking/TargetManagerLib.sol +211 -0
  494. package/contracts/{types → type}/AddressSet.sol +1 -1
  495. package/contracts/type/Amount.sol +150 -0
  496. package/contracts/{types → type}/Blocknumber.sol +27 -3
  497. package/contracts/type/ClaimId.sol +80 -0
  498. package/contracts/type/DistributorType.sol +55 -0
  499. package/contracts/type/Fee.sol +66 -0
  500. package/contracts/{types → type}/Key32.sol +10 -5
  501. package/contracts/type/Key32Set.sol +62 -0
  502. package/contracts/{types → type}/NftId.sol +28 -15
  503. package/contracts/type/NftIdSet.sol +62 -0
  504. package/contracts/type/ObjectType.sol +289 -0
  505. package/contracts/type/PayoutId.sol +82 -0
  506. package/contracts/type/Referral.sol +90 -0
  507. package/contracts/type/RequestId.sol +75 -0
  508. package/contracts/type/RiskId.sol +69 -0
  509. package/contracts/type/RoleId.sol +162 -0
  510. package/contracts/type/Seconds.sol +101 -0
  511. package/contracts/type/Selector.sol +102 -0
  512. package/contracts/{types → type}/StateId.sol +53 -5
  513. package/contracts/type/String.sol +53 -0
  514. package/contracts/{types → type}/Timestamp.sol +38 -15
  515. package/contracts/{types → type}/UFixed.sol +48 -12
  516. package/contracts/{types → type}/Version.sol +17 -2
  517. package/contracts/upgradeability/IVersionable.sol +53 -0
  518. package/contracts/upgradeability/ProxyManager.sol +232 -0
  519. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +14 -0
  520. package/contracts/upgradeability/Versionable.sol +59 -0
  521. package/package.json +12 -7
  522. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  523. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  524. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  525. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  526. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  527. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  528. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  529. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  530. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  531. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  532. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  533. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.dbg.json +0 -4
  534. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IIncrementRevert.json +0 -27
  535. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.dbg.json +0 -4
  536. package/artifacts/contracts/experiment/errors/IncrementRevert.sol/IncrementRevert.json +0 -83
  537. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  538. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  539. package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.dbg.json +0 -4
  540. package/artifacts/contracts/experiment/errors/Revert.sol/IRevert.json +0 -75
  541. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  542. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -137
  543. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  544. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  545. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  547. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  549. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  551. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  553. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  555. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  556. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  557. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  558. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  559. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  560. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  561. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  562. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  563. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  564. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  565. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  566. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  568. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  570. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  572. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  573. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  574. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  575. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  576. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  577. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  578. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  579. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  580. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  581. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  582. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  583. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  584. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  585. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -692
  586. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  587. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  588. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  589. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  590. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  591. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  592. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  593. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  594. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  595. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  596. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  597. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  598. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  599. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  600. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  601. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  602. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  603. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  604. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  605. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  606. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  607. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  609. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  611. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  612. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  613. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  614. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  615. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  616. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  617. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  618. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  619. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  620. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  621. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  622. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  623. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  624. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  625. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  626. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  627. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  628. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  629. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  630. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  631. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  632. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  633. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  634. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  635. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  636. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  637. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  638. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  639. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  640. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  641. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  642. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  643. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  644. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  645. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  646. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  647. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  648. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  649. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  650. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  651. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  652. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  653. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -164
  654. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  655. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -164
  656. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  657. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  658. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  659. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  660. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  661. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  662. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  663. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  664. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  665. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  666. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  667. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  668. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  669. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  670. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  671. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  672. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  673. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  674. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  675. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  676. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  677. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  678. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  679. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  680. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  681. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  682. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  683. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  684. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  685. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  686. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  687. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  688. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  689. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  690. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  691. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  692. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  693. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  694. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  695. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  696. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  697. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  698. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  699. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  700. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  701. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  702. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  703. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  704. package/contracts/components/BaseComponent.sol +0 -88
  705. package/contracts/components/IBaseComponent.sol +0 -19
  706. package/contracts/components/IPoolComponent.sol +0 -57
  707. package/contracts/components/IProductComponent.sol +0 -19
  708. package/contracts/components/Pool.sol +0 -174
  709. package/contracts/components/Product.sol +0 -117
  710. package/contracts/experiment/errors/IncrementRevert.sol +0 -43
  711. package/contracts/experiment/errors/Require.sol +0 -38
  712. package/contracts/experiment/errors/Revert.sol +0 -53
  713. package/contracts/experiment/inheritance/A.sol +0 -53
  714. package/contracts/experiment/inheritance/B.sol +0 -28
  715. package/contracts/experiment/inheritance/C.sol +0 -34
  716. package/contracts/experiment/inheritance/IA.sol +0 -13
  717. package/contracts/experiment/inheritance/IB.sol +0 -10
  718. package/contracts/experiment/inheritance/IC.sol +0 -12
  719. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  720. package/contracts/experiment/statemachine/ISM.sol +0 -25
  721. package/contracts/experiment/statemachine/README.md +0 -112
  722. package/contracts/experiment/statemachine/SM.sol +0 -57
  723. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  724. package/contracts/experiment/types/TypeA.sol +0 -47
  725. package/contracts/experiment/types/TypeB.sol +0 -29
  726. package/contracts/instance/IInstanceLinked.sol +0 -8
  727. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  728. package/contracts/instance/base/IInstanceBase.sol +0 -14
  729. package/contracts/instance/base/IKeyValueStore.sol +0 -49
  730. package/contracts/instance/base/IService.sol +0 -15
  731. package/contracts/instance/base/InstanceBase.sol +0 -80
  732. package/contracts/instance/base/KeyValueStore.sol +0 -156
  733. package/contracts/instance/base/Lifecycle.sol +0 -95
  734. package/contracts/instance/base/ModuleBase.sol +0 -52
  735. package/contracts/instance/base/ServiceBase.sol +0 -37
  736. package/contracts/instance/module/access/Access.sol +0 -149
  737. package/contracts/instance/module/access/IAccess.sol +0 -53
  738. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  739. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  740. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  741. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  742. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  743. package/contracts/instance/module/component/IComponent.sol +0 -53
  744. package/contracts/instance/module/policy/IPolicy.sol +0 -61
  745. package/contracts/instance/module/policy/PolicyModule.sol +0 -77
  746. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  747. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  748. package/contracts/instance/module/risk/IRisk.sol +0 -10
  749. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  750. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  751. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  752. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  753. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  754. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  755. package/contracts/instance/service/IPoolService.sol +0 -30
  756. package/contracts/instance/service/IProductService.sol +0 -58
  757. package/contracts/instance/service/PoolService.sol +0 -123
  758. package/contracts/instance/service/ProductService.sol +0 -354
  759. package/contracts/registry/IChainNft.sol +0 -21
  760. package/contracts/registry/IRegistryLinked.sol +0 -8
  761. package/contracts/shared/ERC165.sol +0 -21
  762. package/contracts/shared/IOwnable.sol +0 -6
  763. package/contracts/shared/IVersionable.sol +0 -52
  764. package/contracts/shared/Versionable.sol +0 -89
  765. package/contracts/test/TestFee.sol +0 -25
  766. package/contracts/test/TestPool.sol +0 -22
  767. package/contracts/test/TestProduct.sol +0 -44
  768. package/contracts/test/TestRegisterable.sol +0 -19
  769. package/contracts/test/TestRoleId.sol +0 -14
  770. package/contracts/test/TestService.sol +0 -32
  771. package/contracts/test/TestToken.sol +0 -26
  772. package/contracts/test/TestVersion.sol +0 -44
  773. package/contracts/test/TestVersionable.sol +0 -17
  774. package/contracts/types/ChainId.sol +0 -38
  775. package/contracts/types/Fee.sol +0 -51
  776. package/contracts/types/NftIdSet.sol +0 -60
  777. package/contracts/types/ObjectType.sol +0 -115
  778. package/contracts/types/RoleId.sol +0 -38
@@ -0,0 +1,3946 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceStore",
4
+ "sourceName": "contracts/instance/InstanceStore.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "targetNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorBalanceStoreTargetAlreadyRegistered",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "targetNftId",
60
+ "type": "uint96"
61
+ }
62
+ ],
63
+ "name": "ErrorBalanceStoreTargetNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "contractAddress",
71
+ "type": "address"
72
+ },
73
+ {
74
+ "internalType": "ObjectType",
75
+ "name": "objectType",
76
+ "type": "uint8"
77
+ },
78
+ {
79
+ "internalType": "StateId",
80
+ "name": "actual",
81
+ "type": "uint8"
82
+ },
83
+ {
84
+ "internalType": "StateId",
85
+ "name": "required",
86
+ "type": "uint8"
87
+ }
88
+ ],
89
+ "name": "ErrorFromStateMissmatch",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "contractAddress",
97
+ "type": "address"
98
+ },
99
+ {
100
+ "internalType": "ObjectType",
101
+ "name": "objectType",
102
+ "type": "uint8"
103
+ },
104
+ {
105
+ "internalType": "StateId",
106
+ "name": "fromStateId",
107
+ "type": "uint8"
108
+ },
109
+ {
110
+ "internalType": "StateId",
111
+ "name": "toStateId",
112
+ "type": "uint8"
113
+ }
114
+ ],
115
+ "name": "ErrorInvalidStateTransition",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "Key32",
122
+ "name": "key",
123
+ "type": "bytes32"
124
+ },
125
+ {
126
+ "internalType": "ObjectType",
127
+ "name": "objectType",
128
+ "type": "uint8"
129
+ }
130
+ ],
131
+ "name": "ErrorKeyValueStoreAlreadyCreated",
132
+ "type": "error"
133
+ },
134
+ {
135
+ "inputs": [
136
+ {
137
+ "internalType": "ObjectType",
138
+ "name": "objectType",
139
+ "type": "uint8"
140
+ }
141
+ ],
142
+ "name": "ErrorKeyValueStoreNoLifecycle",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "Key32",
149
+ "name": "key",
150
+ "type": "bytes32"
151
+ }
152
+ ],
153
+ "name": "ErrorKeyValueStoreNotExisting",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [
158
+ {
159
+ "internalType": "Key32",
160
+ "name": "key",
161
+ "type": "bytes32"
162
+ }
163
+ ],
164
+ "name": "ErrorKeyValueStoreStateZero",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "ObjectType",
171
+ "name": "objectType",
172
+ "type": "uint8"
173
+ }
174
+ ],
175
+ "name": "ErrorKeyValueStoreTypeUndefined",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "contractAddress",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "internalType": "ObjectType",
187
+ "name": "objectType",
188
+ "type": "uint8"
189
+ }
190
+ ],
191
+ "name": "ErrorNoLifecycle",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "InvalidInitialization",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [],
201
+ "name": "NotInitializing",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "anonymous": false,
206
+ "inputs": [
207
+ {
208
+ "indexed": false,
209
+ "internalType": "address",
210
+ "name": "authority",
211
+ "type": "address"
212
+ }
213
+ ],
214
+ "name": "AuthorityUpdated",
215
+ "type": "event"
216
+ },
217
+ {
218
+ "anonymous": false,
219
+ "inputs": [
220
+ {
221
+ "indexed": false,
222
+ "internalType": "uint64",
223
+ "name": "version",
224
+ "type": "uint64"
225
+ }
226
+ ],
227
+ "name": "Initialized",
228
+ "type": "event"
229
+ },
230
+ {
231
+ "anonymous": false,
232
+ "inputs": [
233
+ {
234
+ "indexed": false,
235
+ "internalType": "NftId",
236
+ "name": "targetNftId",
237
+ "type": "uint96"
238
+ },
239
+ {
240
+ "indexed": false,
241
+ "internalType": "Amount",
242
+ "name": "addedAmount",
243
+ "type": "uint96"
244
+ },
245
+ {
246
+ "indexed": false,
247
+ "internalType": "Amount",
248
+ "name": "newBalance",
249
+ "type": "uint96"
250
+ },
251
+ {
252
+ "indexed": false,
253
+ "internalType": "Blocknumber",
254
+ "name": "lastUpdatedIn",
255
+ "type": "uint32"
256
+ }
257
+ ],
258
+ "name": "LogBalanceStoreBalanceDecreased",
259
+ "type": "event"
260
+ },
261
+ {
262
+ "anonymous": false,
263
+ "inputs": [
264
+ {
265
+ "indexed": false,
266
+ "internalType": "NftId",
267
+ "name": "targetNftId",
268
+ "type": "uint96"
269
+ },
270
+ {
271
+ "indexed": false,
272
+ "internalType": "Amount",
273
+ "name": "addedAmount",
274
+ "type": "uint96"
275
+ },
276
+ {
277
+ "indexed": false,
278
+ "internalType": "Amount",
279
+ "name": "newBalance",
280
+ "type": "uint96"
281
+ },
282
+ {
283
+ "indexed": false,
284
+ "internalType": "Blocknumber",
285
+ "name": "lastUpdatedIn",
286
+ "type": "uint32"
287
+ }
288
+ ],
289
+ "name": "LogBalanceStoreBalanceIncreased",
290
+ "type": "event"
291
+ },
292
+ {
293
+ "anonymous": false,
294
+ "inputs": [
295
+ {
296
+ "indexed": false,
297
+ "internalType": "NftId",
298
+ "name": "targetNftId",
299
+ "type": "uint96"
300
+ },
301
+ {
302
+ "indexed": false,
303
+ "internalType": "Amount",
304
+ "name": "addedAmount",
305
+ "type": "uint96"
306
+ },
307
+ {
308
+ "indexed": false,
309
+ "internalType": "Amount",
310
+ "name": "newBalance",
311
+ "type": "uint96"
312
+ },
313
+ {
314
+ "indexed": false,
315
+ "internalType": "Blocknumber",
316
+ "name": "lastUpdatedIn",
317
+ "type": "uint32"
318
+ }
319
+ ],
320
+ "name": "LogBalanceStoreFeesDecreased",
321
+ "type": "event"
322
+ },
323
+ {
324
+ "anonymous": false,
325
+ "inputs": [
326
+ {
327
+ "indexed": false,
328
+ "internalType": "NftId",
329
+ "name": "targetNftId",
330
+ "type": "uint96"
331
+ },
332
+ {
333
+ "indexed": false,
334
+ "internalType": "Amount",
335
+ "name": "addedAmount",
336
+ "type": "uint96"
337
+ },
338
+ {
339
+ "indexed": false,
340
+ "internalType": "Amount",
341
+ "name": "newBalance",
342
+ "type": "uint96"
343
+ },
344
+ {
345
+ "indexed": false,
346
+ "internalType": "Blocknumber",
347
+ "name": "lastUpdatedIn",
348
+ "type": "uint32"
349
+ }
350
+ ],
351
+ "name": "LogBalanceStoreFeesIncreased",
352
+ "type": "event"
353
+ },
354
+ {
355
+ "anonymous": false,
356
+ "inputs": [
357
+ {
358
+ "indexed": false,
359
+ "internalType": "NftId",
360
+ "name": "targetNftId",
361
+ "type": "uint96"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "Amount",
366
+ "name": "addedAmount",
367
+ "type": "uint96"
368
+ },
369
+ {
370
+ "indexed": false,
371
+ "internalType": "Amount",
372
+ "name": "newBalance",
373
+ "type": "uint96"
374
+ },
375
+ {
376
+ "indexed": false,
377
+ "internalType": "Blocknumber",
378
+ "name": "lastUpdatedIn",
379
+ "type": "uint32"
380
+ }
381
+ ],
382
+ "name": "LogBalanceStoreLockedDecreased",
383
+ "type": "event"
384
+ },
385
+ {
386
+ "anonymous": false,
387
+ "inputs": [
388
+ {
389
+ "indexed": false,
390
+ "internalType": "NftId",
391
+ "name": "targetNftId",
392
+ "type": "uint96"
393
+ },
394
+ {
395
+ "indexed": false,
396
+ "internalType": "Amount",
397
+ "name": "addedAmount",
398
+ "type": "uint96"
399
+ },
400
+ {
401
+ "indexed": false,
402
+ "internalType": "Amount",
403
+ "name": "newBalance",
404
+ "type": "uint96"
405
+ },
406
+ {
407
+ "indexed": false,
408
+ "internalType": "Blocknumber",
409
+ "name": "lastUpdatedIn",
410
+ "type": "uint32"
411
+ }
412
+ ],
413
+ "name": "LogBalanceStoreLockedIncreased",
414
+ "type": "event"
415
+ },
416
+ {
417
+ "anonymous": false,
418
+ "inputs": [
419
+ {
420
+ "indexed": false,
421
+ "internalType": "NftId",
422
+ "name": "targetNftId",
423
+ "type": "uint96"
424
+ }
425
+ ],
426
+ "name": "LogBalanceStoreTargetRegistered",
427
+ "type": "event"
428
+ },
429
+ {
430
+ "anonymous": false,
431
+ "inputs": [
432
+ {
433
+ "indexed": false,
434
+ "internalType": "ObjectType",
435
+ "name": "objectType",
436
+ "type": "uint8"
437
+ },
438
+ {
439
+ "indexed": false,
440
+ "internalType": "KeyId",
441
+ "name": "keyId",
442
+ "type": "bytes31"
443
+ },
444
+ {
445
+ "indexed": false,
446
+ "internalType": "StateId",
447
+ "name": "state",
448
+ "type": "uint8"
449
+ },
450
+ {
451
+ "indexed": false,
452
+ "internalType": "address",
453
+ "name": "createdBy",
454
+ "type": "address"
455
+ },
456
+ {
457
+ "indexed": false,
458
+ "internalType": "address",
459
+ "name": "txOrigin",
460
+ "type": "address"
461
+ }
462
+ ],
463
+ "name": "LogInfoCreated",
464
+ "type": "event"
465
+ },
466
+ {
467
+ "anonymous": false,
468
+ "inputs": [
469
+ {
470
+ "indexed": false,
471
+ "internalType": "ObjectType",
472
+ "name": "objectType",
473
+ "type": "uint8"
474
+ },
475
+ {
476
+ "indexed": false,
477
+ "internalType": "KeyId",
478
+ "name": "keyId",
479
+ "type": "bytes31"
480
+ },
481
+ {
482
+ "indexed": false,
483
+ "internalType": "StateId",
484
+ "name": "state",
485
+ "type": "uint8"
486
+ },
487
+ {
488
+ "indexed": false,
489
+ "internalType": "address",
490
+ "name": "updatedBy",
491
+ "type": "address"
492
+ },
493
+ {
494
+ "indexed": false,
495
+ "internalType": "address",
496
+ "name": "txOrigin",
497
+ "type": "address"
498
+ },
499
+ {
500
+ "indexed": false,
501
+ "internalType": "Blocknumber",
502
+ "name": "lastUpdatedIn",
503
+ "type": "uint32"
504
+ }
505
+ ],
506
+ "name": "LogInfoUpdated",
507
+ "type": "event"
508
+ },
509
+ {
510
+ "anonymous": false,
511
+ "inputs": [
512
+ {
513
+ "indexed": false,
514
+ "internalType": "ObjectType",
515
+ "name": "objectType",
516
+ "type": "uint8"
517
+ },
518
+ {
519
+ "indexed": false,
520
+ "internalType": "KeyId",
521
+ "name": "keyId",
522
+ "type": "bytes31"
523
+ },
524
+ {
525
+ "indexed": false,
526
+ "internalType": "StateId",
527
+ "name": "stateOld",
528
+ "type": "uint8"
529
+ },
530
+ {
531
+ "indexed": false,
532
+ "internalType": "StateId",
533
+ "name": "stateNew",
534
+ "type": "uint8"
535
+ },
536
+ {
537
+ "indexed": false,
538
+ "internalType": "address",
539
+ "name": "updatedBy",
540
+ "type": "address"
541
+ },
542
+ {
543
+ "indexed": false,
544
+ "internalType": "address",
545
+ "name": "txOrigin",
546
+ "type": "address"
547
+ },
548
+ {
549
+ "indexed": false,
550
+ "internalType": "Blocknumber",
551
+ "name": "lastUpdatedIn",
552
+ "type": "uint32"
553
+ }
554
+ ],
555
+ "name": "LogStateUpdated",
556
+ "type": "event"
557
+ },
558
+ {
559
+ "inputs": [],
560
+ "name": "authority",
561
+ "outputs": [
562
+ {
563
+ "internalType": "address",
564
+ "name": "",
565
+ "type": "address"
566
+ }
567
+ ],
568
+ "stateMutability": "view",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [
573
+ {
574
+ "internalType": "StateId",
575
+ "name": "stateId",
576
+ "type": "uint8"
577
+ },
578
+ {
579
+ "internalType": "ObjectType",
580
+ "name": "objectType",
581
+ "type": "uint8"
582
+ },
583
+ {
584
+ "internalType": "StateId",
585
+ "name": "expectedFromId",
586
+ "type": "uint8"
587
+ },
588
+ {
589
+ "internalType": "StateId",
590
+ "name": "toId",
591
+ "type": "uint8"
592
+ }
593
+ ],
594
+ "name": "checkTransition",
595
+ "outputs": [],
596
+ "stateMutability": "view",
597
+ "type": "function"
598
+ },
599
+ {
600
+ "inputs": [
601
+ {
602
+ "internalType": "NftId",
603
+ "name": "applicationNftId",
604
+ "type": "uint96"
605
+ },
606
+ {
607
+ "components": [
608
+ {
609
+ "internalType": "NftId",
610
+ "name": "productNftId",
611
+ "type": "uint96"
612
+ },
613
+ {
614
+ "internalType": "NftId",
615
+ "name": "bundleNftId",
616
+ "type": "uint96"
617
+ },
618
+ {
619
+ "internalType": "ReferralId",
620
+ "name": "referralId",
621
+ "type": "bytes8"
622
+ },
623
+ {
624
+ "internalType": "RiskId",
625
+ "name": "riskId",
626
+ "type": "bytes8"
627
+ },
628
+ {
629
+ "internalType": "Amount",
630
+ "name": "sumInsuredAmount",
631
+ "type": "uint96"
632
+ },
633
+ {
634
+ "internalType": "Amount",
635
+ "name": "premiumAmount",
636
+ "type": "uint96"
637
+ },
638
+ {
639
+ "internalType": "Seconds",
640
+ "name": "lifetime",
641
+ "type": "uint40"
642
+ },
643
+ {
644
+ "internalType": "bytes",
645
+ "name": "applicationData",
646
+ "type": "bytes"
647
+ },
648
+ {
649
+ "internalType": "bytes",
650
+ "name": "processData",
651
+ "type": "bytes"
652
+ },
653
+ {
654
+ "internalType": "uint16",
655
+ "name": "claimsCount",
656
+ "type": "uint16"
657
+ },
658
+ {
659
+ "internalType": "uint16",
660
+ "name": "openClaimsCount",
661
+ "type": "uint16"
662
+ },
663
+ {
664
+ "internalType": "Amount",
665
+ "name": "claimAmount",
666
+ "type": "uint96"
667
+ },
668
+ {
669
+ "internalType": "Amount",
670
+ "name": "payoutAmount",
671
+ "type": "uint96"
672
+ },
673
+ {
674
+ "internalType": "Timestamp",
675
+ "name": "activatedAt",
676
+ "type": "uint40"
677
+ },
678
+ {
679
+ "internalType": "Timestamp",
680
+ "name": "expiredAt",
681
+ "type": "uint40"
682
+ },
683
+ {
684
+ "internalType": "Timestamp",
685
+ "name": "closedAt",
686
+ "type": "uint40"
687
+ }
688
+ ],
689
+ "internalType": "struct IPolicy.PolicyInfo",
690
+ "name": "policy",
691
+ "type": "tuple"
692
+ }
693
+ ],
694
+ "name": "createApplication",
695
+ "outputs": [],
696
+ "stateMutability": "nonpayable",
697
+ "type": "function"
698
+ },
699
+ {
700
+ "inputs": [
701
+ {
702
+ "internalType": "NftId",
703
+ "name": "bundleNftId",
704
+ "type": "uint96"
705
+ },
706
+ {
707
+ "components": [
708
+ {
709
+ "internalType": "NftId",
710
+ "name": "poolNftId",
711
+ "type": "uint96"
712
+ },
713
+ {
714
+ "components": [
715
+ {
716
+ "internalType": "UFixed",
717
+ "name": "fractionalFee",
718
+ "type": "uint256"
719
+ },
720
+ {
721
+ "internalType": "uint256",
722
+ "name": "fixedFee",
723
+ "type": "uint256"
724
+ }
725
+ ],
726
+ "internalType": "struct Fee",
727
+ "name": "fee",
728
+ "type": "tuple"
729
+ },
730
+ {
731
+ "internalType": "bytes",
732
+ "name": "filter",
733
+ "type": "bytes"
734
+ },
735
+ {
736
+ "internalType": "Timestamp",
737
+ "name": "activatedAt",
738
+ "type": "uint40"
739
+ },
740
+ {
741
+ "internalType": "Timestamp",
742
+ "name": "expiredAt",
743
+ "type": "uint40"
744
+ },
745
+ {
746
+ "internalType": "Timestamp",
747
+ "name": "closedAt",
748
+ "type": "uint40"
749
+ }
750
+ ],
751
+ "internalType": "struct IBundle.BundleInfo",
752
+ "name": "bundle",
753
+ "type": "tuple"
754
+ }
755
+ ],
756
+ "name": "createBundle",
757
+ "outputs": [],
758
+ "stateMutability": "nonpayable",
759
+ "type": "function"
760
+ },
761
+ {
762
+ "inputs": [
763
+ {
764
+ "internalType": "NftId",
765
+ "name": "policyNftId",
766
+ "type": "uint96"
767
+ },
768
+ {
769
+ "internalType": "ClaimId",
770
+ "name": "claimId",
771
+ "type": "uint16"
772
+ },
773
+ {
774
+ "components": [
775
+ {
776
+ "internalType": "Amount",
777
+ "name": "claimAmount",
778
+ "type": "uint96"
779
+ },
780
+ {
781
+ "internalType": "Amount",
782
+ "name": "paidAmount",
783
+ "type": "uint96"
784
+ },
785
+ {
786
+ "internalType": "uint24",
787
+ "name": "payoutsCount",
788
+ "type": "uint24"
789
+ },
790
+ {
791
+ "internalType": "uint24",
792
+ "name": "openPayoutsCount",
793
+ "type": "uint24"
794
+ },
795
+ {
796
+ "internalType": "bytes",
797
+ "name": "submissionData",
798
+ "type": "bytes"
799
+ },
800
+ {
801
+ "internalType": "bytes",
802
+ "name": "processData",
803
+ "type": "bytes"
804
+ },
805
+ {
806
+ "internalType": "Timestamp",
807
+ "name": "closedAt",
808
+ "type": "uint40"
809
+ }
810
+ ],
811
+ "internalType": "struct IPolicy.ClaimInfo",
812
+ "name": "claim",
813
+ "type": "tuple"
814
+ }
815
+ ],
816
+ "name": "createClaim",
817
+ "outputs": [],
818
+ "stateMutability": "nonpayable",
819
+ "type": "function"
820
+ },
821
+ {
822
+ "inputs": [
823
+ {
824
+ "internalType": "NftId",
825
+ "name": "componentNftId",
826
+ "type": "uint96"
827
+ },
828
+ {
829
+ "components": [
830
+ {
831
+ "internalType": "string",
832
+ "name": "name",
833
+ "type": "string"
834
+ },
835
+ {
836
+ "internalType": "contract IERC20Metadata",
837
+ "name": "token",
838
+ "type": "address"
839
+ },
840
+ {
841
+ "internalType": "contract TokenHandler",
842
+ "name": "tokenHandler",
843
+ "type": "address"
844
+ },
845
+ {
846
+ "internalType": "bytes",
847
+ "name": "data",
848
+ "type": "bytes"
849
+ }
850
+ ],
851
+ "internalType": "struct IComponents.ComponentInfo",
852
+ "name": "componentInfo",
853
+ "type": "tuple"
854
+ }
855
+ ],
856
+ "name": "createComponent",
857
+ "outputs": [],
858
+ "stateMutability": "nonpayable",
859
+ "type": "function"
860
+ },
861
+ {
862
+ "inputs": [
863
+ {
864
+ "internalType": "NftId",
865
+ "name": "distributorNftId",
866
+ "type": "uint96"
867
+ },
868
+ {
869
+ "components": [
870
+ {
871
+ "internalType": "DistributorType",
872
+ "name": "distributorType",
873
+ "type": "bytes8"
874
+ },
875
+ {
876
+ "internalType": "bool",
877
+ "name": "active",
878
+ "type": "bool"
879
+ },
880
+ {
881
+ "internalType": "bytes",
882
+ "name": "data",
883
+ "type": "bytes"
884
+ },
885
+ {
886
+ "internalType": "uint32",
887
+ "name": "numPoliciesSold",
888
+ "type": "uint32"
889
+ }
890
+ ],
891
+ "internalType": "struct IDistribution.DistributorInfo",
892
+ "name": "info",
893
+ "type": "tuple"
894
+ }
895
+ ],
896
+ "name": "createDistributor",
897
+ "outputs": [],
898
+ "stateMutability": "nonpayable",
899
+ "type": "function"
900
+ },
901
+ {
902
+ "inputs": [
903
+ {
904
+ "internalType": "DistributorType",
905
+ "name": "distributorType",
906
+ "type": "bytes8"
907
+ },
908
+ {
909
+ "components": [
910
+ {
911
+ "internalType": "string",
912
+ "name": "name",
913
+ "type": "string"
914
+ },
915
+ {
916
+ "internalType": "UFixed",
917
+ "name": "minDiscountPercentage",
918
+ "type": "uint256"
919
+ },
920
+ {
921
+ "internalType": "UFixed",
922
+ "name": "maxDiscountPercentage",
923
+ "type": "uint256"
924
+ },
925
+ {
926
+ "internalType": "UFixed",
927
+ "name": "commissionPercentage",
928
+ "type": "uint256"
929
+ },
930
+ {
931
+ "internalType": "uint32",
932
+ "name": "maxReferralCount",
933
+ "type": "uint32"
934
+ },
935
+ {
936
+ "internalType": "uint32",
937
+ "name": "maxReferralLifetime",
938
+ "type": "uint32"
939
+ },
940
+ {
941
+ "internalType": "bool",
942
+ "name": "allowSelfReferrals",
943
+ "type": "bool"
944
+ },
945
+ {
946
+ "internalType": "bool",
947
+ "name": "allowRenewals",
948
+ "type": "bool"
949
+ },
950
+ {
951
+ "internalType": "bytes",
952
+ "name": "data",
953
+ "type": "bytes"
954
+ }
955
+ ],
956
+ "internalType": "struct IDistribution.DistributorTypeInfo",
957
+ "name": "info",
958
+ "type": "tuple"
959
+ }
960
+ ],
961
+ "name": "createDistributorType",
962
+ "outputs": [],
963
+ "stateMutability": "nonpayable",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [
968
+ {
969
+ "internalType": "NftId",
970
+ "name": "productNftId",
971
+ "type": "uint96"
972
+ },
973
+ {
974
+ "components": [
975
+ {
976
+ "components": [
977
+ {
978
+ "internalType": "UFixed",
979
+ "name": "fractionalFee",
980
+ "type": "uint256"
981
+ },
982
+ {
983
+ "internalType": "uint256",
984
+ "name": "fixedFee",
985
+ "type": "uint256"
986
+ }
987
+ ],
988
+ "internalType": "struct Fee",
989
+ "name": "productFee",
990
+ "type": "tuple"
991
+ },
992
+ {
993
+ "components": [
994
+ {
995
+ "internalType": "UFixed",
996
+ "name": "fractionalFee",
997
+ "type": "uint256"
998
+ },
999
+ {
1000
+ "internalType": "uint256",
1001
+ "name": "fixedFee",
1002
+ "type": "uint256"
1003
+ }
1004
+ ],
1005
+ "internalType": "struct Fee",
1006
+ "name": "processingFee",
1007
+ "type": "tuple"
1008
+ },
1009
+ {
1010
+ "components": [
1011
+ {
1012
+ "internalType": "UFixed",
1013
+ "name": "fractionalFee",
1014
+ "type": "uint256"
1015
+ },
1016
+ {
1017
+ "internalType": "uint256",
1018
+ "name": "fixedFee",
1019
+ "type": "uint256"
1020
+ }
1021
+ ],
1022
+ "internalType": "struct Fee",
1023
+ "name": "distributionFee",
1024
+ "type": "tuple"
1025
+ },
1026
+ {
1027
+ "components": [
1028
+ {
1029
+ "internalType": "UFixed",
1030
+ "name": "fractionalFee",
1031
+ "type": "uint256"
1032
+ },
1033
+ {
1034
+ "internalType": "uint256",
1035
+ "name": "fixedFee",
1036
+ "type": "uint256"
1037
+ }
1038
+ ],
1039
+ "internalType": "struct Fee",
1040
+ "name": "minDistributionOwnerFee",
1041
+ "type": "tuple"
1042
+ },
1043
+ {
1044
+ "components": [
1045
+ {
1046
+ "internalType": "UFixed",
1047
+ "name": "fractionalFee",
1048
+ "type": "uint256"
1049
+ },
1050
+ {
1051
+ "internalType": "uint256",
1052
+ "name": "fixedFee",
1053
+ "type": "uint256"
1054
+ }
1055
+ ],
1056
+ "internalType": "struct Fee",
1057
+ "name": "poolFee",
1058
+ "type": "tuple"
1059
+ },
1060
+ {
1061
+ "components": [
1062
+ {
1063
+ "internalType": "UFixed",
1064
+ "name": "fractionalFee",
1065
+ "type": "uint256"
1066
+ },
1067
+ {
1068
+ "internalType": "uint256",
1069
+ "name": "fixedFee",
1070
+ "type": "uint256"
1071
+ }
1072
+ ],
1073
+ "internalType": "struct Fee",
1074
+ "name": "stakingFee",
1075
+ "type": "tuple"
1076
+ },
1077
+ {
1078
+ "components": [
1079
+ {
1080
+ "internalType": "UFixed",
1081
+ "name": "fractionalFee",
1082
+ "type": "uint256"
1083
+ },
1084
+ {
1085
+ "internalType": "uint256",
1086
+ "name": "fixedFee",
1087
+ "type": "uint256"
1088
+ }
1089
+ ],
1090
+ "internalType": "struct Fee",
1091
+ "name": "performanceFee",
1092
+ "type": "tuple"
1093
+ }
1094
+ ],
1095
+ "internalType": "struct IComponents.FeeInfo",
1096
+ "name": "info",
1097
+ "type": "tuple"
1098
+ }
1099
+ ],
1100
+ "name": "createFee",
1101
+ "outputs": [],
1102
+ "stateMutability": "nonpayable",
1103
+ "type": "function"
1104
+ },
1105
+ {
1106
+ "inputs": [
1107
+ {
1108
+ "internalType": "NftId",
1109
+ "name": "policyNftId",
1110
+ "type": "uint96"
1111
+ },
1112
+ {
1113
+ "internalType": "PayoutId",
1114
+ "name": "payoutId",
1115
+ "type": "uint40"
1116
+ },
1117
+ {
1118
+ "components": [
1119
+ {
1120
+ "internalType": "ClaimId",
1121
+ "name": "claimId",
1122
+ "type": "uint16"
1123
+ },
1124
+ {
1125
+ "internalType": "Amount",
1126
+ "name": "amount",
1127
+ "type": "uint96"
1128
+ },
1129
+ {
1130
+ "internalType": "address",
1131
+ "name": "beneficiary",
1132
+ "type": "address"
1133
+ },
1134
+ {
1135
+ "internalType": "bytes",
1136
+ "name": "data",
1137
+ "type": "bytes"
1138
+ },
1139
+ {
1140
+ "internalType": "Timestamp",
1141
+ "name": "paidAt",
1142
+ "type": "uint40"
1143
+ }
1144
+ ],
1145
+ "internalType": "struct IPolicy.PayoutInfo",
1146
+ "name": "payout",
1147
+ "type": "tuple"
1148
+ }
1149
+ ],
1150
+ "name": "createPayout",
1151
+ "outputs": [],
1152
+ "stateMutability": "nonpayable",
1153
+ "type": "function"
1154
+ },
1155
+ {
1156
+ "inputs": [
1157
+ {
1158
+ "internalType": "NftId",
1159
+ "name": "poolNftId",
1160
+ "type": "uint96"
1161
+ },
1162
+ {
1163
+ "components": [
1164
+ {
1165
+ "internalType": "Amount",
1166
+ "name": "maxBalanceAmount",
1167
+ "type": "uint96"
1168
+ },
1169
+ {
1170
+ "internalType": "bool",
1171
+ "name": "isInterceptingBundleTransfers",
1172
+ "type": "bool"
1173
+ },
1174
+ {
1175
+ "internalType": "bool",
1176
+ "name": "isProcessingConfirmedClaims",
1177
+ "type": "bool"
1178
+ },
1179
+ {
1180
+ "internalType": "bool",
1181
+ "name": "isExternallyManaged",
1182
+ "type": "bool"
1183
+ },
1184
+ {
1185
+ "internalType": "bool",
1186
+ "name": "isVerifyingApplications",
1187
+ "type": "bool"
1188
+ },
1189
+ {
1190
+ "internalType": "UFixed",
1191
+ "name": "collateralizationLevel",
1192
+ "type": "uint256"
1193
+ },
1194
+ {
1195
+ "internalType": "UFixed",
1196
+ "name": "retentionLevel",
1197
+ "type": "uint256"
1198
+ }
1199
+ ],
1200
+ "internalType": "struct IComponents.PoolInfo",
1201
+ "name": "info",
1202
+ "type": "tuple"
1203
+ }
1204
+ ],
1205
+ "name": "createPool",
1206
+ "outputs": [],
1207
+ "stateMutability": "nonpayable",
1208
+ "type": "function"
1209
+ },
1210
+ {
1211
+ "inputs": [
1212
+ {
1213
+ "internalType": "NftId",
1214
+ "name": "policyNftId",
1215
+ "type": "uint96"
1216
+ },
1217
+ {
1218
+ "components": [
1219
+ {
1220
+ "internalType": "Amount",
1221
+ "name": "productFeeAmount",
1222
+ "type": "uint96"
1223
+ },
1224
+ {
1225
+ "internalType": "Amount",
1226
+ "name": "distributionFeeAndCommissionAmount",
1227
+ "type": "uint96"
1228
+ },
1229
+ {
1230
+ "internalType": "Amount",
1231
+ "name": "poolPremiumAndFeeAmount",
1232
+ "type": "uint96"
1233
+ },
1234
+ {
1235
+ "internalType": "Amount",
1236
+ "name": "netPremiumAmount",
1237
+ "type": "uint96"
1238
+ },
1239
+ {
1240
+ "internalType": "Amount",
1241
+ "name": "fullPremiumAmount",
1242
+ "type": "uint96"
1243
+ },
1244
+ {
1245
+ "internalType": "Amount",
1246
+ "name": "premiumAmount",
1247
+ "type": "uint96"
1248
+ },
1249
+ {
1250
+ "internalType": "Amount",
1251
+ "name": "productFeeFixAmount",
1252
+ "type": "uint96"
1253
+ },
1254
+ {
1255
+ "internalType": "Amount",
1256
+ "name": "poolFeeFixAmount",
1257
+ "type": "uint96"
1258
+ },
1259
+ {
1260
+ "internalType": "Amount",
1261
+ "name": "bundleFeeFixAmount",
1262
+ "type": "uint96"
1263
+ },
1264
+ {
1265
+ "internalType": "Amount",
1266
+ "name": "distributionFeeFixAmount",
1267
+ "type": "uint96"
1268
+ },
1269
+ {
1270
+ "internalType": "Amount",
1271
+ "name": "productFeeVarAmount",
1272
+ "type": "uint96"
1273
+ },
1274
+ {
1275
+ "internalType": "Amount",
1276
+ "name": "poolFeeVarAmount",
1277
+ "type": "uint96"
1278
+ },
1279
+ {
1280
+ "internalType": "Amount",
1281
+ "name": "bundleFeeVarAmount",
1282
+ "type": "uint96"
1283
+ },
1284
+ {
1285
+ "internalType": "Amount",
1286
+ "name": "distributionFeeVarAmount",
1287
+ "type": "uint96"
1288
+ },
1289
+ {
1290
+ "internalType": "Amount",
1291
+ "name": "distributionOwnerFeeFixAmount",
1292
+ "type": "uint96"
1293
+ },
1294
+ {
1295
+ "internalType": "Amount",
1296
+ "name": "distributionOwnerFeeVarAmount",
1297
+ "type": "uint96"
1298
+ },
1299
+ {
1300
+ "internalType": "Amount",
1301
+ "name": "commissionAmount",
1302
+ "type": "uint96"
1303
+ },
1304
+ {
1305
+ "internalType": "Amount",
1306
+ "name": "discountAmount",
1307
+ "type": "uint96"
1308
+ }
1309
+ ],
1310
+ "internalType": "struct IPolicy.PremiumInfo",
1311
+ "name": "premium",
1312
+ "type": "tuple"
1313
+ }
1314
+ ],
1315
+ "name": "createPremium",
1316
+ "outputs": [],
1317
+ "stateMutability": "nonpayable",
1318
+ "type": "function"
1319
+ },
1320
+ {
1321
+ "inputs": [
1322
+ {
1323
+ "internalType": "NftId",
1324
+ "name": "productNftId",
1325
+ "type": "uint96"
1326
+ },
1327
+ {
1328
+ "components": [
1329
+ {
1330
+ "internalType": "bool",
1331
+ "name": "isProcessingFundedClaims",
1332
+ "type": "bool"
1333
+ },
1334
+ {
1335
+ "internalType": "bool",
1336
+ "name": "isInterceptingPolicyTransfers",
1337
+ "type": "bool"
1338
+ },
1339
+ {
1340
+ "internalType": "bool",
1341
+ "name": "hasDistribution",
1342
+ "type": "bool"
1343
+ },
1344
+ {
1345
+ "internalType": "uint8",
1346
+ "name": "expectedNumberOfOracles",
1347
+ "type": "uint8"
1348
+ },
1349
+ {
1350
+ "internalType": "uint8",
1351
+ "name": "numberOfOracles",
1352
+ "type": "uint8"
1353
+ },
1354
+ {
1355
+ "internalType": "NftId",
1356
+ "name": "poolNftId",
1357
+ "type": "uint96"
1358
+ },
1359
+ {
1360
+ "internalType": "NftId",
1361
+ "name": "distributionNftId",
1362
+ "type": "uint96"
1363
+ },
1364
+ {
1365
+ "internalType": "NftId[]",
1366
+ "name": "oracleNftId",
1367
+ "type": "uint96[]"
1368
+ },
1369
+ {
1370
+ "components": [
1371
+ {
1372
+ "internalType": "UFixed",
1373
+ "name": "fractionalFee",
1374
+ "type": "uint256"
1375
+ },
1376
+ {
1377
+ "internalType": "uint256",
1378
+ "name": "fixedFee",
1379
+ "type": "uint256"
1380
+ }
1381
+ ],
1382
+ "internalType": "struct Fee",
1383
+ "name": "productFee",
1384
+ "type": "tuple"
1385
+ },
1386
+ {
1387
+ "components": [
1388
+ {
1389
+ "internalType": "UFixed",
1390
+ "name": "fractionalFee",
1391
+ "type": "uint256"
1392
+ },
1393
+ {
1394
+ "internalType": "uint256",
1395
+ "name": "fixedFee",
1396
+ "type": "uint256"
1397
+ }
1398
+ ],
1399
+ "internalType": "struct Fee",
1400
+ "name": "processingFee",
1401
+ "type": "tuple"
1402
+ },
1403
+ {
1404
+ "components": [
1405
+ {
1406
+ "internalType": "UFixed",
1407
+ "name": "fractionalFee",
1408
+ "type": "uint256"
1409
+ },
1410
+ {
1411
+ "internalType": "uint256",
1412
+ "name": "fixedFee",
1413
+ "type": "uint256"
1414
+ }
1415
+ ],
1416
+ "internalType": "struct Fee",
1417
+ "name": "distributionFee",
1418
+ "type": "tuple"
1419
+ },
1420
+ {
1421
+ "components": [
1422
+ {
1423
+ "internalType": "UFixed",
1424
+ "name": "fractionalFee",
1425
+ "type": "uint256"
1426
+ },
1427
+ {
1428
+ "internalType": "uint256",
1429
+ "name": "fixedFee",
1430
+ "type": "uint256"
1431
+ }
1432
+ ],
1433
+ "internalType": "struct Fee",
1434
+ "name": "minDistributionOwnerFee",
1435
+ "type": "tuple"
1436
+ },
1437
+ {
1438
+ "components": [
1439
+ {
1440
+ "internalType": "UFixed",
1441
+ "name": "fractionalFee",
1442
+ "type": "uint256"
1443
+ },
1444
+ {
1445
+ "internalType": "uint256",
1446
+ "name": "fixedFee",
1447
+ "type": "uint256"
1448
+ }
1449
+ ],
1450
+ "internalType": "struct Fee",
1451
+ "name": "poolFee",
1452
+ "type": "tuple"
1453
+ },
1454
+ {
1455
+ "components": [
1456
+ {
1457
+ "internalType": "UFixed",
1458
+ "name": "fractionalFee",
1459
+ "type": "uint256"
1460
+ },
1461
+ {
1462
+ "internalType": "uint256",
1463
+ "name": "fixedFee",
1464
+ "type": "uint256"
1465
+ }
1466
+ ],
1467
+ "internalType": "struct Fee",
1468
+ "name": "stakingFee",
1469
+ "type": "tuple"
1470
+ },
1471
+ {
1472
+ "components": [
1473
+ {
1474
+ "internalType": "UFixed",
1475
+ "name": "fractionalFee",
1476
+ "type": "uint256"
1477
+ },
1478
+ {
1479
+ "internalType": "uint256",
1480
+ "name": "fixedFee",
1481
+ "type": "uint256"
1482
+ }
1483
+ ],
1484
+ "internalType": "struct Fee",
1485
+ "name": "performanceFee",
1486
+ "type": "tuple"
1487
+ }
1488
+ ],
1489
+ "internalType": "struct IComponents.ProductInfo",
1490
+ "name": "info",
1491
+ "type": "tuple"
1492
+ }
1493
+ ],
1494
+ "name": "createProduct",
1495
+ "outputs": [],
1496
+ "stateMutability": "nonpayable",
1497
+ "type": "function"
1498
+ },
1499
+ {
1500
+ "inputs": [
1501
+ {
1502
+ "internalType": "ReferralId",
1503
+ "name": "referralId",
1504
+ "type": "bytes8"
1505
+ },
1506
+ {
1507
+ "components": [
1508
+ {
1509
+ "internalType": "NftId",
1510
+ "name": "distributorNftId",
1511
+ "type": "uint96"
1512
+ },
1513
+ {
1514
+ "internalType": "string",
1515
+ "name": "referralCode",
1516
+ "type": "string"
1517
+ },
1518
+ {
1519
+ "internalType": "UFixed",
1520
+ "name": "discountPercentage",
1521
+ "type": "uint256"
1522
+ },
1523
+ {
1524
+ "internalType": "uint32",
1525
+ "name": "maxReferrals",
1526
+ "type": "uint32"
1527
+ },
1528
+ {
1529
+ "internalType": "uint32",
1530
+ "name": "usedReferrals",
1531
+ "type": "uint32"
1532
+ },
1533
+ {
1534
+ "internalType": "Timestamp",
1535
+ "name": "expiryAt",
1536
+ "type": "uint40"
1537
+ },
1538
+ {
1539
+ "internalType": "bytes",
1540
+ "name": "data",
1541
+ "type": "bytes"
1542
+ }
1543
+ ],
1544
+ "internalType": "struct IDistribution.ReferralInfo",
1545
+ "name": "referralInfo",
1546
+ "type": "tuple"
1547
+ }
1548
+ ],
1549
+ "name": "createReferral",
1550
+ "outputs": [],
1551
+ "stateMutability": "nonpayable",
1552
+ "type": "function"
1553
+ },
1554
+ {
1555
+ "inputs": [
1556
+ {
1557
+ "components": [
1558
+ {
1559
+ "internalType": "NftId",
1560
+ "name": "requesterNftId",
1561
+ "type": "uint96"
1562
+ },
1563
+ {
1564
+ "internalType": "string",
1565
+ "name": "callbackMethodName",
1566
+ "type": "string"
1567
+ },
1568
+ {
1569
+ "internalType": "NftId",
1570
+ "name": "oracleNftId",
1571
+ "type": "uint96"
1572
+ },
1573
+ {
1574
+ "internalType": "bytes",
1575
+ "name": "requestData",
1576
+ "type": "bytes"
1577
+ },
1578
+ {
1579
+ "internalType": "bytes",
1580
+ "name": "responseData",
1581
+ "type": "bytes"
1582
+ },
1583
+ {
1584
+ "internalType": "Timestamp",
1585
+ "name": "respondedAt",
1586
+ "type": "uint40"
1587
+ },
1588
+ {
1589
+ "internalType": "Timestamp",
1590
+ "name": "expiredAt",
1591
+ "type": "uint40"
1592
+ },
1593
+ {
1594
+ "internalType": "bool",
1595
+ "name": "isCancelled",
1596
+ "type": "bool"
1597
+ }
1598
+ ],
1599
+ "internalType": "struct IOracle.RequestInfo",
1600
+ "name": "request",
1601
+ "type": "tuple"
1602
+ }
1603
+ ],
1604
+ "name": "createRequest",
1605
+ "outputs": [
1606
+ {
1607
+ "internalType": "RequestId",
1608
+ "name": "requestId",
1609
+ "type": "uint64"
1610
+ }
1611
+ ],
1612
+ "stateMutability": "nonpayable",
1613
+ "type": "function"
1614
+ },
1615
+ {
1616
+ "inputs": [
1617
+ {
1618
+ "internalType": "RiskId",
1619
+ "name": "riskId",
1620
+ "type": "bytes8"
1621
+ },
1622
+ {
1623
+ "components": [
1624
+ {
1625
+ "internalType": "NftId",
1626
+ "name": "productNftId",
1627
+ "type": "uint96"
1628
+ },
1629
+ {
1630
+ "internalType": "bytes",
1631
+ "name": "data",
1632
+ "type": "bytes"
1633
+ }
1634
+ ],
1635
+ "internalType": "struct IRisk.RiskInfo",
1636
+ "name": "risk",
1637
+ "type": "tuple"
1638
+ }
1639
+ ],
1640
+ "name": "createRisk",
1641
+ "outputs": [],
1642
+ "stateMutability": "nonpayable",
1643
+ "type": "function"
1644
+ },
1645
+ {
1646
+ "inputs": [
1647
+ {
1648
+ "internalType": "NftId",
1649
+ "name": "targetNftId",
1650
+ "type": "uint96"
1651
+ },
1652
+ {
1653
+ "internalType": "Amount",
1654
+ "name": "amount",
1655
+ "type": "uint96"
1656
+ }
1657
+ ],
1658
+ "name": "decreaseBalance",
1659
+ "outputs": [
1660
+ {
1661
+ "internalType": "Amount",
1662
+ "name": "newBalance",
1663
+ "type": "uint96"
1664
+ }
1665
+ ],
1666
+ "stateMutability": "nonpayable",
1667
+ "type": "function"
1668
+ },
1669
+ {
1670
+ "inputs": [
1671
+ {
1672
+ "internalType": "NftId",
1673
+ "name": "targetNftId",
1674
+ "type": "uint96"
1675
+ },
1676
+ {
1677
+ "internalType": "Amount",
1678
+ "name": "amount",
1679
+ "type": "uint96"
1680
+ }
1681
+ ],
1682
+ "name": "decreaseFees",
1683
+ "outputs": [
1684
+ {
1685
+ "internalType": "Amount",
1686
+ "name": "newFeeBalance",
1687
+ "type": "uint96"
1688
+ }
1689
+ ],
1690
+ "stateMutability": "nonpayable",
1691
+ "type": "function"
1692
+ },
1693
+ {
1694
+ "inputs": [
1695
+ {
1696
+ "internalType": "NftId",
1697
+ "name": "targetNftId",
1698
+ "type": "uint96"
1699
+ },
1700
+ {
1701
+ "internalType": "Amount",
1702
+ "name": "amount",
1703
+ "type": "uint96"
1704
+ }
1705
+ ],
1706
+ "name": "decreaseLocked",
1707
+ "outputs": [
1708
+ {
1709
+ "internalType": "Amount",
1710
+ "name": "newBalance",
1711
+ "type": "uint96"
1712
+ }
1713
+ ],
1714
+ "stateMutability": "nonpayable",
1715
+ "type": "function"
1716
+ },
1717
+ {
1718
+ "inputs": [
1719
+ {
1720
+ "internalType": "Key32",
1721
+ "name": "key32",
1722
+ "type": "bytes32"
1723
+ }
1724
+ ],
1725
+ "name": "exists",
1726
+ "outputs": [
1727
+ {
1728
+ "internalType": "bool",
1729
+ "name": "",
1730
+ "type": "bool"
1731
+ }
1732
+ ],
1733
+ "stateMutability": "view",
1734
+ "type": "function"
1735
+ },
1736
+ {
1737
+ "inputs": [
1738
+ {
1739
+ "internalType": "Key32",
1740
+ "name": "key32",
1741
+ "type": "bytes32"
1742
+ }
1743
+ ],
1744
+ "name": "get",
1745
+ "outputs": [
1746
+ {
1747
+ "components": [
1748
+ {
1749
+ "components": [
1750
+ {
1751
+ "internalType": "ObjectType",
1752
+ "name": "objectType",
1753
+ "type": "uint8"
1754
+ },
1755
+ {
1756
+ "internalType": "StateId",
1757
+ "name": "state",
1758
+ "type": "uint8"
1759
+ },
1760
+ {
1761
+ "internalType": "Blocknumber",
1762
+ "name": "updatedIn",
1763
+ "type": "uint32"
1764
+ },
1765
+ {
1766
+ "internalType": "Blocknumber",
1767
+ "name": "createdIn",
1768
+ "type": "uint32"
1769
+ }
1770
+ ],
1771
+ "internalType": "struct IKeyValueStore.Metadata",
1772
+ "name": "metadata",
1773
+ "type": "tuple"
1774
+ },
1775
+ {
1776
+ "internalType": "bytes",
1777
+ "name": "data",
1778
+ "type": "bytes"
1779
+ }
1780
+ ],
1781
+ "internalType": "struct IKeyValueStore.Value",
1782
+ "name": "value",
1783
+ "type": "tuple"
1784
+ }
1785
+ ],
1786
+ "stateMutability": "view",
1787
+ "type": "function"
1788
+ },
1789
+ {
1790
+ "inputs": [
1791
+ {
1792
+ "internalType": "NftId",
1793
+ "name": "targetNftId",
1794
+ "type": "uint96"
1795
+ }
1796
+ ],
1797
+ "name": "getAmounts",
1798
+ "outputs": [
1799
+ {
1800
+ "internalType": "Amount",
1801
+ "name": "balanceAmount",
1802
+ "type": "uint96"
1803
+ },
1804
+ {
1805
+ "internalType": "Amount",
1806
+ "name": "lockedAmount",
1807
+ "type": "uint96"
1808
+ },
1809
+ {
1810
+ "internalType": "Amount",
1811
+ "name": "feeAmount",
1812
+ "type": "uint96"
1813
+ }
1814
+ ],
1815
+ "stateMutability": "view",
1816
+ "type": "function"
1817
+ },
1818
+ {
1819
+ "inputs": [
1820
+ {
1821
+ "internalType": "NftId",
1822
+ "name": "targetNftId",
1823
+ "type": "uint96"
1824
+ }
1825
+ ],
1826
+ "name": "getBalanceAmount",
1827
+ "outputs": [
1828
+ {
1829
+ "internalType": "Amount",
1830
+ "name": "balanceAmount",
1831
+ "type": "uint96"
1832
+ }
1833
+ ],
1834
+ "stateMutability": "view",
1835
+ "type": "function"
1836
+ },
1837
+ {
1838
+ "inputs": [
1839
+ {
1840
+ "internalType": "Key32",
1841
+ "name": "key32",
1842
+ "type": "bytes32"
1843
+ }
1844
+ ],
1845
+ "name": "getData",
1846
+ "outputs": [
1847
+ {
1848
+ "internalType": "bytes",
1849
+ "name": "data",
1850
+ "type": "bytes"
1851
+ }
1852
+ ],
1853
+ "stateMutability": "view",
1854
+ "type": "function"
1855
+ },
1856
+ {
1857
+ "inputs": [
1858
+ {
1859
+ "internalType": "NftId",
1860
+ "name": "targetNftId",
1861
+ "type": "uint96"
1862
+ }
1863
+ ],
1864
+ "name": "getFeeAmount",
1865
+ "outputs": [
1866
+ {
1867
+ "internalType": "Amount",
1868
+ "name": "feeAmount",
1869
+ "type": "uint96"
1870
+ }
1871
+ ],
1872
+ "stateMutability": "view",
1873
+ "type": "function"
1874
+ },
1875
+ {
1876
+ "inputs": [
1877
+ {
1878
+ "internalType": "ObjectType",
1879
+ "name": "objectType",
1880
+ "type": "uint8"
1881
+ }
1882
+ ],
1883
+ "name": "getInitialState",
1884
+ "outputs": [
1885
+ {
1886
+ "internalType": "StateId",
1887
+ "name": "",
1888
+ "type": "uint8"
1889
+ }
1890
+ ],
1891
+ "stateMutability": "view",
1892
+ "type": "function"
1893
+ },
1894
+ {
1895
+ "inputs": [
1896
+ {
1897
+ "internalType": "NftId",
1898
+ "name": "targetNftId",
1899
+ "type": "uint96"
1900
+ }
1901
+ ],
1902
+ "name": "getLockedAmount",
1903
+ "outputs": [
1904
+ {
1905
+ "internalType": "Amount",
1906
+ "name": "lockedAmount",
1907
+ "type": "uint96"
1908
+ }
1909
+ ],
1910
+ "stateMutability": "view",
1911
+ "type": "function"
1912
+ },
1913
+ {
1914
+ "inputs": [
1915
+ {
1916
+ "internalType": "Key32",
1917
+ "name": "key32",
1918
+ "type": "bytes32"
1919
+ }
1920
+ ],
1921
+ "name": "getMetadata",
1922
+ "outputs": [
1923
+ {
1924
+ "components": [
1925
+ {
1926
+ "internalType": "ObjectType",
1927
+ "name": "objectType",
1928
+ "type": "uint8"
1929
+ },
1930
+ {
1931
+ "internalType": "StateId",
1932
+ "name": "state",
1933
+ "type": "uint8"
1934
+ },
1935
+ {
1936
+ "internalType": "Blocknumber",
1937
+ "name": "updatedIn",
1938
+ "type": "uint32"
1939
+ },
1940
+ {
1941
+ "internalType": "Blocknumber",
1942
+ "name": "createdIn",
1943
+ "type": "uint32"
1944
+ }
1945
+ ],
1946
+ "internalType": "struct IKeyValueStore.Metadata",
1947
+ "name": "metadata",
1948
+ "type": "tuple"
1949
+ }
1950
+ ],
1951
+ "stateMutability": "view",
1952
+ "type": "function"
1953
+ },
1954
+ {
1955
+ "inputs": [
1956
+ {
1957
+ "internalType": "Key32",
1958
+ "name": "key32",
1959
+ "type": "bytes32"
1960
+ }
1961
+ ],
1962
+ "name": "getState",
1963
+ "outputs": [
1964
+ {
1965
+ "internalType": "StateId",
1966
+ "name": "state",
1967
+ "type": "uint8"
1968
+ }
1969
+ ],
1970
+ "stateMutability": "view",
1971
+ "type": "function"
1972
+ },
1973
+ {
1974
+ "inputs": [
1975
+ {
1976
+ "internalType": "ObjectType",
1977
+ "name": "objectType",
1978
+ "type": "uint8"
1979
+ }
1980
+ ],
1981
+ "name": "hasLifecycle",
1982
+ "outputs": [
1983
+ {
1984
+ "internalType": "bool",
1985
+ "name": "",
1986
+ "type": "bool"
1987
+ }
1988
+ ],
1989
+ "stateMutability": "view",
1990
+ "type": "function"
1991
+ },
1992
+ {
1993
+ "inputs": [
1994
+ {
1995
+ "internalType": "NftId",
1996
+ "name": "targetNftId",
1997
+ "type": "uint96"
1998
+ },
1999
+ {
2000
+ "internalType": "Amount",
2001
+ "name": "amount",
2002
+ "type": "uint96"
2003
+ }
2004
+ ],
2005
+ "name": "increaseBalance",
2006
+ "outputs": [
2007
+ {
2008
+ "internalType": "Amount",
2009
+ "name": "newBalance",
2010
+ "type": "uint96"
2011
+ }
2012
+ ],
2013
+ "stateMutability": "nonpayable",
2014
+ "type": "function"
2015
+ },
2016
+ {
2017
+ "inputs": [
2018
+ {
2019
+ "internalType": "NftId",
2020
+ "name": "targetNftId",
2021
+ "type": "uint96"
2022
+ },
2023
+ {
2024
+ "internalType": "Amount",
2025
+ "name": "amount",
2026
+ "type": "uint96"
2027
+ }
2028
+ ],
2029
+ "name": "increaseFees",
2030
+ "outputs": [
2031
+ {
2032
+ "internalType": "Amount",
2033
+ "name": "newFeeBalance",
2034
+ "type": "uint96"
2035
+ }
2036
+ ],
2037
+ "stateMutability": "nonpayable",
2038
+ "type": "function"
2039
+ },
2040
+ {
2041
+ "inputs": [
2042
+ {
2043
+ "internalType": "NftId",
2044
+ "name": "targetNftId",
2045
+ "type": "uint96"
2046
+ },
2047
+ {
2048
+ "internalType": "Amount",
2049
+ "name": "amount",
2050
+ "type": "uint96"
2051
+ }
2052
+ ],
2053
+ "name": "increaseLocked",
2054
+ "outputs": [
2055
+ {
2056
+ "internalType": "Amount",
2057
+ "name": "newBalance",
2058
+ "type": "uint96"
2059
+ }
2060
+ ],
2061
+ "stateMutability": "nonpayable",
2062
+ "type": "function"
2063
+ },
2064
+ {
2065
+ "inputs": [],
2066
+ "name": "initialize",
2067
+ "outputs": [],
2068
+ "stateMutability": "nonpayable",
2069
+ "type": "function"
2070
+ },
2071
+ {
2072
+ "inputs": [],
2073
+ "name": "isConsumingScheduledOp",
2074
+ "outputs": [
2075
+ {
2076
+ "internalType": "bytes4",
2077
+ "name": "",
2078
+ "type": "bytes4"
2079
+ }
2080
+ ],
2081
+ "stateMutability": "view",
2082
+ "type": "function"
2083
+ },
2084
+ {
2085
+ "inputs": [
2086
+ {
2087
+ "internalType": "ObjectType",
2088
+ "name": "objectType",
2089
+ "type": "uint8"
2090
+ },
2091
+ {
2092
+ "internalType": "StateId",
2093
+ "name": "fromId",
2094
+ "type": "uint8"
2095
+ },
2096
+ {
2097
+ "internalType": "StateId",
2098
+ "name": "toId",
2099
+ "type": "uint8"
2100
+ }
2101
+ ],
2102
+ "name": "isValidTransition",
2103
+ "outputs": [
2104
+ {
2105
+ "internalType": "bool",
2106
+ "name": "",
2107
+ "type": "bool"
2108
+ }
2109
+ ],
2110
+ "stateMutability": "view",
2111
+ "type": "function"
2112
+ },
2113
+ {
2114
+ "inputs": [
2115
+ {
2116
+ "internalType": "address",
2117
+ "name": "newAuthority",
2118
+ "type": "address"
2119
+ }
2120
+ ],
2121
+ "name": "setAuthority",
2122
+ "outputs": [],
2123
+ "stateMutability": "nonpayable",
2124
+ "type": "function"
2125
+ },
2126
+ {
2127
+ "inputs": [
2128
+ {
2129
+ "internalType": "ObjectType",
2130
+ "name": "objectType",
2131
+ "type": "uint8"
2132
+ },
2133
+ {
2134
+ "internalType": "KeyId",
2135
+ "name": "id",
2136
+ "type": "bytes31"
2137
+ }
2138
+ ],
2139
+ "name": "toKey32",
2140
+ "outputs": [
2141
+ {
2142
+ "internalType": "Key32",
2143
+ "name": "",
2144
+ "type": "bytes32"
2145
+ }
2146
+ ],
2147
+ "stateMutability": "pure",
2148
+ "type": "function"
2149
+ },
2150
+ {
2151
+ "inputs": [
2152
+ {
2153
+ "internalType": "NftId",
2154
+ "name": "applicationNftId",
2155
+ "type": "uint96"
2156
+ },
2157
+ {
2158
+ "components": [
2159
+ {
2160
+ "internalType": "NftId",
2161
+ "name": "productNftId",
2162
+ "type": "uint96"
2163
+ },
2164
+ {
2165
+ "internalType": "NftId",
2166
+ "name": "bundleNftId",
2167
+ "type": "uint96"
2168
+ },
2169
+ {
2170
+ "internalType": "ReferralId",
2171
+ "name": "referralId",
2172
+ "type": "bytes8"
2173
+ },
2174
+ {
2175
+ "internalType": "RiskId",
2176
+ "name": "riskId",
2177
+ "type": "bytes8"
2178
+ },
2179
+ {
2180
+ "internalType": "Amount",
2181
+ "name": "sumInsuredAmount",
2182
+ "type": "uint96"
2183
+ },
2184
+ {
2185
+ "internalType": "Amount",
2186
+ "name": "premiumAmount",
2187
+ "type": "uint96"
2188
+ },
2189
+ {
2190
+ "internalType": "Seconds",
2191
+ "name": "lifetime",
2192
+ "type": "uint40"
2193
+ },
2194
+ {
2195
+ "internalType": "bytes",
2196
+ "name": "applicationData",
2197
+ "type": "bytes"
2198
+ },
2199
+ {
2200
+ "internalType": "bytes",
2201
+ "name": "processData",
2202
+ "type": "bytes"
2203
+ },
2204
+ {
2205
+ "internalType": "uint16",
2206
+ "name": "claimsCount",
2207
+ "type": "uint16"
2208
+ },
2209
+ {
2210
+ "internalType": "uint16",
2211
+ "name": "openClaimsCount",
2212
+ "type": "uint16"
2213
+ },
2214
+ {
2215
+ "internalType": "Amount",
2216
+ "name": "claimAmount",
2217
+ "type": "uint96"
2218
+ },
2219
+ {
2220
+ "internalType": "Amount",
2221
+ "name": "payoutAmount",
2222
+ "type": "uint96"
2223
+ },
2224
+ {
2225
+ "internalType": "Timestamp",
2226
+ "name": "activatedAt",
2227
+ "type": "uint40"
2228
+ },
2229
+ {
2230
+ "internalType": "Timestamp",
2231
+ "name": "expiredAt",
2232
+ "type": "uint40"
2233
+ },
2234
+ {
2235
+ "internalType": "Timestamp",
2236
+ "name": "closedAt",
2237
+ "type": "uint40"
2238
+ }
2239
+ ],
2240
+ "internalType": "struct IPolicy.PolicyInfo",
2241
+ "name": "policy",
2242
+ "type": "tuple"
2243
+ },
2244
+ {
2245
+ "internalType": "StateId",
2246
+ "name": "newState",
2247
+ "type": "uint8"
2248
+ }
2249
+ ],
2250
+ "name": "updateApplication",
2251
+ "outputs": [],
2252
+ "stateMutability": "nonpayable",
2253
+ "type": "function"
2254
+ },
2255
+ {
2256
+ "inputs": [
2257
+ {
2258
+ "internalType": "NftId",
2259
+ "name": "applicationNftId",
2260
+ "type": "uint96"
2261
+ },
2262
+ {
2263
+ "internalType": "StateId",
2264
+ "name": "newState",
2265
+ "type": "uint8"
2266
+ }
2267
+ ],
2268
+ "name": "updateApplicationState",
2269
+ "outputs": [],
2270
+ "stateMutability": "nonpayable",
2271
+ "type": "function"
2272
+ },
2273
+ {
2274
+ "inputs": [
2275
+ {
2276
+ "internalType": "NftId",
2277
+ "name": "bundleNftId",
2278
+ "type": "uint96"
2279
+ },
2280
+ {
2281
+ "components": [
2282
+ {
2283
+ "internalType": "NftId",
2284
+ "name": "poolNftId",
2285
+ "type": "uint96"
2286
+ },
2287
+ {
2288
+ "components": [
2289
+ {
2290
+ "internalType": "UFixed",
2291
+ "name": "fractionalFee",
2292
+ "type": "uint256"
2293
+ },
2294
+ {
2295
+ "internalType": "uint256",
2296
+ "name": "fixedFee",
2297
+ "type": "uint256"
2298
+ }
2299
+ ],
2300
+ "internalType": "struct Fee",
2301
+ "name": "fee",
2302
+ "type": "tuple"
2303
+ },
2304
+ {
2305
+ "internalType": "bytes",
2306
+ "name": "filter",
2307
+ "type": "bytes"
2308
+ },
2309
+ {
2310
+ "internalType": "Timestamp",
2311
+ "name": "activatedAt",
2312
+ "type": "uint40"
2313
+ },
2314
+ {
2315
+ "internalType": "Timestamp",
2316
+ "name": "expiredAt",
2317
+ "type": "uint40"
2318
+ },
2319
+ {
2320
+ "internalType": "Timestamp",
2321
+ "name": "closedAt",
2322
+ "type": "uint40"
2323
+ }
2324
+ ],
2325
+ "internalType": "struct IBundle.BundleInfo",
2326
+ "name": "bundle",
2327
+ "type": "tuple"
2328
+ },
2329
+ {
2330
+ "internalType": "StateId",
2331
+ "name": "newState",
2332
+ "type": "uint8"
2333
+ }
2334
+ ],
2335
+ "name": "updateBundle",
2336
+ "outputs": [],
2337
+ "stateMutability": "nonpayable",
2338
+ "type": "function"
2339
+ },
2340
+ {
2341
+ "inputs": [
2342
+ {
2343
+ "internalType": "NftId",
2344
+ "name": "bundleNftId",
2345
+ "type": "uint96"
2346
+ },
2347
+ {
2348
+ "internalType": "StateId",
2349
+ "name": "newState",
2350
+ "type": "uint8"
2351
+ }
2352
+ ],
2353
+ "name": "updateBundleState",
2354
+ "outputs": [],
2355
+ "stateMutability": "nonpayable",
2356
+ "type": "function"
2357
+ },
2358
+ {
2359
+ "inputs": [
2360
+ {
2361
+ "internalType": "NftId",
2362
+ "name": "policyNftId",
2363
+ "type": "uint96"
2364
+ },
2365
+ {
2366
+ "internalType": "ClaimId",
2367
+ "name": "claimId",
2368
+ "type": "uint16"
2369
+ },
2370
+ {
2371
+ "components": [
2372
+ {
2373
+ "internalType": "Amount",
2374
+ "name": "claimAmount",
2375
+ "type": "uint96"
2376
+ },
2377
+ {
2378
+ "internalType": "Amount",
2379
+ "name": "paidAmount",
2380
+ "type": "uint96"
2381
+ },
2382
+ {
2383
+ "internalType": "uint24",
2384
+ "name": "payoutsCount",
2385
+ "type": "uint24"
2386
+ },
2387
+ {
2388
+ "internalType": "uint24",
2389
+ "name": "openPayoutsCount",
2390
+ "type": "uint24"
2391
+ },
2392
+ {
2393
+ "internalType": "bytes",
2394
+ "name": "submissionData",
2395
+ "type": "bytes"
2396
+ },
2397
+ {
2398
+ "internalType": "bytes",
2399
+ "name": "processData",
2400
+ "type": "bytes"
2401
+ },
2402
+ {
2403
+ "internalType": "Timestamp",
2404
+ "name": "closedAt",
2405
+ "type": "uint40"
2406
+ }
2407
+ ],
2408
+ "internalType": "struct IPolicy.ClaimInfo",
2409
+ "name": "claim",
2410
+ "type": "tuple"
2411
+ },
2412
+ {
2413
+ "internalType": "StateId",
2414
+ "name": "newState",
2415
+ "type": "uint8"
2416
+ }
2417
+ ],
2418
+ "name": "updateClaim",
2419
+ "outputs": [],
2420
+ "stateMutability": "nonpayable",
2421
+ "type": "function"
2422
+ },
2423
+ {
2424
+ "inputs": [
2425
+ {
2426
+ "internalType": "NftId",
2427
+ "name": "policyNftId",
2428
+ "type": "uint96"
2429
+ },
2430
+ {
2431
+ "internalType": "ClaimId",
2432
+ "name": "claimId",
2433
+ "type": "uint16"
2434
+ },
2435
+ {
2436
+ "internalType": "StateId",
2437
+ "name": "newState",
2438
+ "type": "uint8"
2439
+ }
2440
+ ],
2441
+ "name": "updateClaimState",
2442
+ "outputs": [],
2443
+ "stateMutability": "nonpayable",
2444
+ "type": "function"
2445
+ },
2446
+ {
2447
+ "inputs": [
2448
+ {
2449
+ "internalType": "NftId",
2450
+ "name": "componentNftId",
2451
+ "type": "uint96"
2452
+ },
2453
+ {
2454
+ "components": [
2455
+ {
2456
+ "internalType": "string",
2457
+ "name": "name",
2458
+ "type": "string"
2459
+ },
2460
+ {
2461
+ "internalType": "contract IERC20Metadata",
2462
+ "name": "token",
2463
+ "type": "address"
2464
+ },
2465
+ {
2466
+ "internalType": "contract TokenHandler",
2467
+ "name": "tokenHandler",
2468
+ "type": "address"
2469
+ },
2470
+ {
2471
+ "internalType": "bytes",
2472
+ "name": "data",
2473
+ "type": "bytes"
2474
+ }
2475
+ ],
2476
+ "internalType": "struct IComponents.ComponentInfo",
2477
+ "name": "componentInfo",
2478
+ "type": "tuple"
2479
+ },
2480
+ {
2481
+ "internalType": "StateId",
2482
+ "name": "newState",
2483
+ "type": "uint8"
2484
+ }
2485
+ ],
2486
+ "name": "updateComponent",
2487
+ "outputs": [],
2488
+ "stateMutability": "nonpayable",
2489
+ "type": "function"
2490
+ },
2491
+ {
2492
+ "inputs": [
2493
+ {
2494
+ "internalType": "NftId",
2495
+ "name": "distributorNftId",
2496
+ "type": "uint96"
2497
+ },
2498
+ {
2499
+ "components": [
2500
+ {
2501
+ "internalType": "DistributorType",
2502
+ "name": "distributorType",
2503
+ "type": "bytes8"
2504
+ },
2505
+ {
2506
+ "internalType": "bool",
2507
+ "name": "active",
2508
+ "type": "bool"
2509
+ },
2510
+ {
2511
+ "internalType": "bytes",
2512
+ "name": "data",
2513
+ "type": "bytes"
2514
+ },
2515
+ {
2516
+ "internalType": "uint32",
2517
+ "name": "numPoliciesSold",
2518
+ "type": "uint32"
2519
+ }
2520
+ ],
2521
+ "internalType": "struct IDistribution.DistributorInfo",
2522
+ "name": "info",
2523
+ "type": "tuple"
2524
+ },
2525
+ {
2526
+ "internalType": "StateId",
2527
+ "name": "newState",
2528
+ "type": "uint8"
2529
+ }
2530
+ ],
2531
+ "name": "updateDistributor",
2532
+ "outputs": [],
2533
+ "stateMutability": "nonpayable",
2534
+ "type": "function"
2535
+ },
2536
+ {
2537
+ "inputs": [
2538
+ {
2539
+ "internalType": "NftId",
2540
+ "name": "distributorNftId",
2541
+ "type": "uint96"
2542
+ },
2543
+ {
2544
+ "internalType": "StateId",
2545
+ "name": "newState",
2546
+ "type": "uint8"
2547
+ }
2548
+ ],
2549
+ "name": "updateDistributorState",
2550
+ "outputs": [],
2551
+ "stateMutability": "nonpayable",
2552
+ "type": "function"
2553
+ },
2554
+ {
2555
+ "inputs": [
2556
+ {
2557
+ "internalType": "DistributorType",
2558
+ "name": "distributorType",
2559
+ "type": "bytes8"
2560
+ },
2561
+ {
2562
+ "components": [
2563
+ {
2564
+ "internalType": "string",
2565
+ "name": "name",
2566
+ "type": "string"
2567
+ },
2568
+ {
2569
+ "internalType": "UFixed",
2570
+ "name": "minDiscountPercentage",
2571
+ "type": "uint256"
2572
+ },
2573
+ {
2574
+ "internalType": "UFixed",
2575
+ "name": "maxDiscountPercentage",
2576
+ "type": "uint256"
2577
+ },
2578
+ {
2579
+ "internalType": "UFixed",
2580
+ "name": "commissionPercentage",
2581
+ "type": "uint256"
2582
+ },
2583
+ {
2584
+ "internalType": "uint32",
2585
+ "name": "maxReferralCount",
2586
+ "type": "uint32"
2587
+ },
2588
+ {
2589
+ "internalType": "uint32",
2590
+ "name": "maxReferralLifetime",
2591
+ "type": "uint32"
2592
+ },
2593
+ {
2594
+ "internalType": "bool",
2595
+ "name": "allowSelfReferrals",
2596
+ "type": "bool"
2597
+ },
2598
+ {
2599
+ "internalType": "bool",
2600
+ "name": "allowRenewals",
2601
+ "type": "bool"
2602
+ },
2603
+ {
2604
+ "internalType": "bytes",
2605
+ "name": "data",
2606
+ "type": "bytes"
2607
+ }
2608
+ ],
2609
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2610
+ "name": "info",
2611
+ "type": "tuple"
2612
+ },
2613
+ {
2614
+ "internalType": "StateId",
2615
+ "name": "newState",
2616
+ "type": "uint8"
2617
+ }
2618
+ ],
2619
+ "name": "updateDistributorType",
2620
+ "outputs": [],
2621
+ "stateMutability": "nonpayable",
2622
+ "type": "function"
2623
+ },
2624
+ {
2625
+ "inputs": [
2626
+ {
2627
+ "internalType": "DistributorType",
2628
+ "name": "distributorType",
2629
+ "type": "bytes8"
2630
+ },
2631
+ {
2632
+ "internalType": "StateId",
2633
+ "name": "newState",
2634
+ "type": "uint8"
2635
+ }
2636
+ ],
2637
+ "name": "updateDistributorTypeState",
2638
+ "outputs": [],
2639
+ "stateMutability": "nonpayable",
2640
+ "type": "function"
2641
+ },
2642
+ {
2643
+ "inputs": [
2644
+ {
2645
+ "internalType": "NftId",
2646
+ "name": "productNftId",
2647
+ "type": "uint96"
2648
+ },
2649
+ {
2650
+ "components": [
2651
+ {
2652
+ "components": [
2653
+ {
2654
+ "internalType": "UFixed",
2655
+ "name": "fractionalFee",
2656
+ "type": "uint256"
2657
+ },
2658
+ {
2659
+ "internalType": "uint256",
2660
+ "name": "fixedFee",
2661
+ "type": "uint256"
2662
+ }
2663
+ ],
2664
+ "internalType": "struct Fee",
2665
+ "name": "productFee",
2666
+ "type": "tuple"
2667
+ },
2668
+ {
2669
+ "components": [
2670
+ {
2671
+ "internalType": "UFixed",
2672
+ "name": "fractionalFee",
2673
+ "type": "uint256"
2674
+ },
2675
+ {
2676
+ "internalType": "uint256",
2677
+ "name": "fixedFee",
2678
+ "type": "uint256"
2679
+ }
2680
+ ],
2681
+ "internalType": "struct Fee",
2682
+ "name": "processingFee",
2683
+ "type": "tuple"
2684
+ },
2685
+ {
2686
+ "components": [
2687
+ {
2688
+ "internalType": "UFixed",
2689
+ "name": "fractionalFee",
2690
+ "type": "uint256"
2691
+ },
2692
+ {
2693
+ "internalType": "uint256",
2694
+ "name": "fixedFee",
2695
+ "type": "uint256"
2696
+ }
2697
+ ],
2698
+ "internalType": "struct Fee",
2699
+ "name": "distributionFee",
2700
+ "type": "tuple"
2701
+ },
2702
+ {
2703
+ "components": [
2704
+ {
2705
+ "internalType": "UFixed",
2706
+ "name": "fractionalFee",
2707
+ "type": "uint256"
2708
+ },
2709
+ {
2710
+ "internalType": "uint256",
2711
+ "name": "fixedFee",
2712
+ "type": "uint256"
2713
+ }
2714
+ ],
2715
+ "internalType": "struct Fee",
2716
+ "name": "minDistributionOwnerFee",
2717
+ "type": "tuple"
2718
+ },
2719
+ {
2720
+ "components": [
2721
+ {
2722
+ "internalType": "UFixed",
2723
+ "name": "fractionalFee",
2724
+ "type": "uint256"
2725
+ },
2726
+ {
2727
+ "internalType": "uint256",
2728
+ "name": "fixedFee",
2729
+ "type": "uint256"
2730
+ }
2731
+ ],
2732
+ "internalType": "struct Fee",
2733
+ "name": "poolFee",
2734
+ "type": "tuple"
2735
+ },
2736
+ {
2737
+ "components": [
2738
+ {
2739
+ "internalType": "UFixed",
2740
+ "name": "fractionalFee",
2741
+ "type": "uint256"
2742
+ },
2743
+ {
2744
+ "internalType": "uint256",
2745
+ "name": "fixedFee",
2746
+ "type": "uint256"
2747
+ }
2748
+ ],
2749
+ "internalType": "struct Fee",
2750
+ "name": "stakingFee",
2751
+ "type": "tuple"
2752
+ },
2753
+ {
2754
+ "components": [
2755
+ {
2756
+ "internalType": "UFixed",
2757
+ "name": "fractionalFee",
2758
+ "type": "uint256"
2759
+ },
2760
+ {
2761
+ "internalType": "uint256",
2762
+ "name": "fixedFee",
2763
+ "type": "uint256"
2764
+ }
2765
+ ],
2766
+ "internalType": "struct Fee",
2767
+ "name": "performanceFee",
2768
+ "type": "tuple"
2769
+ }
2770
+ ],
2771
+ "internalType": "struct IComponents.FeeInfo",
2772
+ "name": "info",
2773
+ "type": "tuple"
2774
+ }
2775
+ ],
2776
+ "name": "updateFee",
2777
+ "outputs": [],
2778
+ "stateMutability": "nonpayable",
2779
+ "type": "function"
2780
+ },
2781
+ {
2782
+ "inputs": [
2783
+ {
2784
+ "internalType": "NftId",
2785
+ "name": "policyNftId",
2786
+ "type": "uint96"
2787
+ },
2788
+ {
2789
+ "internalType": "PayoutId",
2790
+ "name": "payoutId",
2791
+ "type": "uint40"
2792
+ },
2793
+ {
2794
+ "components": [
2795
+ {
2796
+ "internalType": "ClaimId",
2797
+ "name": "claimId",
2798
+ "type": "uint16"
2799
+ },
2800
+ {
2801
+ "internalType": "Amount",
2802
+ "name": "amount",
2803
+ "type": "uint96"
2804
+ },
2805
+ {
2806
+ "internalType": "address",
2807
+ "name": "beneficiary",
2808
+ "type": "address"
2809
+ },
2810
+ {
2811
+ "internalType": "bytes",
2812
+ "name": "data",
2813
+ "type": "bytes"
2814
+ },
2815
+ {
2816
+ "internalType": "Timestamp",
2817
+ "name": "paidAt",
2818
+ "type": "uint40"
2819
+ }
2820
+ ],
2821
+ "internalType": "struct IPolicy.PayoutInfo",
2822
+ "name": "payout",
2823
+ "type": "tuple"
2824
+ },
2825
+ {
2826
+ "internalType": "StateId",
2827
+ "name": "newState",
2828
+ "type": "uint8"
2829
+ }
2830
+ ],
2831
+ "name": "updatePayout",
2832
+ "outputs": [],
2833
+ "stateMutability": "nonpayable",
2834
+ "type": "function"
2835
+ },
2836
+ {
2837
+ "inputs": [
2838
+ {
2839
+ "internalType": "NftId",
2840
+ "name": "policyNftId",
2841
+ "type": "uint96"
2842
+ },
2843
+ {
2844
+ "internalType": "PayoutId",
2845
+ "name": "payoutId",
2846
+ "type": "uint40"
2847
+ },
2848
+ {
2849
+ "internalType": "StateId",
2850
+ "name": "newState",
2851
+ "type": "uint8"
2852
+ }
2853
+ ],
2854
+ "name": "updatePayoutState",
2855
+ "outputs": [],
2856
+ "stateMutability": "nonpayable",
2857
+ "type": "function"
2858
+ },
2859
+ {
2860
+ "inputs": [
2861
+ {
2862
+ "internalType": "NftId",
2863
+ "name": "policyNftId",
2864
+ "type": "uint96"
2865
+ },
2866
+ {
2867
+ "components": [
2868
+ {
2869
+ "internalType": "NftId",
2870
+ "name": "productNftId",
2871
+ "type": "uint96"
2872
+ },
2873
+ {
2874
+ "internalType": "NftId",
2875
+ "name": "bundleNftId",
2876
+ "type": "uint96"
2877
+ },
2878
+ {
2879
+ "internalType": "ReferralId",
2880
+ "name": "referralId",
2881
+ "type": "bytes8"
2882
+ },
2883
+ {
2884
+ "internalType": "RiskId",
2885
+ "name": "riskId",
2886
+ "type": "bytes8"
2887
+ },
2888
+ {
2889
+ "internalType": "Amount",
2890
+ "name": "sumInsuredAmount",
2891
+ "type": "uint96"
2892
+ },
2893
+ {
2894
+ "internalType": "Amount",
2895
+ "name": "premiumAmount",
2896
+ "type": "uint96"
2897
+ },
2898
+ {
2899
+ "internalType": "Seconds",
2900
+ "name": "lifetime",
2901
+ "type": "uint40"
2902
+ },
2903
+ {
2904
+ "internalType": "bytes",
2905
+ "name": "applicationData",
2906
+ "type": "bytes"
2907
+ },
2908
+ {
2909
+ "internalType": "bytes",
2910
+ "name": "processData",
2911
+ "type": "bytes"
2912
+ },
2913
+ {
2914
+ "internalType": "uint16",
2915
+ "name": "claimsCount",
2916
+ "type": "uint16"
2917
+ },
2918
+ {
2919
+ "internalType": "uint16",
2920
+ "name": "openClaimsCount",
2921
+ "type": "uint16"
2922
+ },
2923
+ {
2924
+ "internalType": "Amount",
2925
+ "name": "claimAmount",
2926
+ "type": "uint96"
2927
+ },
2928
+ {
2929
+ "internalType": "Amount",
2930
+ "name": "payoutAmount",
2931
+ "type": "uint96"
2932
+ },
2933
+ {
2934
+ "internalType": "Timestamp",
2935
+ "name": "activatedAt",
2936
+ "type": "uint40"
2937
+ },
2938
+ {
2939
+ "internalType": "Timestamp",
2940
+ "name": "expiredAt",
2941
+ "type": "uint40"
2942
+ },
2943
+ {
2944
+ "internalType": "Timestamp",
2945
+ "name": "closedAt",
2946
+ "type": "uint40"
2947
+ }
2948
+ ],
2949
+ "internalType": "struct IPolicy.PolicyInfo",
2950
+ "name": "policy",
2951
+ "type": "tuple"
2952
+ },
2953
+ {
2954
+ "internalType": "StateId",
2955
+ "name": "newState",
2956
+ "type": "uint8"
2957
+ }
2958
+ ],
2959
+ "name": "updatePolicy",
2960
+ "outputs": [],
2961
+ "stateMutability": "nonpayable",
2962
+ "type": "function"
2963
+ },
2964
+ {
2965
+ "inputs": [
2966
+ {
2967
+ "internalType": "NftId",
2968
+ "name": "policyNftId",
2969
+ "type": "uint96"
2970
+ },
2971
+ {
2972
+ "components": [
2973
+ {
2974
+ "internalType": "NftId",
2975
+ "name": "productNftId",
2976
+ "type": "uint96"
2977
+ },
2978
+ {
2979
+ "internalType": "NftId",
2980
+ "name": "bundleNftId",
2981
+ "type": "uint96"
2982
+ },
2983
+ {
2984
+ "internalType": "ReferralId",
2985
+ "name": "referralId",
2986
+ "type": "bytes8"
2987
+ },
2988
+ {
2989
+ "internalType": "RiskId",
2990
+ "name": "riskId",
2991
+ "type": "bytes8"
2992
+ },
2993
+ {
2994
+ "internalType": "Amount",
2995
+ "name": "sumInsuredAmount",
2996
+ "type": "uint96"
2997
+ },
2998
+ {
2999
+ "internalType": "Amount",
3000
+ "name": "premiumAmount",
3001
+ "type": "uint96"
3002
+ },
3003
+ {
3004
+ "internalType": "Seconds",
3005
+ "name": "lifetime",
3006
+ "type": "uint40"
3007
+ },
3008
+ {
3009
+ "internalType": "bytes",
3010
+ "name": "applicationData",
3011
+ "type": "bytes"
3012
+ },
3013
+ {
3014
+ "internalType": "bytes",
3015
+ "name": "processData",
3016
+ "type": "bytes"
3017
+ },
3018
+ {
3019
+ "internalType": "uint16",
3020
+ "name": "claimsCount",
3021
+ "type": "uint16"
3022
+ },
3023
+ {
3024
+ "internalType": "uint16",
3025
+ "name": "openClaimsCount",
3026
+ "type": "uint16"
3027
+ },
3028
+ {
3029
+ "internalType": "Amount",
3030
+ "name": "claimAmount",
3031
+ "type": "uint96"
3032
+ },
3033
+ {
3034
+ "internalType": "Amount",
3035
+ "name": "payoutAmount",
3036
+ "type": "uint96"
3037
+ },
3038
+ {
3039
+ "internalType": "Timestamp",
3040
+ "name": "activatedAt",
3041
+ "type": "uint40"
3042
+ },
3043
+ {
3044
+ "internalType": "Timestamp",
3045
+ "name": "expiredAt",
3046
+ "type": "uint40"
3047
+ },
3048
+ {
3049
+ "internalType": "Timestamp",
3050
+ "name": "closedAt",
3051
+ "type": "uint40"
3052
+ }
3053
+ ],
3054
+ "internalType": "struct IPolicy.PolicyInfo",
3055
+ "name": "policy",
3056
+ "type": "tuple"
3057
+ },
3058
+ {
3059
+ "internalType": "StateId",
3060
+ "name": "newState",
3061
+ "type": "uint8"
3062
+ }
3063
+ ],
3064
+ "name": "updatePolicyClaims",
3065
+ "outputs": [],
3066
+ "stateMutability": "nonpayable",
3067
+ "type": "function"
3068
+ },
3069
+ {
3070
+ "inputs": [
3071
+ {
3072
+ "internalType": "NftId",
3073
+ "name": "policyNftId",
3074
+ "type": "uint96"
3075
+ },
3076
+ {
3077
+ "internalType": "StateId",
3078
+ "name": "newState",
3079
+ "type": "uint8"
3080
+ }
3081
+ ],
3082
+ "name": "updatePolicyState",
3083
+ "outputs": [],
3084
+ "stateMutability": "nonpayable",
3085
+ "type": "function"
3086
+ },
3087
+ {
3088
+ "inputs": [
3089
+ {
3090
+ "internalType": "NftId",
3091
+ "name": "poolNftId",
3092
+ "type": "uint96"
3093
+ },
3094
+ {
3095
+ "components": [
3096
+ {
3097
+ "internalType": "Amount",
3098
+ "name": "maxBalanceAmount",
3099
+ "type": "uint96"
3100
+ },
3101
+ {
3102
+ "internalType": "bool",
3103
+ "name": "isInterceptingBundleTransfers",
3104
+ "type": "bool"
3105
+ },
3106
+ {
3107
+ "internalType": "bool",
3108
+ "name": "isProcessingConfirmedClaims",
3109
+ "type": "bool"
3110
+ },
3111
+ {
3112
+ "internalType": "bool",
3113
+ "name": "isExternallyManaged",
3114
+ "type": "bool"
3115
+ },
3116
+ {
3117
+ "internalType": "bool",
3118
+ "name": "isVerifyingApplications",
3119
+ "type": "bool"
3120
+ },
3121
+ {
3122
+ "internalType": "UFixed",
3123
+ "name": "collateralizationLevel",
3124
+ "type": "uint256"
3125
+ },
3126
+ {
3127
+ "internalType": "UFixed",
3128
+ "name": "retentionLevel",
3129
+ "type": "uint256"
3130
+ }
3131
+ ],
3132
+ "internalType": "struct IComponents.PoolInfo",
3133
+ "name": "info",
3134
+ "type": "tuple"
3135
+ },
3136
+ {
3137
+ "internalType": "StateId",
3138
+ "name": "newState",
3139
+ "type": "uint8"
3140
+ }
3141
+ ],
3142
+ "name": "updatePool",
3143
+ "outputs": [],
3144
+ "stateMutability": "nonpayable",
3145
+ "type": "function"
3146
+ },
3147
+ {
3148
+ "inputs": [
3149
+ {
3150
+ "internalType": "NftId",
3151
+ "name": "policyNftId",
3152
+ "type": "uint96"
3153
+ },
3154
+ {
3155
+ "internalType": "StateId",
3156
+ "name": "newState",
3157
+ "type": "uint8"
3158
+ }
3159
+ ],
3160
+ "name": "updatePremiumState",
3161
+ "outputs": [],
3162
+ "stateMutability": "nonpayable",
3163
+ "type": "function"
3164
+ },
3165
+ {
3166
+ "inputs": [
3167
+ {
3168
+ "internalType": "NftId",
3169
+ "name": "productNftId",
3170
+ "type": "uint96"
3171
+ },
3172
+ {
3173
+ "components": [
3174
+ {
3175
+ "internalType": "bool",
3176
+ "name": "isProcessingFundedClaims",
3177
+ "type": "bool"
3178
+ },
3179
+ {
3180
+ "internalType": "bool",
3181
+ "name": "isInterceptingPolicyTransfers",
3182
+ "type": "bool"
3183
+ },
3184
+ {
3185
+ "internalType": "bool",
3186
+ "name": "hasDistribution",
3187
+ "type": "bool"
3188
+ },
3189
+ {
3190
+ "internalType": "uint8",
3191
+ "name": "expectedNumberOfOracles",
3192
+ "type": "uint8"
3193
+ },
3194
+ {
3195
+ "internalType": "uint8",
3196
+ "name": "numberOfOracles",
3197
+ "type": "uint8"
3198
+ },
3199
+ {
3200
+ "internalType": "NftId",
3201
+ "name": "poolNftId",
3202
+ "type": "uint96"
3203
+ },
3204
+ {
3205
+ "internalType": "NftId",
3206
+ "name": "distributionNftId",
3207
+ "type": "uint96"
3208
+ },
3209
+ {
3210
+ "internalType": "NftId[]",
3211
+ "name": "oracleNftId",
3212
+ "type": "uint96[]"
3213
+ },
3214
+ {
3215
+ "components": [
3216
+ {
3217
+ "internalType": "UFixed",
3218
+ "name": "fractionalFee",
3219
+ "type": "uint256"
3220
+ },
3221
+ {
3222
+ "internalType": "uint256",
3223
+ "name": "fixedFee",
3224
+ "type": "uint256"
3225
+ }
3226
+ ],
3227
+ "internalType": "struct Fee",
3228
+ "name": "productFee",
3229
+ "type": "tuple"
3230
+ },
3231
+ {
3232
+ "components": [
3233
+ {
3234
+ "internalType": "UFixed",
3235
+ "name": "fractionalFee",
3236
+ "type": "uint256"
3237
+ },
3238
+ {
3239
+ "internalType": "uint256",
3240
+ "name": "fixedFee",
3241
+ "type": "uint256"
3242
+ }
3243
+ ],
3244
+ "internalType": "struct Fee",
3245
+ "name": "processingFee",
3246
+ "type": "tuple"
3247
+ },
3248
+ {
3249
+ "components": [
3250
+ {
3251
+ "internalType": "UFixed",
3252
+ "name": "fractionalFee",
3253
+ "type": "uint256"
3254
+ },
3255
+ {
3256
+ "internalType": "uint256",
3257
+ "name": "fixedFee",
3258
+ "type": "uint256"
3259
+ }
3260
+ ],
3261
+ "internalType": "struct Fee",
3262
+ "name": "distributionFee",
3263
+ "type": "tuple"
3264
+ },
3265
+ {
3266
+ "components": [
3267
+ {
3268
+ "internalType": "UFixed",
3269
+ "name": "fractionalFee",
3270
+ "type": "uint256"
3271
+ },
3272
+ {
3273
+ "internalType": "uint256",
3274
+ "name": "fixedFee",
3275
+ "type": "uint256"
3276
+ }
3277
+ ],
3278
+ "internalType": "struct Fee",
3279
+ "name": "minDistributionOwnerFee",
3280
+ "type": "tuple"
3281
+ },
3282
+ {
3283
+ "components": [
3284
+ {
3285
+ "internalType": "UFixed",
3286
+ "name": "fractionalFee",
3287
+ "type": "uint256"
3288
+ },
3289
+ {
3290
+ "internalType": "uint256",
3291
+ "name": "fixedFee",
3292
+ "type": "uint256"
3293
+ }
3294
+ ],
3295
+ "internalType": "struct Fee",
3296
+ "name": "poolFee",
3297
+ "type": "tuple"
3298
+ },
3299
+ {
3300
+ "components": [
3301
+ {
3302
+ "internalType": "UFixed",
3303
+ "name": "fractionalFee",
3304
+ "type": "uint256"
3305
+ },
3306
+ {
3307
+ "internalType": "uint256",
3308
+ "name": "fixedFee",
3309
+ "type": "uint256"
3310
+ }
3311
+ ],
3312
+ "internalType": "struct Fee",
3313
+ "name": "stakingFee",
3314
+ "type": "tuple"
3315
+ },
3316
+ {
3317
+ "components": [
3318
+ {
3319
+ "internalType": "UFixed",
3320
+ "name": "fractionalFee",
3321
+ "type": "uint256"
3322
+ },
3323
+ {
3324
+ "internalType": "uint256",
3325
+ "name": "fixedFee",
3326
+ "type": "uint256"
3327
+ }
3328
+ ],
3329
+ "internalType": "struct Fee",
3330
+ "name": "performanceFee",
3331
+ "type": "tuple"
3332
+ }
3333
+ ],
3334
+ "internalType": "struct IComponents.ProductInfo",
3335
+ "name": "info",
3336
+ "type": "tuple"
3337
+ },
3338
+ {
3339
+ "internalType": "StateId",
3340
+ "name": "newState",
3341
+ "type": "uint8"
3342
+ }
3343
+ ],
3344
+ "name": "updateProduct",
3345
+ "outputs": [],
3346
+ "stateMutability": "nonpayable",
3347
+ "type": "function"
3348
+ },
3349
+ {
3350
+ "inputs": [
3351
+ {
3352
+ "internalType": "ReferralId",
3353
+ "name": "referralId",
3354
+ "type": "bytes8"
3355
+ },
3356
+ {
3357
+ "components": [
3358
+ {
3359
+ "internalType": "NftId",
3360
+ "name": "distributorNftId",
3361
+ "type": "uint96"
3362
+ },
3363
+ {
3364
+ "internalType": "string",
3365
+ "name": "referralCode",
3366
+ "type": "string"
3367
+ },
3368
+ {
3369
+ "internalType": "UFixed",
3370
+ "name": "discountPercentage",
3371
+ "type": "uint256"
3372
+ },
3373
+ {
3374
+ "internalType": "uint32",
3375
+ "name": "maxReferrals",
3376
+ "type": "uint32"
3377
+ },
3378
+ {
3379
+ "internalType": "uint32",
3380
+ "name": "usedReferrals",
3381
+ "type": "uint32"
3382
+ },
3383
+ {
3384
+ "internalType": "Timestamp",
3385
+ "name": "expiryAt",
3386
+ "type": "uint40"
3387
+ },
3388
+ {
3389
+ "internalType": "bytes",
3390
+ "name": "data",
3391
+ "type": "bytes"
3392
+ }
3393
+ ],
3394
+ "internalType": "struct IDistribution.ReferralInfo",
3395
+ "name": "referralInfo",
3396
+ "type": "tuple"
3397
+ },
3398
+ {
3399
+ "internalType": "StateId",
3400
+ "name": "newState",
3401
+ "type": "uint8"
3402
+ }
3403
+ ],
3404
+ "name": "updateReferral",
3405
+ "outputs": [],
3406
+ "stateMutability": "nonpayable",
3407
+ "type": "function"
3408
+ },
3409
+ {
3410
+ "inputs": [
3411
+ {
3412
+ "internalType": "ReferralId",
3413
+ "name": "referralId",
3414
+ "type": "bytes8"
3415
+ },
3416
+ {
3417
+ "internalType": "StateId",
3418
+ "name": "newState",
3419
+ "type": "uint8"
3420
+ }
3421
+ ],
3422
+ "name": "updateReferralState",
3423
+ "outputs": [],
3424
+ "stateMutability": "nonpayable",
3425
+ "type": "function"
3426
+ },
3427
+ {
3428
+ "inputs": [
3429
+ {
3430
+ "internalType": "RequestId",
3431
+ "name": "requestId",
3432
+ "type": "uint64"
3433
+ },
3434
+ {
3435
+ "components": [
3436
+ {
3437
+ "internalType": "NftId",
3438
+ "name": "requesterNftId",
3439
+ "type": "uint96"
3440
+ },
3441
+ {
3442
+ "internalType": "string",
3443
+ "name": "callbackMethodName",
3444
+ "type": "string"
3445
+ },
3446
+ {
3447
+ "internalType": "NftId",
3448
+ "name": "oracleNftId",
3449
+ "type": "uint96"
3450
+ },
3451
+ {
3452
+ "internalType": "bytes",
3453
+ "name": "requestData",
3454
+ "type": "bytes"
3455
+ },
3456
+ {
3457
+ "internalType": "bytes",
3458
+ "name": "responseData",
3459
+ "type": "bytes"
3460
+ },
3461
+ {
3462
+ "internalType": "Timestamp",
3463
+ "name": "respondedAt",
3464
+ "type": "uint40"
3465
+ },
3466
+ {
3467
+ "internalType": "Timestamp",
3468
+ "name": "expiredAt",
3469
+ "type": "uint40"
3470
+ },
3471
+ {
3472
+ "internalType": "bool",
3473
+ "name": "isCancelled",
3474
+ "type": "bool"
3475
+ }
3476
+ ],
3477
+ "internalType": "struct IOracle.RequestInfo",
3478
+ "name": "request",
3479
+ "type": "tuple"
3480
+ },
3481
+ {
3482
+ "internalType": "StateId",
3483
+ "name": "newState",
3484
+ "type": "uint8"
3485
+ }
3486
+ ],
3487
+ "name": "updateRequest",
3488
+ "outputs": [],
3489
+ "stateMutability": "nonpayable",
3490
+ "type": "function"
3491
+ },
3492
+ {
3493
+ "inputs": [
3494
+ {
3495
+ "internalType": "RequestId",
3496
+ "name": "requestId",
3497
+ "type": "uint64"
3498
+ },
3499
+ {
3500
+ "internalType": "StateId",
3501
+ "name": "newState",
3502
+ "type": "uint8"
3503
+ }
3504
+ ],
3505
+ "name": "updateRequestState",
3506
+ "outputs": [],
3507
+ "stateMutability": "nonpayable",
3508
+ "type": "function"
3509
+ },
3510
+ {
3511
+ "inputs": [
3512
+ {
3513
+ "internalType": "RiskId",
3514
+ "name": "riskId",
3515
+ "type": "bytes8"
3516
+ },
3517
+ {
3518
+ "components": [
3519
+ {
3520
+ "internalType": "NftId",
3521
+ "name": "productNftId",
3522
+ "type": "uint96"
3523
+ },
3524
+ {
3525
+ "internalType": "bytes",
3526
+ "name": "data",
3527
+ "type": "bytes"
3528
+ }
3529
+ ],
3530
+ "internalType": "struct IRisk.RiskInfo",
3531
+ "name": "risk",
3532
+ "type": "tuple"
3533
+ },
3534
+ {
3535
+ "internalType": "StateId",
3536
+ "name": "newState",
3537
+ "type": "uint8"
3538
+ }
3539
+ ],
3540
+ "name": "updateRisk",
3541
+ "outputs": [],
3542
+ "stateMutability": "nonpayable",
3543
+ "type": "function"
3544
+ },
3545
+ {
3546
+ "inputs": [
3547
+ {
3548
+ "internalType": "RiskId",
3549
+ "name": "riskId",
3550
+ "type": "bytes8"
3551
+ },
3552
+ {
3553
+ "internalType": "StateId",
3554
+ "name": "newState",
3555
+ "type": "uint8"
3556
+ }
3557
+ ],
3558
+ "name": "updateRiskState",
3559
+ "outputs": [],
3560
+ "stateMutability": "nonpayable",
3561
+ "type": "function"
3562
+ }
3563
+ ],
3564
+ "bytecode": "0x60806040525f6008553480156012575f80fd5b50615a6f806100205f395ff3fe608060405234801561000f575f80fd5b50600436106103bf575f3560e01c80636fac8622116101f5578063b4d7efe211610114578063d78c599b116100a9578063f48016ce11610079578063f48016ce146109f2578063f71d7ffe14610a13578063fe1f18d614610a26578063fe7fc94114610a39575f80fd5b8063d78c599b1461097c578063e145b68b1461098f578063e80c61ed146109a2578063e9e96c70146109b5575f80fd5b8063bf1db3f9116100e4578063bf1db3f914610936578063bf7e214f14610949578063ca0e7f0814610969578063d625d758146105db575f80fd5b8063b4d7efe2146108ea578063b6d7cd62146108fd578063bcd65e2114610910578063bedaa84614610923575f80fd5b8063965400571161018a578063a5961b4c1161015a578063a5961b4c14610825578063a76ee018146108b1578063af902500146108c4578063b0628dc3146108d7575f80fd5b806396540057146107d95780639f8151e5146107ec578063a2842229146107ff578063a46eb8dc14610812575f80fd5b806381d32d6b116101c557806381d32d6b146105db5780638eaa6ac01461076d5780638eb9000d1461078d5780638fb36037146107b8575f80fd5b80636fac86221461072c5780637a9e5e4b1461073f5780637cef4842146107525780638129fc1c14610765575f80fd5b806338a699a4116102e157806353ebe129116102765780635a8416b0116102465780635a8416b0146106935780635d4345cc146104945780635eede174146106a657806361105e0e14610719575f80fd5b806353ebe1291461063a57806354e5618e1461064d57806354f1fa811461066057806354f6127f14610673575f80fd5b8063462d5a84116102b1578063462d5a84146105ee5780634d4a7ae91461060157806351dd844b14610614578063533086d414610627575f80fd5b806338a699a4146105925780633c3f8d0e146105b557806340529b0f146105c8578063425d08e2146105db575f80fd5b8063275c0595116103575780632ee46ad9116103275780632ee46ad9146105465780632f61088a1461055957806330a130ba1461056c578063353e5b751461057f575f80fd5b8063275c0595146104fa578063288026811461050d57806328f72e87146105205780632ae5819d14610533575f80fd5b80630fad0eb1116103925780630fad0eb11461049457806317c8c490146104a9578063228e42ec146104bc578063248a77dd146104e7575f80fd5b80630232ca49146103c35780630632b17d1461040b57806309648a9d146104365780630d3581811461046f575b5f80fd5b6103ee6103d136600461335c565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041e610419366004613693565b610a4c565b6040516001600160401b039091168152602001610402565b61045d6104443660046136cc565b5f90815260076020526040902054610100900460ff1690565b60405160ff9091168152602001610402565b61045d61047d3660046136fc565b60ff9081165f908152602081905260409020541690565b6104a76104a2366004613717565b610b0c565b005b6104a76104b73660046137f6565b610b2e565b6103ee6104ca36600461335c565b6001600160601b039081165f908152600260205260409020541690565b6103ee6104f5366004613855565b610b6b565b6104a7610508366004613895565b610b88565b6104a761051b366004613965565b610c20565b6104a761052e3660046139a3565b610c48565b6104a7610541366004613717565b610c7d565b6104a7610554366004613bee565b610c94565b6104a7610567366004613ca8565b610cbc565b6104a761057a366004613dd9565b610d5a565b6104a761058d366004613e1b565b610df8565b6105a56105a03660046136cc565b610e14565b6040519015158152602001610402565b6104a76105c3366004613f22565b610e9c565b6104a76105d6366004613717565b610ec3565b6104a76105e93660046140ff565b610eda565b6104a76105fc366004614142565b610f02565b6104a761060f366004614206565b610f46565b6104a761062236600461442e565b610f6e565b6103ee610635366004613855565b610f96565b6103ee610648366004613855565b610faa565b6104a761065b3660046144ee565b610fbe565b6104a761066e366004614531565b610fe6565b6106866106813660046136cc565b61113e565b60405161040291906145ad565b6104a76106a13660046145bf565b6111e0565b6106ef6106b436600461335c565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b0394851681529284166020840152921691810191909152606001610402565b6104a76107273660046146be565b61127e565b6104a761073a366004614701565b61131c565b6104a761074d366004614743565b61134d565b6104a761076036600461475e565b6113cf565b6104a761145c565b61078061077b3660046136cc565b6115d8565b604051610402919061477a565b6103ee61079b36600461335c565b6001600160601b039081165f908152600360205260409020541690565b6107c06116f9565b6040516001600160e01b03199091168152602001610402565b6104a76107e73660046147d8565b61172f565b6103ee6107fa366004613855565b611757565b6104a761080d36600461475e565b61176b565b6104a761082036600461481a565b6117b9565b6108a46108333660046136cc565b60408051608080820183525f8083526020808401829052838501829052606093840182905294815260078552839020835191820184525460ff80821683526101008204169482019490945263ffffffff620100008504811693820193909352600160301b9093049091169082015290565b604051610402919061485c565b6104a76108bf36600461489d565b6117ea565b6104a76108d236600461475e565b611888565b6103ee6108e5366004613855565b6118d6565b6104a76108f83660046148e0565b6118ea565b6104a761090b3660046148fc565b611937565b6104a761091e366004614929565b61194d565b6104a7610931366004614142565b611974565b6105a56109443660046136fc565b61199c565b6109516119e8565b6040516001600160a01b039091168152602001610402565b6104a7610977366004614986565b611a03565b6104a761098a366004614a9d565b611aa1565b6104a761099d366004614af1565b611ac8565b6103ee6109b0366004613855565b611aef565b6105a56109c3366004614b44565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b610a05610a00366004614b80565b611b03565b604051908152602001610402565b6104a7610a21366004614bac565b611b84565b6104a7610a34366004613717565b611bb5565b6104a7610a47366004614bee565b611bcc565b5f610a59335b5f36611bf4565b610a61611cf2565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610b079073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610abe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae29190614c23565b83604051602001610af39190614c3a565b604051602081830303815290604052611d82565b919050565b610b1533610a52565b610b29610b23836015612146565b82612191565b505050565b610b3733610a52565b610b29610b4584600b612146565b83604051602001610b569190614d0c565b6040516020818303038152906040528361248e565b5f610b7533610a52565b610b7f8383612604565b90505b92915050565b610b9133610a52565b604051630f37f38f60e41b81526001600160401b0384166004820152610b299073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610beb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0f9190614c23565b83604051602001610b569190614c3a565b610c2933610a52565b610b29610c3784600f612146565b83604051602001610b569190614d72565b610c5133610a52565b610c5a826126fd565b610c79610c6883600b612146565b82604051602001610af39190614d0c565b5050565b610c8633610a52565b610b29610b23836016612146565b610c9d33610a52565b610b29610cab84600c612146565b83604051602001610b569190614e13565b610cc533610a52565b6040516355ee627560e01b8152610c799073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610d0a906001600160c01b0319871690600401614f6a565b602060405180830381865af4158015610d25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d499190614c23565b82604051602001610af39190614f7f565b610d6333610a52565b6040516355ee627560e01b8152610c799073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610da8906001600160c01b0319871690600401614f6a565b602060405180830381865af4158015610dc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de79190614c23565b82604051602001610af39190614fac565b610e0133610a52565b610e0e610b2384846127ab565b50505050565b5f8181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610e78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b82919061504d565b610ea533610a52565b610e0e610eb285856127ab565b83604051602001610b569190615068565b610ecc33610a52565b610b29610b2383601d612146565b610ee333610a52565b610b29610ef1846015612146565b83604051602001610b5691906150d3565b610f0b33610a52565b610c79610f19836023612146565b82604051602001610f2a919061524b565b604051602081830303815290604052610f4160ff90565b61248e565b610f4f33610a52565b610c79610f5d836016612146565b82604051602001610af391906152f4565b610f7733610a52565b610b29610f8584601f612146565b83604051602001610b5691906154e4565b5f610fa033610a52565b610b7f83836127fa565b5f610fb433610a52565b610b7f83836128db565b610fc733610a52565b610b29610fd584601d612146565b83604051602001610b56919061556f565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611048573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106c919061504d565b1561109a5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff808516908316146110db5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401611091565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610e0e5760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401611091565b5f81815260076020526040902060010180546060919061115d906155c8565b80601f0160208091040260200160405190810160405280929190818152602001828054611189906155c8565b80156111d45780601f106111ab576101008083540402835291602001916111d4565b820191905f5260205f20905b8154815290600101906020018083116111b757829003601f168201915b50505050509050919050565b6111e933610a52565b6040516355ee627560e01b8152610b299073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061122e906001600160c01b0319881690600401614f6a565b602060405180830381865af4158015611249573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061126d9190614c23565b83604051602001610b569190614fac565b61128733610a52565b6040516355ee627560e01b8152610b299073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906112cc906001600160c01b0319881690600401614f6a565b602060405180830381865af41580156112e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130b9190614c23565b83604051602001610b569190615600565b61132533610a52565b61132e826126fd565b610c7961133c836015612146565b82604051602001610af391906150d3565b336113566119e8565b6001600160a01b0316816001600160a01b0316146113915760405162d1953b60e31b81526001600160a01b0382166004820152602401611091565b816001600160a01b03163b5f036113c6576040516361798f2f60e11b81526001600160a01b0383166004820152602401611091565b610c79826129bc565b6113d833610a52565b6040516355ee627560e01b8152610b299073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061141d906001600160c01b0319871690600401614f6a565b602060405180830381865af4158015611438573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b239190614c23565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156114a05750825b90505f826001600160401b031660011480156114bb5750303b155b9050811580156114c9575080155b156114e75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561151157845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611552573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115769190615691565b905061158181612a1c565b611589612a30565b505083156115d157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6040805160c0810182525f91810182815260608083018490526080830184905260a0830193909352815260208101919091525f82815260076020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015263ffffffff62010000820481166080840152600160301b9091041660a08201529283526001810180549192840191611672906155c8565b80601f016020809104026020016040519081016040528092919081815260200182805461169e906155c8565b80156116e95780601f106116c0576101008083540402835291602001916116e9565b820191905f5260205f20905b8154815290600101906020018083116116cc57829003601f168201915b5050505050815250509050919050565b5f80516020615a1a83398151915280545f9190600160a01b900460ff16611720575f611729565b638fb3603760e01b5b91505090565b61173833610a52565b610c7961174683600c612146565b82604051602001610af39190614e13565b5f61176133610a52565b610b7f8383612a42565b61177433610a52565b6040516355ee627560e01b8152610b299073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061141d906001600160c01b0319871690600401614f6a565b6117c233610a52565b6117cb826126fd565b610c796117d983601f612146565b82604051602001610af391906154e4565b6117f333610a52565b6040516355ee627560e01b8152610b299073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611838906001600160c01b0319881690600401614f6a565b602060405180830381865af4158015611853573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118779190614c23565b83604051602001610b569190614f7f565b61189133610a52565b6040516355ee627560e01b8152610b299073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061141d906001600160c01b0319871690600401614f6a565b5f6118e033610a52565b610b7f8383612b23565b6118f333610a52565b604051630f37f38f60e41b81526001600160401b0383166004820152610b299073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f09060240161141d565b61194033610a52565b610e0e610b238484612c04565b61195633610a52565b610b2961196384846127ab565b82604051602001610af39190615068565b61197d33610a52565b610c7961198b836023612146565b82604051602001610af3919061524b565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610e5d565b5f80516020615a1a833981519152546001600160a01b031690565b611a0c33610a52565b6040516355ee627560e01b8152610c799073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611a51906001600160c01b0319871690600401614f6a565b602060405180830381865af4158015611a6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a909190614c23565b82604051602001610af39190615600565b611aaa33610a52565b610e0e611ab78585612c04565b83604051602001610b5691906156ac565b611ad133610a52565b610b29611ade8484612c04565b82604051602001610af391906156ac565b5f611af933610a52565b610b7f8383612c50565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611b60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f9190614c23565b611b8d33610a52565b611b96826126fd565b610c79611ba483601d612146565b82604051602001610af3919061556f565b611bbe33610a52565b610b29610b2383601f612146565b611bd533610a52565b610c79611be383600f612146565b82604051602001610af39190614d72565b5f80516020615a1a8339815191525f80611c2c611c0f6119e8565b8730611c1e60045f8a8c61574e565b611c2791615775565b612d31565b9150915081611cea5763ffffffff811615611cc757825460ff60a01b1916600160a01b178355611c5a6119e8565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c89939291906157ab565b5f604051808303815f87803b158015611ca0575f80fd5b505af1158015611cb2573d5f803e3d5ffd5b5050845460ff60a01b1916855550611cea9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611091565b505050505050565b600880545f9182611d02836157ea565b9091555050600854604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af4158015611d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d7d919061580e565b905090565b604051634b00e98f60e11b8152600481018390525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611dd2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df69190615829565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611e49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6d919061504d565b15611e90576040516307014a8d60e51b815260ff82166004820152602401611091565b5f83815260076020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611ef6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f1a919061504d565b15611f4457604051633f92eac960e21b81526004810185905260ff83166024820152604401611091565b611f4d8261199c565b611f6f57604051636cb0978b60e11b815260ff83166004820152602401611091565b5f611f78612e39565b60ff8085165f908152602081905260408120549293509116835460ff86811661ffff1990921691909117610100918316919091021769ffffffffffffffff000019166201000063ffffffff851690810269ffffffff000000000000191691909117600160301b919091021784555f8781526007602052604090209091506001016120028682615888565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612073573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120979190615829565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af41580156120e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121099190615942565b6040805160ff938416815260ff199290921660208301529184168183015233606082015232608082015290519081900360a00190a1505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611b45565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156121e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612207919061504d565b156122285760405163093b89e160e11b815260048101849052602401611091565b505f82815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561229e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c2919061504d565b156122e35760405163566ebf7960e01b815260048101869052602401611091565b60ff808516146124605781546122ff90829060ff168187610fe6565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612381573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a59190615829565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af41580156123f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124179190615942565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b612468612e39565b825463ffffffff91909116620100000265ffffffff000019909116179091555092915050565b5f6124998483612191565b5f8581526007602052604090209091506001016124b68482615888565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612527573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061254b9190615829565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612599573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125bd9190615942565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b6001600160601b0382165f90815260056020526040812054839060ff1661264957604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f9081526003602052604090205461266d911684612ea5565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916126e59187918791879163ffffffff9091169061595d565b60405180910390a16126f684612f2a565b5092915050565b6001600160601b0381165f9081526005602052604090205460ff1615612741576040516314d5804160e01b81526001600160601b0382166004820152602401611091565b6001600160601b0381165f908152600560205260409020805460ff1916600117905561276c81612f2a565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611b45565b6001600160601b0382165f90815260056020526040812054839060ff1661283f57604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f90815260046020526040902054612863911684612fc7565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916126e59187918791879163ffffffff9091169061595d565b6001600160601b0382165f90815260056020526040812054839060ff1661292057604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f90815260036020526040902054612944911684612fc7565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916126e59187918791879163ffffffff9091169061595d565b5f80516020615a1a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612a24613011565b612a2d8161305a565b50565b612a38613011565b612a4061306b565b565b6001600160601b0382165f90815260056020526040812054839060ff16612a8757604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f90815260026020526040902054612aab911684612ea5565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916126e59187918791879163ffffffff9091169061595d565b6001600160601b0382165f90815260056020526040812054839060ff16612b6857604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f90815260026020526040902054612b8c911684612fc7565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916126e59187918791879163ffffffff9091169061595d565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611b45565b6001600160601b0382165f90815260056020526040812054839060ff16612c9557604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f90815260046020526040902054612cb9911684612ea5565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916126e59187918791879163ffffffff9091169061595d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612d9f919061598c565b5f60405180830381855afa9150503d805f8114612dd7576040519150601f19603f3d011682016040523d82523d5f602084013e612ddc565b606091505b50915091508115612e2e576040815110612e0e5780806020019051810190612e0491906159a2565b9094509250612e2e565b6020815110612e2e5780806020019051810190612e2b919061504d565b93505b505094509492505050565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612e81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d7d91906159cf565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612f06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f91906159ea565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f9591906159cf565b6001600160601b03919091165f908152600660205260409020805463ffffffff191663ffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612eeb565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612a4057604051631afcd79f60e31b815260040160405180910390fd5b613062613011565b612a2d816129bc565b6130736130c3565b61307b613109565b613083613136565b61308b613179565b613093613195565b61309b6131c7565b6130a36131db565b6130ab613203565b6130b3613244565b6130bb61324e565b612a40613262565b6130d0601f5b600561328a565b6130df601f5b6005606e6132cc565b6130ee601f60055b60c86132cc565b6130fd601f5b606e60056132cc565b612a40601f606e6130e7565b613113600b6130c9565b61311d600b6130d6565b613127600b6130f4565b612a40600b5b606e60d26132cc565b6131426015600a61328a565b6131506015600a60146132cc565b61315f6015600a5b601e6132cc565b61316d6015600a60286132cc565b612a40601560286130e7565b61318660165b603c61328a565b612a4060165b603c60dc6132cc565b6131a16017603261328a565b6131af6017603260336132cc565b6131bb60176032613158565b612a40601760336130e7565b6131d1601861317f565b612a40601861318c565b6131e560196130c9565b6131ef60196130d6565b6131f960196130f4565b612a40601961312d565b61320d601b6130c9565b61321c601b60055b60466132cc565b61322a601b600560076132cc565b613236601b6007613215565b612a40601b600560486132cc565b612a40600f6130c9565b613258600c6130c9565b612a4060236130c9565b61326c600e6130c9565b613276601d6130c9565b613280601c6130c9565b612a40601e6130c9565b60ff8281165f9081526020819052604090205416156132ab576132ab615a05565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561330457613304615a05565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114612a2d575f80fd5b8035610b078161333d565b5f6020828403121561336c575f80fd5b81356133778161333d565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b03811182821017156133b5576133b561337e565b60405290565b604051608081016001600160401b03811182821017156133b5576133b561337e565b60405160e081016001600160401b03811182821017156133b5576133b561337e565b604080519081016001600160401b03811182821017156133b5576133b561337e565b6040516101e081016001600160401b03811182821017156133b5576133b561337e565b60405161012081016001600160401b03811182821017156133b5576133b561337e565b60405161020081016001600160401b03811182821017156133b5576133b561337e565b60405161024081016001600160401b03811182821017156133b5576133b561337e565b60405160c081016001600160401b03811182821017156133b5576133b561337e565b604051601f8201601f191681016001600160401b03811182821017156134f7576134f761337e565b604052919050565b5f82601f83011261350e575f80fd5b8135602083015f806001600160401b0384111561352d5761352d61337e565b50601f8301601f1916602001613542816134cf565b915050828152858383011115613556575f80fd5b828260208301375f92810160200192909252509392505050565b64ffffffffff81168114612a2d575f80fd5b8035610b0781613570565b8015158114612a2d575f80fd5b8035610b078161358d565b5f61010082840312156135b6575f80fd5b6135be613392565b90506135c982613351565b815260208201356001600160401b038111156135e3575f80fd5b6135ef848285016134ff565b60208301525061360160408301613351565b604082015260608201356001600160401b0381111561361e575f80fd5b61362a848285016134ff565b60608301525060808201356001600160401b03811115613648575f80fd5b613654848285016134ff565b60808301525061366660a08301613582565b60a082015261367760c08301613582565b60c082015261368860e0830161359a565b60e082015292915050565b5f602082840312156136a3575f80fd5b81356001600160401b038111156136b8575f80fd5b6136c4848285016135a5565b949350505050565b5f602082840312156136dc575f80fd5b5035919050565b60ff81168114612a2d575f80fd5b8035610b07816136e3565b5f6020828403121561370c575f80fd5b8135613377816136e3565b5f8060408385031215613728575f80fd5b82356137338161333d565b91506020830135613743816136e3565b809150509250929050565b6001600160a01b0381168114612a2d575f80fd5b5f60808284031215613772575f80fd5b61377a6133bb565b905081356001600160401b03811115613791575f80fd5b61379d848285016134ff565b82525060208201356137ae8161374e565b602082015260408201356137c18161374e565b604082015260608201356001600160401b038111156137de575f80fd5b6137ea848285016134ff565b60608301525092915050565b5f805f60608486031215613808575f80fd5b83356138138161333d565b925060208401356001600160401b0381111561382d575f80fd5b61383986828701613762565b925050604084013561384a816136e3565b809150509250925092565b5f8060408385031215613866575f80fd5b82356138718161333d565b915060208301356137438161333d565b6001600160401b0381168114612a2d575f80fd5b5f805f606084860312156138a7575f80fd5b83356138b281613881565b925060208401356001600160401b038111156138cc575f80fd5b613839868287016135a5565b5f60e082840312156138e8575f80fd5b6138f06133dd565b905081356138fd8161333d565b8152602082013561390d8161358d565b602082015260408201356139208161358d565b604082015260608201356139338161358d565b60608201526139446080830161359a565b608082015260a0828101359082015260c09182013591810191909152919050565b5f805f6101208486031215613978575f80fd5b83356139838161333d565b925061399285602086016138d8565b915061010084013561384a816136e3565b5f80604083850312156139b4575f80fd5b82356139bf8161333d565b915060208301356001600160401b038111156139d9575f80fd5b6139e585828601613762565b9150509250929050565b5f82601f8301126139fe575f80fd5b81356001600160401b03811115613a1757613a1761337e565b8060051b613a27602082016134cf565b91825260208185018101929081019086841115613a42575f80fd5b6020860192505b83831015613a6d578235613a5c8161333d565b825260209283019290910190613a49565b9695505050505050565b5f60408284031215613a87575f80fd5b613a8f6133ff565b823581526020928301359281019290925250919050565b5f6102c08284031215613ab7575f80fd5b613abf613421565b9050613aca8261359a565b8152613ad86020830161359a565b6020820152613ae96040830161359a565b6040820152613afa606083016136f1565b6060820152613b0b608083016136f1565b6080820152613b1c60a08301613351565b60a0820152613b2d60c08301613351565b60c082015260e08201356001600160401b03811115613b4a575f80fd5b613b56848285016139ef565b60e083015250613b6a836101008401613a77565b610100820152613b7e836101408401613a77565b610120820152613b92836101808401613a77565b610140820152613ba6836101c08401613a77565b610160820152613bba836102008401613a77565b610180820152613bce836102408401613a77565b6101a0820152613be2836102808401613a77565b6101c082015292915050565b5f805f60608486031215613c00575f80fd5b8335613c0b8161333d565b925060208401356001600160401b03811115613c25575f80fd5b61383986828701613aa6565b6001600160c01b031981168114612a2d575f80fd5b8035610b0781613c31565b5f60408284031215613c61575f80fd5b613c696133ff565b90508135613c768161333d565b815260208201356001600160401b03811115613c90575f80fd5b613c9c848285016134ff565b60208301525092915050565b5f8060408385031215613cb9575f80fd5b8235613cc481613c31565b915060208301356001600160401b03811115613cde575f80fd5b6139e585828601613c51565b63ffffffff81168114612a2d575f80fd5b8035610b0781613cea565b5f6101208284031215613d17575f80fd5b613d1f613444565b905081356001600160401b03811115613d36575f80fd5b613d42848285016134ff565b825250602082810135908201526040808301359082015260608083013590820152613d6f60808301613cfb565b6080820152613d8060a08301613cfb565b60a0820152613d9160c0830161359a565b60c0820152613da260e0830161359a565b60e08201526101008201356001600160401b03811115613dc0575f80fd5b613dcc848285016134ff565b6101008301525092915050565b5f8060408385031215613dea575f80fd5b8235613df581613c31565b915060208301356001600160401b03811115613e0f575f80fd5b6139e585828601613d06565b5f805f60608486031215613e2d575f80fd5b8335613e388161333d565b92506020840135613e4881613570565b9150604084013561384a816136e3565b61ffff81168114612a2d575f80fd5b8035610b0781613e58565b5f60a08284031215613e82575f80fd5b60405160a081016001600160401b0381118282101715613ea457613ea461337e565b6040529050808235613eb581613e58565b81526020830135613ec58161333d565b60208201526040830135613ed88161374e565b604082015260608301356001600160401b03811115613ef5575f80fd5b613f01858286016134ff565b6060830152506080830135613f1581613570565b6080919091015292915050565b5f805f8060808587031215613f35575f80fd5b8435613f408161333d565b93506020850135613f5081613570565b925060408501356001600160401b03811115613f6a575f80fd5b613f7687828801613e72565b9250506060850135613f87816136e3565b939692955090935050565b5f6102008284031215613fa3575f80fd5b613fab613467565b9050613fb682613351565b8152613fc460208301613351565b6020820152613fd560408301613c46565b6040820152613fe660608301613c46565b6060820152613ff760808301613351565b608082015261400860a08301613351565b60a082015261401960c08301613582565b60c082015260e08201356001600160401b03811115614036575f80fd5b614042848285016134ff565b60e0830152506101008201356001600160401b03811115614061575f80fd5b61406d848285016134ff565b610100830152506140816101208301613e67565b6101208201526140946101408301613e67565b6101408201526140a76101608301613351565b6101608201526140ba6101808301613351565b6101808201526140cd6101a08301613582565b6101a08201526140e06101c08301613582565b6101c08201526140f36101e08301613582565b6101e082015292915050565b5f805f60608486031215614111575f80fd5b833561411c8161333d565b925060208401356001600160401b03811115614136575f80fd5b61383986828701613f92565b5f808284036101e0811215614155575f80fd5b83356141608161333d565b92506101c0601f1982011215614174575f80fd5b5061417d6133dd565b61418a8560208601613a77565b81526141998560608601613a77565b60208201526141ab8560a08601613a77565b60408201526141bd8560e08601613a77565b60608201526141d0856101208601613a77565b60808201526141e3856101608601613a77565b60a08201526141f6856101a08601613a77565b60c0820152809150509250929050565b5f80828403610260811215614219575f80fd5b83356142248161333d565b9250610240601f1982011215614238575f80fd5b5061424161348a565b61424d60208501613351565b815261425b60408501613351565b602082015261426c60608501613351565b604082015261427d60808501613351565b606082015261428e60a08501613351565b608082015261429f60c08501613351565b60a08201526142b060e08501613351565b60c08201526142c26101008501613351565b60e08201526142d46101208501613351565b6101008201526142e76101408501613351565b6101208201526142fa6101608501613351565b61014082015261430d6101808501613351565b6101608201526143206101a08501613351565b6101808201526143336101c08501613351565b6101a08201526143466101e08501613351565b6101c08201526143596102008501613351565b6101e082015261436c6102208501613351565b61020082015261437f6102408501613351565b610220820152809150509250929050565b5f60e082840312156143a0575f80fd5b6143a86134ad565b905081356143b58161333d565b81526143c48360208401613a77565b602082015260608201356001600160401b038111156143e1575f80fd5b6143ed848285016134ff565b604083015250608082013561440181613570565b606082015261441260a08301613582565b608082015261442360c08301613582565b60a082015292915050565b5f805f60608486031215614440575f80fd5b833561444b8161333d565b925060208401356001600160401b03811115614465575f80fd5b61383986828701614390565b5f60808284031215614481575f80fd5b6144896133bb565b9050813561449681613c31565b815260208201356144a68161358d565b602082015260408201356001600160401b038111156144c3575f80fd5b6144cf848285016134ff565b60408301525060608201356144e381613cea565b606082015292915050565b5f805f60608486031215614500575f80fd5b833561450b8161333d565b925060208401356001600160401b03811115614525575f80fd5b61383986828701614471565b5f805f8060808587031215614544575f80fd5b843561454f816136e3565b9350602085013561455f816136e3565b9250604085013561456f816136e3565b91506060850135613f87816136e3565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610b7f602083018461457f565b5f805f606084860312156145d1575f80fd5b83356145dc81613c31565b925060208401356001600160401b038111156145f6575f80fd5b61383986828701613d06565b5f60e08284031215614612575f80fd5b61461a6133dd565b905061462582613351565b815260208201356001600160401b0381111561463f575f80fd5b61464b848285016134ff565b6020830152506040828101359082015261466760608301613cfb565b606082015261467860808301613cfb565b608082015261468960a08301613582565b60a082015260c08201356001600160401b038111156146a6575f80fd5b6146b2848285016134ff565b60c08301525092915050565b5f805f606084860312156146d0575f80fd5b83356146db81613c31565b925060208401356001600160401b038111156146f5575f80fd5b61383986828701614602565b5f8060408385031215614712575f80fd5b823561471d8161333d565b915060208301356001600160401b03811115614737575f80fd5b6139e585828601613f92565b5f60208284031215614753575f80fd5b81356133778161374e565b5f806040838503121561476f575f80fd5b823561373381613c31565b602081526147bf60208201835160ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f602083015160a0808401526136c460c084018261457f565b5f80604083850312156147e9575f80fd5b82356147f48161333d565b915060208301356001600160401b0381111561480e575f80fd5b6139e585828601613aa6565b5f806040838503121561482b575f80fd5b82356148368161333d565b915060208301356001600160401b03811115614850575f80fd5b6139e585828601614390565b60808101610b82828460ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f805f606084860312156148af575f80fd5b83356148ba81613c31565b925060208401356001600160401b038111156148d4575f80fd5b61383986828701613c51565b5f80604083850312156148f1575f80fd5b823561373381613881565b5f805f6060848603121561490e575f80fd5b83356149198161333d565b92506020840135613e4881613e58565b5f805f6060848603121561493b575f80fd5b83356149468161333d565b9250602084013561495681613570565b915060408401356001600160401b03811115614970575f80fd5b61497c86828701613e72565b9150509250925092565b5f8060408385031215614997575f80fd5b82356149a281613c31565b915060208301356001600160401b038111156149bc575f80fd5b6139e585828601614602565b803562ffffff81168114610b07575f80fd5b5f60e082840312156149ea575f80fd5b6149f26133dd565b90506149fd82613351565b8152614a0b60208301613351565b6020820152614a1c604083016149c8565b6040820152614a2d606083016149c8565b606082015260808201356001600160401b03811115614a4a575f80fd5b614a56848285016134ff565b60808301525060a08201356001600160401b03811115614a74575f80fd5b614a80848285016134ff565b60a083015250614a9260c08301613582565b60c082015292915050565b5f805f8060808587031215614ab0575f80fd5b8435614abb8161333d565b93506020850135614acb81613e58565b925060408501356001600160401b03811115614ae5575f80fd5b613f76878288016149da565b5f805f60608486031215614b03575f80fd5b8335614b0e8161333d565b92506020840135614b1e81613e58565b915060408401356001600160401b03811115614b38575f80fd5b61497c868287016149da565b5f805f60608486031215614b56575f80fd5b8335614b61816136e3565b92506020840135613e48816136e3565b60ff1981168114612a2d575f80fd5b5f8060408385031215614b91575f80fd5b8235614b9c816136e3565b9150602083013561374381614b71565b5f8060408385031215614bbd575f80fd5b8235614bc88161333d565b915060208301356001600160401b03811115614be2575f80fd5b6139e585828601614471565b5f806101008385031215614c00575f80fd5b8235614c0b8161333d565b9150614c1a84602085016138d8565b90509250929050565b5f60208284031215614c33575f80fd5b5051919050565b60208152614c546020820183516001600160601b03169052565b5f60208301516101006040840152614c7061012084018261457f565b90506040840151614c8c60608501826001600160601b03169052565b506060840151838203601f19016080850152614ca8828261457f565b9150506080840151601f198483030160a0850152614cc6828261457f565b91505060a0840151614ce160c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e08401518015156101008501525b509392505050565b602081525f825160806020840152614d2760a084018261457f565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f19016080860152909150614d69828261457f565b95945050505050565b5f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b5f8151808452602084019350602083015f5b82811015614e095781516001600160601b0316865260209586019590910190600101614de2565b5093949350505050565b60208152614e2660208201835115159052565b5f6020830151614e3a604084018215159052565b506040830151801515606084015250606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516102c0610100840152614ead6102e0840182614dd0565b6101008501518051610120860152602081015161014086015290915050610120840151805161016085015260208101516101808501525061014084015180516101a085015260208101516101c08501525061016084015180516101e085015260208101516102008501525061018084015180516102208501526020810151610240850152506101a084015180516102608501526020810151610280850152506101c084015180516102a085015260208101516102c0850152614d04565b6001600160c01b031991909116815260200190565b602081526001600160601b0382511660208201525f60208301516040808401526136c4606084018261457f565b602081525f82516101206020840152614fc961014084018261457f565b9050602084015160408401526040840151606084015260608401516080840152608084015161500060a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f1901610120850152614d69828261457f565b5f6020828403121561505d575f80fd5b81516133778161358d565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a060808401526150b660c084018261457f565b905064ffffffffff60808501511660a08401528091505092915050565b602081526150ed6020820183516001600160601b03169052565b5f602083015161510860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e083015161020061010084015261518e61022084018261457f565b9050610100840151601f19848303016101208501526151ad828261457f565b9150506101208401516151c761014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152614d04565b815180518252602090810151908201526101c081016020838101518051604085015290810151606084015250604083015180516080840152602081015160a0840152506060830151805160c0840152602081015160e0840152506080830151805161010084015260208101516101208401525060a0830151805161014084015260208101516101608401525060c0830151805161018084015260208101516101a08401526126f6565b81516001600160601b031681526102408101602083015161532060208401826001600160601b03169052565b50604083015161533b60408401826001600160601b03169052565b50606083015161535660608401826001600160601b03169052565b50608083015161537160808401826001600160601b03169052565b5060a083015161538c60a08401826001600160601b03169052565b5060c08301516153a760c08401826001600160601b03169052565b5060e08301516153c260e08401826001600160601b03169052565b506101008301516153df6101008401826001600160601b03169052565b506101208301516153fc6101208401826001600160601b03169052565b506101408301516154196101408401826001600160601b03169052565b506101608301516154366101608401826001600160601b03169052565b506101808301516154536101808401826001600160601b03169052565b506101a08301516154706101a08401826001600160601b03169052565b506101c083015161548d6101c08401826001600160601b03169052565b506101e08301516154aa6101e08401826001600160601b03169052565b506102008301516154c76102008401826001600160601b03169052565b506102208301516126f66102208401826001600160601b03169052565b602081526001600160601b0382511660208201525f6020830151615515604084018280518252602090810151910152565b50604083015160e0608084015261553061010084018261457f565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f6040830151608060608401526155ac60a084018261457f565b905063ffffffff60608501511660808401528091505092915050565b600181811c908216806155dc57607f821691505b6020821081036155fa57634e487b7160e01b5f52602260045260245ffd5b50919050565b602081526001600160601b0382511660208201525f602083015160e0604084015261562f61010084018261457f565b90506040840151606084015263ffffffff6060850151166080840152608084015161566260a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614d69828261457f565b5f602082840312156156a1575f80fd5b81516133778161374e565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516156ea606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a084015261571661010084018261457f565b905060a0840151601f198483030160c0850152615733828261457f565b91505060c0840151614d0460e085018264ffffffffff169052565b5f808585111561575c575f80fd5b83861115615768575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156126f6576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6001820161580757634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f6020828403121561581e575f80fd5b815161337781613881565b5f60208284031215615839575f80fd5b8151613377816136e3565b601f821115610b2957805f5260205f20601f840160051c810160208510156158695750805b601f840160051c820191505b818110156115d1575f8155600101615875565b81516001600160401b038111156158a1576158a161337e565b6158b5816158af84546155c8565b84615844565b6020601f8211600181146158e7575f83156158d05750848201515b5f19600385901b1c1916600184901b1784556115d1565b5f84815260208120601f198516915b8281101561591657878501518255602094850194600190920191016158f6565b508482101561593357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215615952575f80fd5b815161337781614b71565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b5f82518060208501845e5f920191825250919050565b5f80604083850312156159b3575f80fd5b82516159be8161358d565b602084015190925061374381613cea565b5f602082840312156159df575f80fd5b815161337781613cea565b5f602082840312156159fa575f80fd5b81516133778161333d565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122065a86e188c9bb3686ffcbbd79bc0cff9815e829b6baf0ded9de3661bab9fb66f64736f6c634300081a0033",
3565
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106103bf575f3560e01c80636fac8622116101f5578063b4d7efe211610114578063d78c599b116100a9578063f48016ce11610079578063f48016ce146109f2578063f71d7ffe14610a13578063fe1f18d614610a26578063fe7fc94114610a39575f80fd5b8063d78c599b1461097c578063e145b68b1461098f578063e80c61ed146109a2578063e9e96c70146109b5575f80fd5b8063bf1db3f9116100e4578063bf1db3f914610936578063bf7e214f14610949578063ca0e7f0814610969578063d625d758146105db575f80fd5b8063b4d7efe2146108ea578063b6d7cd62146108fd578063bcd65e2114610910578063bedaa84614610923575f80fd5b8063965400571161018a578063a5961b4c1161015a578063a5961b4c14610825578063a76ee018146108b1578063af902500146108c4578063b0628dc3146108d7575f80fd5b806396540057146107d95780639f8151e5146107ec578063a2842229146107ff578063a46eb8dc14610812575f80fd5b806381d32d6b116101c557806381d32d6b146105db5780638eaa6ac01461076d5780638eb9000d1461078d5780638fb36037146107b8575f80fd5b80636fac86221461072c5780637a9e5e4b1461073f5780637cef4842146107525780638129fc1c14610765575f80fd5b806338a699a4116102e157806353ebe129116102765780635a8416b0116102465780635a8416b0146106935780635d4345cc146104945780635eede174146106a657806361105e0e14610719575f80fd5b806353ebe1291461063a57806354e5618e1461064d57806354f1fa811461066057806354f6127f14610673575f80fd5b8063462d5a84116102b1578063462d5a84146105ee5780634d4a7ae91461060157806351dd844b14610614578063533086d414610627575f80fd5b806338a699a4146105925780633c3f8d0e146105b557806340529b0f146105c8578063425d08e2146105db575f80fd5b8063275c0595116103575780632ee46ad9116103275780632ee46ad9146105465780632f61088a1461055957806330a130ba1461056c578063353e5b751461057f575f80fd5b8063275c0595146104fa578063288026811461050d57806328f72e87146105205780632ae5819d14610533575f80fd5b80630fad0eb1116103925780630fad0eb11461049457806317c8c490146104a9578063228e42ec146104bc578063248a77dd146104e7575f80fd5b80630232ca49146103c35780630632b17d1461040b57806309648a9d146104365780630d3581811461046f575b5f80fd5b6103ee6103d136600461335c565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041e610419366004613693565b610a4c565b6040516001600160401b039091168152602001610402565b61045d6104443660046136cc565b5f90815260076020526040902054610100900460ff1690565b60405160ff9091168152602001610402565b61045d61047d3660046136fc565b60ff9081165f908152602081905260409020541690565b6104a76104a2366004613717565b610b0c565b005b6104a76104b73660046137f6565b610b2e565b6103ee6104ca36600461335c565b6001600160601b039081165f908152600260205260409020541690565b6103ee6104f5366004613855565b610b6b565b6104a7610508366004613895565b610b88565b6104a761051b366004613965565b610c20565b6104a761052e3660046139a3565b610c48565b6104a7610541366004613717565b610c7d565b6104a7610554366004613bee565b610c94565b6104a7610567366004613ca8565b610cbc565b6104a761057a366004613dd9565b610d5a565b6104a761058d366004613e1b565b610df8565b6105a56105a03660046136cc565b610e14565b6040519015158152602001610402565b6104a76105c3366004613f22565b610e9c565b6104a76105d6366004613717565b610ec3565b6104a76105e93660046140ff565b610eda565b6104a76105fc366004614142565b610f02565b6104a761060f366004614206565b610f46565b6104a761062236600461442e565b610f6e565b6103ee610635366004613855565b610f96565b6103ee610648366004613855565b610faa565b6104a761065b3660046144ee565b610fbe565b6104a761066e366004614531565b610fe6565b6106866106813660046136cc565b61113e565b60405161040291906145ad565b6104a76106a13660046145bf565b6111e0565b6106ef6106b436600461335c565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b0394851681529284166020840152921691810191909152606001610402565b6104a76107273660046146be565b61127e565b6104a761073a366004614701565b61131c565b6104a761074d366004614743565b61134d565b6104a761076036600461475e565b6113cf565b6104a761145c565b61078061077b3660046136cc565b6115d8565b604051610402919061477a565b6103ee61079b36600461335c565b6001600160601b039081165f908152600360205260409020541690565b6107c06116f9565b6040516001600160e01b03199091168152602001610402565b6104a76107e73660046147d8565b61172f565b6103ee6107fa366004613855565b611757565b6104a761080d36600461475e565b61176b565b6104a761082036600461481a565b6117b9565b6108a46108333660046136cc565b60408051608080820183525f8083526020808401829052838501829052606093840182905294815260078552839020835191820184525460ff80821683526101008204169482019490945263ffffffff620100008504811693820193909352600160301b9093049091169082015290565b604051610402919061485c565b6104a76108bf36600461489d565b6117ea565b6104a76108d236600461475e565b611888565b6103ee6108e5366004613855565b6118d6565b6104a76108f83660046148e0565b6118ea565b6104a761090b3660046148fc565b611937565b6104a761091e366004614929565b61194d565b6104a7610931366004614142565b611974565b6105a56109443660046136fc565b61199c565b6109516119e8565b6040516001600160a01b039091168152602001610402565b6104a7610977366004614986565b611a03565b6104a761098a366004614a9d565b611aa1565b6104a761099d366004614af1565b611ac8565b6103ee6109b0366004613855565b611aef565b6105a56109c3366004614b44565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b610a05610a00366004614b80565b611b03565b604051908152602001610402565b6104a7610a21366004614bac565b611b84565b6104a7610a34366004613717565b611bb5565b6104a7610a47366004614bee565b611bcc565b5f610a59335b5f36611bf4565b610a61611cf2565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610b079073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610abe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ae29190614c23565b83604051602001610af39190614c3a565b604051602081830303815290604052611d82565b919050565b610b1533610a52565b610b29610b23836015612146565b82612191565b505050565b610b3733610a52565b610b29610b4584600b612146565b83604051602001610b569190614d0c565b6040516020818303038152906040528361248e565b5f610b7533610a52565b610b7f8383612604565b90505b92915050565b610b9133610a52565b604051630f37f38f60e41b81526001600160401b0384166004820152610b299073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610beb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c0f9190614c23565b83604051602001610b569190614c3a565b610c2933610a52565b610b29610c3784600f612146565b83604051602001610b569190614d72565b610c5133610a52565b610c5a826126fd565b610c79610c6883600b612146565b82604051602001610af39190614d0c565b5050565b610c8633610a52565b610b29610b23836016612146565b610c9d33610a52565b610b29610cab84600c612146565b83604051602001610b569190614e13565b610cc533610a52565b6040516355ee627560e01b8152610c799073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610d0a906001600160c01b0319871690600401614f6a565b602060405180830381865af4158015610d25573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d499190614c23565b82604051602001610af39190614f7f565b610d6333610a52565b6040516355ee627560e01b8152610c799073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610da8906001600160c01b0319871690600401614f6a565b602060405180830381865af4158015610dc3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de79190614c23565b82604051602001610af39190614fac565b610e0133610a52565b610e0e610b2384846127ab565b50505050565b5f8181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610e78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b82919061504d565b610ea533610a52565b610e0e610eb285856127ab565b83604051602001610b569190615068565b610ecc33610a52565b610b29610b2383601d612146565b610ee333610a52565b610b29610ef1846015612146565b83604051602001610b5691906150d3565b610f0b33610a52565b610c79610f19836023612146565b82604051602001610f2a919061524b565b604051602081830303815290604052610f4160ff90565b61248e565b610f4f33610a52565b610c79610f5d836016612146565b82604051602001610af391906152f4565b610f7733610a52565b610b29610f8584601f612146565b83604051602001610b5691906154e4565b5f610fa033610a52565b610b7f83836127fa565b5f610fb433610a52565b610b7f83836128db565b610fc733610a52565b610b29610fd584601d612146565b83604051602001610b56919061556f565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611048573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106c919061504d565b1561109a5760405163ea01ac1f60e01b815230600482015260ff841660248201526044015b60405180910390fd5b60ff808516908316146110db5760405163bae587e160e01b815230600482015260ff8085166024830152808616604483015283166064820152608401611091565b60ff8084165f90815260016020908152604080832088851684528252808320858516845290915290205416610e0e5760405163f33b49a360e01b815230600482015260ff8085166024830152808616604483015282166064820152608401611091565b5f81815260076020526040902060010180546060919061115d906155c8565b80601f0160208091040260200160405190810160405280929190818152602001828054611189906155c8565b80156111d45780601f106111ab576101008083540402835291602001916111d4565b820191905f5260205f20905b8154815290600101906020018083116111b757829003601f168201915b50505050509050919050565b6111e933610a52565b6040516355ee627560e01b8152610b299073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061122e906001600160c01b0319881690600401614f6a565b602060405180830381865af4158015611249573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061126d9190614c23565b83604051602001610b569190614fac565b61128733610a52565b6040516355ee627560e01b8152610b299073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906112cc906001600160c01b0319881690600401614f6a565b602060405180830381865af41580156112e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061130b9190614c23565b83604051602001610b569190615600565b61132533610a52565b61132e826126fd565b610c7961133c836015612146565b82604051602001610af391906150d3565b336113566119e8565b6001600160a01b0316816001600160a01b0316146113915760405162d1953b60e31b81526001600160a01b0382166004820152602401611091565b816001600160a01b03163b5f036113c6576040516361798f2f60e11b81526001600160a01b0383166004820152602401611091565b610c79826129bc565b6113d833610a52565b6040516355ee627560e01b8152610b299073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061141d906001600160c01b0319871690600401614f6a565b602060405180830381865af4158015611438573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b239190614c23565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156114a05750825b90505f826001600160401b031660011480156114bb5750303b155b9050811580156114c9575080155b156114e75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561151157845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611552573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115769190615691565b905061158181612a1c565b611589612a30565b505083156115d157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b6040805160c0810182525f91810182815260608083018490526080830184905260a0830193909352815260208101919091525f82815260076020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015263ffffffff62010000820481166080840152600160301b9091041660a08201529283526001810180549192840191611672906155c8565b80601f016020809104026020016040519081016040528092919081815260200182805461169e906155c8565b80156116e95780601f106116c0576101008083540402835291602001916116e9565b820191905f5260205f20905b8154815290600101906020018083116116cc57829003601f168201915b5050505050815250509050919050565b5f80516020615a1a83398151915280545f9190600160a01b900460ff16611720575f611729565b638fb3603760e01b5b91505090565b61173833610a52565b610c7961174683600c612146565b82604051602001610af39190614e13565b5f61176133610a52565b610b7f8383612a42565b61177433610a52565b6040516355ee627560e01b8152610b299073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061141d906001600160c01b0319871690600401614f6a565b6117c233610a52565b6117cb826126fd565b610c796117d983601f612146565b82604051602001610af391906154e4565b6117f333610a52565b6040516355ee627560e01b8152610b299073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611838906001600160c01b0319881690600401614f6a565b602060405180830381865af4158015611853573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118779190614c23565b83604051602001610b569190614f7f565b61189133610a52565b6040516355ee627560e01b8152610b299073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061141d906001600160c01b0319871690600401614f6a565b5f6118e033610a52565b610b7f8383612b23565b6118f333610a52565b604051630f37f38f60e41b81526001600160401b0383166004820152610b299073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f09060240161141d565b61194033610a52565b610e0e610b238484612c04565b61195633610a52565b610b2961196384846127ab565b82604051602001610af39190615068565b61197d33610a52565b610c7961198b836023612146565b82604051602001610af3919061524b565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610e5d565b5f80516020615a1a833981519152546001600160a01b031690565b611a0c33610a52565b6040516355ee627560e01b8152610c799073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611a51906001600160c01b0319871690600401614f6a565b602060405180830381865af4158015611a6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a909190614c23565b82604051602001610af39190615600565b611aaa33610a52565b610e0e611ab78585612c04565b83604051602001610b5691906156ac565b611ad133610a52565b610b29611ade8484612c04565b82604051602001610af391906156ac565b5f611af933610a52565b610b7f8383612c50565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611b60573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f9190614c23565b611b8d33610a52565b611b96826126fd565b610c79611ba483601d612146565b82604051602001610af3919061556f565b611bbe33610a52565b610b29610b2383601f612146565b611bd533610a52565b610c79611be383600f612146565b82604051602001610af39190614d72565b5f80516020615a1a8339815191525f80611c2c611c0f6119e8565b8730611c1e60045f8a8c61574e565b611c2791615775565b612d31565b9150915081611cea5763ffffffff811615611cc757825460ff60a01b1916600160a01b178355611c5a6119e8565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c89939291906157ab565b5f604051808303815f87803b158015611ca0575f80fd5b505af1158015611cb2573d5f803e3d5ffd5b5050845460ff60a01b1916855550611cea9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611091565b505050505050565b600880545f9182611d02836157ea565b9091555050600854604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af4158015611d59573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d7d919061580e565b905090565b604051634b00e98f60e11b8152600481018390525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611dd2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611df69190615829565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611e49573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e6d919061504d565b15611e90576040516307014a8d60e51b815260ff82166004820152602401611091565b5f83815260076020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611ef6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f1a919061504d565b15611f4457604051633f92eac960e21b81526004810185905260ff83166024820152604401611091565b611f4d8261199c565b611f6f57604051636cb0978b60e11b815260ff83166004820152602401611091565b5f611f78612e39565b60ff8085165f908152602081905260408120549293509116835460ff86811661ffff1990921691909117610100918316919091021769ffffffffffffffff000019166201000063ffffffff851690810269ffffffff000000000000191691909117600160301b919091021784555f8781526007602052604090209091506001016120028682615888565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612073573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120979190615829565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af41580156120e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121099190615942565b6040805160ff938416815260ff199290921660208301529184168183015233606082015232608082015290519081900360a00190a1505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611b45565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156121e3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612207919061504d565b156122285760405163093b89e160e11b815260048101849052602401611091565b505f82815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561229e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c2919061504d565b156122e35760405163566ebf7960e01b815260048101869052602401611091565b60ff808516146124605781546122ff90829060ff168187610fe6565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612381573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123a59190615829565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af41580156123f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124179190615942565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b612468612e39565b825463ffffffff91909116620100000265ffffffff000019909116179091555092915050565b5f6124998483612191565b5f8581526007602052604090209091506001016124b68482615888565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612527573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061254b9190615829565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612599573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125bd9190615942565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b6001600160601b0382165f90815260056020526040812054839060ff1661264957604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f9081526003602052604090205461266d911684612ea5565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916126e59187918791879163ffffffff9091169061595d565b60405180910390a16126f684612f2a565b5092915050565b6001600160601b0381165f9081526005602052604090205460ff1615612741576040516314d5804160e01b81526001600160601b0382166004820152602401611091565b6001600160601b0381165f908152600560205260409020805460ff1916600117905561276c81612f2a565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b604051632867b75960e21b815264ffffffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401611b45565b6001600160601b0382165f90815260056020526040812054839060ff1661283f57604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f90815260046020526040902054612863911684612fc7565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916126e59187918791879163ffffffff9091169061595d565b6001600160601b0382165f90815260056020526040812054839060ff1661292057604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f90815260036020526040902054612944911684612fc7565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916126e59187918791879163ffffffff9091169061595d565b5f80516020615a1a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612a24613011565b612a2d8161305a565b50565b612a38613011565b612a4061306b565b565b6001600160601b0382165f90815260056020526040812054839060ff16612a8757604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f90815260026020526040902054612aab911684612ea5565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916126e59187918791879163ffffffff9091169061595d565b6001600160601b0382165f90815260056020526040812054839060ff16612b6857604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f90815260026020526040902054612b8c911684612fc7565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916126e59187918791879163ffffffff9091169061595d565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611b45565b6001600160601b0382165f90815260056020526040812054839060ff16612c9557604051631e94ffd760e11b81526001600160601b0382166004820152602401611091565b6001600160601b038085165f90815260046020526040902054612cb9911684612ea5565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916126e59187918791879163ffffffff9091169061595d565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612d9f919061598c565b5f60405180830381855afa9150503d805f8114612dd7576040519150601f19603f3d011682016040523d82523d5f602084013e612ddc565b606091505b50915091508115612e2e576040815110612e0e5780806020019051810190612e0491906159a2565b9094509250612e2e565b6020815110612e2e5780806020019051810190612e2b919061504d565b93505b505094509492505050565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612e81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d7d91906159cf565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612f06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b7f91906159ea565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f9591906159cf565b6001600160601b03919091165f908152600660205260409020805463ffffffff191663ffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612eeb565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612a4057604051631afcd79f60e31b815260040160405180910390fd5b613062613011565b612a2d816129bc565b6130736130c3565b61307b613109565b613083613136565b61308b613179565b613093613195565b61309b6131c7565b6130a36131db565b6130ab613203565b6130b3613244565b6130bb61324e565b612a40613262565b6130d0601f5b600561328a565b6130df601f5b6005606e6132cc565b6130ee601f60055b60c86132cc565b6130fd601f5b606e60056132cc565b612a40601f606e6130e7565b613113600b6130c9565b61311d600b6130d6565b613127600b6130f4565b612a40600b5b606e60d26132cc565b6131426015600a61328a565b6131506015600a60146132cc565b61315f6015600a5b601e6132cc565b61316d6015600a60286132cc565b612a40601560286130e7565b61318660165b603c61328a565b612a4060165b603c60dc6132cc565b6131a16017603261328a565b6131af6017603260336132cc565b6131bb60176032613158565b612a40601760336130e7565b6131d1601861317f565b612a40601861318c565b6131e560196130c9565b6131ef60196130d6565b6131f960196130f4565b612a40601961312d565b61320d601b6130c9565b61321c601b60055b60466132cc565b61322a601b600560076132cc565b613236601b6007613215565b612a40601b600560486132cc565b612a40600f6130c9565b613258600c6130c9565b612a4060236130c9565b61326c600e6130c9565b613276601d6130c9565b613280601c6130c9565b612a40601e6130c9565b60ff8281165f9081526020819052604090205416156132ab576132ab615a05565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561330457613304615a05565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b0381168114612a2d575f80fd5b8035610b078161333d565b5f6020828403121561336c575f80fd5b81356133778161333d565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b03811182821017156133b5576133b561337e565b60405290565b604051608081016001600160401b03811182821017156133b5576133b561337e565b60405160e081016001600160401b03811182821017156133b5576133b561337e565b604080519081016001600160401b03811182821017156133b5576133b561337e565b6040516101e081016001600160401b03811182821017156133b5576133b561337e565b60405161012081016001600160401b03811182821017156133b5576133b561337e565b60405161020081016001600160401b03811182821017156133b5576133b561337e565b60405161024081016001600160401b03811182821017156133b5576133b561337e565b60405160c081016001600160401b03811182821017156133b5576133b561337e565b604051601f8201601f191681016001600160401b03811182821017156134f7576134f761337e565b604052919050565b5f82601f83011261350e575f80fd5b8135602083015f806001600160401b0384111561352d5761352d61337e565b50601f8301601f1916602001613542816134cf565b915050828152858383011115613556575f80fd5b828260208301375f92810160200192909252509392505050565b64ffffffffff81168114612a2d575f80fd5b8035610b0781613570565b8015158114612a2d575f80fd5b8035610b078161358d565b5f61010082840312156135b6575f80fd5b6135be613392565b90506135c982613351565b815260208201356001600160401b038111156135e3575f80fd5b6135ef848285016134ff565b60208301525061360160408301613351565b604082015260608201356001600160401b0381111561361e575f80fd5b61362a848285016134ff565b60608301525060808201356001600160401b03811115613648575f80fd5b613654848285016134ff565b60808301525061366660a08301613582565b60a082015261367760c08301613582565b60c082015261368860e0830161359a565b60e082015292915050565b5f602082840312156136a3575f80fd5b81356001600160401b038111156136b8575f80fd5b6136c4848285016135a5565b949350505050565b5f602082840312156136dc575f80fd5b5035919050565b60ff81168114612a2d575f80fd5b8035610b07816136e3565b5f6020828403121561370c575f80fd5b8135613377816136e3565b5f8060408385031215613728575f80fd5b82356137338161333d565b91506020830135613743816136e3565b809150509250929050565b6001600160a01b0381168114612a2d575f80fd5b5f60808284031215613772575f80fd5b61377a6133bb565b905081356001600160401b03811115613791575f80fd5b61379d848285016134ff565b82525060208201356137ae8161374e565b602082015260408201356137c18161374e565b604082015260608201356001600160401b038111156137de575f80fd5b6137ea848285016134ff565b60608301525092915050565b5f805f60608486031215613808575f80fd5b83356138138161333d565b925060208401356001600160401b0381111561382d575f80fd5b61383986828701613762565b925050604084013561384a816136e3565b809150509250925092565b5f8060408385031215613866575f80fd5b82356138718161333d565b915060208301356137438161333d565b6001600160401b0381168114612a2d575f80fd5b5f805f606084860312156138a7575f80fd5b83356138b281613881565b925060208401356001600160401b038111156138cc575f80fd5b613839868287016135a5565b5f60e082840312156138e8575f80fd5b6138f06133dd565b905081356138fd8161333d565b8152602082013561390d8161358d565b602082015260408201356139208161358d565b604082015260608201356139338161358d565b60608201526139446080830161359a565b608082015260a0828101359082015260c09182013591810191909152919050565b5f805f6101208486031215613978575f80fd5b83356139838161333d565b925061399285602086016138d8565b915061010084013561384a816136e3565b5f80604083850312156139b4575f80fd5b82356139bf8161333d565b915060208301356001600160401b038111156139d9575f80fd5b6139e585828601613762565b9150509250929050565b5f82601f8301126139fe575f80fd5b81356001600160401b03811115613a1757613a1761337e565b8060051b613a27602082016134cf565b91825260208185018101929081019086841115613a42575f80fd5b6020860192505b83831015613a6d578235613a5c8161333d565b825260209283019290910190613a49565b9695505050505050565b5f60408284031215613a87575f80fd5b613a8f6133ff565b823581526020928301359281019290925250919050565b5f6102c08284031215613ab7575f80fd5b613abf613421565b9050613aca8261359a565b8152613ad86020830161359a565b6020820152613ae96040830161359a565b6040820152613afa606083016136f1565b6060820152613b0b608083016136f1565b6080820152613b1c60a08301613351565b60a0820152613b2d60c08301613351565b60c082015260e08201356001600160401b03811115613b4a575f80fd5b613b56848285016139ef565b60e083015250613b6a836101008401613a77565b610100820152613b7e836101408401613a77565b610120820152613b92836101808401613a77565b610140820152613ba6836101c08401613a77565b610160820152613bba836102008401613a77565b610180820152613bce836102408401613a77565b6101a0820152613be2836102808401613a77565b6101c082015292915050565b5f805f60608486031215613c00575f80fd5b8335613c0b8161333d565b925060208401356001600160401b03811115613c25575f80fd5b61383986828701613aa6565b6001600160c01b031981168114612a2d575f80fd5b8035610b0781613c31565b5f60408284031215613c61575f80fd5b613c696133ff565b90508135613c768161333d565b815260208201356001600160401b03811115613c90575f80fd5b613c9c848285016134ff565b60208301525092915050565b5f8060408385031215613cb9575f80fd5b8235613cc481613c31565b915060208301356001600160401b03811115613cde575f80fd5b6139e585828601613c51565b63ffffffff81168114612a2d575f80fd5b8035610b0781613cea565b5f6101208284031215613d17575f80fd5b613d1f613444565b905081356001600160401b03811115613d36575f80fd5b613d42848285016134ff565b825250602082810135908201526040808301359082015260608083013590820152613d6f60808301613cfb565b6080820152613d8060a08301613cfb565b60a0820152613d9160c0830161359a565b60c0820152613da260e0830161359a565b60e08201526101008201356001600160401b03811115613dc0575f80fd5b613dcc848285016134ff565b6101008301525092915050565b5f8060408385031215613dea575f80fd5b8235613df581613c31565b915060208301356001600160401b03811115613e0f575f80fd5b6139e585828601613d06565b5f805f60608486031215613e2d575f80fd5b8335613e388161333d565b92506020840135613e4881613570565b9150604084013561384a816136e3565b61ffff81168114612a2d575f80fd5b8035610b0781613e58565b5f60a08284031215613e82575f80fd5b60405160a081016001600160401b0381118282101715613ea457613ea461337e565b6040529050808235613eb581613e58565b81526020830135613ec58161333d565b60208201526040830135613ed88161374e565b604082015260608301356001600160401b03811115613ef5575f80fd5b613f01858286016134ff565b6060830152506080830135613f1581613570565b6080919091015292915050565b5f805f8060808587031215613f35575f80fd5b8435613f408161333d565b93506020850135613f5081613570565b925060408501356001600160401b03811115613f6a575f80fd5b613f7687828801613e72565b9250506060850135613f87816136e3565b939692955090935050565b5f6102008284031215613fa3575f80fd5b613fab613467565b9050613fb682613351565b8152613fc460208301613351565b6020820152613fd560408301613c46565b6040820152613fe660608301613c46565b6060820152613ff760808301613351565b608082015261400860a08301613351565b60a082015261401960c08301613582565b60c082015260e08201356001600160401b03811115614036575f80fd5b614042848285016134ff565b60e0830152506101008201356001600160401b03811115614061575f80fd5b61406d848285016134ff565b610100830152506140816101208301613e67565b6101208201526140946101408301613e67565b6101408201526140a76101608301613351565b6101608201526140ba6101808301613351565b6101808201526140cd6101a08301613582565b6101a08201526140e06101c08301613582565b6101c08201526140f36101e08301613582565b6101e082015292915050565b5f805f60608486031215614111575f80fd5b833561411c8161333d565b925060208401356001600160401b03811115614136575f80fd5b61383986828701613f92565b5f808284036101e0811215614155575f80fd5b83356141608161333d565b92506101c0601f1982011215614174575f80fd5b5061417d6133dd565b61418a8560208601613a77565b81526141998560608601613a77565b60208201526141ab8560a08601613a77565b60408201526141bd8560e08601613a77565b60608201526141d0856101208601613a77565b60808201526141e3856101608601613a77565b60a08201526141f6856101a08601613a77565b60c0820152809150509250929050565b5f80828403610260811215614219575f80fd5b83356142248161333d565b9250610240601f1982011215614238575f80fd5b5061424161348a565b61424d60208501613351565b815261425b60408501613351565b602082015261426c60608501613351565b604082015261427d60808501613351565b606082015261428e60a08501613351565b608082015261429f60c08501613351565b60a08201526142b060e08501613351565b60c08201526142c26101008501613351565b60e08201526142d46101208501613351565b6101008201526142e76101408501613351565b6101208201526142fa6101608501613351565b61014082015261430d6101808501613351565b6101608201526143206101a08501613351565b6101808201526143336101c08501613351565b6101a08201526143466101e08501613351565b6101c08201526143596102008501613351565b6101e082015261436c6102208501613351565b61020082015261437f6102408501613351565b610220820152809150509250929050565b5f60e082840312156143a0575f80fd5b6143a86134ad565b905081356143b58161333d565b81526143c48360208401613a77565b602082015260608201356001600160401b038111156143e1575f80fd5b6143ed848285016134ff565b604083015250608082013561440181613570565b606082015261441260a08301613582565b608082015261442360c08301613582565b60a082015292915050565b5f805f60608486031215614440575f80fd5b833561444b8161333d565b925060208401356001600160401b03811115614465575f80fd5b61383986828701614390565b5f60808284031215614481575f80fd5b6144896133bb565b9050813561449681613c31565b815260208201356144a68161358d565b602082015260408201356001600160401b038111156144c3575f80fd5b6144cf848285016134ff565b60408301525060608201356144e381613cea565b606082015292915050565b5f805f60608486031215614500575f80fd5b833561450b8161333d565b925060208401356001600160401b03811115614525575f80fd5b61383986828701614471565b5f805f8060808587031215614544575f80fd5b843561454f816136e3565b9350602085013561455f816136e3565b9250604085013561456f816136e3565b91506060850135613f87816136e3565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610b7f602083018461457f565b5f805f606084860312156145d1575f80fd5b83356145dc81613c31565b925060208401356001600160401b038111156145f6575f80fd5b61383986828701613d06565b5f60e08284031215614612575f80fd5b61461a6133dd565b905061462582613351565b815260208201356001600160401b0381111561463f575f80fd5b61464b848285016134ff565b6020830152506040828101359082015261466760608301613cfb565b606082015261467860808301613cfb565b608082015261468960a08301613582565b60a082015260c08201356001600160401b038111156146a6575f80fd5b6146b2848285016134ff565b60c08301525092915050565b5f805f606084860312156146d0575f80fd5b83356146db81613c31565b925060208401356001600160401b038111156146f5575f80fd5b61383986828701614602565b5f8060408385031215614712575f80fd5b823561471d8161333d565b915060208301356001600160401b03811115614737575f80fd5b6139e585828601613f92565b5f60208284031215614753575f80fd5b81356133778161374e565b5f806040838503121561476f575f80fd5b823561373381613c31565b602081526147bf60208201835160ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f602083015160a0808401526136c460c084018261457f565b5f80604083850312156147e9575f80fd5b82356147f48161333d565b915060208301356001600160401b0381111561480e575f80fd5b6139e585828601613aa6565b5f806040838503121561482b575f80fd5b82356148368161333d565b915060208301356001600160401b03811115614850575f80fd5b6139e585828601614390565b60808101610b82828460ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f805f606084860312156148af575f80fd5b83356148ba81613c31565b925060208401356001600160401b038111156148d4575f80fd5b61383986828701613c51565b5f80604083850312156148f1575f80fd5b823561373381613881565b5f805f6060848603121561490e575f80fd5b83356149198161333d565b92506020840135613e4881613e58565b5f805f6060848603121561493b575f80fd5b83356149468161333d565b9250602084013561495681613570565b915060408401356001600160401b03811115614970575f80fd5b61497c86828701613e72565b9150509250925092565b5f8060408385031215614997575f80fd5b82356149a281613c31565b915060208301356001600160401b038111156149bc575f80fd5b6139e585828601614602565b803562ffffff81168114610b07575f80fd5b5f60e082840312156149ea575f80fd5b6149f26133dd565b90506149fd82613351565b8152614a0b60208301613351565b6020820152614a1c604083016149c8565b6040820152614a2d606083016149c8565b606082015260808201356001600160401b03811115614a4a575f80fd5b614a56848285016134ff565b60808301525060a08201356001600160401b03811115614a74575f80fd5b614a80848285016134ff565b60a083015250614a9260c08301613582565b60c082015292915050565b5f805f8060808587031215614ab0575f80fd5b8435614abb8161333d565b93506020850135614acb81613e58565b925060408501356001600160401b03811115614ae5575f80fd5b613f76878288016149da565b5f805f60608486031215614b03575f80fd5b8335614b0e8161333d565b92506020840135614b1e81613e58565b915060408401356001600160401b03811115614b38575f80fd5b61497c868287016149da565b5f805f60608486031215614b56575f80fd5b8335614b61816136e3565b92506020840135613e48816136e3565b60ff1981168114612a2d575f80fd5b5f8060408385031215614b91575f80fd5b8235614b9c816136e3565b9150602083013561374381614b71565b5f8060408385031215614bbd575f80fd5b8235614bc88161333d565b915060208301356001600160401b03811115614be2575f80fd5b6139e585828601614471565b5f806101008385031215614c00575f80fd5b8235614c0b8161333d565b9150614c1a84602085016138d8565b90509250929050565b5f60208284031215614c33575f80fd5b5051919050565b60208152614c546020820183516001600160601b03169052565b5f60208301516101006040840152614c7061012084018261457f565b90506040840151614c8c60608501826001600160601b03169052565b506060840151838203601f19016080850152614ca8828261457f565b9150506080840151601f198483030160a0850152614cc6828261457f565b91505060a0840151614ce160c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e08401518015156101008501525b509392505050565b602081525f825160806020840152614d2760a084018261457f565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f19016080860152909150614d69828261457f565b95945050505050565b5f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b5f8151808452602084019350602083015f5b82811015614e095781516001600160601b0316865260209586019590910190600101614de2565b5093949350505050565b60208152614e2660208201835115159052565b5f6020830151614e3a604084018215159052565b506040830151801515606084015250606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516102c0610100840152614ead6102e0840182614dd0565b6101008501518051610120860152602081015161014086015290915050610120840151805161016085015260208101516101808501525061014084015180516101a085015260208101516101c08501525061016084015180516101e085015260208101516102008501525061018084015180516102208501526020810151610240850152506101a084015180516102608501526020810151610280850152506101c084015180516102a085015260208101516102c0850152614d04565b6001600160c01b031991909116815260200190565b602081526001600160601b0382511660208201525f60208301516040808401526136c4606084018261457f565b602081525f82516101206020840152614fc961014084018261457f565b9050602084015160408401526040840151606084015260608401516080840152608084015161500060a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f1901610120850152614d69828261457f565b5f6020828403121561505d575f80fd5b81516133778161358d565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a060808401526150b660c084018261457f565b905064ffffffffff60808501511660a08401528091505092915050565b602081526150ed6020820183516001600160601b03169052565b5f602083015161510860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e083015161020061010084015261518e61022084018261457f565b9050610100840151601f19848303016101208501526151ad828261457f565b9150506101208401516151c761014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152614d04565b815180518252602090810151908201526101c081016020838101518051604085015290810151606084015250604083015180516080840152602081015160a0840152506060830151805160c0840152602081015160e0840152506080830151805161010084015260208101516101208401525060a0830151805161014084015260208101516101608401525060c0830151805161018084015260208101516101a08401526126f6565b81516001600160601b031681526102408101602083015161532060208401826001600160601b03169052565b50604083015161533b60408401826001600160601b03169052565b50606083015161535660608401826001600160601b03169052565b50608083015161537160808401826001600160601b03169052565b5060a083015161538c60a08401826001600160601b03169052565b5060c08301516153a760c08401826001600160601b03169052565b5060e08301516153c260e08401826001600160601b03169052565b506101008301516153df6101008401826001600160601b03169052565b506101208301516153fc6101208401826001600160601b03169052565b506101408301516154196101408401826001600160601b03169052565b506101608301516154366101608401826001600160601b03169052565b506101808301516154536101808401826001600160601b03169052565b506101a08301516154706101a08401826001600160601b03169052565b506101c083015161548d6101c08401826001600160601b03169052565b506101e08301516154aa6101e08401826001600160601b03169052565b506102008301516154c76102008401826001600160601b03169052565b506102208301516126f66102208401826001600160601b03169052565b602081526001600160601b0382511660208201525f6020830151615515604084018280518252602090810151910152565b50604083015160e0608084015261553061010084018261457f565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f6040830151608060608401526155ac60a084018261457f565b905063ffffffff60608501511660808401528091505092915050565b600181811c908216806155dc57607f821691505b6020821081036155fa57634e487b7160e01b5f52602260045260245ffd5b50919050565b602081526001600160601b0382511660208201525f602083015160e0604084015261562f61010084018261457f565b90506040840151606084015263ffffffff6060850151166080840152608084015161566260a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152614d69828261457f565b5f602082840312156156a1575f80fd5b81516133778161374e565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f60408301516156ea606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a084015261571661010084018261457f565b905060a0840151601f198483030160c0850152615733828261457f565b91505060c0840151614d0460e085018264ffffffffff169052565b5f808585111561575c575f80fd5b83861115615768575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156126f6576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f6001820161580757634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f6020828403121561581e575f80fd5b815161337781613881565b5f60208284031215615839575f80fd5b8151613377816136e3565b601f821115610b2957805f5260205f20601f840160051c810160208510156158695750805b601f840160051c820191505b818110156115d1575f8155600101615875565b81516001600160401b038111156158a1576158a161337e565b6158b5816158af84546155c8565b84615844565b6020601f8211600181146158e7575f83156158d05750848201515b5f19600385901b1c1916600184901b1784556115d1565b5f84815260208120601f198516915b8281101561591657878501518255602094850194600190920191016158f6565b508482101561593357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215615952575f80fd5b815161337781614b71565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b5f82518060208501845e5f920191825250919050565b5f80604083850312156159b3575f80fd5b82516159be8161358d565b602084015190925061374381613cea565b5f602082840312156159df575f80fd5b815161337781613cea565b5f602082840312156159fa575f80fd5b81516133778161333d565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122065a86e188c9bb3686ffcbbd79bc0cff9815e829b6baf0ded9de3661bab9fb66f64736f6c634300081a0033",
3566
+ "linkReferences": {
3567
+ "contracts/type/Amount.sol": {
3568
+ "AmountLib": [
3569
+ {
3570
+ "length": 20,
3571
+ "start": 12013
3572
+ },
3573
+ {
3574
+ "length": 20,
3575
+ "start": 12303
3576
+ }
3577
+ ]
3578
+ },
3579
+ "contracts/type/Blocknumber.sol": {
3580
+ "BlocknumberLib": [
3581
+ {
3582
+ "length": 20,
3583
+ "start": 11868
3584
+ },
3585
+ {
3586
+ "length": 20,
3587
+ "start": 12108
3588
+ }
3589
+ ]
3590
+ },
3591
+ "contracts/type/ClaimId.sol": {
3592
+ "ClaimIdLib": [
3593
+ {
3594
+ "length": 20,
3595
+ "start": 11342
3596
+ }
3597
+ ]
3598
+ },
3599
+ "contracts/type/DistributorType.sol": {
3600
+ "DistributorTypeLib": [
3601
+ {
3602
+ "length": 20,
3603
+ "start": 3478
3604
+ },
3605
+ {
3606
+ "length": 20,
3607
+ "start": 4636
3608
+ },
3609
+ {
3610
+ "length": 20,
3611
+ "start": 6055
3612
+ }
3613
+ ]
3614
+ },
3615
+ "contracts/type/Key32.sol": {
3616
+ "Key32Lib": [
3617
+ {
3618
+ "length": 20,
3619
+ "start": 6983
3620
+ },
3621
+ {
3622
+ "length": 20,
3623
+ "start": 7610
3624
+ },
3625
+ {
3626
+ "length": 20,
3627
+ "start": 8283
3628
+ },
3629
+ {
3630
+ "length": 20,
3631
+ "start": 8397
3632
+ },
3633
+ {
3634
+ "length": 20,
3635
+ "start": 9065
3636
+ },
3637
+ {
3638
+ "length": 20,
3639
+ "start": 9179
3640
+ },
3641
+ {
3642
+ "length": 20,
3643
+ "start": 9487
3644
+ },
3645
+ {
3646
+ "length": 20,
3647
+ "start": 9601
3648
+ }
3649
+ ]
3650
+ },
3651
+ "contracts/type/NftId.sol": {
3652
+ "NftIdLib": [
3653
+ {
3654
+ "length": 20,
3655
+ "start": 8591
3656
+ }
3657
+ ]
3658
+ },
3659
+ "contracts/type/ObjectType.sol": {
3660
+ "ObjectTypeLib": [
3661
+ {
3662
+ "length": 20,
3663
+ "start": 7729
3664
+ }
3665
+ ]
3666
+ },
3667
+ "contracts/type/PayoutId.sol": {
3668
+ "PayoutIdLib": [
3669
+ {
3670
+ "length": 20,
3671
+ "start": 10232
3672
+ }
3673
+ ]
3674
+ },
3675
+ "contracts/type/Referral.sol": {
3676
+ "ReferralLib": [
3677
+ {
3678
+ "length": 20,
3679
+ "start": 4794
3680
+ },
3681
+ {
3682
+ "length": 20,
3683
+ "start": 6340
3684
+ },
3685
+ {
3686
+ "length": 20,
3687
+ "start": 6719
3688
+ }
3689
+ ]
3690
+ },
3691
+ "contracts/type/RequestId.sol": {
3692
+ "RequestIdLib": [
3693
+ {
3694
+ "length": 20,
3695
+ "start": 2726
3696
+ },
3697
+ {
3698
+ "length": 20,
3699
+ "start": 3027
3700
+ },
3701
+ {
3702
+ "length": 20,
3703
+ "start": 6453
3704
+ },
3705
+ {
3706
+ "length": 20,
3707
+ "start": 7489
3708
+ }
3709
+ ]
3710
+ },
3711
+ "contracts/type/RiskId.sol": {
3712
+ "RiskIdLib": [
3713
+ {
3714
+ "length": 20,
3715
+ "start": 3320
3716
+ },
3717
+ {
3718
+ "length": 20,
3719
+ "start": 5131
3720
+ },
3721
+ {
3722
+ "length": 20,
3723
+ "start": 6182
3724
+ }
3725
+ ]
3726
+ },
3727
+ "contracts/type/StateId.sol": {
3728
+ "StateIdLib": [
3729
+ {
3730
+ "length": 20,
3731
+ "start": 3679
3732
+ },
3733
+ {
3734
+ "length": 20,
3735
+ "start": 4144
3736
+ },
3737
+ {
3738
+ "length": 20,
3739
+ "start": 6630
3740
+ },
3741
+ {
3742
+ "length": 20,
3743
+ "start": 7902
3744
+ },
3745
+ {
3746
+ "length": 20,
3747
+ "start": 8651
3748
+ },
3749
+ {
3750
+ "length": 20,
3751
+ "start": 8838
3752
+ }
3753
+ ]
3754
+ }
3755
+ },
3756
+ "deployedLinkReferences": {
3757
+ "contracts/type/Amount.sol": {
3758
+ "AmountLib": [
3759
+ {
3760
+ "length": 20,
3761
+ "start": 11981
3762
+ },
3763
+ {
3764
+ "length": 20,
3765
+ "start": 12271
3766
+ }
3767
+ ]
3768
+ },
3769
+ "contracts/type/Blocknumber.sol": {
3770
+ "BlocknumberLib": [
3771
+ {
3772
+ "length": 20,
3773
+ "start": 11836
3774
+ },
3775
+ {
3776
+ "length": 20,
3777
+ "start": 12076
3778
+ }
3779
+ ]
3780
+ },
3781
+ "contracts/type/ClaimId.sol": {
3782
+ "ClaimIdLib": [
3783
+ {
3784
+ "length": 20,
3785
+ "start": 11310
3786
+ }
3787
+ ]
3788
+ },
3789
+ "contracts/type/DistributorType.sol": {
3790
+ "DistributorTypeLib": [
3791
+ {
3792
+ "length": 20,
3793
+ "start": 3446
3794
+ },
3795
+ {
3796
+ "length": 20,
3797
+ "start": 4604
3798
+ },
3799
+ {
3800
+ "length": 20,
3801
+ "start": 6023
3802
+ }
3803
+ ]
3804
+ },
3805
+ "contracts/type/Key32.sol": {
3806
+ "Key32Lib": [
3807
+ {
3808
+ "length": 20,
3809
+ "start": 6951
3810
+ },
3811
+ {
3812
+ "length": 20,
3813
+ "start": 7578
3814
+ },
3815
+ {
3816
+ "length": 20,
3817
+ "start": 8251
3818
+ },
3819
+ {
3820
+ "length": 20,
3821
+ "start": 8365
3822
+ },
3823
+ {
3824
+ "length": 20,
3825
+ "start": 9033
3826
+ },
3827
+ {
3828
+ "length": 20,
3829
+ "start": 9147
3830
+ },
3831
+ {
3832
+ "length": 20,
3833
+ "start": 9455
3834
+ },
3835
+ {
3836
+ "length": 20,
3837
+ "start": 9569
3838
+ }
3839
+ ]
3840
+ },
3841
+ "contracts/type/NftId.sol": {
3842
+ "NftIdLib": [
3843
+ {
3844
+ "length": 20,
3845
+ "start": 8559
3846
+ }
3847
+ ]
3848
+ },
3849
+ "contracts/type/ObjectType.sol": {
3850
+ "ObjectTypeLib": [
3851
+ {
3852
+ "length": 20,
3853
+ "start": 7697
3854
+ }
3855
+ ]
3856
+ },
3857
+ "contracts/type/PayoutId.sol": {
3858
+ "PayoutIdLib": [
3859
+ {
3860
+ "length": 20,
3861
+ "start": 10200
3862
+ }
3863
+ ]
3864
+ },
3865
+ "contracts/type/Referral.sol": {
3866
+ "ReferralLib": [
3867
+ {
3868
+ "length": 20,
3869
+ "start": 4762
3870
+ },
3871
+ {
3872
+ "length": 20,
3873
+ "start": 6308
3874
+ },
3875
+ {
3876
+ "length": 20,
3877
+ "start": 6687
3878
+ }
3879
+ ]
3880
+ },
3881
+ "contracts/type/RequestId.sol": {
3882
+ "RequestIdLib": [
3883
+ {
3884
+ "length": 20,
3885
+ "start": 2694
3886
+ },
3887
+ {
3888
+ "length": 20,
3889
+ "start": 2995
3890
+ },
3891
+ {
3892
+ "length": 20,
3893
+ "start": 6421
3894
+ },
3895
+ {
3896
+ "length": 20,
3897
+ "start": 7457
3898
+ }
3899
+ ]
3900
+ },
3901
+ "contracts/type/RiskId.sol": {
3902
+ "RiskIdLib": [
3903
+ {
3904
+ "length": 20,
3905
+ "start": 3288
3906
+ },
3907
+ {
3908
+ "length": 20,
3909
+ "start": 5099
3910
+ },
3911
+ {
3912
+ "length": 20,
3913
+ "start": 6150
3914
+ }
3915
+ ]
3916
+ },
3917
+ "contracts/type/StateId.sol": {
3918
+ "StateIdLib": [
3919
+ {
3920
+ "length": 20,
3921
+ "start": 3647
3922
+ },
3923
+ {
3924
+ "length": 20,
3925
+ "start": 4112
3926
+ },
3927
+ {
3928
+ "length": 20,
3929
+ "start": 6598
3930
+ },
3931
+ {
3932
+ "length": 20,
3933
+ "start": 7870
3934
+ },
3935
+ {
3936
+ "length": 20,
3937
+ "start": 8619
3938
+ },
3939
+ {
3940
+ "length": 20,
3941
+ "start": 8806
3942
+ }
3943
+ ]
3944
+ }
3945
+ }
3946
+ }