@etherisc/gif-next 0.0.2-e1f23dc-329 → 0.0.2-e200f36-952

Sign up to get free protection for your applications and to get access to all the features.
Files changed (676) 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 +277 -1280
  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 +413 -3061
  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 +829 -405
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +603 -374
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +349 -123
  54. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3712 -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} +385 -359
  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 +1331 -0
  122. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -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 +788 -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 +378 -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 +612 -190
  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 -133
  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} +295 -338
  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 -47
  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 +194 -87
  332. package/contracts/instance/InstanceService.sol +423 -154
  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 +56 -17
  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 +416 -0
  370. package/contracts/product/ClaimServiceManager.sol +38 -0
  371. package/contracts/product/IApplicationService.sol +63 -0
  372. package/contracts/product/IClaimService.sol +100 -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 +407 -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 +86 -33
  386. package/contracts/registry/IRegistryService.sol +47 -28
  387. package/contracts/registry/ITransferInterceptor.sol +1 -0
  388. package/contracts/registry/Registry.sol +376 -248
  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 -719
  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 -926
  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/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  546. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1094
  547. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  548. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -472
  549. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  550. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  551. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  552. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  553. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  554. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  555. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  556. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  557. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  558. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  559. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  560. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  561. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  562. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  563. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  564. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  565. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  566. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  567. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  568. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  569. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  570. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  571. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  572. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  573. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  574. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  575. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  576. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  577. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  578. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  579. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  580. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  581. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  582. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  583. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  584. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  585. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  586. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  587. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  588. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  589. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  590. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  591. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  592. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  593. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  594. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  595. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  596. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  597. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  598. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  599. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  600. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  601. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  602. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  603. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  604. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  605. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  606. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  607. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  608. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  609. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  610. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  611. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  612. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  613. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  614. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  615. package/contracts/components/BaseComponent.sol +0 -91
  616. package/contracts/components/Distribution.sol +0 -159
  617. package/contracts/components/IBaseComponent.sol +0 -25
  618. package/contracts/components/IDistributionComponent.sol +0 -44
  619. package/contracts/components/IPoolComponent.sol +0 -62
  620. package/contracts/components/IProductComponent.sol +0 -35
  621. package/contracts/components/Pool.sol +0 -242
  622. package/contracts/components/Product.sol +0 -284
  623. package/contracts/experiment/cloning/Cloner.sol +0 -47
  624. package/contracts/experiment/errors/Require.sol +0 -38
  625. package/contracts/experiment/errors/Revert.sol +0 -44
  626. package/contracts/experiment/inheritance/A.sol +0 -53
  627. package/contracts/experiment/inheritance/B.sol +0 -28
  628. package/contracts/experiment/inheritance/C.sol +0 -34
  629. package/contracts/experiment/inheritance/IA.sol +0 -13
  630. package/contracts/experiment/inheritance/IB.sol +0 -10
  631. package/contracts/experiment/inheritance/IC.sol +0 -12
  632. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  633. package/contracts/experiment/statemachine/ISM.sol +0 -25
  634. package/contracts/experiment/statemachine/SM.sol +0 -57
  635. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  636. package/contracts/experiment/types/TypeA.sol +0 -47
  637. package/contracts/experiment/types/TypeB.sol +0 -29
  638. package/contracts/instance/AccessManagedSimple.sol +0 -115
  639. package/contracts/instance/AccessManagerSimple.sol +0 -692
  640. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  641. package/contracts/instance/InstanceAccessManager.sol +0 -288
  642. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  643. package/contracts/instance/base/IInstanceBase.sol +0 -23
  644. package/contracts/instance/base/KeyValueStore.sol +0 -172
  645. package/contracts/instance/base/Lifecycle.sol +0 -100
  646. package/contracts/instance/module/ISetup.sol +0 -44
  647. package/contracts/instance/module/ITreasury.sol +0 -23
  648. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  649. package/contracts/instance/service/DistributionService.sol +0 -88
  650. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  651. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  652. package/contracts/instance/service/IDistributionService.sol +0 -12
  653. package/contracts/instance/service/IPoolService.sol +0 -41
  654. package/contracts/instance/service/IProductService.sol +0 -107
  655. package/contracts/instance/service/PoolService.sol +0 -201
  656. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  657. package/contracts/instance/service/ProductService.sol +0 -564
  658. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  659. package/contracts/shared/ContractDeployerLib.sol +0 -72
  660. package/contracts/shared/ERC165.sol +0 -25
  661. package/contracts/shared/ProxyManager.sol +0 -94
  662. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  663. package/contracts/shared/Versionable.sol +0 -147
  664. package/contracts/test/TestFee.sol +0 -25
  665. package/contracts/test/TestRegisterable.sol +0 -18
  666. package/contracts/test/TestRoleId.sol +0 -14
  667. package/contracts/test/TestService.sol +0 -24
  668. package/contracts/test/TestToken.sol +0 -26
  669. package/contracts/test/TestVersion.sol +0 -44
  670. package/contracts/test/TestVersionable.sol +0 -17
  671. package/contracts/types/ChainId.sol +0 -38
  672. package/contracts/types/NftIdSet.sol +0 -60
  673. package/contracts/types/NumberId.sol +0 -52
  674. package/contracts/types/ObjectType.sol +0 -152
  675. package/contracts/types/RoleId.sol +0 -90
  676. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,3712 @@
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": "bytes",
966
+ "name": "data",
967
+ "type": "bytes"
968
+ },
969
+ {
970
+ "internalType": "Timestamp",
971
+ "name": "paidAt",
972
+ "type": "uint40"
973
+ }
974
+ ],
975
+ "internalType": "struct IPolicy.PayoutInfo",
976
+ "name": "payout",
977
+ "type": "tuple"
978
+ }
979
+ ],
980
+ "name": "createPayout",
981
+ "outputs": [],
982
+ "stateMutability": "nonpayable",
983
+ "type": "function"
984
+ },
985
+ {
986
+ "inputs": [
987
+ {
988
+ "internalType": "NftId",
989
+ "name": "poolNftId",
990
+ "type": "uint96"
991
+ },
992
+ {
993
+ "components": [
994
+ {
995
+ "internalType": "Amount",
996
+ "name": "maxBalanceAmount",
997
+ "type": "uint96"
998
+ },
999
+ {
1000
+ "internalType": "RoleId",
1001
+ "name": "bundleOwnerRole",
1002
+ "type": "uint64"
1003
+ },
1004
+ {
1005
+ "internalType": "bool",
1006
+ "name": "isInterceptingBundleTransfers",
1007
+ "type": "bool"
1008
+ },
1009
+ {
1010
+ "internalType": "bool",
1011
+ "name": "isExternallyManaged",
1012
+ "type": "bool"
1013
+ },
1014
+ {
1015
+ "internalType": "bool",
1016
+ "name": "isVerifyingApplications",
1017
+ "type": "bool"
1018
+ },
1019
+ {
1020
+ "internalType": "UFixed",
1021
+ "name": "collateralizationLevel",
1022
+ "type": "uint256"
1023
+ },
1024
+ {
1025
+ "internalType": "UFixed",
1026
+ "name": "retentionLevel",
1027
+ "type": "uint256"
1028
+ }
1029
+ ],
1030
+ "internalType": "struct IComponents.PoolInfo",
1031
+ "name": "info",
1032
+ "type": "tuple"
1033
+ }
1034
+ ],
1035
+ "name": "createPool",
1036
+ "outputs": [],
1037
+ "stateMutability": "nonpayable",
1038
+ "type": "function"
1039
+ },
1040
+ {
1041
+ "inputs": [
1042
+ {
1043
+ "internalType": "NftId",
1044
+ "name": "policyNftId",
1045
+ "type": "uint96"
1046
+ },
1047
+ {
1048
+ "components": [
1049
+ {
1050
+ "internalType": "Amount",
1051
+ "name": "productFeeAmount",
1052
+ "type": "uint96"
1053
+ },
1054
+ {
1055
+ "internalType": "Amount",
1056
+ "name": "distributionFeeAndCommissionAmount",
1057
+ "type": "uint96"
1058
+ },
1059
+ {
1060
+ "internalType": "Amount",
1061
+ "name": "poolPremiumAndFeeAmount",
1062
+ "type": "uint96"
1063
+ },
1064
+ {
1065
+ "internalType": "Amount",
1066
+ "name": "netPremiumAmount",
1067
+ "type": "uint96"
1068
+ },
1069
+ {
1070
+ "internalType": "Amount",
1071
+ "name": "fullPremiumAmount",
1072
+ "type": "uint96"
1073
+ },
1074
+ {
1075
+ "internalType": "Amount",
1076
+ "name": "premiumAmount",
1077
+ "type": "uint96"
1078
+ },
1079
+ {
1080
+ "internalType": "Amount",
1081
+ "name": "productFeeFixAmount",
1082
+ "type": "uint96"
1083
+ },
1084
+ {
1085
+ "internalType": "Amount",
1086
+ "name": "poolFeeFixAmount",
1087
+ "type": "uint96"
1088
+ },
1089
+ {
1090
+ "internalType": "Amount",
1091
+ "name": "bundleFeeFixAmount",
1092
+ "type": "uint96"
1093
+ },
1094
+ {
1095
+ "internalType": "Amount",
1096
+ "name": "distributionFeeFixAmount",
1097
+ "type": "uint96"
1098
+ },
1099
+ {
1100
+ "internalType": "Amount",
1101
+ "name": "productFeeVarAmount",
1102
+ "type": "uint96"
1103
+ },
1104
+ {
1105
+ "internalType": "Amount",
1106
+ "name": "poolFeeVarAmount",
1107
+ "type": "uint96"
1108
+ },
1109
+ {
1110
+ "internalType": "Amount",
1111
+ "name": "bundleFeeVarAmount",
1112
+ "type": "uint96"
1113
+ },
1114
+ {
1115
+ "internalType": "Amount",
1116
+ "name": "distributionFeeVarAmount",
1117
+ "type": "uint96"
1118
+ },
1119
+ {
1120
+ "internalType": "Amount",
1121
+ "name": "distributionOwnerFeeFixAmount",
1122
+ "type": "uint96"
1123
+ },
1124
+ {
1125
+ "internalType": "Amount",
1126
+ "name": "distributionOwnerFeeVarAmount",
1127
+ "type": "uint96"
1128
+ },
1129
+ {
1130
+ "internalType": "Amount",
1131
+ "name": "commissionAmount",
1132
+ "type": "uint96"
1133
+ },
1134
+ {
1135
+ "internalType": "Amount",
1136
+ "name": "discountAmount",
1137
+ "type": "uint96"
1138
+ }
1139
+ ],
1140
+ "internalType": "struct IPolicy.PremiumInfo",
1141
+ "name": "premium",
1142
+ "type": "tuple"
1143
+ }
1144
+ ],
1145
+ "name": "createPremium",
1146
+ "outputs": [],
1147
+ "stateMutability": "nonpayable",
1148
+ "type": "function"
1149
+ },
1150
+ {
1151
+ "inputs": [
1152
+ {
1153
+ "internalType": "NftId",
1154
+ "name": "productNftId",
1155
+ "type": "uint96"
1156
+ },
1157
+ {
1158
+ "components": [
1159
+ {
1160
+ "internalType": "NftId",
1161
+ "name": "distributionNftId",
1162
+ "type": "uint96"
1163
+ },
1164
+ {
1165
+ "internalType": "NftId",
1166
+ "name": "poolNftId",
1167
+ "type": "uint96"
1168
+ },
1169
+ {
1170
+ "components": [
1171
+ {
1172
+ "internalType": "UFixed",
1173
+ "name": "fractionalFee",
1174
+ "type": "uint256"
1175
+ },
1176
+ {
1177
+ "internalType": "uint256",
1178
+ "name": "fixedFee",
1179
+ "type": "uint256"
1180
+ }
1181
+ ],
1182
+ "internalType": "struct Fee",
1183
+ "name": "productFee",
1184
+ "type": "tuple"
1185
+ },
1186
+ {
1187
+ "components": [
1188
+ {
1189
+ "internalType": "UFixed",
1190
+ "name": "fractionalFee",
1191
+ "type": "uint256"
1192
+ },
1193
+ {
1194
+ "internalType": "uint256",
1195
+ "name": "fixedFee",
1196
+ "type": "uint256"
1197
+ }
1198
+ ],
1199
+ "internalType": "struct Fee",
1200
+ "name": "processingFee",
1201
+ "type": "tuple"
1202
+ },
1203
+ {
1204
+ "components": [
1205
+ {
1206
+ "internalType": "UFixed",
1207
+ "name": "fractionalFee",
1208
+ "type": "uint256"
1209
+ },
1210
+ {
1211
+ "internalType": "uint256",
1212
+ "name": "fixedFee",
1213
+ "type": "uint256"
1214
+ }
1215
+ ],
1216
+ "internalType": "struct Fee",
1217
+ "name": "distributionFee",
1218
+ "type": "tuple"
1219
+ },
1220
+ {
1221
+ "components": [
1222
+ {
1223
+ "internalType": "UFixed",
1224
+ "name": "fractionalFee",
1225
+ "type": "uint256"
1226
+ },
1227
+ {
1228
+ "internalType": "uint256",
1229
+ "name": "fixedFee",
1230
+ "type": "uint256"
1231
+ }
1232
+ ],
1233
+ "internalType": "struct Fee",
1234
+ "name": "minDistributionOwnerFee",
1235
+ "type": "tuple"
1236
+ },
1237
+ {
1238
+ "components": [
1239
+ {
1240
+ "internalType": "UFixed",
1241
+ "name": "fractionalFee",
1242
+ "type": "uint256"
1243
+ },
1244
+ {
1245
+ "internalType": "uint256",
1246
+ "name": "fixedFee",
1247
+ "type": "uint256"
1248
+ }
1249
+ ],
1250
+ "internalType": "struct Fee",
1251
+ "name": "poolFee",
1252
+ "type": "tuple"
1253
+ },
1254
+ {
1255
+ "components": [
1256
+ {
1257
+ "internalType": "UFixed",
1258
+ "name": "fractionalFee",
1259
+ "type": "uint256"
1260
+ },
1261
+ {
1262
+ "internalType": "uint256",
1263
+ "name": "fixedFee",
1264
+ "type": "uint256"
1265
+ }
1266
+ ],
1267
+ "internalType": "struct Fee",
1268
+ "name": "stakingFee",
1269
+ "type": "tuple"
1270
+ },
1271
+ {
1272
+ "components": [
1273
+ {
1274
+ "internalType": "UFixed",
1275
+ "name": "fractionalFee",
1276
+ "type": "uint256"
1277
+ },
1278
+ {
1279
+ "internalType": "uint256",
1280
+ "name": "fixedFee",
1281
+ "type": "uint256"
1282
+ }
1283
+ ],
1284
+ "internalType": "struct Fee",
1285
+ "name": "performanceFee",
1286
+ "type": "tuple"
1287
+ }
1288
+ ],
1289
+ "internalType": "struct IComponents.ProductInfo",
1290
+ "name": "info",
1291
+ "type": "tuple"
1292
+ }
1293
+ ],
1294
+ "name": "createProduct",
1295
+ "outputs": [],
1296
+ "stateMutability": "nonpayable",
1297
+ "type": "function"
1298
+ },
1299
+ {
1300
+ "inputs": [
1301
+ {
1302
+ "internalType": "ReferralId",
1303
+ "name": "referralId",
1304
+ "type": "bytes8"
1305
+ },
1306
+ {
1307
+ "components": [
1308
+ {
1309
+ "internalType": "NftId",
1310
+ "name": "distributorNftId",
1311
+ "type": "uint96"
1312
+ },
1313
+ {
1314
+ "internalType": "string",
1315
+ "name": "referralCode",
1316
+ "type": "string"
1317
+ },
1318
+ {
1319
+ "internalType": "UFixed",
1320
+ "name": "discountPercentage",
1321
+ "type": "uint256"
1322
+ },
1323
+ {
1324
+ "internalType": "uint32",
1325
+ "name": "maxReferrals",
1326
+ "type": "uint32"
1327
+ },
1328
+ {
1329
+ "internalType": "uint32",
1330
+ "name": "usedReferrals",
1331
+ "type": "uint32"
1332
+ },
1333
+ {
1334
+ "internalType": "Timestamp",
1335
+ "name": "expiryAt",
1336
+ "type": "uint40"
1337
+ },
1338
+ {
1339
+ "internalType": "bytes",
1340
+ "name": "data",
1341
+ "type": "bytes"
1342
+ }
1343
+ ],
1344
+ "internalType": "struct IDistribution.ReferralInfo",
1345
+ "name": "referralInfo",
1346
+ "type": "tuple"
1347
+ }
1348
+ ],
1349
+ "name": "createReferral",
1350
+ "outputs": [],
1351
+ "stateMutability": "nonpayable",
1352
+ "type": "function"
1353
+ },
1354
+ {
1355
+ "inputs": [
1356
+ {
1357
+ "components": [
1358
+ {
1359
+ "internalType": "NftId",
1360
+ "name": "requesterNftId",
1361
+ "type": "uint96"
1362
+ },
1363
+ {
1364
+ "internalType": "string",
1365
+ "name": "callbackMethodName",
1366
+ "type": "string"
1367
+ },
1368
+ {
1369
+ "internalType": "NftId",
1370
+ "name": "oracleNftId",
1371
+ "type": "uint96"
1372
+ },
1373
+ {
1374
+ "internalType": "bytes",
1375
+ "name": "requestData",
1376
+ "type": "bytes"
1377
+ },
1378
+ {
1379
+ "internalType": "bytes",
1380
+ "name": "responseData",
1381
+ "type": "bytes"
1382
+ },
1383
+ {
1384
+ "internalType": "Timestamp",
1385
+ "name": "respondedAt",
1386
+ "type": "uint40"
1387
+ },
1388
+ {
1389
+ "internalType": "Timestamp",
1390
+ "name": "expiredAt",
1391
+ "type": "uint40"
1392
+ },
1393
+ {
1394
+ "internalType": "bool",
1395
+ "name": "isCancelled",
1396
+ "type": "bool"
1397
+ }
1398
+ ],
1399
+ "internalType": "struct IOracle.RequestInfo",
1400
+ "name": "request",
1401
+ "type": "tuple"
1402
+ }
1403
+ ],
1404
+ "name": "createRequest",
1405
+ "outputs": [
1406
+ {
1407
+ "internalType": "RequestId",
1408
+ "name": "requestId",
1409
+ "type": "uint64"
1410
+ }
1411
+ ],
1412
+ "stateMutability": "nonpayable",
1413
+ "type": "function"
1414
+ },
1415
+ {
1416
+ "inputs": [
1417
+ {
1418
+ "internalType": "RiskId",
1419
+ "name": "riskId",
1420
+ "type": "bytes8"
1421
+ },
1422
+ {
1423
+ "components": [
1424
+ {
1425
+ "internalType": "NftId",
1426
+ "name": "productNftId",
1427
+ "type": "uint96"
1428
+ },
1429
+ {
1430
+ "internalType": "bytes",
1431
+ "name": "data",
1432
+ "type": "bytes"
1433
+ }
1434
+ ],
1435
+ "internalType": "struct IRisk.RiskInfo",
1436
+ "name": "risk",
1437
+ "type": "tuple"
1438
+ }
1439
+ ],
1440
+ "name": "createRisk",
1441
+ "outputs": [],
1442
+ "stateMutability": "nonpayable",
1443
+ "type": "function"
1444
+ },
1445
+ {
1446
+ "inputs": [
1447
+ {
1448
+ "internalType": "NftId",
1449
+ "name": "targetNftId",
1450
+ "type": "uint96"
1451
+ },
1452
+ {
1453
+ "internalType": "Amount",
1454
+ "name": "amount",
1455
+ "type": "uint96"
1456
+ }
1457
+ ],
1458
+ "name": "decreaseBalance",
1459
+ "outputs": [
1460
+ {
1461
+ "internalType": "Amount",
1462
+ "name": "newBalance",
1463
+ "type": "uint96"
1464
+ }
1465
+ ],
1466
+ "stateMutability": "nonpayable",
1467
+ "type": "function"
1468
+ },
1469
+ {
1470
+ "inputs": [
1471
+ {
1472
+ "internalType": "NftId",
1473
+ "name": "targetNftId",
1474
+ "type": "uint96"
1475
+ },
1476
+ {
1477
+ "internalType": "Amount",
1478
+ "name": "amount",
1479
+ "type": "uint96"
1480
+ }
1481
+ ],
1482
+ "name": "decreaseFees",
1483
+ "outputs": [
1484
+ {
1485
+ "internalType": "Amount",
1486
+ "name": "newFeeBalance",
1487
+ "type": "uint96"
1488
+ }
1489
+ ],
1490
+ "stateMutability": "nonpayable",
1491
+ "type": "function"
1492
+ },
1493
+ {
1494
+ "inputs": [
1495
+ {
1496
+ "internalType": "NftId",
1497
+ "name": "targetNftId",
1498
+ "type": "uint96"
1499
+ },
1500
+ {
1501
+ "internalType": "Amount",
1502
+ "name": "amount",
1503
+ "type": "uint96"
1504
+ }
1505
+ ],
1506
+ "name": "decreaseLocked",
1507
+ "outputs": [
1508
+ {
1509
+ "internalType": "Amount",
1510
+ "name": "newBalance",
1511
+ "type": "uint96"
1512
+ }
1513
+ ],
1514
+ "stateMutability": "nonpayable",
1515
+ "type": "function"
1516
+ },
1517
+ {
1518
+ "inputs": [
1519
+ {
1520
+ "internalType": "Key32",
1521
+ "name": "key32",
1522
+ "type": "bytes32"
1523
+ }
1524
+ ],
1525
+ "name": "exists",
1526
+ "outputs": [
1527
+ {
1528
+ "internalType": "bool",
1529
+ "name": "",
1530
+ "type": "bool"
1531
+ }
1532
+ ],
1533
+ "stateMutability": "view",
1534
+ "type": "function"
1535
+ },
1536
+ {
1537
+ "inputs": [
1538
+ {
1539
+ "internalType": "Key32",
1540
+ "name": "key32",
1541
+ "type": "bytes32"
1542
+ }
1543
+ ],
1544
+ "name": "get",
1545
+ "outputs": [
1546
+ {
1547
+ "components": [
1548
+ {
1549
+ "components": [
1550
+ {
1551
+ "internalType": "ObjectType",
1552
+ "name": "objectType",
1553
+ "type": "uint8"
1554
+ },
1555
+ {
1556
+ "internalType": "StateId",
1557
+ "name": "state",
1558
+ "type": "uint8"
1559
+ },
1560
+ {
1561
+ "internalType": "Blocknumber",
1562
+ "name": "updatedIn",
1563
+ "type": "uint32"
1564
+ },
1565
+ {
1566
+ "internalType": "Blocknumber",
1567
+ "name": "createdIn",
1568
+ "type": "uint32"
1569
+ }
1570
+ ],
1571
+ "internalType": "struct IKeyValueStore.Metadata",
1572
+ "name": "metadata",
1573
+ "type": "tuple"
1574
+ },
1575
+ {
1576
+ "internalType": "bytes",
1577
+ "name": "data",
1578
+ "type": "bytes"
1579
+ }
1580
+ ],
1581
+ "internalType": "struct IKeyValueStore.Value",
1582
+ "name": "value",
1583
+ "type": "tuple"
1584
+ }
1585
+ ],
1586
+ "stateMutability": "view",
1587
+ "type": "function"
1588
+ },
1589
+ {
1590
+ "inputs": [
1591
+ {
1592
+ "internalType": "NftId",
1593
+ "name": "targetNftId",
1594
+ "type": "uint96"
1595
+ }
1596
+ ],
1597
+ "name": "getAmounts",
1598
+ "outputs": [
1599
+ {
1600
+ "internalType": "Amount",
1601
+ "name": "balanceAmount",
1602
+ "type": "uint96"
1603
+ },
1604
+ {
1605
+ "internalType": "Amount",
1606
+ "name": "lockedAmount",
1607
+ "type": "uint96"
1608
+ },
1609
+ {
1610
+ "internalType": "Amount",
1611
+ "name": "feeAmount",
1612
+ "type": "uint96"
1613
+ }
1614
+ ],
1615
+ "stateMutability": "view",
1616
+ "type": "function"
1617
+ },
1618
+ {
1619
+ "inputs": [
1620
+ {
1621
+ "internalType": "NftId",
1622
+ "name": "targetNftId",
1623
+ "type": "uint96"
1624
+ }
1625
+ ],
1626
+ "name": "getBalanceAmount",
1627
+ "outputs": [
1628
+ {
1629
+ "internalType": "Amount",
1630
+ "name": "balanceAmount",
1631
+ "type": "uint96"
1632
+ }
1633
+ ],
1634
+ "stateMutability": "view",
1635
+ "type": "function"
1636
+ },
1637
+ {
1638
+ "inputs": [
1639
+ {
1640
+ "internalType": "Key32",
1641
+ "name": "key32",
1642
+ "type": "bytes32"
1643
+ }
1644
+ ],
1645
+ "name": "getData",
1646
+ "outputs": [
1647
+ {
1648
+ "internalType": "bytes",
1649
+ "name": "data",
1650
+ "type": "bytes"
1651
+ }
1652
+ ],
1653
+ "stateMutability": "view",
1654
+ "type": "function"
1655
+ },
1656
+ {
1657
+ "inputs": [
1658
+ {
1659
+ "internalType": "NftId",
1660
+ "name": "targetNftId",
1661
+ "type": "uint96"
1662
+ }
1663
+ ],
1664
+ "name": "getFeeAmount",
1665
+ "outputs": [
1666
+ {
1667
+ "internalType": "Amount",
1668
+ "name": "feeAmount",
1669
+ "type": "uint96"
1670
+ }
1671
+ ],
1672
+ "stateMutability": "view",
1673
+ "type": "function"
1674
+ },
1675
+ {
1676
+ "inputs": [
1677
+ {
1678
+ "internalType": "ObjectType",
1679
+ "name": "objectType",
1680
+ "type": "uint8"
1681
+ }
1682
+ ],
1683
+ "name": "getInitialState",
1684
+ "outputs": [
1685
+ {
1686
+ "internalType": "StateId",
1687
+ "name": "",
1688
+ "type": "uint8"
1689
+ }
1690
+ ],
1691
+ "stateMutability": "view",
1692
+ "type": "function"
1693
+ },
1694
+ {
1695
+ "inputs": [
1696
+ {
1697
+ "internalType": "NftId",
1698
+ "name": "targetNftId",
1699
+ "type": "uint96"
1700
+ }
1701
+ ],
1702
+ "name": "getLockedAmount",
1703
+ "outputs": [
1704
+ {
1705
+ "internalType": "Amount",
1706
+ "name": "lockedAmount",
1707
+ "type": "uint96"
1708
+ }
1709
+ ],
1710
+ "stateMutability": "view",
1711
+ "type": "function"
1712
+ },
1713
+ {
1714
+ "inputs": [
1715
+ {
1716
+ "internalType": "Key32",
1717
+ "name": "key32",
1718
+ "type": "bytes32"
1719
+ }
1720
+ ],
1721
+ "name": "getMetadata",
1722
+ "outputs": [
1723
+ {
1724
+ "components": [
1725
+ {
1726
+ "internalType": "ObjectType",
1727
+ "name": "objectType",
1728
+ "type": "uint8"
1729
+ },
1730
+ {
1731
+ "internalType": "StateId",
1732
+ "name": "state",
1733
+ "type": "uint8"
1734
+ },
1735
+ {
1736
+ "internalType": "Blocknumber",
1737
+ "name": "updatedIn",
1738
+ "type": "uint32"
1739
+ },
1740
+ {
1741
+ "internalType": "Blocknumber",
1742
+ "name": "createdIn",
1743
+ "type": "uint32"
1744
+ }
1745
+ ],
1746
+ "internalType": "struct IKeyValueStore.Metadata",
1747
+ "name": "metadata",
1748
+ "type": "tuple"
1749
+ }
1750
+ ],
1751
+ "stateMutability": "view",
1752
+ "type": "function"
1753
+ },
1754
+ {
1755
+ "inputs": [
1756
+ {
1757
+ "internalType": "Key32",
1758
+ "name": "key32",
1759
+ "type": "bytes32"
1760
+ }
1761
+ ],
1762
+ "name": "getState",
1763
+ "outputs": [
1764
+ {
1765
+ "internalType": "StateId",
1766
+ "name": "state",
1767
+ "type": "uint8"
1768
+ }
1769
+ ],
1770
+ "stateMutability": "view",
1771
+ "type": "function"
1772
+ },
1773
+ {
1774
+ "inputs": [
1775
+ {
1776
+ "internalType": "ObjectType",
1777
+ "name": "objectType",
1778
+ "type": "uint8"
1779
+ }
1780
+ ],
1781
+ "name": "hasLifecycle",
1782
+ "outputs": [
1783
+ {
1784
+ "internalType": "bool",
1785
+ "name": "",
1786
+ "type": "bool"
1787
+ }
1788
+ ],
1789
+ "stateMutability": "view",
1790
+ "type": "function"
1791
+ },
1792
+ {
1793
+ "inputs": [
1794
+ {
1795
+ "internalType": "NftId",
1796
+ "name": "targetNftId",
1797
+ "type": "uint96"
1798
+ },
1799
+ {
1800
+ "internalType": "Amount",
1801
+ "name": "amount",
1802
+ "type": "uint96"
1803
+ }
1804
+ ],
1805
+ "name": "increaseBalance",
1806
+ "outputs": [
1807
+ {
1808
+ "internalType": "Amount",
1809
+ "name": "newBalance",
1810
+ "type": "uint96"
1811
+ }
1812
+ ],
1813
+ "stateMutability": "nonpayable",
1814
+ "type": "function"
1815
+ },
1816
+ {
1817
+ "inputs": [
1818
+ {
1819
+ "internalType": "NftId",
1820
+ "name": "targetNftId",
1821
+ "type": "uint96"
1822
+ },
1823
+ {
1824
+ "internalType": "Amount",
1825
+ "name": "amount",
1826
+ "type": "uint96"
1827
+ }
1828
+ ],
1829
+ "name": "increaseFees",
1830
+ "outputs": [
1831
+ {
1832
+ "internalType": "Amount",
1833
+ "name": "newFeeBalance",
1834
+ "type": "uint96"
1835
+ }
1836
+ ],
1837
+ "stateMutability": "nonpayable",
1838
+ "type": "function"
1839
+ },
1840
+ {
1841
+ "inputs": [
1842
+ {
1843
+ "internalType": "NftId",
1844
+ "name": "targetNftId",
1845
+ "type": "uint96"
1846
+ },
1847
+ {
1848
+ "internalType": "Amount",
1849
+ "name": "amount",
1850
+ "type": "uint96"
1851
+ }
1852
+ ],
1853
+ "name": "increaseLocked",
1854
+ "outputs": [
1855
+ {
1856
+ "internalType": "Amount",
1857
+ "name": "newBalance",
1858
+ "type": "uint96"
1859
+ }
1860
+ ],
1861
+ "stateMutability": "nonpayable",
1862
+ "type": "function"
1863
+ },
1864
+ {
1865
+ "inputs": [],
1866
+ "name": "initialize",
1867
+ "outputs": [],
1868
+ "stateMutability": "nonpayable",
1869
+ "type": "function"
1870
+ },
1871
+ {
1872
+ "inputs": [],
1873
+ "name": "isConsumingScheduledOp",
1874
+ "outputs": [
1875
+ {
1876
+ "internalType": "bytes4",
1877
+ "name": "",
1878
+ "type": "bytes4"
1879
+ }
1880
+ ],
1881
+ "stateMutability": "view",
1882
+ "type": "function"
1883
+ },
1884
+ {
1885
+ "inputs": [
1886
+ {
1887
+ "internalType": "ObjectType",
1888
+ "name": "objectType",
1889
+ "type": "uint8"
1890
+ },
1891
+ {
1892
+ "internalType": "StateId",
1893
+ "name": "fromId",
1894
+ "type": "uint8"
1895
+ },
1896
+ {
1897
+ "internalType": "StateId",
1898
+ "name": "toId",
1899
+ "type": "uint8"
1900
+ }
1901
+ ],
1902
+ "name": "isValidTransition",
1903
+ "outputs": [
1904
+ {
1905
+ "internalType": "bool",
1906
+ "name": "",
1907
+ "type": "bool"
1908
+ }
1909
+ ],
1910
+ "stateMutability": "view",
1911
+ "type": "function"
1912
+ },
1913
+ {
1914
+ "inputs": [
1915
+ {
1916
+ "internalType": "address",
1917
+ "name": "newAuthority",
1918
+ "type": "address"
1919
+ }
1920
+ ],
1921
+ "name": "setAuthority",
1922
+ "outputs": [],
1923
+ "stateMutability": "nonpayable",
1924
+ "type": "function"
1925
+ },
1926
+ {
1927
+ "inputs": [
1928
+ {
1929
+ "internalType": "ObjectType",
1930
+ "name": "objectType",
1931
+ "type": "uint8"
1932
+ },
1933
+ {
1934
+ "internalType": "KeyId",
1935
+ "name": "id",
1936
+ "type": "bytes31"
1937
+ }
1938
+ ],
1939
+ "name": "toKey32",
1940
+ "outputs": [
1941
+ {
1942
+ "internalType": "Key32",
1943
+ "name": "",
1944
+ "type": "bytes32"
1945
+ }
1946
+ ],
1947
+ "stateMutability": "pure",
1948
+ "type": "function"
1949
+ },
1950
+ {
1951
+ "inputs": [
1952
+ {
1953
+ "internalType": "NftId",
1954
+ "name": "applicationNftId",
1955
+ "type": "uint96"
1956
+ },
1957
+ {
1958
+ "components": [
1959
+ {
1960
+ "internalType": "NftId",
1961
+ "name": "productNftId",
1962
+ "type": "uint96"
1963
+ },
1964
+ {
1965
+ "internalType": "NftId",
1966
+ "name": "bundleNftId",
1967
+ "type": "uint96"
1968
+ },
1969
+ {
1970
+ "internalType": "ReferralId",
1971
+ "name": "referralId",
1972
+ "type": "bytes8"
1973
+ },
1974
+ {
1975
+ "internalType": "RiskId",
1976
+ "name": "riskId",
1977
+ "type": "bytes8"
1978
+ },
1979
+ {
1980
+ "internalType": "Amount",
1981
+ "name": "sumInsuredAmount",
1982
+ "type": "uint96"
1983
+ },
1984
+ {
1985
+ "internalType": "Amount",
1986
+ "name": "premiumAmount",
1987
+ "type": "uint96"
1988
+ },
1989
+ {
1990
+ "internalType": "Amount",
1991
+ "name": "premiumPaidAmount",
1992
+ "type": "uint96"
1993
+ },
1994
+ {
1995
+ "internalType": "Seconds",
1996
+ "name": "lifetime",
1997
+ "type": "uint40"
1998
+ },
1999
+ {
2000
+ "internalType": "bytes",
2001
+ "name": "applicationData",
2002
+ "type": "bytes"
2003
+ },
2004
+ {
2005
+ "internalType": "bytes",
2006
+ "name": "processData",
2007
+ "type": "bytes"
2008
+ },
2009
+ {
2010
+ "internalType": "uint16",
2011
+ "name": "claimsCount",
2012
+ "type": "uint16"
2013
+ },
2014
+ {
2015
+ "internalType": "uint16",
2016
+ "name": "openClaimsCount",
2017
+ "type": "uint16"
2018
+ },
2019
+ {
2020
+ "internalType": "Amount",
2021
+ "name": "claimAmount",
2022
+ "type": "uint96"
2023
+ },
2024
+ {
2025
+ "internalType": "Amount",
2026
+ "name": "payoutAmount",
2027
+ "type": "uint96"
2028
+ },
2029
+ {
2030
+ "internalType": "Timestamp",
2031
+ "name": "activatedAt",
2032
+ "type": "uint40"
2033
+ },
2034
+ {
2035
+ "internalType": "Timestamp",
2036
+ "name": "expiredAt",
2037
+ "type": "uint40"
2038
+ },
2039
+ {
2040
+ "internalType": "Timestamp",
2041
+ "name": "closedAt",
2042
+ "type": "uint40"
2043
+ }
2044
+ ],
2045
+ "internalType": "struct IPolicy.PolicyInfo",
2046
+ "name": "policy",
2047
+ "type": "tuple"
2048
+ },
2049
+ {
2050
+ "internalType": "StateId",
2051
+ "name": "newState",
2052
+ "type": "uint8"
2053
+ }
2054
+ ],
2055
+ "name": "updateApplication",
2056
+ "outputs": [],
2057
+ "stateMutability": "nonpayable",
2058
+ "type": "function"
2059
+ },
2060
+ {
2061
+ "inputs": [
2062
+ {
2063
+ "internalType": "NftId",
2064
+ "name": "applicationNftId",
2065
+ "type": "uint96"
2066
+ },
2067
+ {
2068
+ "internalType": "StateId",
2069
+ "name": "newState",
2070
+ "type": "uint8"
2071
+ }
2072
+ ],
2073
+ "name": "updateApplicationState",
2074
+ "outputs": [],
2075
+ "stateMutability": "nonpayable",
2076
+ "type": "function"
2077
+ },
2078
+ {
2079
+ "inputs": [
2080
+ {
2081
+ "internalType": "NftId",
2082
+ "name": "bundleNftId",
2083
+ "type": "uint96"
2084
+ },
2085
+ {
2086
+ "components": [
2087
+ {
2088
+ "internalType": "NftId",
2089
+ "name": "poolNftId",
2090
+ "type": "uint96"
2091
+ },
2092
+ {
2093
+ "components": [
2094
+ {
2095
+ "internalType": "UFixed",
2096
+ "name": "fractionalFee",
2097
+ "type": "uint256"
2098
+ },
2099
+ {
2100
+ "internalType": "uint256",
2101
+ "name": "fixedFee",
2102
+ "type": "uint256"
2103
+ }
2104
+ ],
2105
+ "internalType": "struct Fee",
2106
+ "name": "fee",
2107
+ "type": "tuple"
2108
+ },
2109
+ {
2110
+ "internalType": "bytes",
2111
+ "name": "filter",
2112
+ "type": "bytes"
2113
+ },
2114
+ {
2115
+ "internalType": "Timestamp",
2116
+ "name": "activatedAt",
2117
+ "type": "uint40"
2118
+ },
2119
+ {
2120
+ "internalType": "Timestamp",
2121
+ "name": "expiredAt",
2122
+ "type": "uint40"
2123
+ },
2124
+ {
2125
+ "internalType": "Timestamp",
2126
+ "name": "closedAt",
2127
+ "type": "uint40"
2128
+ }
2129
+ ],
2130
+ "internalType": "struct IBundle.BundleInfo",
2131
+ "name": "bundle",
2132
+ "type": "tuple"
2133
+ },
2134
+ {
2135
+ "internalType": "StateId",
2136
+ "name": "newState",
2137
+ "type": "uint8"
2138
+ }
2139
+ ],
2140
+ "name": "updateBundle",
2141
+ "outputs": [],
2142
+ "stateMutability": "nonpayable",
2143
+ "type": "function"
2144
+ },
2145
+ {
2146
+ "inputs": [
2147
+ {
2148
+ "internalType": "NftId",
2149
+ "name": "bundleNftId",
2150
+ "type": "uint96"
2151
+ },
2152
+ {
2153
+ "internalType": "StateId",
2154
+ "name": "newState",
2155
+ "type": "uint8"
2156
+ }
2157
+ ],
2158
+ "name": "updateBundleState",
2159
+ "outputs": [],
2160
+ "stateMutability": "nonpayable",
2161
+ "type": "function"
2162
+ },
2163
+ {
2164
+ "inputs": [
2165
+ {
2166
+ "internalType": "NftId",
2167
+ "name": "policyNftId",
2168
+ "type": "uint96"
2169
+ },
2170
+ {
2171
+ "internalType": "ClaimId",
2172
+ "name": "claimId",
2173
+ "type": "uint16"
2174
+ },
2175
+ {
2176
+ "components": [
2177
+ {
2178
+ "internalType": "Amount",
2179
+ "name": "claimAmount",
2180
+ "type": "uint96"
2181
+ },
2182
+ {
2183
+ "internalType": "Amount",
2184
+ "name": "paidAmount",
2185
+ "type": "uint96"
2186
+ },
2187
+ {
2188
+ "internalType": "uint8",
2189
+ "name": "payoutsCount",
2190
+ "type": "uint8"
2191
+ },
2192
+ {
2193
+ "internalType": "uint8",
2194
+ "name": "openPayoutsCount",
2195
+ "type": "uint8"
2196
+ },
2197
+ {
2198
+ "internalType": "bytes",
2199
+ "name": "submissionData",
2200
+ "type": "bytes"
2201
+ },
2202
+ {
2203
+ "internalType": "bytes",
2204
+ "name": "processData",
2205
+ "type": "bytes"
2206
+ },
2207
+ {
2208
+ "internalType": "Timestamp",
2209
+ "name": "closedAt",
2210
+ "type": "uint40"
2211
+ }
2212
+ ],
2213
+ "internalType": "struct IPolicy.ClaimInfo",
2214
+ "name": "claim",
2215
+ "type": "tuple"
2216
+ },
2217
+ {
2218
+ "internalType": "StateId",
2219
+ "name": "newState",
2220
+ "type": "uint8"
2221
+ }
2222
+ ],
2223
+ "name": "updateClaim",
2224
+ "outputs": [],
2225
+ "stateMutability": "nonpayable",
2226
+ "type": "function"
2227
+ },
2228
+ {
2229
+ "inputs": [
2230
+ {
2231
+ "internalType": "NftId",
2232
+ "name": "policyNftId",
2233
+ "type": "uint96"
2234
+ },
2235
+ {
2236
+ "internalType": "ClaimId",
2237
+ "name": "claimId",
2238
+ "type": "uint16"
2239
+ },
2240
+ {
2241
+ "internalType": "StateId",
2242
+ "name": "newState",
2243
+ "type": "uint8"
2244
+ }
2245
+ ],
2246
+ "name": "updateClaimState",
2247
+ "outputs": [],
2248
+ "stateMutability": "nonpayable",
2249
+ "type": "function"
2250
+ },
2251
+ {
2252
+ "inputs": [
2253
+ {
2254
+ "internalType": "NftId",
2255
+ "name": "componentNftId",
2256
+ "type": "uint96"
2257
+ },
2258
+ {
2259
+ "components": [
2260
+ {
2261
+ "internalType": "string",
2262
+ "name": "name",
2263
+ "type": "string"
2264
+ },
2265
+ {
2266
+ "internalType": "NftId",
2267
+ "name": "productNftId",
2268
+ "type": "uint96"
2269
+ },
2270
+ {
2271
+ "internalType": "contract IERC20Metadata",
2272
+ "name": "token",
2273
+ "type": "address"
2274
+ },
2275
+ {
2276
+ "internalType": "contract TokenHandler",
2277
+ "name": "tokenHandler",
2278
+ "type": "address"
2279
+ },
2280
+ {
2281
+ "internalType": "address",
2282
+ "name": "wallet",
2283
+ "type": "address"
2284
+ },
2285
+ {
2286
+ "internalType": "bytes",
2287
+ "name": "data",
2288
+ "type": "bytes"
2289
+ }
2290
+ ],
2291
+ "internalType": "struct IComponents.ComponentInfo",
2292
+ "name": "componentInfo",
2293
+ "type": "tuple"
2294
+ },
2295
+ {
2296
+ "internalType": "StateId",
2297
+ "name": "newState",
2298
+ "type": "uint8"
2299
+ }
2300
+ ],
2301
+ "name": "updateComponent",
2302
+ "outputs": [],
2303
+ "stateMutability": "nonpayable",
2304
+ "type": "function"
2305
+ },
2306
+ {
2307
+ "inputs": [
2308
+ {
2309
+ "internalType": "NftId",
2310
+ "name": "distributorNftId",
2311
+ "type": "uint96"
2312
+ },
2313
+ {
2314
+ "components": [
2315
+ {
2316
+ "internalType": "DistributorType",
2317
+ "name": "distributorType",
2318
+ "type": "bytes8"
2319
+ },
2320
+ {
2321
+ "internalType": "bool",
2322
+ "name": "active",
2323
+ "type": "bool"
2324
+ },
2325
+ {
2326
+ "internalType": "bytes",
2327
+ "name": "data",
2328
+ "type": "bytes"
2329
+ },
2330
+ {
2331
+ "internalType": "uint32",
2332
+ "name": "numPoliciesSold",
2333
+ "type": "uint32"
2334
+ }
2335
+ ],
2336
+ "internalType": "struct IDistribution.DistributorInfo",
2337
+ "name": "info",
2338
+ "type": "tuple"
2339
+ },
2340
+ {
2341
+ "internalType": "StateId",
2342
+ "name": "newState",
2343
+ "type": "uint8"
2344
+ }
2345
+ ],
2346
+ "name": "updateDistributor",
2347
+ "outputs": [],
2348
+ "stateMutability": "nonpayable",
2349
+ "type": "function"
2350
+ },
2351
+ {
2352
+ "inputs": [
2353
+ {
2354
+ "internalType": "NftId",
2355
+ "name": "distributorNftId",
2356
+ "type": "uint96"
2357
+ },
2358
+ {
2359
+ "internalType": "StateId",
2360
+ "name": "newState",
2361
+ "type": "uint8"
2362
+ }
2363
+ ],
2364
+ "name": "updateDistributorState",
2365
+ "outputs": [],
2366
+ "stateMutability": "nonpayable",
2367
+ "type": "function"
2368
+ },
2369
+ {
2370
+ "inputs": [
2371
+ {
2372
+ "internalType": "DistributorType",
2373
+ "name": "distributorType",
2374
+ "type": "bytes8"
2375
+ },
2376
+ {
2377
+ "components": [
2378
+ {
2379
+ "internalType": "string",
2380
+ "name": "name",
2381
+ "type": "string"
2382
+ },
2383
+ {
2384
+ "internalType": "UFixed",
2385
+ "name": "minDiscountPercentage",
2386
+ "type": "uint256"
2387
+ },
2388
+ {
2389
+ "internalType": "UFixed",
2390
+ "name": "maxDiscountPercentage",
2391
+ "type": "uint256"
2392
+ },
2393
+ {
2394
+ "internalType": "UFixed",
2395
+ "name": "commissionPercentage",
2396
+ "type": "uint256"
2397
+ },
2398
+ {
2399
+ "internalType": "uint32",
2400
+ "name": "maxReferralCount",
2401
+ "type": "uint32"
2402
+ },
2403
+ {
2404
+ "internalType": "uint32",
2405
+ "name": "maxReferralLifetime",
2406
+ "type": "uint32"
2407
+ },
2408
+ {
2409
+ "internalType": "bool",
2410
+ "name": "allowSelfReferrals",
2411
+ "type": "bool"
2412
+ },
2413
+ {
2414
+ "internalType": "bool",
2415
+ "name": "allowRenewals",
2416
+ "type": "bool"
2417
+ },
2418
+ {
2419
+ "internalType": "bytes",
2420
+ "name": "data",
2421
+ "type": "bytes"
2422
+ }
2423
+ ],
2424
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2425
+ "name": "info",
2426
+ "type": "tuple"
2427
+ },
2428
+ {
2429
+ "internalType": "StateId",
2430
+ "name": "newState",
2431
+ "type": "uint8"
2432
+ }
2433
+ ],
2434
+ "name": "updateDistributorType",
2435
+ "outputs": [],
2436
+ "stateMutability": "nonpayable",
2437
+ "type": "function"
2438
+ },
2439
+ {
2440
+ "inputs": [
2441
+ {
2442
+ "internalType": "DistributorType",
2443
+ "name": "distributorType",
2444
+ "type": "bytes8"
2445
+ },
2446
+ {
2447
+ "internalType": "StateId",
2448
+ "name": "newState",
2449
+ "type": "uint8"
2450
+ }
2451
+ ],
2452
+ "name": "updateDistributorTypeState",
2453
+ "outputs": [],
2454
+ "stateMutability": "nonpayable",
2455
+ "type": "function"
2456
+ },
2457
+ {
2458
+ "inputs": [
2459
+ {
2460
+ "internalType": "NftId",
2461
+ "name": "policyNftId",
2462
+ "type": "uint96"
2463
+ },
2464
+ {
2465
+ "internalType": "PayoutId",
2466
+ "name": "payoutId",
2467
+ "type": "uint24"
2468
+ },
2469
+ {
2470
+ "components": [
2471
+ {
2472
+ "internalType": "ClaimId",
2473
+ "name": "claimId",
2474
+ "type": "uint16"
2475
+ },
2476
+ {
2477
+ "internalType": "Amount",
2478
+ "name": "amount",
2479
+ "type": "uint96"
2480
+ },
2481
+ {
2482
+ "internalType": "bytes",
2483
+ "name": "data",
2484
+ "type": "bytes"
2485
+ },
2486
+ {
2487
+ "internalType": "Timestamp",
2488
+ "name": "paidAt",
2489
+ "type": "uint40"
2490
+ }
2491
+ ],
2492
+ "internalType": "struct IPolicy.PayoutInfo",
2493
+ "name": "payout",
2494
+ "type": "tuple"
2495
+ },
2496
+ {
2497
+ "internalType": "StateId",
2498
+ "name": "newState",
2499
+ "type": "uint8"
2500
+ }
2501
+ ],
2502
+ "name": "updatePayout",
2503
+ "outputs": [],
2504
+ "stateMutability": "nonpayable",
2505
+ "type": "function"
2506
+ },
2507
+ {
2508
+ "inputs": [
2509
+ {
2510
+ "internalType": "NftId",
2511
+ "name": "policyNftId",
2512
+ "type": "uint96"
2513
+ },
2514
+ {
2515
+ "internalType": "PayoutId",
2516
+ "name": "payoutId",
2517
+ "type": "uint24"
2518
+ },
2519
+ {
2520
+ "internalType": "StateId",
2521
+ "name": "newState",
2522
+ "type": "uint8"
2523
+ }
2524
+ ],
2525
+ "name": "updatePayoutState",
2526
+ "outputs": [],
2527
+ "stateMutability": "nonpayable",
2528
+ "type": "function"
2529
+ },
2530
+ {
2531
+ "inputs": [
2532
+ {
2533
+ "internalType": "NftId",
2534
+ "name": "policyNftId",
2535
+ "type": "uint96"
2536
+ },
2537
+ {
2538
+ "components": [
2539
+ {
2540
+ "internalType": "NftId",
2541
+ "name": "productNftId",
2542
+ "type": "uint96"
2543
+ },
2544
+ {
2545
+ "internalType": "NftId",
2546
+ "name": "bundleNftId",
2547
+ "type": "uint96"
2548
+ },
2549
+ {
2550
+ "internalType": "ReferralId",
2551
+ "name": "referralId",
2552
+ "type": "bytes8"
2553
+ },
2554
+ {
2555
+ "internalType": "RiskId",
2556
+ "name": "riskId",
2557
+ "type": "bytes8"
2558
+ },
2559
+ {
2560
+ "internalType": "Amount",
2561
+ "name": "sumInsuredAmount",
2562
+ "type": "uint96"
2563
+ },
2564
+ {
2565
+ "internalType": "Amount",
2566
+ "name": "premiumAmount",
2567
+ "type": "uint96"
2568
+ },
2569
+ {
2570
+ "internalType": "Amount",
2571
+ "name": "premiumPaidAmount",
2572
+ "type": "uint96"
2573
+ },
2574
+ {
2575
+ "internalType": "Seconds",
2576
+ "name": "lifetime",
2577
+ "type": "uint40"
2578
+ },
2579
+ {
2580
+ "internalType": "bytes",
2581
+ "name": "applicationData",
2582
+ "type": "bytes"
2583
+ },
2584
+ {
2585
+ "internalType": "bytes",
2586
+ "name": "processData",
2587
+ "type": "bytes"
2588
+ },
2589
+ {
2590
+ "internalType": "uint16",
2591
+ "name": "claimsCount",
2592
+ "type": "uint16"
2593
+ },
2594
+ {
2595
+ "internalType": "uint16",
2596
+ "name": "openClaimsCount",
2597
+ "type": "uint16"
2598
+ },
2599
+ {
2600
+ "internalType": "Amount",
2601
+ "name": "claimAmount",
2602
+ "type": "uint96"
2603
+ },
2604
+ {
2605
+ "internalType": "Amount",
2606
+ "name": "payoutAmount",
2607
+ "type": "uint96"
2608
+ },
2609
+ {
2610
+ "internalType": "Timestamp",
2611
+ "name": "activatedAt",
2612
+ "type": "uint40"
2613
+ },
2614
+ {
2615
+ "internalType": "Timestamp",
2616
+ "name": "expiredAt",
2617
+ "type": "uint40"
2618
+ },
2619
+ {
2620
+ "internalType": "Timestamp",
2621
+ "name": "closedAt",
2622
+ "type": "uint40"
2623
+ }
2624
+ ],
2625
+ "internalType": "struct IPolicy.PolicyInfo",
2626
+ "name": "policy",
2627
+ "type": "tuple"
2628
+ },
2629
+ {
2630
+ "internalType": "StateId",
2631
+ "name": "newState",
2632
+ "type": "uint8"
2633
+ }
2634
+ ],
2635
+ "name": "updatePolicy",
2636
+ "outputs": [],
2637
+ "stateMutability": "nonpayable",
2638
+ "type": "function"
2639
+ },
2640
+ {
2641
+ "inputs": [
2642
+ {
2643
+ "internalType": "NftId",
2644
+ "name": "policyNftId",
2645
+ "type": "uint96"
2646
+ },
2647
+ {
2648
+ "components": [
2649
+ {
2650
+ "internalType": "NftId",
2651
+ "name": "productNftId",
2652
+ "type": "uint96"
2653
+ },
2654
+ {
2655
+ "internalType": "NftId",
2656
+ "name": "bundleNftId",
2657
+ "type": "uint96"
2658
+ },
2659
+ {
2660
+ "internalType": "ReferralId",
2661
+ "name": "referralId",
2662
+ "type": "bytes8"
2663
+ },
2664
+ {
2665
+ "internalType": "RiskId",
2666
+ "name": "riskId",
2667
+ "type": "bytes8"
2668
+ },
2669
+ {
2670
+ "internalType": "Amount",
2671
+ "name": "sumInsuredAmount",
2672
+ "type": "uint96"
2673
+ },
2674
+ {
2675
+ "internalType": "Amount",
2676
+ "name": "premiumAmount",
2677
+ "type": "uint96"
2678
+ },
2679
+ {
2680
+ "internalType": "Amount",
2681
+ "name": "premiumPaidAmount",
2682
+ "type": "uint96"
2683
+ },
2684
+ {
2685
+ "internalType": "Seconds",
2686
+ "name": "lifetime",
2687
+ "type": "uint40"
2688
+ },
2689
+ {
2690
+ "internalType": "bytes",
2691
+ "name": "applicationData",
2692
+ "type": "bytes"
2693
+ },
2694
+ {
2695
+ "internalType": "bytes",
2696
+ "name": "processData",
2697
+ "type": "bytes"
2698
+ },
2699
+ {
2700
+ "internalType": "uint16",
2701
+ "name": "claimsCount",
2702
+ "type": "uint16"
2703
+ },
2704
+ {
2705
+ "internalType": "uint16",
2706
+ "name": "openClaimsCount",
2707
+ "type": "uint16"
2708
+ },
2709
+ {
2710
+ "internalType": "Amount",
2711
+ "name": "claimAmount",
2712
+ "type": "uint96"
2713
+ },
2714
+ {
2715
+ "internalType": "Amount",
2716
+ "name": "payoutAmount",
2717
+ "type": "uint96"
2718
+ },
2719
+ {
2720
+ "internalType": "Timestamp",
2721
+ "name": "activatedAt",
2722
+ "type": "uint40"
2723
+ },
2724
+ {
2725
+ "internalType": "Timestamp",
2726
+ "name": "expiredAt",
2727
+ "type": "uint40"
2728
+ },
2729
+ {
2730
+ "internalType": "Timestamp",
2731
+ "name": "closedAt",
2732
+ "type": "uint40"
2733
+ }
2734
+ ],
2735
+ "internalType": "struct IPolicy.PolicyInfo",
2736
+ "name": "policy",
2737
+ "type": "tuple"
2738
+ },
2739
+ {
2740
+ "internalType": "StateId",
2741
+ "name": "newState",
2742
+ "type": "uint8"
2743
+ }
2744
+ ],
2745
+ "name": "updatePolicyClaims",
2746
+ "outputs": [],
2747
+ "stateMutability": "nonpayable",
2748
+ "type": "function"
2749
+ },
2750
+ {
2751
+ "inputs": [
2752
+ {
2753
+ "internalType": "NftId",
2754
+ "name": "policyNftId",
2755
+ "type": "uint96"
2756
+ },
2757
+ {
2758
+ "internalType": "StateId",
2759
+ "name": "newState",
2760
+ "type": "uint8"
2761
+ }
2762
+ ],
2763
+ "name": "updatePolicyState",
2764
+ "outputs": [],
2765
+ "stateMutability": "nonpayable",
2766
+ "type": "function"
2767
+ },
2768
+ {
2769
+ "inputs": [
2770
+ {
2771
+ "internalType": "NftId",
2772
+ "name": "poolNftId",
2773
+ "type": "uint96"
2774
+ },
2775
+ {
2776
+ "components": [
2777
+ {
2778
+ "internalType": "Amount",
2779
+ "name": "maxBalanceAmount",
2780
+ "type": "uint96"
2781
+ },
2782
+ {
2783
+ "internalType": "RoleId",
2784
+ "name": "bundleOwnerRole",
2785
+ "type": "uint64"
2786
+ },
2787
+ {
2788
+ "internalType": "bool",
2789
+ "name": "isInterceptingBundleTransfers",
2790
+ "type": "bool"
2791
+ },
2792
+ {
2793
+ "internalType": "bool",
2794
+ "name": "isExternallyManaged",
2795
+ "type": "bool"
2796
+ },
2797
+ {
2798
+ "internalType": "bool",
2799
+ "name": "isVerifyingApplications",
2800
+ "type": "bool"
2801
+ },
2802
+ {
2803
+ "internalType": "UFixed",
2804
+ "name": "collateralizationLevel",
2805
+ "type": "uint256"
2806
+ },
2807
+ {
2808
+ "internalType": "UFixed",
2809
+ "name": "retentionLevel",
2810
+ "type": "uint256"
2811
+ }
2812
+ ],
2813
+ "internalType": "struct IComponents.PoolInfo",
2814
+ "name": "info",
2815
+ "type": "tuple"
2816
+ },
2817
+ {
2818
+ "internalType": "StateId",
2819
+ "name": "newState",
2820
+ "type": "uint8"
2821
+ }
2822
+ ],
2823
+ "name": "updatePool",
2824
+ "outputs": [],
2825
+ "stateMutability": "nonpayable",
2826
+ "type": "function"
2827
+ },
2828
+ {
2829
+ "inputs": [
2830
+ {
2831
+ "internalType": "NftId",
2832
+ "name": "policyNftId",
2833
+ "type": "uint96"
2834
+ },
2835
+ {
2836
+ "components": [
2837
+ {
2838
+ "internalType": "Amount",
2839
+ "name": "productFeeAmount",
2840
+ "type": "uint96"
2841
+ },
2842
+ {
2843
+ "internalType": "Amount",
2844
+ "name": "distributionFeeAndCommissionAmount",
2845
+ "type": "uint96"
2846
+ },
2847
+ {
2848
+ "internalType": "Amount",
2849
+ "name": "poolPremiumAndFeeAmount",
2850
+ "type": "uint96"
2851
+ },
2852
+ {
2853
+ "internalType": "Amount",
2854
+ "name": "netPremiumAmount",
2855
+ "type": "uint96"
2856
+ },
2857
+ {
2858
+ "internalType": "Amount",
2859
+ "name": "fullPremiumAmount",
2860
+ "type": "uint96"
2861
+ },
2862
+ {
2863
+ "internalType": "Amount",
2864
+ "name": "premiumAmount",
2865
+ "type": "uint96"
2866
+ },
2867
+ {
2868
+ "internalType": "Amount",
2869
+ "name": "productFeeFixAmount",
2870
+ "type": "uint96"
2871
+ },
2872
+ {
2873
+ "internalType": "Amount",
2874
+ "name": "poolFeeFixAmount",
2875
+ "type": "uint96"
2876
+ },
2877
+ {
2878
+ "internalType": "Amount",
2879
+ "name": "bundleFeeFixAmount",
2880
+ "type": "uint96"
2881
+ },
2882
+ {
2883
+ "internalType": "Amount",
2884
+ "name": "distributionFeeFixAmount",
2885
+ "type": "uint96"
2886
+ },
2887
+ {
2888
+ "internalType": "Amount",
2889
+ "name": "productFeeVarAmount",
2890
+ "type": "uint96"
2891
+ },
2892
+ {
2893
+ "internalType": "Amount",
2894
+ "name": "poolFeeVarAmount",
2895
+ "type": "uint96"
2896
+ },
2897
+ {
2898
+ "internalType": "Amount",
2899
+ "name": "bundleFeeVarAmount",
2900
+ "type": "uint96"
2901
+ },
2902
+ {
2903
+ "internalType": "Amount",
2904
+ "name": "distributionFeeVarAmount",
2905
+ "type": "uint96"
2906
+ },
2907
+ {
2908
+ "internalType": "Amount",
2909
+ "name": "distributionOwnerFeeFixAmount",
2910
+ "type": "uint96"
2911
+ },
2912
+ {
2913
+ "internalType": "Amount",
2914
+ "name": "distributionOwnerFeeVarAmount",
2915
+ "type": "uint96"
2916
+ },
2917
+ {
2918
+ "internalType": "Amount",
2919
+ "name": "commissionAmount",
2920
+ "type": "uint96"
2921
+ },
2922
+ {
2923
+ "internalType": "Amount",
2924
+ "name": "discountAmount",
2925
+ "type": "uint96"
2926
+ }
2927
+ ],
2928
+ "internalType": "struct IPolicy.PremiumInfo",
2929
+ "name": "premium",
2930
+ "type": "tuple"
2931
+ },
2932
+ {
2933
+ "internalType": "StateId",
2934
+ "name": "newState",
2935
+ "type": "uint8"
2936
+ }
2937
+ ],
2938
+ "name": "updatePremium",
2939
+ "outputs": [],
2940
+ "stateMutability": "nonpayable",
2941
+ "type": "function"
2942
+ },
2943
+ {
2944
+ "inputs": [
2945
+ {
2946
+ "internalType": "NftId",
2947
+ "name": "policyNftId",
2948
+ "type": "uint96"
2949
+ },
2950
+ {
2951
+ "internalType": "StateId",
2952
+ "name": "newState",
2953
+ "type": "uint8"
2954
+ }
2955
+ ],
2956
+ "name": "updatePremiumState",
2957
+ "outputs": [],
2958
+ "stateMutability": "nonpayable",
2959
+ "type": "function"
2960
+ },
2961
+ {
2962
+ "inputs": [
2963
+ {
2964
+ "internalType": "NftId",
2965
+ "name": "productNftId",
2966
+ "type": "uint96"
2967
+ },
2968
+ {
2969
+ "components": [
2970
+ {
2971
+ "internalType": "NftId",
2972
+ "name": "distributionNftId",
2973
+ "type": "uint96"
2974
+ },
2975
+ {
2976
+ "internalType": "NftId",
2977
+ "name": "poolNftId",
2978
+ "type": "uint96"
2979
+ },
2980
+ {
2981
+ "components": [
2982
+ {
2983
+ "internalType": "UFixed",
2984
+ "name": "fractionalFee",
2985
+ "type": "uint256"
2986
+ },
2987
+ {
2988
+ "internalType": "uint256",
2989
+ "name": "fixedFee",
2990
+ "type": "uint256"
2991
+ }
2992
+ ],
2993
+ "internalType": "struct Fee",
2994
+ "name": "productFee",
2995
+ "type": "tuple"
2996
+ },
2997
+ {
2998
+ "components": [
2999
+ {
3000
+ "internalType": "UFixed",
3001
+ "name": "fractionalFee",
3002
+ "type": "uint256"
3003
+ },
3004
+ {
3005
+ "internalType": "uint256",
3006
+ "name": "fixedFee",
3007
+ "type": "uint256"
3008
+ }
3009
+ ],
3010
+ "internalType": "struct Fee",
3011
+ "name": "processingFee",
3012
+ "type": "tuple"
3013
+ },
3014
+ {
3015
+ "components": [
3016
+ {
3017
+ "internalType": "UFixed",
3018
+ "name": "fractionalFee",
3019
+ "type": "uint256"
3020
+ },
3021
+ {
3022
+ "internalType": "uint256",
3023
+ "name": "fixedFee",
3024
+ "type": "uint256"
3025
+ }
3026
+ ],
3027
+ "internalType": "struct Fee",
3028
+ "name": "distributionFee",
3029
+ "type": "tuple"
3030
+ },
3031
+ {
3032
+ "components": [
3033
+ {
3034
+ "internalType": "UFixed",
3035
+ "name": "fractionalFee",
3036
+ "type": "uint256"
3037
+ },
3038
+ {
3039
+ "internalType": "uint256",
3040
+ "name": "fixedFee",
3041
+ "type": "uint256"
3042
+ }
3043
+ ],
3044
+ "internalType": "struct Fee",
3045
+ "name": "minDistributionOwnerFee",
3046
+ "type": "tuple"
3047
+ },
3048
+ {
3049
+ "components": [
3050
+ {
3051
+ "internalType": "UFixed",
3052
+ "name": "fractionalFee",
3053
+ "type": "uint256"
3054
+ },
3055
+ {
3056
+ "internalType": "uint256",
3057
+ "name": "fixedFee",
3058
+ "type": "uint256"
3059
+ }
3060
+ ],
3061
+ "internalType": "struct Fee",
3062
+ "name": "poolFee",
3063
+ "type": "tuple"
3064
+ },
3065
+ {
3066
+ "components": [
3067
+ {
3068
+ "internalType": "UFixed",
3069
+ "name": "fractionalFee",
3070
+ "type": "uint256"
3071
+ },
3072
+ {
3073
+ "internalType": "uint256",
3074
+ "name": "fixedFee",
3075
+ "type": "uint256"
3076
+ }
3077
+ ],
3078
+ "internalType": "struct Fee",
3079
+ "name": "stakingFee",
3080
+ "type": "tuple"
3081
+ },
3082
+ {
3083
+ "components": [
3084
+ {
3085
+ "internalType": "UFixed",
3086
+ "name": "fractionalFee",
3087
+ "type": "uint256"
3088
+ },
3089
+ {
3090
+ "internalType": "uint256",
3091
+ "name": "fixedFee",
3092
+ "type": "uint256"
3093
+ }
3094
+ ],
3095
+ "internalType": "struct Fee",
3096
+ "name": "performanceFee",
3097
+ "type": "tuple"
3098
+ }
3099
+ ],
3100
+ "internalType": "struct IComponents.ProductInfo",
3101
+ "name": "info",
3102
+ "type": "tuple"
3103
+ },
3104
+ {
3105
+ "internalType": "StateId",
3106
+ "name": "newState",
3107
+ "type": "uint8"
3108
+ }
3109
+ ],
3110
+ "name": "updateProduct",
3111
+ "outputs": [],
3112
+ "stateMutability": "nonpayable",
3113
+ "type": "function"
3114
+ },
3115
+ {
3116
+ "inputs": [
3117
+ {
3118
+ "internalType": "ReferralId",
3119
+ "name": "referralId",
3120
+ "type": "bytes8"
3121
+ },
3122
+ {
3123
+ "components": [
3124
+ {
3125
+ "internalType": "NftId",
3126
+ "name": "distributorNftId",
3127
+ "type": "uint96"
3128
+ },
3129
+ {
3130
+ "internalType": "string",
3131
+ "name": "referralCode",
3132
+ "type": "string"
3133
+ },
3134
+ {
3135
+ "internalType": "UFixed",
3136
+ "name": "discountPercentage",
3137
+ "type": "uint256"
3138
+ },
3139
+ {
3140
+ "internalType": "uint32",
3141
+ "name": "maxReferrals",
3142
+ "type": "uint32"
3143
+ },
3144
+ {
3145
+ "internalType": "uint32",
3146
+ "name": "usedReferrals",
3147
+ "type": "uint32"
3148
+ },
3149
+ {
3150
+ "internalType": "Timestamp",
3151
+ "name": "expiryAt",
3152
+ "type": "uint40"
3153
+ },
3154
+ {
3155
+ "internalType": "bytes",
3156
+ "name": "data",
3157
+ "type": "bytes"
3158
+ }
3159
+ ],
3160
+ "internalType": "struct IDistribution.ReferralInfo",
3161
+ "name": "referralInfo",
3162
+ "type": "tuple"
3163
+ },
3164
+ {
3165
+ "internalType": "StateId",
3166
+ "name": "newState",
3167
+ "type": "uint8"
3168
+ }
3169
+ ],
3170
+ "name": "updateReferral",
3171
+ "outputs": [],
3172
+ "stateMutability": "nonpayable",
3173
+ "type": "function"
3174
+ },
3175
+ {
3176
+ "inputs": [
3177
+ {
3178
+ "internalType": "ReferralId",
3179
+ "name": "referralId",
3180
+ "type": "bytes8"
3181
+ },
3182
+ {
3183
+ "internalType": "StateId",
3184
+ "name": "newState",
3185
+ "type": "uint8"
3186
+ }
3187
+ ],
3188
+ "name": "updateReferralState",
3189
+ "outputs": [],
3190
+ "stateMutability": "nonpayable",
3191
+ "type": "function"
3192
+ },
3193
+ {
3194
+ "inputs": [
3195
+ {
3196
+ "internalType": "RequestId",
3197
+ "name": "requestId",
3198
+ "type": "uint64"
3199
+ },
3200
+ {
3201
+ "components": [
3202
+ {
3203
+ "internalType": "NftId",
3204
+ "name": "requesterNftId",
3205
+ "type": "uint96"
3206
+ },
3207
+ {
3208
+ "internalType": "string",
3209
+ "name": "callbackMethodName",
3210
+ "type": "string"
3211
+ },
3212
+ {
3213
+ "internalType": "NftId",
3214
+ "name": "oracleNftId",
3215
+ "type": "uint96"
3216
+ },
3217
+ {
3218
+ "internalType": "bytes",
3219
+ "name": "requestData",
3220
+ "type": "bytes"
3221
+ },
3222
+ {
3223
+ "internalType": "bytes",
3224
+ "name": "responseData",
3225
+ "type": "bytes"
3226
+ },
3227
+ {
3228
+ "internalType": "Timestamp",
3229
+ "name": "respondedAt",
3230
+ "type": "uint40"
3231
+ },
3232
+ {
3233
+ "internalType": "Timestamp",
3234
+ "name": "expiredAt",
3235
+ "type": "uint40"
3236
+ },
3237
+ {
3238
+ "internalType": "bool",
3239
+ "name": "isCancelled",
3240
+ "type": "bool"
3241
+ }
3242
+ ],
3243
+ "internalType": "struct IOracle.RequestInfo",
3244
+ "name": "request",
3245
+ "type": "tuple"
3246
+ },
3247
+ {
3248
+ "internalType": "StateId",
3249
+ "name": "newState",
3250
+ "type": "uint8"
3251
+ }
3252
+ ],
3253
+ "name": "updateRequest",
3254
+ "outputs": [],
3255
+ "stateMutability": "nonpayable",
3256
+ "type": "function"
3257
+ },
3258
+ {
3259
+ "inputs": [
3260
+ {
3261
+ "internalType": "RequestId",
3262
+ "name": "requestId",
3263
+ "type": "uint64"
3264
+ },
3265
+ {
3266
+ "internalType": "StateId",
3267
+ "name": "newState",
3268
+ "type": "uint8"
3269
+ }
3270
+ ],
3271
+ "name": "updateRequestState",
3272
+ "outputs": [],
3273
+ "stateMutability": "nonpayable",
3274
+ "type": "function"
3275
+ },
3276
+ {
3277
+ "inputs": [
3278
+ {
3279
+ "internalType": "RiskId",
3280
+ "name": "riskId",
3281
+ "type": "bytes8"
3282
+ },
3283
+ {
3284
+ "components": [
3285
+ {
3286
+ "internalType": "NftId",
3287
+ "name": "productNftId",
3288
+ "type": "uint96"
3289
+ },
3290
+ {
3291
+ "internalType": "bytes",
3292
+ "name": "data",
3293
+ "type": "bytes"
3294
+ }
3295
+ ],
3296
+ "internalType": "struct IRisk.RiskInfo",
3297
+ "name": "risk",
3298
+ "type": "tuple"
3299
+ },
3300
+ {
3301
+ "internalType": "StateId",
3302
+ "name": "newState",
3303
+ "type": "uint8"
3304
+ }
3305
+ ],
3306
+ "name": "updateRisk",
3307
+ "outputs": [],
3308
+ "stateMutability": "nonpayable",
3309
+ "type": "function"
3310
+ },
3311
+ {
3312
+ "inputs": [
3313
+ {
3314
+ "internalType": "RiskId",
3315
+ "name": "riskId",
3316
+ "type": "bytes8"
3317
+ },
3318
+ {
3319
+ "internalType": "StateId",
3320
+ "name": "newState",
3321
+ "type": "uint8"
3322
+ }
3323
+ ],
3324
+ "name": "updateRiskState",
3325
+ "outputs": [],
3326
+ "stateMutability": "nonpayable",
3327
+ "type": "function"
3328
+ }
3329
+ ],
3330
+ "bytecode": "0x6080604052348015600e575f80fd5b506156498061001c5f395ff3fe608060405234801561000f575f80fd5b50600436106103b4575f3560e01c80637cef4842116101f5578063a898967511610114578063ca0e7f08116100a9578063f5884fc511610079578063f5884fc5146107ce578063f71d7ffe146109f5578063fae5df9b14610a08578063fe1f18d614610a1b575f80fd5b8063ca0e7f0814610971578063e80c61ed14610984578063e9e96c7014610997578063f48016ce146109d4575f80fd5b8063b5b3d9f9116100e4578063b5b3d9f914610918578063b6d7cd621461092b578063bf1db3f91461093e578063bf7e214f14610951575f80fd5b8063a8989675146108cc578063af902500146108df578063b0628dc3146108f2578063b4d7efe214610905575f80fd5b8063985aeba71161018a578063a46eb8dc1161015a578063a46eb8dc14610807578063a5961b4c1461081a578063a6a67b1f146108a6578063a76ee018146108b9575f80fd5b8063985aeba7146107ce5780639f8151e5146107e1578063a1fc1004146107ce578063a2842229146107f4575f80fd5b806383e20e56116101c557806383e20e561461074f5780638eaa6ac0146107625780638eb9000d146107825780638fb36037146107ad575f80fd5b80637cef48421461070e5780637e3d91e8146107215780638129fc1c1461073457806381c2b2821461073c575f80fd5b80633870a770116102e157806354e5618e116102765780635eede174116102465780635eede1741461066257806361105e0e146106d557806377ab8620146106e85780637a9e5e4b146106fb575f80fd5b806354e5618e1461061c57806354f6127f1461062f5780635a8416b01461064f5780635d4345cc146104c4575f80fd5b80634d4a7ae9116102b15780634d4a7ae9146105d057806351dd844b146105e3578063533086d4146105f657806353ebe12914610609575f80fd5b80633870a7701461057457806338a699a41461058757806340529b0f146105aa5780634846003a146105bd575f80fd5b80630fad0eb1116103575780632a8ea7ac116103275780632a8ea7ac146105285780632ae5819d1461053b5780632f61088a1461054e57806330a130ba14610561575f80fd5b80630fad0eb1146104c4578063228e42ec146104d7578063248a77dd14610502578063275c059514610515575f80fd5b806309648a9d1161039257806309648a9d146104405780630cfc3ba3146104795780630d3581811461048c5780630f6c29ef146104b1575f80fd5b80630232ca49146103b857806303c099ac146104005780630632b17d14610415575b5f80fd5b6103e36103c6366004613293565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041361040e36600461355c565b610a2e565b005b6104286104233660046136de565b610a73565b6040516001600160401b0390911681526020016103f7565b61046761044e366004613717565b5f90815260076020526040902054610100900460ff1690565b60405160ff90911681526020016103f7565b61041361048736600461380b565b610b30565b61046761049a366004613868565b60ff9081165f908152602081905260409020541690565b6104136104bf366004613912565b610b57565b6104136104d2366004613980565b610b84565b6103e36104e5366004613293565b6001600160601b039081165f908152600260205260409020541690565b6103e36105103660046139b7565b610ba1565b6104136105233660046139f7565b610bbe565b610413610536366004613bda565b610c56565b610413610549366004613980565b610c8b565b61041361055c366004613c7d565b610ca2565b61041361056f366004613dae565b610d40565b610413610582366004613df0565b610dde565b61059a610595366004613717565b610df4565b60405190151581526020016103f7565b6104136105b8366004613980565b610e7c565b6104136105cb366004613e2b565b610e93565b6104136105de366004613fce565b610ec4565b6104136105f13660046140d0565b610eec565b6103e36106043660046139b7565b610f14565b6103e36106173660046139b7565b610f28565b61041361062a366004614185565b610f3c565b61064261063d366004613717565b610f64565b6040516103f791906141f6565b61041361065d366004614208565b611006565b6106ab610670366004613293565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016103f7565b6104136106e3366004614307565b6110a4565b6104136106f636600461434a565b611142565b610413610709366004614388565b61116a565b61041361071c3660046143a3565b6111f1565b61041361072f36600461444c565b61127e565b6104136112a6565b61041361074a36600461448a565b611422565b61041361075d3660046144db565b611449565b610775610770366004613717565b611471565b6040516103f79190614507565b6103e3610790366004613293565b6001600160601b039081165f908152600360205260409020541690565b6107b5611592565b6040516001600160e01b031990911681526020016103f7565b6104136107dc366004614565565b6115c8565b6103e36107ef3660046139b7565b6115f0565b6104136108023660046143a3565b611604565b6104136108153660046145a8565b611652565b610899610828366004613717565b60408051608080820183525f8083526020808401829052838501829052606093840182905294815260078552839020835191820184525460ff80821683526101008204169482019490945263ffffffff620100008504811693820193909352600160301b9093049091169082015290565b6040516103f791906145ea565b6104136108b43660046146eb565b611683565b6104136108c7366004614717565b6116ab565b6104136108da36600461475a565b611749565b6104136108ed3660046143a3565b61184f565b6103e36109003660046139b7565b61189d565b610413610913366004614787565b6118b1565b6104136109263660046147a3565b6118fe565b6104136109393660046147e1565b611926565b61059a61094c366004613868565b61193c565b610959611988565b6040516001600160a01b0390911681526020016103f7565b61041361097f36600461480e565b6119a3565b6103e36109923660046139b7565b611a41565b61059a6109a536600461475a565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b6109e76109e236600461485f565b611a55565b6040519081526020016103f7565b610413610a0336600461488b565b611ad6565b610413610a163660046148cd565b611b07565b610413610a29366004613980565b611b2e565b610a3a335b5f36611b45565b610a6e610a4884600b611c43565b83604051602001610a599190614921565b60405160208183030381529060405283611c8e565b505050565b5f610a7d33610a33565b610a85611e04565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610b2b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610ae2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0691906149b4565b83604051602001610b1791906149cb565b604051602081830303815290604052611e94565b919050565b610b3933610a33565b610a6e610b468484612258565b82604051602001610b179190614a9d565b610b6033610a33565b610b7e610b6d85856122a4565b83604051602001610a599190614b3b565b50505050565b610b8d33610a33565b610a6e610b9b836015611c43565b826122f1565b5f610bab33610a33565b610bb583836125ec565b90505b92915050565b610bc733610a33565b604051630f37f38f60e41b81526001600160401b0384166004820152610a6e9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4591906149b4565b83604051602001610a5991906149cb565b610c5f33610a33565b610c68826126e5565b610c87610c76836015611c43565b82604051602001610b179190614b94565b5050565b610c9433610a33565b610a6e610b9b836016611c43565b610cab33610a33565b6040516355ee627560e01b8152610c879073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610cf0906001600160c01b0319871690600401614d23565b602060405180830381865af4158015610d0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d2f91906149b4565b82604051602001610b179190614d38565b610d4933610a33565b6040516355ee627560e01b8152610c879073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610d8e906001600160c01b0319871690600401614d23565b602060405180830381865af4158015610da9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dcd91906149b4565b82604051602001610b179190614d65565b610de733610a33565b610b7e610b9b84846122a4565b5f8181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610e58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb89190614e06565b610e8533610a33565b610a6e610b9b83601d611c43565b610e9c33610a33565b610ea5826126e5565b610c87610eb383600b611c43565b82604051602001610b179190614921565b610ecd33610a33565b610c87610edb836016611c43565b82604051602001610b179190614e21565b610ef533610a33565b610a6e610f0384601f611c43565b83604051602001610a599190615011565b5f610f1e33610a33565b610bb58383612793565b5f610f3233610a33565b610bb58383612874565b610f4533610a33565b610a6e610f5384601d611c43565b83604051602001610a59919061509c565b5f818152600760205260409020600101805460609190610f83906150f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610faf906150f5565b8015610ffa5780601f10610fd157610100808354040283529160200191610ffa565b820191905f5260205f20905b815481529060010190602001808311610fdd57829003601f168201915b50505050509050919050565b61100f33610a33565b6040516355ee627560e01b8152610a6e9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611054906001600160c01b0319881690600401614d23565b602060405180830381865af415801561106f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061109391906149b4565b83604051602001610a599190614d65565b6110ad33610a33565b6040516355ee627560e01b8152610a6e9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906110f2906001600160c01b0319881690600401614d23565b602060405180830381865af415801561110d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113191906149b4565b83604051602001610a59919061512d565b61114b33610a33565b610a6e611159846016611c43565b83604051602001610a599190614e21565b33611173611988565b6001600160a01b0316816001600160a01b0316146111b35760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f036111e8576040516361798f2f60e11b81526001600160a01b03831660048201526024016111aa565b610c8782612955565b6111fa33610a33565b6040516355ee627560e01b8152610a6e9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061123f906001600160c01b0319871690600401614d23565b602060405180830381865af415801561125a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9b91906149b4565b61128733610a33565b610a6e61129584600f611c43565b83604051602001610a5991906151be565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112ea5750825b90505f826001600160401b031660011480156113055750303b155b905081158015611313575080155b156113315760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135b57845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561139c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c0919061522b565b90506113cb816129b5565b6113d36129c9565b5050831561141b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b61142b33610a33565b610a6e61143884846122a4565b82604051602001610b179190614b3b565b61145233610a33565b610c8761146083600f611c43565b82604051602001610b1791906151be565b6040805160c0810182525f91810182815260608083018490526080830184905260a0830193909352815260208101919091525f82815260076020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015263ffffffff62010000820481166080840152600160301b9091041660a0820152928352600181018054919284019161150b906150f5565b80601f0160208091040260200160405190810160405280929190818152602001828054611537906150f5565b80156115825780601f1061155957610100808354040283529160200191611582565b820191905f5260205f20905b81548152906001019060200180831161156557829003601f168201915b5050505050815250509050919050565b5f805160206155f483398151915280545f9190600160a01b900460ff166115b9575f6115c2565b638fb3603760e01b5b91505090565b6115d133610a33565b610a6e6115df846015611c43565b83604051602001610a599190614b94565b5f6115fa33610a33565b610bb583836129db565b61160d33610a33565b6040516355ee627560e01b8152610a6e9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061123f906001600160c01b0319871690600401614d23565b61165b33610a33565b611664826126e5565b610c8761167283601f611c43565b82604051602001610b179190615011565b61168c33610a33565b610c8761169a83600c611c43565b82604051602001610b179190615246565b6116b433610a33565b6040516355ee627560e01b8152610a6e9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906116f9906001600160c01b0319881690600401614d23565b602060405180830381865af4158015611714573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173891906149b4565b83604051602001610a599190614d38565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156117ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117cf9190614e06565b156117f2576040516321b9f44760e01b815260ff841660048201526024016111aa565b60ff8084165f90815260016020908152604080832086851684528252808320858516845290915290205416610a6e57604051636bb20ea760e01b815260ff80851660048301528084166024830152821660448201526064016111aa565b61185833610a33565b6040516355ee627560e01b8152610a6e9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061123f906001600160c01b0319871690600401614d23565b5f6118a733610a33565b610bb58383612abc565b6118ba33610a33565b604051630f37f38f60e41b81526001600160401b0383166004820152610a6e9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f09060240161123f565b61190733610a33565b610a6e61191584600c611c43565b83604051602001610a599190615246565b61192f33610a33565b610b7e610b9b8484612258565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610e3d565b5f805160206155f4833981519152546001600160a01b031690565b6119ac33610a33565b6040516355ee627560e01b8152610c879073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906119f1906001600160c01b0319871690600401614d23565b602060405180830381865af4158015611a0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a3091906149b4565b82604051602001610b17919061512d565b5f611a4b33610a33565b610bb58383612b9d565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611ab2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb591906149b4565b611adf33610a33565b611ae8826126e5565b610c87611af683601d611c43565b82604051602001610b17919061509c565b611b1033610a33565b610b7e611b1d8585612258565b83604051602001610a599190614a9d565b611b3733610a33565b610a6e610b9b83601f611c43565b5f805160206155f48339815191525f80611b7d611b60611988565b8730611b6f60045f8a8c615328565b611b789161534f565b612c7e565b9150915081611c3b5763ffffffff811615611c1857825460ff60a01b1916600160a01b178355611bab611988565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611bda93929190615385565b5f604051808303815f87803b158015611bf1575f80fd5b505af1158015611c03573d5f803e3d5ffd5b5050845460ff60a01b1916855550611c3b9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016111aa565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611a97565b5f611c9984836122f1565b5f858152600760205260409020909150600101611cb68482615408565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4b91906154c2565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611d99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dbd91906154dd565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b600880545f9182611e14836154f8565b9091555050600854604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af4158015611e6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e8f919061551c565b905090565b604051634b00e98f60e11b8152600481018390525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611ee4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f0891906154c2565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7f9190614e06565b15611fa2576040516307014a8d60e51b815260ff821660048201526024016111aa565b5f83815260076020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015612008573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202c9190614e06565b1561205657604051633f92eac960e21b81526004810185905260ff831660248201526044016111aa565b61205f8261193c565b61208157604051636cb0978b60e11b815260ff831660048201526024016111aa565b5f61208a612d86565b60ff8085165f908152602081905260408120549293509116835460ff86811661ffff1990921691909117610100918316919091021769ffffffffffffffff000019166201000063ffffffff851690810269ffffffff000000000000191691909117600160301b919091021784555f8781526007602052604090209091506001016121148682615408565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612185573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121a991906154c2565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af41580156121f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221b91906154dd565b6040805160ff938416815260ff199290921660208301529184168183015233606082015232608082015290519081900360a00190a1505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611a97565b604051635927341160e01b815262ffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401611a97565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612343573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123679190614e06565b156123885760405163093b89e160e11b8152600481018490526024016111aa565b505f82815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156123fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124229190614e06565b156124435760405163566ebf7960e01b8152600481018690526024016111aa565b60ff808516146125be57815461245d9060ff168286611749565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156124df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061250391906154c2565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612551573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061257591906154dd565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b6125c6612d86565b825463ffffffff91909116620100000265ffffffff000019909116179091555092915050565b6001600160601b0382165f90815260056020526040812054839060ff1661263157604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f90815260036020526040902054612655911684612df2565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916126cd9187918791879163ffffffff90911690615537565b60405180910390a16126de84612e77565b5092915050565b6001600160601b0381165f9081526005602052604090205460ff1615612729576040516314d5804160e01b81526001600160601b03821660048201526024016111aa565b6001600160601b0381165f908152600560205260409020805460ff1916600117905561275481612e77565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f90815260056020526040812054839060ff166127d857604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f908152600460205260409020546127fc911684612f14565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916126cd9187918791879163ffffffff90911690615537565b6001600160601b0382165f90815260056020526040812054839060ff166128b957604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f908152600360205260409020546128dd911684612f14565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916126cd9187918791879163ffffffff90911690615537565b5f805160206155f483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6129bd612f5e565b6129c681612fa7565b50565b6129d1612f5e565b6129d9612fb8565b565b6001600160601b0382165f90815260056020526040812054839060ff16612a2057604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f90815260026020526040902054612a44911684612df2565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916126cd9187918791879163ffffffff90911690615537565b6001600160601b0382165f90815260056020526040812054839060ff16612b0157604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f90815260026020526040902054612b25911684612f14565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916126cd9187918791879163ffffffff90911690615537565b6001600160601b0382165f90815260056020526040812054839060ff16612be257604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f90815260046020526040902054612c06911684612df2565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916126cd9187918791879163ffffffff90911690615537565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612cec9190615566565b5f60405180830381855afa9150503d805f8114612d24576040519150601f19603f3d011682016040523d82523d5f602084013e612d29565b606091505b50915091508115612d7b576040815110612d5b5780806020019051810190612d51919061557c565b9094509250612d7b565b6020815110612d7b5780806020019051810190612d789190614e06565b93505b505094509492505050565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612dce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e8f91906155a9565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612e53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb591906155c4565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612ebe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ee291906155a9565b6001600160601b03919091165f908152600660205260409020805463ffffffff191663ffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612e38565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166129d957604051631afcd79f60e31b815260040160405180910390fd5b612faf612f5e565b6129c681612955565b612fc0613010565b612fc8613056565b612fd0613083565b612fd86130c6565b612fe06130d0565b612fe8613102565b612ff061311c565b612ff8613144565b613000613185565b61300861318f565b6129d9613199565b61301d601f5b60046131c1565b61302c601f5b6004606e613203565b61303b601f60045b60c8613203565b61304a601f5b606e6004613203565b6129d9601f606e613034565b613060600b613016565b61306a600b613023565b613074600b613041565b6129d9600b5b606e60d2613203565b61308f6015600a6131c1565b61309d6015600a6014613203565b6130ac6015600a5b601e613203565b6130ba6015600a6028613203565b6129d960156028613034565b6129d96016613016565b6130dc601760326131c1565b6130ea601760326033613203565b6130f6601760326130a5565b6129d960176033613034565b61310e6018603c6131c1565b6129d96018603c60dc613203565b6131266019613016565b6131306019613023565b61313a6019613041565b6129d9601961307a565b61314e601b613016565b61315d601b60045b6046613203565b61316b601b60046007613203565b613177601b6007613156565b6129d9601b60046048613203565b6129d9600f613016565b6129d9600c613016565b6131a3600e613016565b6131ad601d613016565b6131b7601c613016565b6129d9601e613016565b60ff8281165f9081526020819052604090205416156131e2576131e26155df565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561323b5761323b6155df565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b03811681146129c6575f80fd5b8035610b2b81613274565b5f602082840312156132a3575f80fd5b81356132ae81613274565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b03811182821017156132eb576132eb6132b5565b60405290565b60405161010081016001600160401b03811182821017156132eb576132eb6132b5565b60405160e081016001600160401b03811182821017156132eb576132eb6132b5565b604051608081016001600160401b03811182821017156132eb576132eb6132b5565b60405161022081016001600160401b03811182821017156132eb576132eb6132b5565b604080519081016001600160401b03811182821017156132eb576132eb6132b5565b60405161012081016001600160401b03811182821017156132eb576132eb6132b5565b60405161024081016001600160401b03811182821017156132eb576132eb6132b5565b5f82601f8301126133f2575f80fd5b8135602083015f806001600160401b03841115613411576134116132b5565b50604051601f19601f85018116603f011681018181106001600160401b038211171561343f5761343f6132b5565b604052838152905080828401871015613456575f80fd5b838360208301375f602085830101528094505050505092915050565b6001600160a01b03811681146129c6575f80fd5b8035610b2b81613472565b5f60c082840312156134a1575f80fd5b6134a96132c9565b905081356001600160401b038111156134c0575f80fd5b6134cc848285016133e3565b8252506134db60208301613288565b60208201526134ec60408301613486565b60408201526134fd60608301613486565b606082015261350e60808301613486565b608082015260a08201356001600160401b0381111561352b575f80fd5b613537848285016133e3565b60a08301525092915050565b60ff811681146129c6575f80fd5b8035610b2b81613543565b5f805f6060848603121561356e575f80fd5b833561357981613274565b925060208401356001600160401b03811115613593575f80fd5b61359f86828701613491565b92505060408401356135b081613543565b809150509250925092565b64ffffffffff811681146129c6575f80fd5b8035610b2b816135bb565b80151581146129c6575f80fd5b8035610b2b816135d8565b5f6101008284031215613601575f80fd5b6136096132f1565b905061361482613288565b815260208201356001600160401b0381111561362e575f80fd5b61363a848285016133e3565b60208301525061364c60408301613288565b604082015260608201356001600160401b03811115613669575f80fd5b613675848285016133e3565b60608301525060808201356001600160401b03811115613693575f80fd5b61369f848285016133e3565b6080830152506136b160a083016135cd565b60a08201526136c260c083016135cd565b60c08201526136d360e083016135e5565b60e082015292915050565b5f602082840312156136ee575f80fd5b81356001600160401b03811115613703575f80fd5b61370f848285016135f0565b949350505050565b5f60208284031215613727575f80fd5b5035919050565b61ffff811681146129c6575f80fd5b8035610b2b8161372e565b5f60e08284031215613758575f80fd5b613760613314565b905061376b82613288565b815261377960208301613288565b602082015261378a60408301613551565b604082015261379b60608301613551565b606082015260808201356001600160401b038111156137b8575f80fd5b6137c4848285016133e3565b60808301525060a08201356001600160401b038111156137e2575f80fd5b6137ee848285016133e3565b60a08301525061380060c083016135cd565b60c082015292915050565b5f805f6060848603121561381d575f80fd5b833561382881613274565b925060208401356138388161372e565b915060408401356001600160401b03811115613852575f80fd5b61385e86828701613748565b9150509250925092565b5f60208284031215613878575f80fd5b81356132ae81613543565b803562ffffff81168114610b2b575f80fd5b5f608082840312156138a5575f80fd5b6138ad613336565b905081356138ba8161372e565b815260208201356138ca81613274565b602082015260408201356001600160401b038111156138e7575f80fd5b6138f3848285016133e3565b6040830152506060820135613907816135bb565b606082015292915050565b5f805f8060808587031215613925575f80fd5b843561393081613274565b935061393e60208601613883565b925060408501356001600160401b03811115613958575f80fd5b61396487828801613895565b925050606085013561397581613543565b939692955090935050565b5f8060408385031215613991575f80fd5b823561399c81613274565b915060208301356139ac81613543565b809150509250929050565b5f80604083850312156139c8575f80fd5b82356139d381613274565b915060208301356139ac81613274565b6001600160401b03811681146129c6575f80fd5b5f805f60608486031215613a09575f80fd5b8335613a14816139e3565b925060208401356001600160401b03811115613a2e575f80fd5b61359f868287016135f0565b6001600160c01b0319811681146129c6575f80fd5b8035610b2b81613a3a565b5f6102208284031215613a6b575f80fd5b613a73613358565b9050613a7e82613288565b8152613a8c60208301613288565b6020820152613a9d60408301613a4f565b6040820152613aae60608301613a4f565b6060820152613abf60808301613288565b6080820152613ad060a08301613288565b60a0820152613ae160c08301613288565b60c0820152613af260e083016135cd565b60e08201526101008201356001600160401b03811115613b10575f80fd5b613b1c848285016133e3565b610100830152506101208201356001600160401b03811115613b3c575f80fd5b613b48848285016133e3565b61012083015250613b5c610140830161373d565b610140820152613b6f610160830161373d565b610160820152613b826101808301613288565b610180820152613b956101a08301613288565b6101a0820152613ba86101c083016135cd565b6101c0820152613bbb6101e083016135cd565b6101e0820152613bce61020083016135cd565b61020082015292915050565b5f8060408385031215613beb575f80fd5b8235613bf681613274565b915060208301356001600160401b03811115613c10575f80fd5b613c1c85828601613a5a565b9150509250929050565b5f60408284031215613c36575f80fd5b613c3e61337b565b90508135613c4b81613274565b815260208201356001600160401b03811115613c65575f80fd5b613c71848285016133e3565b60208301525092915050565b5f8060408385031215613c8e575f80fd5b8235613c9981613a3a565b915060208301356001600160401b03811115613cb3575f80fd5b613c1c85828601613c26565b63ffffffff811681146129c6575f80fd5b8035610b2b81613cbf565b5f6101208284031215613cec575f80fd5b613cf461339d565b905081356001600160401b03811115613d0b575f80fd5b613d17848285016133e3565b825250602082810135908201526040808301359082015260608083013590820152613d4460808301613cd0565b6080820152613d5560a08301613cd0565b60a0820152613d6660c083016135e5565b60c0820152613d7760e083016135e5565b60e08201526101008201356001600160401b03811115613d95575f80fd5b613da1848285016133e3565b6101008301525092915050565b5f8060408385031215613dbf575f80fd5b8235613dca81613a3a565b915060208301356001600160401b03811115613de4575f80fd5b613c1c85828601613cdb565b5f805f60608486031215613e02575f80fd5b8335613e0d81613274565b9250613e1b60208501613883565b915060408401356135b081613543565b5f8060408385031215613e3c575f80fd5b8235613e4781613274565b915060208301356001600160401b03811115613e61575f80fd5b613c1c85828601613491565b5f6102408284031215613e7e575f80fd5b613e866133c0565b9050613e9182613288565b8152613e9f60208301613288565b6020820152613eb060408301613288565b6040820152613ec160608301613288565b6060820152613ed260808301613288565b6080820152613ee360a08301613288565b60a0820152613ef460c08301613288565b60c0820152613f0560e08301613288565b60e0820152613f176101008301613288565b610100820152613f2a6101208301613288565b610120820152613f3d6101408301613288565b610140820152613f506101608301613288565b610160820152613f636101808301613288565b610180820152613f766101a08301613288565b6101a0820152613f896101c08301613288565b6101c0820152613f9c6101e08301613288565b6101e0820152613faf6102008301613288565b610200820152613fc26102208301613288565b61022082015292915050565b5f806102608385031215613fe0575f80fd5b8235613feb81613274565b9150613ffa8460208501613e6d565b90509250929050565b5f60408284031215614013575f80fd5b61401b61337b565b823581526020928301359281019290925250919050565b5f60e08284031215614042575f80fd5b61404a6132c9565b9050813561405781613274565b81526140668360208401614003565b602082015260608201356001600160401b03811115614083575f80fd5b61408f848285016133e3565b60408301525060808201356140a3816135bb565b60608201526140b460a083016135cd565b60808201526140c560c083016135cd565b60a082015292915050565b5f805f606084860312156140e2575f80fd5b83356140ed81613274565b925060208401356001600160401b03811115614107575f80fd5b61359f86828701614032565b5f60808284031215614123575f80fd5b61412b613336565b9050813561413881613a3a565b81526020820135614148816135d8565b602082015260408201356001600160401b03811115614165575f80fd5b614171848285016133e3565b604083015250606082013561390781613cbf565b5f805f60608486031215614197575f80fd5b83356141a281613274565b925060208401356001600160401b038111156141bc575f80fd5b61359f86828701614113565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610bb560208301846141c8565b5f805f6060848603121561421a575f80fd5b833561422581613a3a565b925060208401356001600160401b0381111561423f575f80fd5b61359f86828701613cdb565b5f60e0828403121561425b575f80fd5b614263613314565b905061426e82613288565b815260208201356001600160401b03811115614288575f80fd5b614294848285016133e3565b602083015250604082810135908201526142b060608301613cd0565b60608201526142c160808301613cd0565b60808201526142d260a083016135cd565b60a082015260c08201356001600160401b038111156142ef575f80fd5b6142fb848285016133e3565b60c08301525092915050565b5f805f60608486031215614319575f80fd5b833561432481613a3a565b925060208401356001600160401b0381111561433e575f80fd5b61359f8682870161424b565b5f805f610280848603121561435d575f80fd5b833561436881613274565b92506143778560208601613e6d565b91506102608401356135b081613543565b5f60208284031215614398575f80fd5b81356132ae81613472565b5f80604083850312156143b4575f80fd5b823561399c81613a3a565b5f60e082840312156143cf575f80fd5b6143d7613314565b905081356143e481613274565b815260208201356143f4816139e3565b60208201526040820135614407816135d8565b6040820152606082013561441a816135d8565b606082015261442b608083016135e5565b608082015260a0828101359082015260c09182013591810191909152919050565b5f805f610120848603121561445f575f80fd5b833561446a81613274565b925061447985602086016143bf565b91506101008401356135b081613543565b5f805f6060848603121561449c575f80fd5b83356144a781613274565b92506144b560208501613883565b915060408401356001600160401b038111156144cf575f80fd5b61385e86828701613895565b5f8061010083850312156144ed575f80fd5b82356144f881613274565b9150613ffa84602085016143bf565b6020815261454c60208201835160ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f602083015160a08084015261370f60c08401826141c8565b5f805f60608486031215614577575f80fd5b833561458281613274565b925060208401356001600160401b0381111561459c575f80fd5b61359f86828701613a5a565b5f80604083850312156145b9575f80fd5b82356145c481613274565b915060208301356001600160401b038111156145de575f80fd5b613c1c85828601614032565b60808101610bb8828460ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f610200828403121561463c575f80fd5b61464461339d565b905061464f82613288565b815261465d60208301613288565b602082015261466f8360408401614003565b60408201526146818360808401614003565b60608201526146938360c08401614003565b60808201526146a6836101008401614003565b60a08201526146b9836101408401614003565b60c08201526146cc836101808401614003565b60e08201526146df836101c08401614003565b61010082015292915050565b5f8061022083850312156146fd575f80fd5b823561470881613274565b9150613ffa846020850161462b565b5f805f60608486031215614729575f80fd5b833561473481613a3a565b925060208401356001600160401b0381111561474e575f80fd5b61359f86828701613c26565b5f805f6060848603121561476c575f80fd5b833561477781613543565b92506020840135613e1b81613543565b5f8060408385031215614798575f80fd5b823561399c816139e3565b5f805f61024084860312156147b6575f80fd5b83356147c181613274565b92506147d0856020860161462b565b91506102208401356135b081613543565b5f805f606084860312156147f3575f80fd5b83356147fe81613274565b92506020840135613e1b8161372e565b5f806040838503121561481f575f80fd5b823561482a81613a3a565b915060208301356001600160401b03811115614844575f80fd5b613c1c8582860161424b565b60ff19811681146129c6575f80fd5b5f8060408385031215614870575f80fd5b823561487b81613543565b915060208301356139ac81614850565b5f806040838503121561489c575f80fd5b82356148a781613274565b915060208301356001600160401b038111156148c1575f80fd5b613c1c85828601614113565b5f805f80608085870312156148e0575f80fd5b84356148eb81613274565b935060208501356148fb8161372e565b925060408501356001600160401b03811115614915575f80fd5b61396487828801613748565b602081525f825160c0602084015261493c60e08401826141c8565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161498f60a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526149ab82826141c8565b95945050505050565b5f602082840312156149c4575f80fd5b5051919050565b602081526149e56020820183516001600160601b03169052565b5f60208301516101006040840152614a016101208401826141c8565b90506040840151614a1d60608501826001600160601b03169052565b506060840151838203601f19016080850152614a3982826141c8565b9150506080840151601f198483030160a0850152614a5782826141c8565b91505060a0840151614a7260c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e08401518015156101008501525b509392505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151614ad9606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152614b036101008401826141c8565b905060a0840151601f198483030160c0850152614b2082826141c8565b91505060c0840151614a9560e085018264ffffffffff169052565b6020815261ffff82511660208201526001600160601b0360208301511660408201525f604083015160806060840152614b7760a08401826141c8565b905064ffffffffff60608501511660808401528091505092915050565b60208152614bae6020820183516001600160601b03169052565b5f6020830151614bc960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152614c666102408401826141c8565b9050610120840151601f1984830301610140850152614c8582826141c8565b915050610140840151614c9f61016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152614a95565b6001600160c01b031991909116815260200190565b602081526001600160601b0382511660208201525f602083015160408084015261370f60608401826141c8565b602081525f82516101206020840152614d826101408401826141c8565b90506020840151604084015260408401516060840152606084015160808401526080840151614db960a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526149ab82826141c8565b5f60208284031215614e16575f80fd5b81516132ae816135d8565b81516001600160601b0316815261024081016020830151614e4d60208401826001600160601b03169052565b506040830151614e6860408401826001600160601b03169052565b506060830151614e8360608401826001600160601b03169052565b506080830151614e9e60808401826001600160601b03169052565b5060a0830151614eb960a08401826001600160601b03169052565b5060c0830151614ed460c08401826001600160601b03169052565b5060e0830151614eef60e08401826001600160601b03169052565b50610100830151614f0c6101008401826001600160601b03169052565b50610120830151614f296101208401826001600160601b03169052565b50610140830151614f466101408401826001600160601b03169052565b50610160830151614f636101608401826001600160601b03169052565b50610180830151614f806101808401826001600160601b03169052565b506101a0830151614f9d6101a08401826001600160601b03169052565b506101c0830151614fba6101c08401826001600160601b03169052565b506101e0830151614fd76101e08401826001600160601b03169052565b50610200830151614ff46102008401826001600160601b03169052565b506102208301516126de6102208401826001600160601b03169052565b602081526001600160601b0382511660208201525f6020830151615042604084018280518252602090810151910152565b50604083015160e0608084015261505d6101008401826141c8565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f6040830151608060608401526150d960a08401826141c8565b905063ffffffff60608501511660808401528091505092915050565b600181811c9082168061510957607f821691505b60208210810361512757634e487b7160e01b5f52602260045260245ffd5b50919050565b602081526001600160601b0382511660208201525f602083015160e0604084015261515c6101008401826141c8565b90506040840151606084015263ffffffff6060850151166080840152608084015161518f60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526149ab82826141c8565b5f60e0820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151151560608301526080830151615210608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b5f6020828403121561523b575f80fd5b81516132ae81613472565b81516001600160601b03168152602080830151610200830191615273908401826001600160601b03169052565b506040830151615290604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e08401526126de565b5f8085851115615336575f80fd5b83861115615342575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156126de576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f821115610a6e57805f5260205f20601f840160051c810160208510156153e95750805b601f840160051c820191505b8181101561141b575f81556001016153f5565b81516001600160401b03811115615421576154216132b5565b6154358161542f84546150f5565b846153c4565b6020601f821160018114615467575f83156154505750848201515b5f19600385901b1c1916600184901b17845561141b565b5f84815260208120601f198516915b828110156154965787850151825560209485019460019092019101615476565b50848210156154b357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156154d2575f80fd5b81516132ae81613543565b5f602082840312156154ed575f80fd5b81516132ae81614850565b5f6001820161551557634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f6020828403121561552c575f80fd5b81516132ae816139e3565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b5f82518060208501845e5f920191825250919050565b5f806040838503121561558d575f80fd5b8251615598816135d8565b60208401519092506139ac81613cbf565b5f602082840312156155b9575f80fd5b81516132ae81613cbf565b5f602082840312156155d4575f80fd5b81516132ae81613274565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212203f7e2abdd28b74f1a849961e03bf9aec5e8f3e23f3041133b51f70f75a4fcf8b64736f6c634300081a0033",
3331
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106103b4575f3560e01c80637cef4842116101f5578063a898967511610114578063ca0e7f08116100a9578063f5884fc511610079578063f5884fc5146107ce578063f71d7ffe146109f5578063fae5df9b14610a08578063fe1f18d614610a1b575f80fd5b8063ca0e7f0814610971578063e80c61ed14610984578063e9e96c7014610997578063f48016ce146109d4575f80fd5b8063b5b3d9f9116100e4578063b5b3d9f914610918578063b6d7cd621461092b578063bf1db3f91461093e578063bf7e214f14610951575f80fd5b8063a8989675146108cc578063af902500146108df578063b0628dc3146108f2578063b4d7efe214610905575f80fd5b8063985aeba71161018a578063a46eb8dc1161015a578063a46eb8dc14610807578063a5961b4c1461081a578063a6a67b1f146108a6578063a76ee018146108b9575f80fd5b8063985aeba7146107ce5780639f8151e5146107e1578063a1fc1004146107ce578063a2842229146107f4575f80fd5b806383e20e56116101c557806383e20e561461074f5780638eaa6ac0146107625780638eb9000d146107825780638fb36037146107ad575f80fd5b80637cef48421461070e5780637e3d91e8146107215780638129fc1c1461073457806381c2b2821461073c575f80fd5b80633870a770116102e157806354e5618e116102765780635eede174116102465780635eede1741461066257806361105e0e146106d557806377ab8620146106e85780637a9e5e4b146106fb575f80fd5b806354e5618e1461061c57806354f6127f1461062f5780635a8416b01461064f5780635d4345cc146104c4575f80fd5b80634d4a7ae9116102b15780634d4a7ae9146105d057806351dd844b146105e3578063533086d4146105f657806353ebe12914610609575f80fd5b80633870a7701461057457806338a699a41461058757806340529b0f146105aa5780634846003a146105bd575f80fd5b80630fad0eb1116103575780632a8ea7ac116103275780632a8ea7ac146105285780632ae5819d1461053b5780632f61088a1461054e57806330a130ba14610561575f80fd5b80630fad0eb1146104c4578063228e42ec146104d7578063248a77dd14610502578063275c059514610515575f80fd5b806309648a9d1161039257806309648a9d146104405780630cfc3ba3146104795780630d3581811461048c5780630f6c29ef146104b1575f80fd5b80630232ca49146103b857806303c099ac146104005780630632b17d14610415575b5f80fd5b6103e36103c6366004613293565b6001600160601b039081165f908152600460205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61041361040e36600461355c565b610a2e565b005b6104286104233660046136de565b610a73565b6040516001600160401b0390911681526020016103f7565b61046761044e366004613717565b5f90815260076020526040902054610100900460ff1690565b60405160ff90911681526020016103f7565b61041361048736600461380b565b610b30565b61046761049a366004613868565b60ff9081165f908152602081905260409020541690565b6104136104bf366004613912565b610b57565b6104136104d2366004613980565b610b84565b6103e36104e5366004613293565b6001600160601b039081165f908152600260205260409020541690565b6103e36105103660046139b7565b610ba1565b6104136105233660046139f7565b610bbe565b610413610536366004613bda565b610c56565b610413610549366004613980565b610c8b565b61041361055c366004613c7d565b610ca2565b61041361056f366004613dae565b610d40565b610413610582366004613df0565b610dde565b61059a610595366004613717565b610df4565b60405190151581526020016103f7565b6104136105b8366004613980565b610e7c565b6104136105cb366004613e2b565b610e93565b6104136105de366004613fce565b610ec4565b6104136105f13660046140d0565b610eec565b6103e36106043660046139b7565b610f14565b6103e36106173660046139b7565b610f28565b61041361062a366004614185565b610f3c565b61064261063d366004613717565b610f64565b6040516103f791906141f6565b61041361065d366004614208565b611006565b6106ab610670366004613293565b6001600160601b039081165f908152600260209081526040808320546003835281842054600490935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016103f7565b6104136106e3366004614307565b6110a4565b6104136106f636600461434a565b611142565b610413610709366004614388565b61116a565b61041361071c3660046143a3565b6111f1565b61041361072f36600461444c565b61127e565b6104136112a6565b61041361074a36600461448a565b611422565b61041361075d3660046144db565b611449565b610775610770366004613717565b611471565b6040516103f79190614507565b6103e3610790366004613293565b6001600160601b039081165f908152600360205260409020541690565b6107b5611592565b6040516001600160e01b031990911681526020016103f7565b6104136107dc366004614565565b6115c8565b6103e36107ef3660046139b7565b6115f0565b6104136108023660046143a3565b611604565b6104136108153660046145a8565b611652565b610899610828366004613717565b60408051608080820183525f8083526020808401829052838501829052606093840182905294815260078552839020835191820184525460ff80821683526101008204169482019490945263ffffffff620100008504811693820193909352600160301b9093049091169082015290565b6040516103f791906145ea565b6104136108b43660046146eb565b611683565b6104136108c7366004614717565b6116ab565b6104136108da36600461475a565b611749565b6104136108ed3660046143a3565b61184f565b6103e36109003660046139b7565b61189d565b610413610913366004614787565b6118b1565b6104136109263660046147a3565b6118fe565b6104136109393660046147e1565b611926565b61059a61094c366004613868565b61193c565b610959611988565b6040516001600160a01b0390911681526020016103f7565b61041361097f36600461480e565b6119a3565b6103e36109923660046139b7565b611a41565b61059a6109a536600461475a565b60ff9283165f908152600160209081526040808320948616835293815283822092851682529190915220541690565b6109e76109e236600461485f565b611a55565b6040519081526020016103f7565b610413610a0336600461488b565b611ad6565b610413610a163660046148cd565b611b07565b610413610a29366004613980565b611b2e565b610a3a335b5f36611b45565b610a6e610a4884600b611c43565b83604051602001610a599190614921565b60405160208183030381529060405283611c8e565b505050565b5f610a7d33610a33565b610a85611e04565b604051630f37f38f60e41b81526001600160401b0382166004820152909150610b2b9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610ae2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b0691906149b4565b83604051602001610b1791906149cb565b604051602081830303815290604052611e94565b919050565b610b3933610a33565b610a6e610b468484612258565b82604051602001610b179190614a9d565b610b6033610a33565b610b7e610b6d85856122a4565b83604051602001610a599190614b3b565b50505050565b610b8d33610a33565b610a6e610b9b836015611c43565b826122f1565b5f610bab33610a33565b610bb583836125ec565b90505b92915050565b610bc733610a33565b604051630f37f38f60e41b81526001600160401b0384166004820152610a6e9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015610c21573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c4591906149b4565b83604051602001610a5991906149cb565b610c5f33610a33565b610c68826126e5565b610c87610c76836015611c43565b82604051602001610b179190614b94565b5050565b610c9433610a33565b610a6e610b9b836016611c43565b610cab33610a33565b6040516355ee627560e01b8152610c879073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610cf0906001600160c01b0319871690600401614d23565b602060405180830381865af4158015610d0b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d2f91906149b4565b82604051602001610b179190614d38565b610d4933610a33565b6040516355ee627560e01b8152610c879073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610d8e906001600160c01b0319871690600401614d23565b602060405180830381865af4158015610da9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dcd91906149b4565b82604051602001610b179190614d65565b610de733610a33565b610b7e610b9b84846122a4565b5f8181526007602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610e58573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb89190614e06565b610e8533610a33565b610a6e610b9b83601d611c43565b610e9c33610a33565b610ea5826126e5565b610c87610eb383600b611c43565b82604051602001610b179190614921565b610ecd33610a33565b610c87610edb836016611c43565b82604051602001610b179190614e21565b610ef533610a33565b610a6e610f0384601f611c43565b83604051602001610a599190615011565b5f610f1e33610a33565b610bb58383612793565b5f610f3233610a33565b610bb58383612874565b610f4533610a33565b610a6e610f5384601d611c43565b83604051602001610a59919061509c565b5f818152600760205260409020600101805460609190610f83906150f5565b80601f0160208091040260200160405190810160405280929190818152602001828054610faf906150f5565b8015610ffa5780601f10610fd157610100808354040283529160200191610ffa565b820191905f5260205f20905b815481529060010190602001808311610fdd57829003601f168201915b50505050509050919050565b61100f33610a33565b6040516355ee627560e01b8152610a6e9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611054906001600160c01b0319881690600401614d23565b602060405180830381865af415801561106f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061109391906149b4565b83604051602001610a599190614d65565b6110ad33610a33565b6040516355ee627560e01b8152610a6e9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906110f2906001600160c01b0319881690600401614d23565b602060405180830381865af415801561110d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113191906149b4565b83604051602001610a59919061512d565b61114b33610a33565b610a6e611159846016611c43565b83604051602001610a599190614e21565b33611173611988565b6001600160a01b0316816001600160a01b0316146111b35760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b5f036111e8576040516361798f2f60e11b81526001600160a01b03831660048201526024016111aa565b610c8782612955565b6111fa33610a33565b6040516355ee627560e01b8152610a6e9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061123f906001600160c01b0319871690600401614d23565b602060405180830381865af415801561125a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b9b91906149b4565b61128733610a33565b610a6e61129584600f611c43565b83604051602001610a5991906151be565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156112ea5750825b90505f826001600160401b031660011480156113055750303b155b905081158015611313575080155b156113315760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135b57845460ff60401b1916600160401b1785555b5f3390505f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561139c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113c0919061522b565b90506113cb816129b5565b6113d36129c9565b5050831561141b57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050565b61142b33610a33565b610a6e61143884846122a4565b82604051602001610b179190614b3b565b61145233610a33565b610c8761146083600f611c43565b82604051602001610b1791906151be565b6040805160c0810182525f91810182815260608083018490526080830184905260a0830193909352815260208101919091525f82815260076020908152604091829020825160c081018452815460ff808216958301958652610100820416606083015263ffffffff62010000820481166080840152600160301b9091041660a0820152928352600181018054919284019161150b906150f5565b80601f0160208091040260200160405190810160405280929190818152602001828054611537906150f5565b80156115825780601f1061155957610100808354040283529160200191611582565b820191905f5260205f20905b81548152906001019060200180831161156557829003601f168201915b5050505050815250509050919050565b5f805160206155f483398151915280545f9190600160a01b900460ff166115b9575f6115c2565b638fb3603760e01b5b91505090565b6115d133610a33565b610a6e6115df846015611c43565b83604051602001610a599190614b94565b5f6115fa33610a33565b610bb583836129db565b61160d33610a33565b6040516355ee627560e01b8152610a6e9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee62759061123f906001600160c01b0319871690600401614d23565b61165b33610a33565b611664826126e5565b610c8761167283601f611c43565b82604051602001610b179190615011565b61168c33610a33565b610c8761169a83600c611c43565b82604051602001610b179190615246565b6116b433610a33565b6040516355ee627560e01b8152610a6e9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee6275906116f9906001600160c01b0319881690600401614d23565b602060405180830381865af4158015611714573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173891906149b4565b83604051602001610a599190614d38565b60ff8381165f908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156117ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117cf9190614e06565b156117f2576040516321b9f44760e01b815260ff841660048201526024016111aa565b60ff8084165f90815260016020908152604080832086851684528252808320858516845290915290205416610a6e57604051636bb20ea760e01b815260ff80851660048301528084166024830152821660448201526064016111aa565b61185833610a33565b6040516355ee627560e01b8152610a6e9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee62759061123f906001600160c01b0319871690600401614d23565b5f6118a733610a33565b610bb58383612abc565b6118ba33610a33565b604051630f37f38f60e41b81526001600160401b0383166004820152610a6e9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f09060240161123f565b61190733610a33565b610a6e61191584600c611c43565b83604051602001610a599190615246565b61192f33610a33565b610b7e610b9b8484612258565b60ff8181165f9081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610e3d565b5f805160206155f4833981519152546001600160a01b031690565b6119ac33610a33565b6040516355ee627560e01b8152610c879073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee6275906119f1906001600160c01b0319871690600401614d23565b602060405180830381865af4158015611a0c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a3091906149b4565b82604051602001610b17919061512d565b5f611a4b33610a33565b610bb58383612b9d565b604051637a400b6760e11b815260ff8316600482015260ff19821660248201525f9073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611ab2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb591906149b4565b611adf33610a33565b611ae8826126e5565b610c87611af683601d611c43565b82604051602001610b17919061509c565b611b1033610a33565b610b7e611b1d8585612258565b83604051602001610a599190614a9d565b611b3733610a33565b610a6e610b9b83601f611c43565b5f805160206155f48339815191525f80611b7d611b60611988565b8730611b6f60045f8a8c615328565b611b789161534f565b612c7e565b9150915081611c3b5763ffffffff811615611c1857825460ff60a01b1916600160a01b178355611bab611988565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611bda93929190615385565b5f604051808303815f87803b158015611bf1575f80fd5b505af1158015611c03573d5f803e3d5ffd5b5050845460ff60a01b1916855550611c3b9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016111aa565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611a97565b5f611c9984836122f1565b5f858152600760205260409020909150600101611cb68482615408565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d4b91906154c2565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611d99573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dbd91906154dd565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b600880545f9182611e14836154f8565b9091555050600854604051633aac82ef60e11b8152600481019190915273__$b4c16f233b92c2c4124fb22a521f86c95b$__9063755905de90602401602060405180830381865af4158015611e6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e8f919061551c565b905090565b604051634b00e98f60e11b8152600481018390525f9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611ee4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f0891906154c2565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611f5b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7f9190614e06565b15611fa2576040516307014a8d60e51b815260ff821660048201526024016111aa565b5f83815260076020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015612008573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061202c9190614e06565b1561205657604051633f92eac960e21b81526004810185905260ff831660248201526044016111aa565b61205f8261193c565b61208157604051636cb0978b60e11b815260ff831660048201526024016111aa565b5f61208a612d86565b60ff8085165f908152602081905260408120549293509116835460ff86811661ffff1990921691909117610100918316919091021769ffffffffffffffff000019166201000063ffffffff851690810269ffffffff000000000000191691909117600160301b919091021784555f8781526007602052604090209091506001016121148682615408565b50604051634b00e98f60e11b8152600481018790527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015612185573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121a991906154c2565b604051630713cfad60e31b81526004810189905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af41580156121f7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061221b91906154dd565b6040805160ff938416815260ff199290921660208301529184168183015233606082015232608082015290519081900360a00190a1505050505050565b604051637d56159160e11b815261ffff821660048201526001600160601b03831660248201525f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611a97565b604051635927341160e01b815262ffffff821660048201526001600160601b03831660248201525f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401611a97565b60405163037c8cb160e51b815260ff821660048201525f9073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015612343573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123679190614e06565b156123885760405163093b89e160e11b8152600481018490526024016111aa565b505f82815260076020526040908190208054915163037c8cb160e51b8152610100830460ff16600482018190526201000090930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156123fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124229190614e06565b156124435760405163566ebf7960e01b8152600481018690526024016111aa565b60ff808516146125be57815461245d9060ff168286611749565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156124df573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061250391906154c2565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612551573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061257591906154dd565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b6125c6612d86565b825463ffffffff91909116620100000265ffffffff000019909116179091555092915050565b6001600160601b0382165f90815260056020526040812054839060ff1661263157604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f90815260036020526040902054612655911684612df2565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916126cd9187918791879163ffffffff90911690615537565b60405180910390a16126de84612e77565b5092915050565b6001600160601b0381165f9081526005602052604090205460ff1615612729576040516314d5804160e01b81526001600160601b03821660048201526024016111aa565b6001600160601b0381165f908152600560205260409020805460ff1916600117905561275481612e77565b6040516001600160601b03821681527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a99060200160405180910390a150565b6001600160601b0382165f90815260056020526040812054839060ff166127d857604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f908152600460205260409020546127fc911684612f14565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916126cd9187918791879163ffffffff90911690615537565b6001600160601b0382165f90815260056020526040812054839060ff166128b957604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f908152600360205260409020546128dd911684612f14565b6001600160601b038581165f90815260036020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916126cd9187918791879163ffffffff90911690615537565b5f805160206155f483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6129bd612f5e565b6129c681612fa7565b50565b6129d1612f5e565b6129d9612fb8565b565b6001600160601b0382165f90815260056020526040812054839060ff16612a2057604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f90815260026020526040902054612a44911684612df2565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916126cd9187918791879163ffffffff90911690615537565b6001600160601b0382165f90815260056020526040812054839060ff16612b0157604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f90815260026020526040902054612b25911684612f14565b6001600160601b038581165f90815260026020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916126cd9187918791879163ffffffff90911690615537565b6001600160601b0382165f90815260056020526040812054839060ff16612be257604051631e94ffd760e11b81526001600160601b03821660048201526024016111aa565b6001600160601b038085165f90815260046020526040902054612c06911684612df2565b6001600160601b038581165f90815260046020908152604080832080546001600160601b03191694861694909417909355600690528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916126cd9187918791879163ffffffff90911690615537565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612cec9190615566565b5f60405180830381855afa9150503d805f8114612d24576040519150601f19603f3d011682016040523d82523d5f602084013e612d29565b606091505b50915091508115612d7b576040815110612d5b5780806020019051810190612d51919061557c565b9094509250612d7b565b6020815110612d7b5780806020019051810190612d789190614e06565b93505b505094509492505050565b5f73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612dce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e8f91906155a9565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af4158015612e53573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bb591906155c4565b73__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015612ebe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ee291906155a9565b6001600160601b03919091165f908152600660205260409020805463ffffffff191663ffffffff909216919091179055565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401612e38565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166129d957604051631afcd79f60e31b815260040160405180910390fd5b612faf612f5e565b6129c681612955565b612fc0613010565b612fc8613056565b612fd0613083565b612fd86130c6565b612fe06130d0565b612fe8613102565b612ff061311c565b612ff8613144565b613000613185565b61300861318f565b6129d9613199565b61301d601f5b60046131c1565b61302c601f5b6004606e613203565b61303b601f60045b60c8613203565b61304a601f5b606e6004613203565b6129d9601f606e613034565b613060600b613016565b61306a600b613023565b613074600b613041565b6129d9600b5b606e60d2613203565b61308f6015600a6131c1565b61309d6015600a6014613203565b6130ac6015600a5b601e613203565b6130ba6015600a6028613203565b6129d960156028613034565b6129d96016613016565b6130dc601760326131c1565b6130ea601760326033613203565b6130f6601760326130a5565b6129d960176033613034565b61310e6018603c6131c1565b6129d96018603c60dc613203565b6131266019613016565b6131306019613023565b61313a6019613041565b6129d9601961307a565b61314e601b613016565b61315d601b60045b6046613203565b61316b601b60046007613203565b613177601b6007613156565b6129d9601b60046048613203565b6129d9600f613016565b6129d9600c613016565b6131a3600e613016565b6131ad601d613016565b6131b7601c613016565b6129d9601e613016565b60ff8281165f9081526020819052604090205416156131e2576131e26155df565b60ff9182165f908152602081905260409020805460ff191691909216179055565b60ff8084165f908152600160209081526040808320868516845282528083208585168452909152902054161561323b5761323b6155df565b60ff9283165f9081526001602081815260408084209587168452948152848320939095168252919093529120805460ff19169091179055565b6001600160601b03811681146129c6575f80fd5b8035610b2b81613274565b5f602082840312156132a3575f80fd5b81356132ae81613274565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b60405160c081016001600160401b03811182821017156132eb576132eb6132b5565b60405290565b60405161010081016001600160401b03811182821017156132eb576132eb6132b5565b60405160e081016001600160401b03811182821017156132eb576132eb6132b5565b604051608081016001600160401b03811182821017156132eb576132eb6132b5565b60405161022081016001600160401b03811182821017156132eb576132eb6132b5565b604080519081016001600160401b03811182821017156132eb576132eb6132b5565b60405161012081016001600160401b03811182821017156132eb576132eb6132b5565b60405161024081016001600160401b03811182821017156132eb576132eb6132b5565b5f82601f8301126133f2575f80fd5b8135602083015f806001600160401b03841115613411576134116132b5565b50604051601f19601f85018116603f011681018181106001600160401b038211171561343f5761343f6132b5565b604052838152905080828401871015613456575f80fd5b838360208301375f602085830101528094505050505092915050565b6001600160a01b03811681146129c6575f80fd5b8035610b2b81613472565b5f60c082840312156134a1575f80fd5b6134a96132c9565b905081356001600160401b038111156134c0575f80fd5b6134cc848285016133e3565b8252506134db60208301613288565b60208201526134ec60408301613486565b60408201526134fd60608301613486565b606082015261350e60808301613486565b608082015260a08201356001600160401b0381111561352b575f80fd5b613537848285016133e3565b60a08301525092915050565b60ff811681146129c6575f80fd5b8035610b2b81613543565b5f805f6060848603121561356e575f80fd5b833561357981613274565b925060208401356001600160401b03811115613593575f80fd5b61359f86828701613491565b92505060408401356135b081613543565b809150509250925092565b64ffffffffff811681146129c6575f80fd5b8035610b2b816135bb565b80151581146129c6575f80fd5b8035610b2b816135d8565b5f6101008284031215613601575f80fd5b6136096132f1565b905061361482613288565b815260208201356001600160401b0381111561362e575f80fd5b61363a848285016133e3565b60208301525061364c60408301613288565b604082015260608201356001600160401b03811115613669575f80fd5b613675848285016133e3565b60608301525060808201356001600160401b03811115613693575f80fd5b61369f848285016133e3565b6080830152506136b160a083016135cd565b60a08201526136c260c083016135cd565b60c08201526136d360e083016135e5565b60e082015292915050565b5f602082840312156136ee575f80fd5b81356001600160401b03811115613703575f80fd5b61370f848285016135f0565b949350505050565b5f60208284031215613727575f80fd5b5035919050565b61ffff811681146129c6575f80fd5b8035610b2b8161372e565b5f60e08284031215613758575f80fd5b613760613314565b905061376b82613288565b815261377960208301613288565b602082015261378a60408301613551565b604082015261379b60608301613551565b606082015260808201356001600160401b038111156137b8575f80fd5b6137c4848285016133e3565b60808301525060a08201356001600160401b038111156137e2575f80fd5b6137ee848285016133e3565b60a08301525061380060c083016135cd565b60c082015292915050565b5f805f6060848603121561381d575f80fd5b833561382881613274565b925060208401356138388161372e565b915060408401356001600160401b03811115613852575f80fd5b61385e86828701613748565b9150509250925092565b5f60208284031215613878575f80fd5b81356132ae81613543565b803562ffffff81168114610b2b575f80fd5b5f608082840312156138a5575f80fd5b6138ad613336565b905081356138ba8161372e565b815260208201356138ca81613274565b602082015260408201356001600160401b038111156138e7575f80fd5b6138f3848285016133e3565b6040830152506060820135613907816135bb565b606082015292915050565b5f805f8060808587031215613925575f80fd5b843561393081613274565b935061393e60208601613883565b925060408501356001600160401b03811115613958575f80fd5b61396487828801613895565b925050606085013561397581613543565b939692955090935050565b5f8060408385031215613991575f80fd5b823561399c81613274565b915060208301356139ac81613543565b809150509250929050565b5f80604083850312156139c8575f80fd5b82356139d381613274565b915060208301356139ac81613274565b6001600160401b03811681146129c6575f80fd5b5f805f60608486031215613a09575f80fd5b8335613a14816139e3565b925060208401356001600160401b03811115613a2e575f80fd5b61359f868287016135f0565b6001600160c01b0319811681146129c6575f80fd5b8035610b2b81613a3a565b5f6102208284031215613a6b575f80fd5b613a73613358565b9050613a7e82613288565b8152613a8c60208301613288565b6020820152613a9d60408301613a4f565b6040820152613aae60608301613a4f565b6060820152613abf60808301613288565b6080820152613ad060a08301613288565b60a0820152613ae160c08301613288565b60c0820152613af260e083016135cd565b60e08201526101008201356001600160401b03811115613b10575f80fd5b613b1c848285016133e3565b610100830152506101208201356001600160401b03811115613b3c575f80fd5b613b48848285016133e3565b61012083015250613b5c610140830161373d565b610140820152613b6f610160830161373d565b610160820152613b826101808301613288565b610180820152613b956101a08301613288565b6101a0820152613ba86101c083016135cd565b6101c0820152613bbb6101e083016135cd565b6101e0820152613bce61020083016135cd565b61020082015292915050565b5f8060408385031215613beb575f80fd5b8235613bf681613274565b915060208301356001600160401b03811115613c10575f80fd5b613c1c85828601613a5a565b9150509250929050565b5f60408284031215613c36575f80fd5b613c3e61337b565b90508135613c4b81613274565b815260208201356001600160401b03811115613c65575f80fd5b613c71848285016133e3565b60208301525092915050565b5f8060408385031215613c8e575f80fd5b8235613c9981613a3a565b915060208301356001600160401b03811115613cb3575f80fd5b613c1c85828601613c26565b63ffffffff811681146129c6575f80fd5b8035610b2b81613cbf565b5f6101208284031215613cec575f80fd5b613cf461339d565b905081356001600160401b03811115613d0b575f80fd5b613d17848285016133e3565b825250602082810135908201526040808301359082015260608083013590820152613d4460808301613cd0565b6080820152613d5560a08301613cd0565b60a0820152613d6660c083016135e5565b60c0820152613d7760e083016135e5565b60e08201526101008201356001600160401b03811115613d95575f80fd5b613da1848285016133e3565b6101008301525092915050565b5f8060408385031215613dbf575f80fd5b8235613dca81613a3a565b915060208301356001600160401b03811115613de4575f80fd5b613c1c85828601613cdb565b5f805f60608486031215613e02575f80fd5b8335613e0d81613274565b9250613e1b60208501613883565b915060408401356135b081613543565b5f8060408385031215613e3c575f80fd5b8235613e4781613274565b915060208301356001600160401b03811115613e61575f80fd5b613c1c85828601613491565b5f6102408284031215613e7e575f80fd5b613e866133c0565b9050613e9182613288565b8152613e9f60208301613288565b6020820152613eb060408301613288565b6040820152613ec160608301613288565b6060820152613ed260808301613288565b6080820152613ee360a08301613288565b60a0820152613ef460c08301613288565b60c0820152613f0560e08301613288565b60e0820152613f176101008301613288565b610100820152613f2a6101208301613288565b610120820152613f3d6101408301613288565b610140820152613f506101608301613288565b610160820152613f636101808301613288565b610180820152613f766101a08301613288565b6101a0820152613f896101c08301613288565b6101c0820152613f9c6101e08301613288565b6101e0820152613faf6102008301613288565b610200820152613fc26102208301613288565b61022082015292915050565b5f806102608385031215613fe0575f80fd5b8235613feb81613274565b9150613ffa8460208501613e6d565b90509250929050565b5f60408284031215614013575f80fd5b61401b61337b565b823581526020928301359281019290925250919050565b5f60e08284031215614042575f80fd5b61404a6132c9565b9050813561405781613274565b81526140668360208401614003565b602082015260608201356001600160401b03811115614083575f80fd5b61408f848285016133e3565b60408301525060808201356140a3816135bb565b60608201526140b460a083016135cd565b60808201526140c560c083016135cd565b60a082015292915050565b5f805f606084860312156140e2575f80fd5b83356140ed81613274565b925060208401356001600160401b03811115614107575f80fd5b61359f86828701614032565b5f60808284031215614123575f80fd5b61412b613336565b9050813561413881613a3a565b81526020820135614148816135d8565b602082015260408201356001600160401b03811115614165575f80fd5b614171848285016133e3565b604083015250606082013561390781613cbf565b5f805f60608486031215614197575f80fd5b83356141a281613274565b925060208401356001600160401b038111156141bc575f80fd5b61359f86828701614113565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081525f610bb560208301846141c8565b5f805f6060848603121561421a575f80fd5b833561422581613a3a565b925060208401356001600160401b0381111561423f575f80fd5b61359f86828701613cdb565b5f60e0828403121561425b575f80fd5b614263613314565b905061426e82613288565b815260208201356001600160401b03811115614288575f80fd5b614294848285016133e3565b602083015250604082810135908201526142b060608301613cd0565b60608201526142c160808301613cd0565b60808201526142d260a083016135cd565b60a082015260c08201356001600160401b038111156142ef575f80fd5b6142fb848285016133e3565b60c08301525092915050565b5f805f60608486031215614319575f80fd5b833561432481613a3a565b925060208401356001600160401b0381111561433e575f80fd5b61359f8682870161424b565b5f805f610280848603121561435d575f80fd5b833561436881613274565b92506143778560208601613e6d565b91506102608401356135b081613543565b5f60208284031215614398575f80fd5b81356132ae81613472565b5f80604083850312156143b4575f80fd5b823561399c81613a3a565b5f60e082840312156143cf575f80fd5b6143d7613314565b905081356143e481613274565b815260208201356143f4816139e3565b60208201526040820135614407816135d8565b6040820152606082013561441a816135d8565b606082015261442b608083016135e5565b608082015260a0828101359082015260c09182013591810191909152919050565b5f805f610120848603121561445f575f80fd5b833561446a81613274565b925061447985602086016143bf565b91506101008401356135b081613543565b5f805f6060848603121561449c575f80fd5b83356144a781613274565b92506144b560208501613883565b915060408401356001600160401b038111156144cf575f80fd5b61385e86828701613895565b5f8061010083850312156144ed575f80fd5b82356144f881613274565b9150613ffa84602085016143bf565b6020815261454c60208201835160ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f602083015160a08084015261370f60c08401826141c8565b5f805f60608486031215614577575f80fd5b833561458281613274565b925060208401356001600160401b0381111561459c575f80fd5b61359f86828701613a5a565b5f80604083850312156145b9575f80fd5b82356145c481613274565b915060208301356001600160401b038111156145de575f80fd5b613c1c85828601614032565b60808101610bb8828460ff815116825260ff602082015116602083015263ffffffff604082015116604083015263ffffffff60608201511660608301525050565b5f610200828403121561463c575f80fd5b61464461339d565b905061464f82613288565b815261465d60208301613288565b602082015261466f8360408401614003565b60408201526146818360808401614003565b60608201526146938360c08401614003565b60808201526146a6836101008401614003565b60a08201526146b9836101408401614003565b60c08201526146cc836101808401614003565b60e08201526146df836101c08401614003565b61010082015292915050565b5f8061022083850312156146fd575f80fd5b823561470881613274565b9150613ffa846020850161462b565b5f805f60608486031215614729575f80fd5b833561473481613a3a565b925060208401356001600160401b0381111561474e575f80fd5b61359f86828701613c26565b5f805f6060848603121561476c575f80fd5b833561477781613543565b92506020840135613e1b81613543565b5f8060408385031215614798575f80fd5b823561399c816139e3565b5f805f61024084860312156147b6575f80fd5b83356147c181613274565b92506147d0856020860161462b565b91506102208401356135b081613543565b5f805f606084860312156147f3575f80fd5b83356147fe81613274565b92506020840135613e1b8161372e565b5f806040838503121561481f575f80fd5b823561482a81613a3a565b915060208301356001600160401b03811115614844575f80fd5b613c1c8582860161424b565b60ff19811681146129c6575f80fd5b5f8060408385031215614870575f80fd5b823561487b81613543565b915060208301356139ac81614850565b5f806040838503121561489c575f80fd5b82356148a781613274565b915060208301356001600160401b038111156148c1575f80fd5b613c1c85828601614113565b5f805f80608085870312156148e0575f80fd5b84356148eb81613274565b935060208501356148fb8161372e565b925060408501356001600160401b03811115614915575f80fd5b61396487828801613748565b602081525f825160c0602084015261493c60e08401826141c8565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161498f60a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526149ab82826141c8565b95945050505050565b5f602082840312156149c4575f80fd5b5051919050565b602081526149e56020820183516001600160601b03169052565b5f60208301516101006040840152614a016101208401826141c8565b90506040840151614a1d60608501826001600160601b03169052565b506060840151838203601f19016080850152614a3982826141c8565b9150506080840151601f198483030160a0850152614a5782826141c8565b91505060a0840151614a7260c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e08401518015156101008501525b509392505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151614ad9606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152614b036101008401826141c8565b905060a0840151601f198483030160c0850152614b2082826141c8565b91505060c0840151614a9560e085018264ffffffffff169052565b6020815261ffff82511660208201526001600160601b0360208301511660408201525f604083015160806060840152614b7760a08401826141c8565b905064ffffffffff60608501511660808401528091505092915050565b60208152614bae6020820183516001600160601b03169052565b5f6020830151614bc960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e083015164ffffffffff811661010084015250610100830151610220610120840152614c666102408401826141c8565b9050610120840151601f1984830301610140850152614c8582826141c8565b915050610140840151614c9f61016085018261ffff169052565b5061016084015161ffff8116610180850152506101808401516001600160601b0381166101a0850152506101a08401516001600160601b0381166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501525061020084015164ffffffffff8116610220850152614a95565b6001600160c01b031991909116815260200190565b602081526001600160601b0382511660208201525f602083015160408084015261370f60608401826141c8565b602081525f82516101206020840152614d826101408401826141c8565b90506020840151604084015260408401516060840152606084015160808401526080840151614db960a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526149ab82826141c8565b5f60208284031215614e16575f80fd5b81516132ae816135d8565b81516001600160601b0316815261024081016020830151614e4d60208401826001600160601b03169052565b506040830151614e6860408401826001600160601b03169052565b506060830151614e8360608401826001600160601b03169052565b506080830151614e9e60808401826001600160601b03169052565b5060a0830151614eb960a08401826001600160601b03169052565b5060c0830151614ed460c08401826001600160601b03169052565b5060e0830151614eef60e08401826001600160601b03169052565b50610100830151614f0c6101008401826001600160601b03169052565b50610120830151614f296101208401826001600160601b03169052565b50610140830151614f466101408401826001600160601b03169052565b50610160830151614f636101608401826001600160601b03169052565b50610180830151614f806101808401826001600160601b03169052565b506101a0830151614f9d6101a08401826001600160601b03169052565b506101c0830151614fba6101c08401826001600160601b03169052565b506101e0830151614fd76101e08401826001600160601b03169052565b50610200830151614ff46102008401826001600160601b03169052565b506102208301516126de6102208401826001600160601b03169052565b602081526001600160601b0382511660208201525f6020830151615042604084018280518252602090810151910152565b50604083015160e0608084015261505d6101008401826141c8565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f6040830151608060608401526150d960a08401826141c8565b905063ffffffff60608501511660808401528091505092915050565b600181811c9082168061510957607f821691505b60208210810361512757634e487b7160e01b5f52602260045260245ffd5b50919050565b602081526001600160601b0382511660208201525f602083015160e0604084015261515c6101008401826141c8565b90506040840151606084015263ffffffff6060850151166080840152608084015161518f60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526149ab82826141c8565b5f60e0820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151151560608301526080830151615210608084018215159052565b5060a083015160a083015260c083015160c083015292915050565b5f6020828403121561523b575f80fd5b81516132ae81613472565b81516001600160601b03168152602080830151610200830191615273908401826001600160601b03169052565b506040830151615290604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151805161010084015260208101516101208401525060c0830151805161014084015260208101516101608401525060e0830151805161018084015260208101516101a08401525061010083015180516101c084015260208101516101e08401526126de565b5f8085851115615336575f80fd5b83861115615342575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156126de576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b601f821115610a6e57805f5260205f20601f840160051c810160208510156153e95750805b601f840160051c820191505b8181101561141b575f81556001016153f5565b81516001600160401b03811115615421576154216132b5565b6154358161542f84546150f5565b846153c4565b6020601f821160018114615467575f83156154505750848201515b5f19600385901b1c1916600184901b17845561141b565b5f84815260208120601f198516915b828110156154965787850151825560209485019460019092019101615476565b50848210156154b357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156154d2575f80fd5b81516132ae81613543565b5f602082840312156154ed575f80fd5b81516132ae81614850565b5f6001820161551557634e487b7160e01b5f52601160045260245ffd5b5060010190565b5f6020828403121561552c575f80fd5b81516132ae816139e3565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b5f82518060208501845e5f920191825250919050565b5f806040838503121561558d575f80fd5b8251615598816135d8565b60208401519092506139ac81613cbf565b5f602082840312156155b9575f80fd5b81516132ae81613cbf565b5f602082840312156155d4575f80fd5b81516132ae81613274565b634e487b7160e01b5f52600160045260245ffdfef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212203f7e2abdd28b74f1a849961e03bf9aec5e8f3e23f3041133b51f70f75a4fcf8b64736f6c634300081a0033",
3332
+ "linkReferences": {
3333
+ "contracts/type/Amount.sol": {
3334
+ "AmountLib": [
3335
+ {
3336
+ "length": 20,
3337
+ "start": 11830
3338
+ },
3339
+ {
3340
+ "length": 20,
3341
+ "start": 12120
3342
+ }
3343
+ ]
3344
+ },
3345
+ "contracts/type/Blocknumber.sol": {
3346
+ "BlocknumberLib": [
3347
+ {
3348
+ "length": 20,
3349
+ "start": 11685
3350
+ },
3351
+ {
3352
+ "length": 20,
3353
+ "start": 11925
3354
+ }
3355
+ ]
3356
+ },
3357
+ "contracts/type/ClaimId.sol": {
3358
+ "ClaimIdLib": [
3359
+ {
3360
+ "length": 20,
3361
+ "start": 8862
3362
+ }
3363
+ ]
3364
+ },
3365
+ "contracts/type/DistributorType.sol": {
3366
+ "DistributorTypeLib": [
3367
+ {
3368
+ "length": 20,
3369
+ "start": 3448
3370
+ },
3371
+ {
3372
+ "length": 20,
3373
+ "start": 4158
3374
+ },
3375
+ {
3376
+ "length": 20,
3377
+ "start": 5692
3378
+ }
3379
+ ]
3380
+ },
3381
+ "contracts/type/Key32.sol": {
3382
+ "Key32Lib": [
3383
+ {
3384
+ "length": 20,
3385
+ "start": 6805
3386
+ },
3387
+ {
3388
+ "length": 20,
3389
+ "start": 7435
3390
+ },
3391
+ {
3392
+ "length": 20,
3393
+ "start": 7549
3394
+ },
3395
+ {
3396
+ "length": 20,
3397
+ "start": 7880
3398
+ },
3399
+ {
3400
+ "length": 20,
3401
+ "start": 8553
3402
+ },
3403
+ {
3404
+ "length": 20,
3405
+ "start": 8667
3406
+ },
3407
+ {
3408
+ "length": 20,
3409
+ "start": 9411
3410
+ },
3411
+ {
3412
+ "length": 20,
3413
+ "start": 9525
3414
+ }
3415
+ ]
3416
+ },
3417
+ "contracts/type/NftId.sol": {
3418
+ "NftIdLib": [
3419
+ {
3420
+ "length": 20,
3421
+ "start": 7304
3422
+ }
3423
+ ]
3424
+ },
3425
+ "contracts/type/ObjectType.sol": {
3426
+ "ObjectTypeLib": [
3427
+ {
3428
+ "length": 20,
3429
+ "start": 7999
3430
+ }
3431
+ ]
3432
+ },
3433
+ "contracts/type/PayoutId.sol": {
3434
+ "PayoutIdLib": [
3435
+ {
3436
+ "length": 20,
3437
+ "start": 8939
3438
+ }
3439
+ ]
3440
+ },
3441
+ "contracts/type/Referral.sol": {
3442
+ "ReferralLib": [
3443
+ {
3444
+ "length": 20,
3445
+ "start": 4316
3446
+ },
3447
+ {
3448
+ "length": 20,
3449
+ "start": 6279
3450
+ },
3451
+ {
3452
+ "length": 20,
3453
+ "start": 6619
3454
+ }
3455
+ ]
3456
+ },
3457
+ "contracts/type/RequestId.sol": {
3458
+ "RequestIdLib": [
3459
+ {
3460
+ "length": 20,
3461
+ "start": 2758
3462
+ },
3463
+ {
3464
+ "length": 20,
3465
+ "start": 3077
3466
+ },
3467
+ {
3468
+ "length": 20,
3469
+ "start": 6392
3470
+ },
3471
+ {
3472
+ "length": 20,
3473
+ "start": 7759
3474
+ }
3475
+ ]
3476
+ },
3477
+ "contracts/type/RiskId.sol": {
3478
+ "RiskIdLib": [
3479
+ {
3480
+ "length": 20,
3481
+ "start": 3290
3482
+ },
3483
+ {
3484
+ "length": 20,
3485
+ "start": 4649
3486
+ },
3487
+ {
3488
+ "length": 20,
3489
+ "start": 5859
3490
+ }
3491
+ ]
3492
+ },
3493
+ "contracts/type/StateId.sol": {
3494
+ "StateIdLib": [
3495
+ {
3496
+ "length": 20,
3497
+ "start": 3643
3498
+ },
3499
+ {
3500
+ "length": 20,
3501
+ "start": 6031
3502
+ },
3503
+ {
3504
+ "length": 20,
3505
+ "start": 6530
3506
+ },
3507
+ {
3508
+ "length": 20,
3509
+ "start": 8172
3510
+ },
3511
+ {
3512
+ "length": 20,
3513
+ "start": 8999
3514
+ },
3515
+ {
3516
+ "length": 20,
3517
+ "start": 9186
3518
+ }
3519
+ ]
3520
+ }
3521
+ },
3522
+ "deployedLinkReferences": {
3523
+ "contracts/type/Amount.sol": {
3524
+ "AmountLib": [
3525
+ {
3526
+ "length": 20,
3527
+ "start": 11802
3528
+ },
3529
+ {
3530
+ "length": 20,
3531
+ "start": 12092
3532
+ }
3533
+ ]
3534
+ },
3535
+ "contracts/type/Blocknumber.sol": {
3536
+ "BlocknumberLib": [
3537
+ {
3538
+ "length": 20,
3539
+ "start": 11657
3540
+ },
3541
+ {
3542
+ "length": 20,
3543
+ "start": 11897
3544
+ }
3545
+ ]
3546
+ },
3547
+ "contracts/type/ClaimId.sol": {
3548
+ "ClaimIdLib": [
3549
+ {
3550
+ "length": 20,
3551
+ "start": 8834
3552
+ }
3553
+ ]
3554
+ },
3555
+ "contracts/type/DistributorType.sol": {
3556
+ "DistributorTypeLib": [
3557
+ {
3558
+ "length": 20,
3559
+ "start": 3420
3560
+ },
3561
+ {
3562
+ "length": 20,
3563
+ "start": 4130
3564
+ },
3565
+ {
3566
+ "length": 20,
3567
+ "start": 5664
3568
+ }
3569
+ ]
3570
+ },
3571
+ "contracts/type/Key32.sol": {
3572
+ "Key32Lib": [
3573
+ {
3574
+ "length": 20,
3575
+ "start": 6777
3576
+ },
3577
+ {
3578
+ "length": 20,
3579
+ "start": 7407
3580
+ },
3581
+ {
3582
+ "length": 20,
3583
+ "start": 7521
3584
+ },
3585
+ {
3586
+ "length": 20,
3587
+ "start": 7852
3588
+ },
3589
+ {
3590
+ "length": 20,
3591
+ "start": 8525
3592
+ },
3593
+ {
3594
+ "length": 20,
3595
+ "start": 8639
3596
+ },
3597
+ {
3598
+ "length": 20,
3599
+ "start": 9383
3600
+ },
3601
+ {
3602
+ "length": 20,
3603
+ "start": 9497
3604
+ }
3605
+ ]
3606
+ },
3607
+ "contracts/type/NftId.sol": {
3608
+ "NftIdLib": [
3609
+ {
3610
+ "length": 20,
3611
+ "start": 7276
3612
+ }
3613
+ ]
3614
+ },
3615
+ "contracts/type/ObjectType.sol": {
3616
+ "ObjectTypeLib": [
3617
+ {
3618
+ "length": 20,
3619
+ "start": 7971
3620
+ }
3621
+ ]
3622
+ },
3623
+ "contracts/type/PayoutId.sol": {
3624
+ "PayoutIdLib": [
3625
+ {
3626
+ "length": 20,
3627
+ "start": 8911
3628
+ }
3629
+ ]
3630
+ },
3631
+ "contracts/type/Referral.sol": {
3632
+ "ReferralLib": [
3633
+ {
3634
+ "length": 20,
3635
+ "start": 4288
3636
+ },
3637
+ {
3638
+ "length": 20,
3639
+ "start": 6251
3640
+ },
3641
+ {
3642
+ "length": 20,
3643
+ "start": 6591
3644
+ }
3645
+ ]
3646
+ },
3647
+ "contracts/type/RequestId.sol": {
3648
+ "RequestIdLib": [
3649
+ {
3650
+ "length": 20,
3651
+ "start": 2730
3652
+ },
3653
+ {
3654
+ "length": 20,
3655
+ "start": 3049
3656
+ },
3657
+ {
3658
+ "length": 20,
3659
+ "start": 6364
3660
+ },
3661
+ {
3662
+ "length": 20,
3663
+ "start": 7731
3664
+ }
3665
+ ]
3666
+ },
3667
+ "contracts/type/RiskId.sol": {
3668
+ "RiskIdLib": [
3669
+ {
3670
+ "length": 20,
3671
+ "start": 3262
3672
+ },
3673
+ {
3674
+ "length": 20,
3675
+ "start": 4621
3676
+ },
3677
+ {
3678
+ "length": 20,
3679
+ "start": 5831
3680
+ }
3681
+ ]
3682
+ },
3683
+ "contracts/type/StateId.sol": {
3684
+ "StateIdLib": [
3685
+ {
3686
+ "length": 20,
3687
+ "start": 3615
3688
+ },
3689
+ {
3690
+ "length": 20,
3691
+ "start": 6003
3692
+ },
3693
+ {
3694
+ "length": 20,
3695
+ "start": 6502
3696
+ },
3697
+ {
3698
+ "length": 20,
3699
+ "start": 8144
3700
+ },
3701
+ {
3702
+ "length": 20,
3703
+ "start": 8971
3704
+ },
3705
+ {
3706
+ "length": 20,
3707
+ "start": 9158
3708
+ }
3709
+ ]
3710
+ }
3711
+ }
3712
+ }