@etherisc/gif-next 0.0.2-ee7cb16-393 → 0.0.2-ef15ccf-423

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