@etherisc/gif-next 0.0.2-d3ee0cc-268 → 0.0.2-d442a8c-073

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