@etherisc/gif-next 0.0.2-ef935e0-790 → 0.0.2-efc2128-633

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