@etherisc/gif-next 0.0.2-fbe8e04-715 → 0.0.2-fc41a4e-906

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