@etherisc/gif-next 0.0.2-edf4742-498 → 0.0.2-ee01d06-525

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