@etherisc/gif-next 0.0.2-fd275d2-234 → 0.0.2-fd4931b-974

Sign up to get free protection for your applications and to get access to all the features.
Files changed (545) hide show
  1. package/README.md +28 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1410 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1343 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +799 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +969 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +808 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +73 -104
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +299 -1344
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +356 -181
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +453 -3116
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +612 -181
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +132 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +485 -337
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +493 -400
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +330 -127
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3468 -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/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
  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 +1 -1
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  42. package/artifacts/contracts/instance/module/{ISetup.sol/ISetup.json → IComponents.sol/IComponents.json} +2 -2
  43. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  46. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  47. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  48. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  49. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1091 -0
  50. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  51. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +723 -0
  52. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  53. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +284 -360
  54. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  55. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1148 -0
  56. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  57. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1044 -0
  58. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  59. package/artifacts/contracts/pool/Pool.sol/Pool.json +1559 -0
  60. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1411 -0
  62. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +719 -0
  64. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  65. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +820 -0
  66. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +699 -0
  68. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1264 -0
  70. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +787 -0
  72. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  73. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +231 -204
  74. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  76. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  77. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +701 -0
  78. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  79. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +244 -383
  80. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  81. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +989 -0
  82. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  83. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → product/IProductService.sol/IProductService.json} +140 -86
  84. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1132 -0
  86. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +731 -0
  88. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PricingService.sol/PricingService.json +969 -0
  90. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +755 -0
  92. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  93. package/artifacts/contracts/product/Product.sol/Product.json +1391 -0
  94. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  95. package/artifacts/contracts/product/ProductService.sol/ProductService.json +673 -0
  96. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +675 -0
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  99. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +345 -121
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +368 -222
  104. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  105. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  106. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/Registry.sol/Registry.json +434 -197
  108. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  109. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +298 -0
  110. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +438 -333
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +324 -136
  114. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1112 -0
  116. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +449 -67
  120. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  121. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  122. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  123. package/artifacts/contracts/shared/Component.sol/Component.json +890 -0
  124. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  125. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1461 -0
  126. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +765 -0
  128. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +196 -216
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  132. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IComponent.sol/IComponent.json} +344 -165
  134. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +854 -0
  136. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +699 -0
  138. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  139. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -1
  140. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  141. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  142. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  144. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  146. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  147. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  148. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  149. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  150. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  151. package/artifacts/contracts/shared/IService.sol/IService.json +84 -178
  152. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  154. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  155. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1030 -0
  156. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  157. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +581 -0
  158. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  159. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  160. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  161. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +314 -0
  162. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  163. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +109 -29
  164. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  165. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -61
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -53
  170. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  171. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  172. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  173. package/artifacts/contracts/shared/Service.sol/Service.json +185 -165
  174. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  175. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  176. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  177. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  178. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  180. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  181. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1770 -0
  182. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  183. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +626 -0
  184. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  185. package/artifacts/contracts/staking/Staking.sol/Staking.json +2500 -0
  186. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  187. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +844 -0
  188. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  189. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +263 -0
  190. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  191. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +960 -0
  192. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  193. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +694 -0
  194. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  195. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +308 -0
  196. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  197. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  198. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  199. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  200. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  201. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +16 -3
  202. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  204. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  205. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  206. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  207. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  208. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  209. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  210. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  211. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +185 -0
  212. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  213. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  214. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  215. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  216. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  217. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  218. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  219. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  220. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  221. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  222. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  223. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  224. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +148 -0
  226. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  227. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  228. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  229. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  230. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  231. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  232. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  233. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  234. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  235. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  236. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  238. package/contracts/distribution/Distribution.sol +263 -0
  239. package/contracts/distribution/DistributionService.sol +298 -0
  240. package/contracts/{instance/service → distribution}/DistributionServiceManager.sol +20 -20
  241. package/contracts/distribution/IDistributionComponent.sol +66 -0
  242. package/contracts/distribution/IDistributionService.sol +81 -0
  243. package/contracts/instance/BundleManager.sol +24 -50
  244. package/contracts/instance/IInstance.sol +57 -36
  245. package/contracts/instance/IInstanceService.sol +65 -14
  246. package/contracts/instance/Instance.sol +147 -373
  247. package/contracts/instance/InstanceAccessManager.sol +432 -177
  248. package/contracts/instance/InstanceAuthorizationsLib.sol +336 -0
  249. package/contracts/instance/InstanceReader.sol +136 -85
  250. package/contracts/instance/InstanceService.sol +304 -169
  251. package/contracts/instance/InstanceServiceManager.sol +12 -25
  252. package/contracts/instance/InstanceStore.sol +260 -0
  253. package/contracts/instance/base/BalanceStore.sol +118 -0
  254. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  255. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +17 -30
  256. package/contracts/instance/module/IAccess.sol +37 -21
  257. package/contracts/instance/module/IBundle.sol +8 -8
  258. package/contracts/instance/module/IComponents.sol +52 -0
  259. package/contracts/instance/module/IDistribution.sol +7 -4
  260. package/contracts/instance/module/IPolicy.sol +56 -17
  261. package/contracts/instance/module/IRisk.sol +1 -1
  262. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  263. package/contracts/pool/BundleService.sol +296 -0
  264. package/contracts/pool/BundleServiceManager.sol +42 -0
  265. package/contracts/pool/IBundleService.sol +106 -0
  266. package/contracts/pool/IPoolComponent.sol +112 -0
  267. package/contracts/pool/IPoolService.sol +147 -0
  268. package/contracts/pool/Pool.sol +299 -0
  269. package/contracts/pool/PoolService.sol +424 -0
  270. package/contracts/pool/PoolServiceManager.sol +42 -0
  271. package/contracts/product/ApplicationService.sol +254 -0
  272. package/contracts/product/ApplicationServiceManager.sol +38 -0
  273. package/contracts/product/ClaimService.sol +437 -0
  274. package/contracts/product/ClaimServiceManager.sol +38 -0
  275. package/contracts/product/IApplicationService.sol +62 -0
  276. package/contracts/product/IClaimService.sol +93 -0
  277. package/contracts/product/IPolicyService.sol +78 -0
  278. package/contracts/product/IPricingService.sol +39 -0
  279. package/contracts/product/IProductComponent.sol +42 -0
  280. package/contracts/product/IProductService.sol +33 -0
  281. package/contracts/product/PolicyService.sol +473 -0
  282. package/contracts/product/PolicyServiceManager.sol +42 -0
  283. package/contracts/product/PricingService.sol +301 -0
  284. package/contracts/product/PricingServiceManager.sol +42 -0
  285. package/contracts/product/Product.sol +377 -0
  286. package/contracts/product/ProductService.sol +124 -0
  287. package/contracts/product/ProductServiceManager.sol +42 -0
  288. package/contracts/registry/ChainNft.sol +14 -0
  289. package/contracts/registry/IRegistry.sol +65 -28
  290. package/contracts/registry/IRegistryService.sol +46 -28
  291. package/contracts/registry/ITransferInterceptor.sol +1 -0
  292. package/contracts/registry/Registry.sol +353 -238
  293. package/contracts/registry/RegistryAccessManager.sol +167 -0
  294. package/contracts/registry/RegistryService.sol +165 -195
  295. package/contracts/registry/RegistryServiceManager.sol +34 -42
  296. package/contracts/registry/ReleaseManager.sol +530 -0
  297. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  298. package/contracts/registry/TokenRegistry.sol +261 -53
  299. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  300. package/contracts/shared/Component.sol +286 -0
  301. package/contracts/shared/ComponentService.sol +595 -0
  302. package/contracts/shared/ComponentServiceManager.sol +35 -0
  303. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  304. package/contracts/shared/ERC165.sol +14 -12
  305. package/contracts/shared/IComponent.sol +74 -0
  306. package/contracts/shared/IComponentService.sol +91 -0
  307. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  308. package/contracts/{instance/base → shared}/IKeyValueStore.sol +14 -10
  309. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  310. package/contracts/shared/INftOwnable.sol +12 -11
  311. package/contracts/shared/IPolicyHolder.sol +45 -0
  312. package/contracts/shared/IRegisterable.sol +4 -6
  313. package/contracts/shared/IRegistryLinked.sol +11 -0
  314. package/contracts/shared/IService.sol +7 -4
  315. package/contracts/shared/IVersionable.sol +5 -48
  316. package/contracts/shared/InstanceLinkedComponent.sol +145 -0
  317. package/contracts/shared/KeyValueStore.sol +130 -0
  318. package/contracts/{instance/base → shared}/Lifecycle.sol +28 -7
  319. package/contracts/shared/NftIdSetManager.sol +69 -0
  320. package/contracts/shared/NftOwnable.sol +64 -80
  321. package/contracts/shared/PolicyHolder.sol +101 -0
  322. package/contracts/shared/ProxyManager.sol +126 -25
  323. package/contracts/shared/Registerable.sol +26 -41
  324. package/contracts/shared/RegistryLinked.sol +43 -0
  325. package/contracts/shared/Service.sol +45 -23
  326. package/contracts/shared/TokenHandler.sol +37 -6
  327. package/contracts/shared/Versionable.sol +4 -92
  328. package/contracts/staking/IStaking.sol +113 -0
  329. package/contracts/staking/IStakingService.sol +122 -0
  330. package/contracts/staking/Staking.sol +348 -0
  331. package/contracts/staking/StakingManager.sol +52 -0
  332. package/contracts/staking/StakingReader.sol +92 -0
  333. package/contracts/staking/StakingService.sol +294 -0
  334. package/contracts/staking/StakingServiceManager.sol +44 -0
  335. package/contracts/staking/TargetManagerLib.sol +141 -0
  336. package/contracts/type/Amount.sol +114 -0
  337. package/contracts/{types → type}/Blocknumber.sol +7 -1
  338. package/contracts/type/ClaimId.sol +75 -0
  339. package/contracts/{types → type}/DistributorType.sol +2 -2
  340. package/contracts/{types → type}/Fee.sol +32 -22
  341. package/contracts/{types → type}/NftId.sol +17 -11
  342. package/contracts/{types → type}/NftIdSet.sol +1 -1
  343. package/contracts/{types → type}/ObjectType.sol +26 -9
  344. package/contracts/type/PayoutId.sol +82 -0
  345. package/contracts/{types → type}/Referral.sol +4 -0
  346. package/contracts/type/RoleId.sol +143 -0
  347. package/contracts/type/Seconds.sol +63 -0
  348. package/contracts/{types → type}/StateId.sol +24 -6
  349. package/contracts/{types → type}/Timestamp.sol +18 -13
  350. package/contracts/{types → type}/UFixed.sol +1 -0
  351. package/contracts/{types → type}/Version.sol +1 -0
  352. package/package.json +3 -3
  353. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  354. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  355. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  356. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  357. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  358. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  359. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  360. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  361. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  362. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  363. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  364. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  365. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -787
  366. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  367. package/artifacts/contracts/components/Product.sol/Product.json +0 -729
  368. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  369. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  370. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  371. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  372. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  373. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  374. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  375. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  376. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  377. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  378. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  379. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  380. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  381. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  382. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  383. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  384. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  385. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  386. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  387. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  388. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  389. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  390. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  391. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  392. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  393. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  394. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  395. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  396. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  397. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  398. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  399. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  400. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  401. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  402. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  403. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  404. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  405. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  406. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  407. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  408. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +0 -101
  409. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  410. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  411. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  412. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  413. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  414. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  415. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -272
  416. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  417. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  418. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  419. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  420. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  421. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  422. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  423. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  424. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  425. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  426. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  427. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  428. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  429. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  430. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  431. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  432. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  433. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
  434. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  435. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  436. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  437. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  438. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  439. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -971
  440. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  441. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -460
  442. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  443. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1147
  444. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  445. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -488
  446. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  447. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  448. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  449. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  450. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  451. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  452. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  453. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  454. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  455. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  456. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  457. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  458. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  459. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  460. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  461. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  462. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  463. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  464. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  465. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  466. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  467. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  468. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  469. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  470. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  471. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  472. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  473. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  474. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  475. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  476. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  477. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  478. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  479. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  480. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  481. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  482. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  483. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  484. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  485. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  486. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  487. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  488. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  489. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  490. package/contracts/components/BaseComponent.sol +0 -91
  491. package/contracts/components/Distribution.sol +0 -163
  492. package/contracts/components/IBaseComponent.sol +0 -25
  493. package/contracts/components/IDistributionComponent.sol +0 -44
  494. package/contracts/components/IPoolComponent.sol +0 -62
  495. package/contracts/components/IProductComponent.sol +0 -35
  496. package/contracts/components/Pool.sol +0 -247
  497. package/contracts/components/Product.sol +0 -289
  498. package/contracts/experiment/cloning/Cloner.sol +0 -47
  499. package/contracts/experiment/errors/Require.sol +0 -38
  500. package/contracts/experiment/errors/Revert.sol +0 -44
  501. package/contracts/experiment/inheritance/A.sol +0 -53
  502. package/contracts/experiment/inheritance/B.sol +0 -28
  503. package/contracts/experiment/inheritance/C.sol +0 -34
  504. package/contracts/experiment/inheritance/IA.sol +0 -13
  505. package/contracts/experiment/inheritance/IB.sol +0 -10
  506. package/contracts/experiment/inheritance/IC.sol +0 -12
  507. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  508. package/contracts/experiment/statemachine/ISM.sol +0 -25
  509. package/contracts/experiment/statemachine/SM.sol +0 -57
  510. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  511. package/contracts/experiment/types/TypeA.sol +0 -47
  512. package/contracts/experiment/types/TypeB.sol +0 -29
  513. package/contracts/instance/AccessManagedSimple.sol +0 -115
  514. package/contracts/instance/AccessManagerSimple.sol +0 -692
  515. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  516. package/contracts/instance/base/ComponentServiceBase.sol +0 -134
  517. package/contracts/instance/base/IInstanceBase.sol +0 -23
  518. package/contracts/instance/base/KeyValueStore.sol +0 -172
  519. package/contracts/instance/module/ISetup.sol +0 -46
  520. package/contracts/instance/module/ITreasury.sol +0 -23
  521. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  522. package/contracts/instance/service/DistributionService.sol +0 -88
  523. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  524. package/contracts/instance/service/IDistributionService.sol +0 -12
  525. package/contracts/instance/service/IPoolService.sol +0 -43
  526. package/contracts/instance/service/IProductService.sol +0 -110
  527. package/contracts/instance/service/PoolService.sol +0 -206
  528. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  529. package/contracts/instance/service/ProductService.sol +0 -561
  530. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  531. package/contracts/shared/ContractDeployerLib.sol +0 -72
  532. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  533. package/contracts/test/TestFee.sol +0 -25
  534. package/contracts/test/TestRegisterable.sol +0 -18
  535. package/contracts/test/TestRoleId.sol +0 -14
  536. package/contracts/test/TestService.sol +0 -24
  537. package/contracts/test/TestToken.sol +0 -26
  538. package/contracts/test/TestVersion.sol +0 -44
  539. package/contracts/test/TestVersionable.sol +0 -17
  540. package/contracts/types/ChainId.sol +0 -38
  541. package/contracts/types/NumberId.sol +0 -52
  542. package/contracts/types/RoleId.sol +0 -90
  543. /package/contracts/{types → type}/AddressSet.sol +0 -0
  544. /package/contracts/{types → type}/Key32.sol +0 -0
  545. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -0,0 +1,3468 @@
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": "address",
1446
+ "name": "updatedBy",
1447
+ "type": "address"
1448
+ },
1449
+ {
1450
+ "internalType": "Blocknumber",
1451
+ "name": "updatedIn",
1452
+ "type": "uint32"
1453
+ },
1454
+ {
1455
+ "internalType": "Blocknumber",
1456
+ "name": "createdIn",
1457
+ "type": "uint32"
1458
+ }
1459
+ ],
1460
+ "internalType": "struct IKeyValueStore.Metadata",
1461
+ "name": "metadata",
1462
+ "type": "tuple"
1463
+ },
1464
+ {
1465
+ "internalType": "bytes",
1466
+ "name": "data",
1467
+ "type": "bytes"
1468
+ }
1469
+ ],
1470
+ "internalType": "struct IKeyValueStore.Value",
1471
+ "name": "value",
1472
+ "type": "tuple"
1473
+ }
1474
+ ],
1475
+ "stateMutability": "view",
1476
+ "type": "function"
1477
+ },
1478
+ {
1479
+ "inputs": [
1480
+ {
1481
+ "internalType": "NftId",
1482
+ "name": "targetNftId",
1483
+ "type": "uint96"
1484
+ }
1485
+ ],
1486
+ "name": "getAmounts",
1487
+ "outputs": [
1488
+ {
1489
+ "internalType": "Amount",
1490
+ "name": "balanceAmount",
1491
+ "type": "uint96"
1492
+ },
1493
+ {
1494
+ "internalType": "Amount",
1495
+ "name": "lockedAmount",
1496
+ "type": "uint96"
1497
+ },
1498
+ {
1499
+ "internalType": "Amount",
1500
+ "name": "feeAmount",
1501
+ "type": "uint96"
1502
+ }
1503
+ ],
1504
+ "stateMutability": "view",
1505
+ "type": "function"
1506
+ },
1507
+ {
1508
+ "inputs": [
1509
+ {
1510
+ "internalType": "NftId",
1511
+ "name": "targetNftId",
1512
+ "type": "uint96"
1513
+ }
1514
+ ],
1515
+ "name": "getBalanceAmount",
1516
+ "outputs": [
1517
+ {
1518
+ "internalType": "Amount",
1519
+ "name": "balanceAmount",
1520
+ "type": "uint96"
1521
+ }
1522
+ ],
1523
+ "stateMutability": "view",
1524
+ "type": "function"
1525
+ },
1526
+ {
1527
+ "inputs": [
1528
+ {
1529
+ "internalType": "Key32",
1530
+ "name": "key32",
1531
+ "type": "bytes32"
1532
+ }
1533
+ ],
1534
+ "name": "getData",
1535
+ "outputs": [
1536
+ {
1537
+ "internalType": "bytes",
1538
+ "name": "data",
1539
+ "type": "bytes"
1540
+ }
1541
+ ],
1542
+ "stateMutability": "view",
1543
+ "type": "function"
1544
+ },
1545
+ {
1546
+ "inputs": [
1547
+ {
1548
+ "internalType": "NftId",
1549
+ "name": "targetNftId",
1550
+ "type": "uint96"
1551
+ }
1552
+ ],
1553
+ "name": "getFeeAmount",
1554
+ "outputs": [
1555
+ {
1556
+ "internalType": "Amount",
1557
+ "name": "feeAmount",
1558
+ "type": "uint96"
1559
+ }
1560
+ ],
1561
+ "stateMutability": "view",
1562
+ "type": "function"
1563
+ },
1564
+ {
1565
+ "inputs": [
1566
+ {
1567
+ "internalType": "ObjectType",
1568
+ "name": "objectType",
1569
+ "type": "uint8"
1570
+ }
1571
+ ],
1572
+ "name": "getInitialState",
1573
+ "outputs": [
1574
+ {
1575
+ "internalType": "StateId",
1576
+ "name": "",
1577
+ "type": "uint8"
1578
+ }
1579
+ ],
1580
+ "stateMutability": "view",
1581
+ "type": "function"
1582
+ },
1583
+ {
1584
+ "inputs": [
1585
+ {
1586
+ "internalType": "NftId",
1587
+ "name": "targetNftId",
1588
+ "type": "uint96"
1589
+ }
1590
+ ],
1591
+ "name": "getLockedAmount",
1592
+ "outputs": [
1593
+ {
1594
+ "internalType": "Amount",
1595
+ "name": "lockedAmount",
1596
+ "type": "uint96"
1597
+ }
1598
+ ],
1599
+ "stateMutability": "view",
1600
+ "type": "function"
1601
+ },
1602
+ {
1603
+ "inputs": [
1604
+ {
1605
+ "internalType": "Key32",
1606
+ "name": "key32",
1607
+ "type": "bytes32"
1608
+ }
1609
+ ],
1610
+ "name": "getMetadata",
1611
+ "outputs": [
1612
+ {
1613
+ "components": [
1614
+ {
1615
+ "internalType": "ObjectType",
1616
+ "name": "objectType",
1617
+ "type": "uint8"
1618
+ },
1619
+ {
1620
+ "internalType": "StateId",
1621
+ "name": "state",
1622
+ "type": "uint8"
1623
+ },
1624
+ {
1625
+ "internalType": "address",
1626
+ "name": "updatedBy",
1627
+ "type": "address"
1628
+ },
1629
+ {
1630
+ "internalType": "Blocknumber",
1631
+ "name": "updatedIn",
1632
+ "type": "uint32"
1633
+ },
1634
+ {
1635
+ "internalType": "Blocknumber",
1636
+ "name": "createdIn",
1637
+ "type": "uint32"
1638
+ }
1639
+ ],
1640
+ "internalType": "struct IKeyValueStore.Metadata",
1641
+ "name": "metadata",
1642
+ "type": "tuple"
1643
+ }
1644
+ ],
1645
+ "stateMutability": "view",
1646
+ "type": "function"
1647
+ },
1648
+ {
1649
+ "inputs": [
1650
+ {
1651
+ "internalType": "Key32",
1652
+ "name": "key32",
1653
+ "type": "bytes32"
1654
+ }
1655
+ ],
1656
+ "name": "getState",
1657
+ "outputs": [
1658
+ {
1659
+ "internalType": "StateId",
1660
+ "name": "state",
1661
+ "type": "uint8"
1662
+ }
1663
+ ],
1664
+ "stateMutability": "view",
1665
+ "type": "function"
1666
+ },
1667
+ {
1668
+ "inputs": [
1669
+ {
1670
+ "internalType": "ObjectType",
1671
+ "name": "objectType",
1672
+ "type": "uint8"
1673
+ }
1674
+ ],
1675
+ "name": "hasLifecycle",
1676
+ "outputs": [
1677
+ {
1678
+ "internalType": "bool",
1679
+ "name": "",
1680
+ "type": "bool"
1681
+ }
1682
+ ],
1683
+ "stateMutability": "view",
1684
+ "type": "function"
1685
+ },
1686
+ {
1687
+ "inputs": [
1688
+ {
1689
+ "internalType": "NftId",
1690
+ "name": "targetNftId",
1691
+ "type": "uint96"
1692
+ },
1693
+ {
1694
+ "internalType": "Amount",
1695
+ "name": "amount",
1696
+ "type": "uint96"
1697
+ }
1698
+ ],
1699
+ "name": "increaseBalance",
1700
+ "outputs": [
1701
+ {
1702
+ "internalType": "Amount",
1703
+ "name": "newBalance",
1704
+ "type": "uint96"
1705
+ }
1706
+ ],
1707
+ "stateMutability": "nonpayable",
1708
+ "type": "function"
1709
+ },
1710
+ {
1711
+ "inputs": [
1712
+ {
1713
+ "internalType": "NftId",
1714
+ "name": "targetNftId",
1715
+ "type": "uint96"
1716
+ },
1717
+ {
1718
+ "internalType": "Amount",
1719
+ "name": "amount",
1720
+ "type": "uint96"
1721
+ }
1722
+ ],
1723
+ "name": "increaseFees",
1724
+ "outputs": [
1725
+ {
1726
+ "internalType": "Amount",
1727
+ "name": "newFeeBalance",
1728
+ "type": "uint96"
1729
+ }
1730
+ ],
1731
+ "stateMutability": "nonpayable",
1732
+ "type": "function"
1733
+ },
1734
+ {
1735
+ "inputs": [
1736
+ {
1737
+ "internalType": "NftId",
1738
+ "name": "targetNftId",
1739
+ "type": "uint96"
1740
+ },
1741
+ {
1742
+ "internalType": "Amount",
1743
+ "name": "amount",
1744
+ "type": "uint96"
1745
+ }
1746
+ ],
1747
+ "name": "increaseLocked",
1748
+ "outputs": [
1749
+ {
1750
+ "internalType": "Amount",
1751
+ "name": "newBalance",
1752
+ "type": "uint96"
1753
+ }
1754
+ ],
1755
+ "stateMutability": "nonpayable",
1756
+ "type": "function"
1757
+ },
1758
+ {
1759
+ "inputs": [
1760
+ {
1761
+ "internalType": "address",
1762
+ "name": "instance",
1763
+ "type": "address"
1764
+ }
1765
+ ],
1766
+ "name": "initialize",
1767
+ "outputs": [],
1768
+ "stateMutability": "nonpayable",
1769
+ "type": "function"
1770
+ },
1771
+ {
1772
+ "inputs": [],
1773
+ "name": "initializeLifecycle",
1774
+ "outputs": [],
1775
+ "stateMutability": "nonpayable",
1776
+ "type": "function"
1777
+ },
1778
+ {
1779
+ "inputs": [],
1780
+ "name": "isConsumingScheduledOp",
1781
+ "outputs": [
1782
+ {
1783
+ "internalType": "bytes4",
1784
+ "name": "",
1785
+ "type": "bytes4"
1786
+ }
1787
+ ],
1788
+ "stateMutability": "view",
1789
+ "type": "function"
1790
+ },
1791
+ {
1792
+ "inputs": [
1793
+ {
1794
+ "internalType": "ObjectType",
1795
+ "name": "objectType",
1796
+ "type": "uint8"
1797
+ },
1798
+ {
1799
+ "internalType": "StateId",
1800
+ "name": "fromId",
1801
+ "type": "uint8"
1802
+ },
1803
+ {
1804
+ "internalType": "StateId",
1805
+ "name": "toId",
1806
+ "type": "uint8"
1807
+ }
1808
+ ],
1809
+ "name": "isValidTransition",
1810
+ "outputs": [
1811
+ {
1812
+ "internalType": "bool",
1813
+ "name": "",
1814
+ "type": "bool"
1815
+ }
1816
+ ],
1817
+ "stateMutability": "view",
1818
+ "type": "function"
1819
+ },
1820
+ {
1821
+ "inputs": [
1822
+ {
1823
+ "internalType": "address",
1824
+ "name": "newAuthority",
1825
+ "type": "address"
1826
+ }
1827
+ ],
1828
+ "name": "setAuthority",
1829
+ "outputs": [],
1830
+ "stateMutability": "nonpayable",
1831
+ "type": "function"
1832
+ },
1833
+ {
1834
+ "inputs": [
1835
+ {
1836
+ "internalType": "ObjectType",
1837
+ "name": "objectType",
1838
+ "type": "uint8"
1839
+ },
1840
+ {
1841
+ "internalType": "KeyId",
1842
+ "name": "id",
1843
+ "type": "bytes31"
1844
+ }
1845
+ ],
1846
+ "name": "toKey32",
1847
+ "outputs": [
1848
+ {
1849
+ "internalType": "Key32",
1850
+ "name": "",
1851
+ "type": "bytes32"
1852
+ }
1853
+ ],
1854
+ "stateMutability": "pure",
1855
+ "type": "function"
1856
+ },
1857
+ {
1858
+ "inputs": [
1859
+ {
1860
+ "internalType": "NftId",
1861
+ "name": "applicationNftId",
1862
+ "type": "uint96"
1863
+ },
1864
+ {
1865
+ "components": [
1866
+ {
1867
+ "internalType": "NftId",
1868
+ "name": "productNftId",
1869
+ "type": "uint96"
1870
+ },
1871
+ {
1872
+ "internalType": "NftId",
1873
+ "name": "bundleNftId",
1874
+ "type": "uint96"
1875
+ },
1876
+ {
1877
+ "internalType": "ReferralId",
1878
+ "name": "referralId",
1879
+ "type": "bytes8"
1880
+ },
1881
+ {
1882
+ "internalType": "RiskId",
1883
+ "name": "riskId",
1884
+ "type": "bytes8"
1885
+ },
1886
+ {
1887
+ "internalType": "Amount",
1888
+ "name": "sumInsuredAmount",
1889
+ "type": "uint96"
1890
+ },
1891
+ {
1892
+ "internalType": "Amount",
1893
+ "name": "premiumAmount",
1894
+ "type": "uint96"
1895
+ },
1896
+ {
1897
+ "internalType": "Amount",
1898
+ "name": "premiumPaidAmount",
1899
+ "type": "uint96"
1900
+ },
1901
+ {
1902
+ "internalType": "Seconds",
1903
+ "name": "lifetime",
1904
+ "type": "uint40"
1905
+ },
1906
+ {
1907
+ "internalType": "bytes",
1908
+ "name": "applicationData",
1909
+ "type": "bytes"
1910
+ },
1911
+ {
1912
+ "internalType": "bytes",
1913
+ "name": "processData",
1914
+ "type": "bytes"
1915
+ },
1916
+ {
1917
+ "internalType": "uint16",
1918
+ "name": "claimsCount",
1919
+ "type": "uint16"
1920
+ },
1921
+ {
1922
+ "internalType": "uint16",
1923
+ "name": "openClaimsCount",
1924
+ "type": "uint16"
1925
+ },
1926
+ {
1927
+ "internalType": "Amount",
1928
+ "name": "claimAmount",
1929
+ "type": "uint96"
1930
+ },
1931
+ {
1932
+ "internalType": "Amount",
1933
+ "name": "payoutAmount",
1934
+ "type": "uint96"
1935
+ },
1936
+ {
1937
+ "internalType": "Timestamp",
1938
+ "name": "activatedAt",
1939
+ "type": "uint40"
1940
+ },
1941
+ {
1942
+ "internalType": "Timestamp",
1943
+ "name": "expiredAt",
1944
+ "type": "uint40"
1945
+ },
1946
+ {
1947
+ "internalType": "Timestamp",
1948
+ "name": "closedAt",
1949
+ "type": "uint40"
1950
+ }
1951
+ ],
1952
+ "internalType": "struct IPolicy.PolicyInfo",
1953
+ "name": "policy",
1954
+ "type": "tuple"
1955
+ },
1956
+ {
1957
+ "internalType": "StateId",
1958
+ "name": "newState",
1959
+ "type": "uint8"
1960
+ }
1961
+ ],
1962
+ "name": "updateApplication",
1963
+ "outputs": [],
1964
+ "stateMutability": "nonpayable",
1965
+ "type": "function"
1966
+ },
1967
+ {
1968
+ "inputs": [
1969
+ {
1970
+ "internalType": "NftId",
1971
+ "name": "applicationNftId",
1972
+ "type": "uint96"
1973
+ },
1974
+ {
1975
+ "internalType": "StateId",
1976
+ "name": "newState",
1977
+ "type": "uint8"
1978
+ }
1979
+ ],
1980
+ "name": "updateApplicationState",
1981
+ "outputs": [],
1982
+ "stateMutability": "nonpayable",
1983
+ "type": "function"
1984
+ },
1985
+ {
1986
+ "inputs": [
1987
+ {
1988
+ "internalType": "NftId",
1989
+ "name": "bundleNftId",
1990
+ "type": "uint96"
1991
+ },
1992
+ {
1993
+ "components": [
1994
+ {
1995
+ "internalType": "NftId",
1996
+ "name": "poolNftId",
1997
+ "type": "uint96"
1998
+ },
1999
+ {
2000
+ "components": [
2001
+ {
2002
+ "internalType": "UFixed",
2003
+ "name": "fractionalFee",
2004
+ "type": "uint256"
2005
+ },
2006
+ {
2007
+ "internalType": "uint256",
2008
+ "name": "fixedFee",
2009
+ "type": "uint256"
2010
+ }
2011
+ ],
2012
+ "internalType": "struct Fee",
2013
+ "name": "fee",
2014
+ "type": "tuple"
2015
+ },
2016
+ {
2017
+ "internalType": "bytes",
2018
+ "name": "filter",
2019
+ "type": "bytes"
2020
+ },
2021
+ {
2022
+ "internalType": "Seconds",
2023
+ "name": "lifetime",
2024
+ "type": "uint40"
2025
+ },
2026
+ {
2027
+ "internalType": "Timestamp",
2028
+ "name": "expiredAt",
2029
+ "type": "uint40"
2030
+ },
2031
+ {
2032
+ "internalType": "Timestamp",
2033
+ "name": "closedAt",
2034
+ "type": "uint40"
2035
+ }
2036
+ ],
2037
+ "internalType": "struct IBundle.BundleInfo",
2038
+ "name": "bundle",
2039
+ "type": "tuple"
2040
+ },
2041
+ {
2042
+ "internalType": "StateId",
2043
+ "name": "newState",
2044
+ "type": "uint8"
2045
+ }
2046
+ ],
2047
+ "name": "updateBundle",
2048
+ "outputs": [],
2049
+ "stateMutability": "nonpayable",
2050
+ "type": "function"
2051
+ },
2052
+ {
2053
+ "inputs": [
2054
+ {
2055
+ "internalType": "NftId",
2056
+ "name": "bundleNftId",
2057
+ "type": "uint96"
2058
+ },
2059
+ {
2060
+ "internalType": "StateId",
2061
+ "name": "newState",
2062
+ "type": "uint8"
2063
+ }
2064
+ ],
2065
+ "name": "updateBundleState",
2066
+ "outputs": [],
2067
+ "stateMutability": "nonpayable",
2068
+ "type": "function"
2069
+ },
2070
+ {
2071
+ "inputs": [
2072
+ {
2073
+ "internalType": "NftId",
2074
+ "name": "policyNftId",
2075
+ "type": "uint96"
2076
+ },
2077
+ {
2078
+ "internalType": "ClaimId",
2079
+ "name": "claimId",
2080
+ "type": "uint16"
2081
+ },
2082
+ {
2083
+ "components": [
2084
+ {
2085
+ "internalType": "Amount",
2086
+ "name": "claimAmount",
2087
+ "type": "uint96"
2088
+ },
2089
+ {
2090
+ "internalType": "Amount",
2091
+ "name": "paidAmount",
2092
+ "type": "uint96"
2093
+ },
2094
+ {
2095
+ "internalType": "uint8",
2096
+ "name": "payoutsCount",
2097
+ "type": "uint8"
2098
+ },
2099
+ {
2100
+ "internalType": "uint8",
2101
+ "name": "openPayoutsCount",
2102
+ "type": "uint8"
2103
+ },
2104
+ {
2105
+ "internalType": "bytes",
2106
+ "name": "submissionData",
2107
+ "type": "bytes"
2108
+ },
2109
+ {
2110
+ "internalType": "bytes",
2111
+ "name": "processData",
2112
+ "type": "bytes"
2113
+ },
2114
+ {
2115
+ "internalType": "Timestamp",
2116
+ "name": "closedAt",
2117
+ "type": "uint40"
2118
+ }
2119
+ ],
2120
+ "internalType": "struct IPolicy.ClaimInfo",
2121
+ "name": "claim",
2122
+ "type": "tuple"
2123
+ },
2124
+ {
2125
+ "internalType": "StateId",
2126
+ "name": "newState",
2127
+ "type": "uint8"
2128
+ }
2129
+ ],
2130
+ "name": "updateClaim",
2131
+ "outputs": [],
2132
+ "stateMutability": "nonpayable",
2133
+ "type": "function"
2134
+ },
2135
+ {
2136
+ "inputs": [
2137
+ {
2138
+ "internalType": "NftId",
2139
+ "name": "policyNftId",
2140
+ "type": "uint96"
2141
+ },
2142
+ {
2143
+ "internalType": "ClaimId",
2144
+ "name": "claimId",
2145
+ "type": "uint16"
2146
+ },
2147
+ {
2148
+ "internalType": "StateId",
2149
+ "name": "newState",
2150
+ "type": "uint8"
2151
+ }
2152
+ ],
2153
+ "name": "updateClaimState",
2154
+ "outputs": [],
2155
+ "stateMutability": "nonpayable",
2156
+ "type": "function"
2157
+ },
2158
+ {
2159
+ "inputs": [
2160
+ {
2161
+ "internalType": "NftId",
2162
+ "name": "componentNftId",
2163
+ "type": "uint96"
2164
+ },
2165
+ {
2166
+ "components": [
2167
+ {
2168
+ "internalType": "string",
2169
+ "name": "name",
2170
+ "type": "string"
2171
+ },
2172
+ {
2173
+ "internalType": "NftId",
2174
+ "name": "productNftId",
2175
+ "type": "uint96"
2176
+ },
2177
+ {
2178
+ "internalType": "contract IERC20Metadata",
2179
+ "name": "token",
2180
+ "type": "address"
2181
+ },
2182
+ {
2183
+ "internalType": "contract TokenHandler",
2184
+ "name": "tokenHandler",
2185
+ "type": "address"
2186
+ },
2187
+ {
2188
+ "internalType": "address",
2189
+ "name": "wallet",
2190
+ "type": "address"
2191
+ },
2192
+ {
2193
+ "internalType": "bytes",
2194
+ "name": "data",
2195
+ "type": "bytes"
2196
+ }
2197
+ ],
2198
+ "internalType": "struct IComponents.ComponentInfo",
2199
+ "name": "componentInfo",
2200
+ "type": "tuple"
2201
+ },
2202
+ {
2203
+ "internalType": "StateId",
2204
+ "name": "newState",
2205
+ "type": "uint8"
2206
+ }
2207
+ ],
2208
+ "name": "updateComponent",
2209
+ "outputs": [],
2210
+ "stateMutability": "nonpayable",
2211
+ "type": "function"
2212
+ },
2213
+ {
2214
+ "inputs": [
2215
+ {
2216
+ "internalType": "NftId",
2217
+ "name": "distributorNftId",
2218
+ "type": "uint96"
2219
+ },
2220
+ {
2221
+ "components": [
2222
+ {
2223
+ "internalType": "DistributorType",
2224
+ "name": "distributorType",
2225
+ "type": "bytes8"
2226
+ },
2227
+ {
2228
+ "internalType": "bool",
2229
+ "name": "active",
2230
+ "type": "bool"
2231
+ },
2232
+ {
2233
+ "internalType": "bytes",
2234
+ "name": "data",
2235
+ "type": "bytes"
2236
+ },
2237
+ {
2238
+ "internalType": "Amount",
2239
+ "name": "commissionAmount",
2240
+ "type": "uint96"
2241
+ },
2242
+ {
2243
+ "internalType": "uint32",
2244
+ "name": "numPoliciesSold",
2245
+ "type": "uint32"
2246
+ }
2247
+ ],
2248
+ "internalType": "struct IDistribution.DistributorInfo",
2249
+ "name": "info",
2250
+ "type": "tuple"
2251
+ },
2252
+ {
2253
+ "internalType": "StateId",
2254
+ "name": "newState",
2255
+ "type": "uint8"
2256
+ }
2257
+ ],
2258
+ "name": "updateDistributor",
2259
+ "outputs": [],
2260
+ "stateMutability": "nonpayable",
2261
+ "type": "function"
2262
+ },
2263
+ {
2264
+ "inputs": [
2265
+ {
2266
+ "internalType": "NftId",
2267
+ "name": "distributorNftId",
2268
+ "type": "uint96"
2269
+ },
2270
+ {
2271
+ "internalType": "StateId",
2272
+ "name": "newState",
2273
+ "type": "uint8"
2274
+ }
2275
+ ],
2276
+ "name": "updateDistributorState",
2277
+ "outputs": [],
2278
+ "stateMutability": "nonpayable",
2279
+ "type": "function"
2280
+ },
2281
+ {
2282
+ "inputs": [
2283
+ {
2284
+ "internalType": "DistributorType",
2285
+ "name": "distributorType",
2286
+ "type": "bytes8"
2287
+ },
2288
+ {
2289
+ "components": [
2290
+ {
2291
+ "internalType": "string",
2292
+ "name": "name",
2293
+ "type": "string"
2294
+ },
2295
+ {
2296
+ "internalType": "UFixed",
2297
+ "name": "minDiscountPercentage",
2298
+ "type": "uint256"
2299
+ },
2300
+ {
2301
+ "internalType": "UFixed",
2302
+ "name": "maxDiscountPercentage",
2303
+ "type": "uint256"
2304
+ },
2305
+ {
2306
+ "internalType": "UFixed",
2307
+ "name": "commissionPercentage",
2308
+ "type": "uint256"
2309
+ },
2310
+ {
2311
+ "internalType": "uint32",
2312
+ "name": "maxReferralCount",
2313
+ "type": "uint32"
2314
+ },
2315
+ {
2316
+ "internalType": "uint32",
2317
+ "name": "maxReferralLifetime",
2318
+ "type": "uint32"
2319
+ },
2320
+ {
2321
+ "internalType": "bool",
2322
+ "name": "allowSelfReferrals",
2323
+ "type": "bool"
2324
+ },
2325
+ {
2326
+ "internalType": "bool",
2327
+ "name": "allowRenewals",
2328
+ "type": "bool"
2329
+ },
2330
+ {
2331
+ "internalType": "bytes",
2332
+ "name": "data",
2333
+ "type": "bytes"
2334
+ }
2335
+ ],
2336
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2337
+ "name": "info",
2338
+ "type": "tuple"
2339
+ },
2340
+ {
2341
+ "internalType": "StateId",
2342
+ "name": "newState",
2343
+ "type": "uint8"
2344
+ }
2345
+ ],
2346
+ "name": "updateDistributorType",
2347
+ "outputs": [],
2348
+ "stateMutability": "nonpayable",
2349
+ "type": "function"
2350
+ },
2351
+ {
2352
+ "inputs": [
2353
+ {
2354
+ "internalType": "DistributorType",
2355
+ "name": "distributorType",
2356
+ "type": "bytes8"
2357
+ },
2358
+ {
2359
+ "internalType": "StateId",
2360
+ "name": "newState",
2361
+ "type": "uint8"
2362
+ }
2363
+ ],
2364
+ "name": "updateDistributorTypeState",
2365
+ "outputs": [],
2366
+ "stateMutability": "nonpayable",
2367
+ "type": "function"
2368
+ },
2369
+ {
2370
+ "inputs": [
2371
+ {
2372
+ "internalType": "NftId",
2373
+ "name": "policyNftId",
2374
+ "type": "uint96"
2375
+ },
2376
+ {
2377
+ "internalType": "PayoutId",
2378
+ "name": "payoutId",
2379
+ "type": "uint24"
2380
+ },
2381
+ {
2382
+ "components": [
2383
+ {
2384
+ "internalType": "ClaimId",
2385
+ "name": "claimId",
2386
+ "type": "uint16"
2387
+ },
2388
+ {
2389
+ "internalType": "Amount",
2390
+ "name": "amount",
2391
+ "type": "uint96"
2392
+ },
2393
+ {
2394
+ "internalType": "bytes",
2395
+ "name": "data",
2396
+ "type": "bytes"
2397
+ },
2398
+ {
2399
+ "internalType": "Timestamp",
2400
+ "name": "paidAt",
2401
+ "type": "uint40"
2402
+ }
2403
+ ],
2404
+ "internalType": "struct IPolicy.PayoutInfo",
2405
+ "name": "payout",
2406
+ "type": "tuple"
2407
+ },
2408
+ {
2409
+ "internalType": "StateId",
2410
+ "name": "newState",
2411
+ "type": "uint8"
2412
+ }
2413
+ ],
2414
+ "name": "updatePayout",
2415
+ "outputs": [],
2416
+ "stateMutability": "nonpayable",
2417
+ "type": "function"
2418
+ },
2419
+ {
2420
+ "inputs": [
2421
+ {
2422
+ "internalType": "NftId",
2423
+ "name": "policyNftId",
2424
+ "type": "uint96"
2425
+ },
2426
+ {
2427
+ "internalType": "PayoutId",
2428
+ "name": "payoutId",
2429
+ "type": "uint24"
2430
+ },
2431
+ {
2432
+ "internalType": "StateId",
2433
+ "name": "newState",
2434
+ "type": "uint8"
2435
+ }
2436
+ ],
2437
+ "name": "updatePayoutState",
2438
+ "outputs": [],
2439
+ "stateMutability": "nonpayable",
2440
+ "type": "function"
2441
+ },
2442
+ {
2443
+ "inputs": [
2444
+ {
2445
+ "internalType": "NftId",
2446
+ "name": "policyNftId",
2447
+ "type": "uint96"
2448
+ },
2449
+ {
2450
+ "components": [
2451
+ {
2452
+ "internalType": "NftId",
2453
+ "name": "productNftId",
2454
+ "type": "uint96"
2455
+ },
2456
+ {
2457
+ "internalType": "NftId",
2458
+ "name": "bundleNftId",
2459
+ "type": "uint96"
2460
+ },
2461
+ {
2462
+ "internalType": "ReferralId",
2463
+ "name": "referralId",
2464
+ "type": "bytes8"
2465
+ },
2466
+ {
2467
+ "internalType": "RiskId",
2468
+ "name": "riskId",
2469
+ "type": "bytes8"
2470
+ },
2471
+ {
2472
+ "internalType": "Amount",
2473
+ "name": "sumInsuredAmount",
2474
+ "type": "uint96"
2475
+ },
2476
+ {
2477
+ "internalType": "Amount",
2478
+ "name": "premiumAmount",
2479
+ "type": "uint96"
2480
+ },
2481
+ {
2482
+ "internalType": "Amount",
2483
+ "name": "premiumPaidAmount",
2484
+ "type": "uint96"
2485
+ },
2486
+ {
2487
+ "internalType": "Seconds",
2488
+ "name": "lifetime",
2489
+ "type": "uint40"
2490
+ },
2491
+ {
2492
+ "internalType": "bytes",
2493
+ "name": "applicationData",
2494
+ "type": "bytes"
2495
+ },
2496
+ {
2497
+ "internalType": "bytes",
2498
+ "name": "processData",
2499
+ "type": "bytes"
2500
+ },
2501
+ {
2502
+ "internalType": "uint16",
2503
+ "name": "claimsCount",
2504
+ "type": "uint16"
2505
+ },
2506
+ {
2507
+ "internalType": "uint16",
2508
+ "name": "openClaimsCount",
2509
+ "type": "uint16"
2510
+ },
2511
+ {
2512
+ "internalType": "Amount",
2513
+ "name": "claimAmount",
2514
+ "type": "uint96"
2515
+ },
2516
+ {
2517
+ "internalType": "Amount",
2518
+ "name": "payoutAmount",
2519
+ "type": "uint96"
2520
+ },
2521
+ {
2522
+ "internalType": "Timestamp",
2523
+ "name": "activatedAt",
2524
+ "type": "uint40"
2525
+ },
2526
+ {
2527
+ "internalType": "Timestamp",
2528
+ "name": "expiredAt",
2529
+ "type": "uint40"
2530
+ },
2531
+ {
2532
+ "internalType": "Timestamp",
2533
+ "name": "closedAt",
2534
+ "type": "uint40"
2535
+ }
2536
+ ],
2537
+ "internalType": "struct IPolicy.PolicyInfo",
2538
+ "name": "policy",
2539
+ "type": "tuple"
2540
+ },
2541
+ {
2542
+ "internalType": "StateId",
2543
+ "name": "newState",
2544
+ "type": "uint8"
2545
+ }
2546
+ ],
2547
+ "name": "updatePolicy",
2548
+ "outputs": [],
2549
+ "stateMutability": "nonpayable",
2550
+ "type": "function"
2551
+ },
2552
+ {
2553
+ "inputs": [
2554
+ {
2555
+ "internalType": "NftId",
2556
+ "name": "policyNftId",
2557
+ "type": "uint96"
2558
+ },
2559
+ {
2560
+ "components": [
2561
+ {
2562
+ "internalType": "NftId",
2563
+ "name": "productNftId",
2564
+ "type": "uint96"
2565
+ },
2566
+ {
2567
+ "internalType": "NftId",
2568
+ "name": "bundleNftId",
2569
+ "type": "uint96"
2570
+ },
2571
+ {
2572
+ "internalType": "ReferralId",
2573
+ "name": "referralId",
2574
+ "type": "bytes8"
2575
+ },
2576
+ {
2577
+ "internalType": "RiskId",
2578
+ "name": "riskId",
2579
+ "type": "bytes8"
2580
+ },
2581
+ {
2582
+ "internalType": "Amount",
2583
+ "name": "sumInsuredAmount",
2584
+ "type": "uint96"
2585
+ },
2586
+ {
2587
+ "internalType": "Amount",
2588
+ "name": "premiumAmount",
2589
+ "type": "uint96"
2590
+ },
2591
+ {
2592
+ "internalType": "Amount",
2593
+ "name": "premiumPaidAmount",
2594
+ "type": "uint96"
2595
+ },
2596
+ {
2597
+ "internalType": "Seconds",
2598
+ "name": "lifetime",
2599
+ "type": "uint40"
2600
+ },
2601
+ {
2602
+ "internalType": "bytes",
2603
+ "name": "applicationData",
2604
+ "type": "bytes"
2605
+ },
2606
+ {
2607
+ "internalType": "bytes",
2608
+ "name": "processData",
2609
+ "type": "bytes"
2610
+ },
2611
+ {
2612
+ "internalType": "uint16",
2613
+ "name": "claimsCount",
2614
+ "type": "uint16"
2615
+ },
2616
+ {
2617
+ "internalType": "uint16",
2618
+ "name": "openClaimsCount",
2619
+ "type": "uint16"
2620
+ },
2621
+ {
2622
+ "internalType": "Amount",
2623
+ "name": "claimAmount",
2624
+ "type": "uint96"
2625
+ },
2626
+ {
2627
+ "internalType": "Amount",
2628
+ "name": "payoutAmount",
2629
+ "type": "uint96"
2630
+ },
2631
+ {
2632
+ "internalType": "Timestamp",
2633
+ "name": "activatedAt",
2634
+ "type": "uint40"
2635
+ },
2636
+ {
2637
+ "internalType": "Timestamp",
2638
+ "name": "expiredAt",
2639
+ "type": "uint40"
2640
+ },
2641
+ {
2642
+ "internalType": "Timestamp",
2643
+ "name": "closedAt",
2644
+ "type": "uint40"
2645
+ }
2646
+ ],
2647
+ "internalType": "struct IPolicy.PolicyInfo",
2648
+ "name": "policy",
2649
+ "type": "tuple"
2650
+ },
2651
+ {
2652
+ "internalType": "StateId",
2653
+ "name": "newState",
2654
+ "type": "uint8"
2655
+ }
2656
+ ],
2657
+ "name": "updatePolicyClaims",
2658
+ "outputs": [],
2659
+ "stateMutability": "nonpayable",
2660
+ "type": "function"
2661
+ },
2662
+ {
2663
+ "inputs": [
2664
+ {
2665
+ "internalType": "NftId",
2666
+ "name": "policyNftId",
2667
+ "type": "uint96"
2668
+ },
2669
+ {
2670
+ "internalType": "StateId",
2671
+ "name": "newState",
2672
+ "type": "uint8"
2673
+ }
2674
+ ],
2675
+ "name": "updatePolicyState",
2676
+ "outputs": [],
2677
+ "stateMutability": "nonpayable",
2678
+ "type": "function"
2679
+ },
2680
+ {
2681
+ "inputs": [
2682
+ {
2683
+ "internalType": "NftId",
2684
+ "name": "poolNftId",
2685
+ "type": "uint96"
2686
+ },
2687
+ {
2688
+ "components": [
2689
+ {
2690
+ "internalType": "NftId",
2691
+ "name": "productNftId",
2692
+ "type": "uint96"
2693
+ },
2694
+ {
2695
+ "internalType": "RoleId",
2696
+ "name": "bundleOwnerRole",
2697
+ "type": "uint64"
2698
+ },
2699
+ {
2700
+ "internalType": "Amount",
2701
+ "name": "maxCapitalAmount",
2702
+ "type": "uint96"
2703
+ },
2704
+ {
2705
+ "internalType": "bool",
2706
+ "name": "isInterceptingBundleTransfers",
2707
+ "type": "bool"
2708
+ },
2709
+ {
2710
+ "internalType": "bool",
2711
+ "name": "isExternallyManaged",
2712
+ "type": "bool"
2713
+ },
2714
+ {
2715
+ "internalType": "bool",
2716
+ "name": "isVerifyingApplications",
2717
+ "type": "bool"
2718
+ },
2719
+ {
2720
+ "internalType": "UFixed",
2721
+ "name": "collateralizationLevel",
2722
+ "type": "uint256"
2723
+ },
2724
+ {
2725
+ "internalType": "UFixed",
2726
+ "name": "retentionLevel",
2727
+ "type": "uint256"
2728
+ },
2729
+ {
2730
+ "components": [
2731
+ {
2732
+ "internalType": "UFixed",
2733
+ "name": "fractionalFee",
2734
+ "type": "uint256"
2735
+ },
2736
+ {
2737
+ "internalType": "uint256",
2738
+ "name": "fixedFee",
2739
+ "type": "uint256"
2740
+ }
2741
+ ],
2742
+ "internalType": "struct Fee",
2743
+ "name": "poolFee",
2744
+ "type": "tuple"
2745
+ },
2746
+ {
2747
+ "components": [
2748
+ {
2749
+ "internalType": "UFixed",
2750
+ "name": "fractionalFee",
2751
+ "type": "uint256"
2752
+ },
2753
+ {
2754
+ "internalType": "uint256",
2755
+ "name": "fixedFee",
2756
+ "type": "uint256"
2757
+ }
2758
+ ],
2759
+ "internalType": "struct Fee",
2760
+ "name": "stakingFee",
2761
+ "type": "tuple"
2762
+ },
2763
+ {
2764
+ "components": [
2765
+ {
2766
+ "internalType": "UFixed",
2767
+ "name": "fractionalFee",
2768
+ "type": "uint256"
2769
+ },
2770
+ {
2771
+ "internalType": "uint256",
2772
+ "name": "fixedFee",
2773
+ "type": "uint256"
2774
+ }
2775
+ ],
2776
+ "internalType": "struct Fee",
2777
+ "name": "performanceFee",
2778
+ "type": "tuple"
2779
+ }
2780
+ ],
2781
+ "internalType": "struct IComponents.PoolInfo",
2782
+ "name": "info",
2783
+ "type": "tuple"
2784
+ },
2785
+ {
2786
+ "internalType": "StateId",
2787
+ "name": "newState",
2788
+ "type": "uint8"
2789
+ }
2790
+ ],
2791
+ "name": "updatePool",
2792
+ "outputs": [],
2793
+ "stateMutability": "nonpayable",
2794
+ "type": "function"
2795
+ },
2796
+ {
2797
+ "inputs": [
2798
+ {
2799
+ "internalType": "NftId",
2800
+ "name": "poolNftId",
2801
+ "type": "uint96"
2802
+ },
2803
+ {
2804
+ "internalType": "StateId",
2805
+ "name": "newState",
2806
+ "type": "uint8"
2807
+ }
2808
+ ],
2809
+ "name": "updatePoolState",
2810
+ "outputs": [],
2811
+ "stateMutability": "nonpayable",
2812
+ "type": "function"
2813
+ },
2814
+ {
2815
+ "inputs": [
2816
+ {
2817
+ "internalType": "NftId",
2818
+ "name": "productNftId",
2819
+ "type": "uint96"
2820
+ },
2821
+ {
2822
+ "components": [
2823
+ {
2824
+ "internalType": "NftId",
2825
+ "name": "distributionNftId",
2826
+ "type": "uint96"
2827
+ },
2828
+ {
2829
+ "internalType": "NftId",
2830
+ "name": "poolNftId",
2831
+ "type": "uint96"
2832
+ },
2833
+ {
2834
+ "components": [
2835
+ {
2836
+ "internalType": "UFixed",
2837
+ "name": "fractionalFee",
2838
+ "type": "uint256"
2839
+ },
2840
+ {
2841
+ "internalType": "uint256",
2842
+ "name": "fixedFee",
2843
+ "type": "uint256"
2844
+ }
2845
+ ],
2846
+ "internalType": "struct Fee",
2847
+ "name": "productFee",
2848
+ "type": "tuple"
2849
+ },
2850
+ {
2851
+ "components": [
2852
+ {
2853
+ "internalType": "UFixed",
2854
+ "name": "fractionalFee",
2855
+ "type": "uint256"
2856
+ },
2857
+ {
2858
+ "internalType": "uint256",
2859
+ "name": "fixedFee",
2860
+ "type": "uint256"
2861
+ }
2862
+ ],
2863
+ "internalType": "struct Fee",
2864
+ "name": "processingFee",
2865
+ "type": "tuple"
2866
+ },
2867
+ {
2868
+ "components": [
2869
+ {
2870
+ "internalType": "UFixed",
2871
+ "name": "fractionalFee",
2872
+ "type": "uint256"
2873
+ },
2874
+ {
2875
+ "internalType": "uint256",
2876
+ "name": "fixedFee",
2877
+ "type": "uint256"
2878
+ }
2879
+ ],
2880
+ "internalType": "struct Fee",
2881
+ "name": "distributionFee",
2882
+ "type": "tuple"
2883
+ },
2884
+ {
2885
+ "components": [
2886
+ {
2887
+ "internalType": "UFixed",
2888
+ "name": "fractionalFee",
2889
+ "type": "uint256"
2890
+ },
2891
+ {
2892
+ "internalType": "uint256",
2893
+ "name": "fixedFee",
2894
+ "type": "uint256"
2895
+ }
2896
+ ],
2897
+ "internalType": "struct Fee",
2898
+ "name": "minDistributionOwnerFee",
2899
+ "type": "tuple"
2900
+ },
2901
+ {
2902
+ "components": [
2903
+ {
2904
+ "internalType": "UFixed",
2905
+ "name": "fractionalFee",
2906
+ "type": "uint256"
2907
+ },
2908
+ {
2909
+ "internalType": "uint256",
2910
+ "name": "fixedFee",
2911
+ "type": "uint256"
2912
+ }
2913
+ ],
2914
+ "internalType": "struct Fee",
2915
+ "name": "poolFee",
2916
+ "type": "tuple"
2917
+ },
2918
+ {
2919
+ "components": [
2920
+ {
2921
+ "internalType": "UFixed",
2922
+ "name": "fractionalFee",
2923
+ "type": "uint256"
2924
+ },
2925
+ {
2926
+ "internalType": "uint256",
2927
+ "name": "fixedFee",
2928
+ "type": "uint256"
2929
+ }
2930
+ ],
2931
+ "internalType": "struct Fee",
2932
+ "name": "stakingFee",
2933
+ "type": "tuple"
2934
+ },
2935
+ {
2936
+ "components": [
2937
+ {
2938
+ "internalType": "UFixed",
2939
+ "name": "fractionalFee",
2940
+ "type": "uint256"
2941
+ },
2942
+ {
2943
+ "internalType": "uint256",
2944
+ "name": "fixedFee",
2945
+ "type": "uint256"
2946
+ }
2947
+ ],
2948
+ "internalType": "struct Fee",
2949
+ "name": "performanceFee",
2950
+ "type": "tuple"
2951
+ }
2952
+ ],
2953
+ "internalType": "struct IComponents.ProductInfo",
2954
+ "name": "info",
2955
+ "type": "tuple"
2956
+ },
2957
+ {
2958
+ "internalType": "StateId",
2959
+ "name": "newState",
2960
+ "type": "uint8"
2961
+ }
2962
+ ],
2963
+ "name": "updateProduct",
2964
+ "outputs": [],
2965
+ "stateMutability": "nonpayable",
2966
+ "type": "function"
2967
+ },
2968
+ {
2969
+ "inputs": [
2970
+ {
2971
+ "internalType": "NftId",
2972
+ "name": "productNftId",
2973
+ "type": "uint96"
2974
+ },
2975
+ {
2976
+ "internalType": "StateId",
2977
+ "name": "newState",
2978
+ "type": "uint8"
2979
+ }
2980
+ ],
2981
+ "name": "updateProductSetupState",
2982
+ "outputs": [],
2983
+ "stateMutability": "nonpayable",
2984
+ "type": "function"
2985
+ },
2986
+ {
2987
+ "inputs": [
2988
+ {
2989
+ "internalType": "ReferralId",
2990
+ "name": "referralId",
2991
+ "type": "bytes8"
2992
+ },
2993
+ {
2994
+ "components": [
2995
+ {
2996
+ "internalType": "NftId",
2997
+ "name": "distributorNftId",
2998
+ "type": "uint96"
2999
+ },
3000
+ {
3001
+ "internalType": "string",
3002
+ "name": "referralCode",
3003
+ "type": "string"
3004
+ },
3005
+ {
3006
+ "internalType": "UFixed",
3007
+ "name": "discountPercentage",
3008
+ "type": "uint256"
3009
+ },
3010
+ {
3011
+ "internalType": "uint32",
3012
+ "name": "maxReferrals",
3013
+ "type": "uint32"
3014
+ },
3015
+ {
3016
+ "internalType": "uint32",
3017
+ "name": "usedReferrals",
3018
+ "type": "uint32"
3019
+ },
3020
+ {
3021
+ "internalType": "Timestamp",
3022
+ "name": "expiryAt",
3023
+ "type": "uint40"
3024
+ },
3025
+ {
3026
+ "internalType": "bytes",
3027
+ "name": "data",
3028
+ "type": "bytes"
3029
+ }
3030
+ ],
3031
+ "internalType": "struct IDistribution.ReferralInfo",
3032
+ "name": "referralInfo",
3033
+ "type": "tuple"
3034
+ },
3035
+ {
3036
+ "internalType": "StateId",
3037
+ "name": "newState",
3038
+ "type": "uint8"
3039
+ }
3040
+ ],
3041
+ "name": "updateReferral",
3042
+ "outputs": [],
3043
+ "stateMutability": "nonpayable",
3044
+ "type": "function"
3045
+ },
3046
+ {
3047
+ "inputs": [
3048
+ {
3049
+ "internalType": "ReferralId",
3050
+ "name": "referralId",
3051
+ "type": "bytes8"
3052
+ },
3053
+ {
3054
+ "internalType": "StateId",
3055
+ "name": "newState",
3056
+ "type": "uint8"
3057
+ }
3058
+ ],
3059
+ "name": "updateReferralState",
3060
+ "outputs": [],
3061
+ "stateMutability": "nonpayable",
3062
+ "type": "function"
3063
+ },
3064
+ {
3065
+ "inputs": [
3066
+ {
3067
+ "internalType": "RiskId",
3068
+ "name": "riskId",
3069
+ "type": "bytes8"
3070
+ },
3071
+ {
3072
+ "components": [
3073
+ {
3074
+ "internalType": "NftId",
3075
+ "name": "productNftId",
3076
+ "type": "uint96"
3077
+ },
3078
+ {
3079
+ "internalType": "bytes",
3080
+ "name": "data",
3081
+ "type": "bytes"
3082
+ }
3083
+ ],
3084
+ "internalType": "struct IRisk.RiskInfo",
3085
+ "name": "risk",
3086
+ "type": "tuple"
3087
+ },
3088
+ {
3089
+ "internalType": "StateId",
3090
+ "name": "newState",
3091
+ "type": "uint8"
3092
+ }
3093
+ ],
3094
+ "name": "updateRisk",
3095
+ "outputs": [],
3096
+ "stateMutability": "nonpayable",
3097
+ "type": "function"
3098
+ },
3099
+ {
3100
+ "inputs": [
3101
+ {
3102
+ "internalType": "RiskId",
3103
+ "name": "riskId",
3104
+ "type": "bytes8"
3105
+ },
3106
+ {
3107
+ "internalType": "StateId",
3108
+ "name": "newState",
3109
+ "type": "uint8"
3110
+ }
3111
+ ],
3112
+ "name": "updateRiskState",
3113
+ "outputs": [],
3114
+ "stateMutability": "nonpayable",
3115
+ "type": "function"
3116
+ }
3117
+ ],
3118
+ "bytecode": "0x608060405234801561001057600080fd5b506152ca806100206000396000f3fe608060405234801561001057600080fd5b50600436106103a45760003560e01c80637cca1124116101e9578063af9025001161010f578063ca0e7f08116100ad578063f48016ce1161007c578063f48016ce146109b3578063f5884fc514610774578063fae5df9b146109d4578063fe1f18d6146109e757600080fd5b8063ca0e7f081461093c578063dee326231461094f578063e80c61ed14610962578063e9e96c701461097557600080fd5b8063b6d7cd62116100e9578063b6d7cd62146108e3578063bf1db3f9146108f6578063bf7e214f14610909578063c4d66de81461092957600080fd5b8063af902500146108aa578063b0628dc3146108bd578063b5b3d9f9146108d057600080fd5b80639f8151e511610187578063a5961b4c11610156578063a5961b4c146107c0578063a6a67b1f14610871578063a76ee01814610884578063a89896751461089757600080fd5b80639f8151e514610787578063a1fc100414610774578063a28422291461079a578063a46eb8dc146107ad57600080fd5b80638eaa6ac0116101c35780638eaa6ac0146107075780638eb9000d146107275780638fb3603714610753578063985aeba71461077457600080fd5b80637cca1124146106ce5780637cef4842146106e157806381c2b282146106f457600080fd5b806340529b0f116102ce5780635a8416b01161026c578063684563911161023b5780636845639114610682578063763bb7541461069557806378929823146106a85780637a9e5e4b146106bb57600080fd5b80635a8416b0146105e85780635d4345cc1461048d5780635eede174146105fb57806361105e0e1461066f57600080fd5b806351dd844b116102a857806351dd844b1461058f578063533086d4146105a257806353ebe129146105b557806354f6127f146105c857600080fd5b806340529b0f14610561578063468bce06146105745780634846003a1461057c57600080fd5b80631e40b363116103465780632f61088a116103155780632f61088a1461050557806330a130ba146105185780633870a7701461052b57806338a699a41461053e57600080fd5b80631e40b363146104a0578063228e42ec146104b3578063248a77dd146104df5780632a8ea7ac146104f257600080fd5b80630cfc3ba3116103825780630cfc3ba3146104415780630d358181146104545780630f6c29ef1461047a5780630fad0eb11461048d57600080fd5b80630232ca49146103a957806303c099ac146103f257806309648a9d14610407575b600080fd5b6103d56103b73660046133c4565b6001600160601b039081166000908152600560205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61040561040036600461364b565b6109fa565b005b61042f6104153660046136ae565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020016103e9565b61040561044f3660046137c3565b610a40565b61042f610462366004613824565b60ff9081166000908152602081905260409020541690565b6104056104883660046138f7565b610a7b565b61040561049b366004613969565b610aa8565b6104056104ae366004613aaf565b610ac5565b6103d56104c13660046133c4565b6001600160601b039081166000908152600360205260409020541690565b6103d56104ed366004613af6565b610aed565b610405610500366004613c9e565b610b0b565b610405610513366004613d47565b610b40565b610405610526366004613e5f565b610be0565b610405610539366004613ea4565b610c80565b61055161054c3660046136ae565b610c96565b60405190151581526020016103e9565b61040561056f366004613969565b610d21565b610405610d38565b61040561058a366004613ee2565b610d6a565b61040561059d366004613ffc565b610d9b565b6103d56105b0366004613af6565b610dc3565b6103d56105c3366004613af6565b610dd8565b6105db6105d63660046136ae565b610ded565b6040516103e99190614093565b6104056105f63660046140a6565b610e92565b6106456106093660046133c4565b6001600160601b039081166000908152600360209081526040808320546004835281842054600590935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016103e9565b61040561067d3660046141a9565b610f32565b610405610690366004613969565b610fd2565b6104056106a33660046142ce565b610fe9565b6104056106b636600461430f565b611011565b6104056106c9366004614346565b611039565b6104056106dc366004614363565b6110c1565b6104056106ef3660046143a8565b6110e9565b6104056107023660046143c6565b611178565b61071a6107153660046136ae565b61119f565b6040516103e99190614465565b6103d56107353660046133c4565b6001600160601b039081166000908152600460205260409020541690565b61075b6112e0565b6040516001600160e01b031990911681526020016103e9565b610405610782366004614499565b611319565b6103d5610795366004613af6565b611341565b6104056107a83660046143a8565b611356565b6104056107bb3660046144e0565b6113a4565b6108646107ce3660046136ae565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516103e99190614525565b61040561087f3660046145ea565b6113d5565b610405610892366004614618565b6113fd565b6104056108a536600461465f565b61149d565b6104056108b83660046143a8565b61158e565b6103d56108cb366004613af6565b6115dc565b6104056108de36600461468f565b6115f1565b6104056108f13660046146d0565b611619565b610551610904366004613824565b61162f565b61091161167c565b6040516001600160a01b0390911681526020016103e9565b610405610937366004614346565b611698565b61040561094a366004614700565b611815565b61040561095d366004613969565b6118b5565b6103d5610970366004613af6565b6118cc565b61055161098336600461465f565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b6109c66109c1366004614755565b6118e1565b6040519081526020016103e9565b6104056109e2366004614783565b611965565b6104056109f5366004613969565b61198c565b610a07335b6000366119a3565b610a3b610a15846064611aa6565b83604051602001610a2691906147db565b60405160208183030381529060405283611af2565b505050565b610a49336109ff565b610a3b610a568484611c6e565b82604051602001610a67919061485e565b604051602081830303815290604052611cbb565b610a84336109ff565b610aa2610a91858561209a565b83604051602001610a2691906148fe565b50505050565b610ab1336109ff565b610a3b610abf8360d3611aa6565b826120e8565b610ace336109ff565b610a3b610adc84607a611aa6565b83604051602001610a269190614958565b6000610af8336109ff565b610b028383612407565b90505b92915050565b610b14336109ff565b610b1d82612598565b610b3c610b2b8360d3611aa6565b82604051602001610a6791906149c5565b5050565b610b49336109ff565b6040516355ee627560e01b8152610b3c9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610b8e906001600160c01b0319871690600401614b76565b602060405180830381865af4158015610bab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcf9190614b8b565b82604051602001610a679190614ba4565b610be9336109ff565b6040516355ee627560e01b8152610b3c9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610c2e906001600160c01b0319871690600401614b76565b602060405180830381865af4158015610c4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6f9190614b8b565b82604051602001610a679190614bd2565b610c89336109ff565b610aa2610abf848461209a565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b059190614c82565b610d2a336109ff565b610a3b610abf83607a611aa6565b610d406126da565b610d48612723565b610d50612846565b610d58612939565b610d60612a70565b610d68612b9c565b565b610d73336109ff565b610d7c82612598565b610b3c610d8a836064611aa6565b82604051602001610a6791906147db565b610da4336109ff565b610a3b610db28460dc611aa6565b83604051602001610a269190614c9f565b6000610dce336109ff565b610b028383612c57565b6000610de3336109ff565b610b028383612d3b565b6000818152600260205260409020600101805460609190610e0d90614d25565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3990614d25565b8015610e865780601f10610e5b57610100808354040283529160200191610e86565b820191906000526020600020905b815481529060010190602001808311610e6957829003601f168201915b50505050509050919050565b610e9b336109ff565b6040516355ee627560e01b8152610a3b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610ee0906001600160c01b0319881690600401614b76565b602060405180830381865af4158015610efd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f219190614b8b565b83604051602001610a269190614bd2565b610f3b336109ff565b6040516355ee627560e01b8152610a3b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610f80906001600160c01b0319881690600401614b76565b602060405180830381865af4158015610f9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc19190614b8b565b83604051602001610a269190614d5f565b610fdb336109ff565b610a3b610abf83608c611aa6565b610ff2336109ff565b610a3b61100084608c611aa6565b83604051602001610a269190614df1565b61101a336109ff565b610b3c61102883608c611aa6565b82604051602001610a679190614df1565b3361104261167c565b6001600160a01b0316816001600160a01b0316146110825760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b6000036110b8576040516361798f2f60e11b81526001600160a01b0383166004820152602401611079565b610b3c82612e1f565b6110ca336109ff565b610b3c6110d883607a611aa6565b82604051602001610a679190614958565b6110f2336109ff565b6040516355ee627560e01b8152610a3b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611137906001600160c01b0319871690600401614b76565b602060405180830381865af4158015611154573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abf9190614b8b565b611181336109ff565b610a3b61118e848461209a565b82604051602001610a6791906148fe565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019161125790614d25565b80601f016020809104026020016040519081016040528092919081815260200182805461128390614d25565b80156112d05780601f106112a5576101008083540402835291602001916112d0565b820191906000526020600020905b8154815290600101906020018083116112b357829003601f168201915b5050505050815250509050919050565b600080516020615275833981519152805460009190600160a01b900460ff1661130a576000611313565b638fb3603760e01b5b91505090565b611322336109ff565b610a3b6113308460d3611aa6565b83604051602001610a2691906149c5565b600061134c336109ff565b610b028383612e80565b61135f336109ff565b6040516355ee627560e01b8152610a3b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611137906001600160c01b0319871690600401614b76565b6113ad336109ff565b6113b682612598565b610b3c6113c48360dc611aa6565b82604051602001610a679190614c9f565b6113de336109ff565b610b3c6113ec83606e611aa6565b82604051602001610a679190614ee7565b611406336109ff565b6040516355ee627560e01b8152610a3b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061144b906001600160c01b0319881690600401614b76565b602060405180830381865af4158015611468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148c9190614b8b565b83604051602001610a269190614ba4565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115269190614c82565b1561153057505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416610a3b57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401611079565b611597336109ff565b6040516355ee627560e01b8152610a3b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611137906001600160c01b0319871690600401614b76565b60006115e7336109ff565b610b028383612f64565b6115fa336109ff565b610a3b61160884606e611aa6565b83604051602001610a269190614ee7565b611622336109ff565b610aa2610abf8484611c6e565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610ce0565b600080516020615275833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156116dd5750825b90506000826001600160401b031660011480156116f95750303b155b905081158015611707575080155b156117255760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561174f57845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561178f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b39190614fca565b90506117be81613048565b6117c6610d38565b50831561180d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b61181e336109ff565b6040516355ee627560e01b8152610b3c9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611863906001600160c01b0319871690600401614b76565b602060405180830381865af4158015611880573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a49190614b8b565b82604051602001610a679190614d5f565b6118be336109ff565b610a3b610abf83606e611aa6565b60006118d7336109ff565b610b02838361305c565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611941573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b029190614b8b565b61196e336109ff565b610aa261197b8585611c6e565b83604051602001610a26919061485e565b611995336109ff565b610a3b610abf8360dc611aa6565b6000805160206152758339815191526000806119de6119c061167c565b87306119d0600460008a8c614fe7565b6119d991615011565b613140565b915091508161180d5763ffffffff811615611a7e57825460ff60a01b1916600160a01b178355611a0c61167c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a3b93929190615041565b600060405180830381600087803b158015611a5557600080fd5b505af1158015611a69573d6000803e3d6000fd5b5050845460ff60a01b191685555061180d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611079565b905090565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611924565b6000611afe84836120e8565b6000858152600260205260409020909150600101611b1c84826150c7565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611b8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb39190615186565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611c03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c2791906151a3565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611924565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d329190615186565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611d87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dab9190614c82565b15611dce576040516307014a8d60e51b815260ff82166004820152602401611079565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5b9190614c82565b15611e8557604051633f92eac960e21b81526004810185905260ff83166024820152604401611079565b336000611e9061324c565b90506000611e9d8561162f565b611ea8576004611ebe565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600260205260409020909150600101611f4887826150c7565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fdf9190615186565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561202f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061205391906151a3565b6040805160ff938416815260ff19929092166020830152918416818301526001600160a01b038616606082015232608082015290519081900360a00190a150505050505050565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401611924565b60405163037c8cb160e51b815260ff8216600482015260009073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561213d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121619190614c82565b156121825760405163093b89e160e11b815260048101849052602401611079565b50600082815260026020526040908190208054915163037c8cb160e51b8152610100830460ff1660048201819052600160b01b90930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156121fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122209190614c82565b156122415760405163566ebf7960e01b815260048101869052602401611079565b60ff808516146123c057815461225b9060ff16828661149d565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123039190615186565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612353573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237791906151a3565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b815462010000600160b01b0319163362010000021782556123df61324c565b825463ffffffff91909116600160b01b0263ffffffff60b01b19909116179091555092915050565b6001600160601b038216600090815260066020526040812054839060ff1661244d57604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b038085166000908152600460205260409020546124729116846132bb565b6001600160601b03858116600090815260046020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916124eb9187918791879163ffffffff909116906151c0565b60405180910390a173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af415801561253c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256091906151ef565b6001600160601b03949094166000908152600760205260409020805463ffffffff191663ffffffff9095169490941790935592915050565b6001600160601b03811660009081526006602052604090205460ff16156125dd576040516314d5804160e01b81526001600160601b0382166004820152602401611079565b6001600160601b038116600090815260066020908152604091829020805460ff19166001179055815163e8b7afe360e01b8152915173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9263e8b7afe39260048083019391928290030181865af415801561264f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061267391906151ef565b6001600160601b038216600081815260076020908152604091829020805463ffffffff191663ffffffff9590951694909417909355519081527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a9910160405180910390a150565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610d6857604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054600460ff19918216179091557f6148b9e155f392ab316aa9c25ce52ea1072fa76c194a4531a631278390f2665d8054821660019081179091557f042a8fd507d65b84616705080662716b9b0ec20c7f53a045a50cae5785412d1f80548316821790557ffbf8489fd0d5031a099072a99482c9a74b15896ef27736fbf6ce4a0df86cbd308054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061282260c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054600460ff1991821681179092557f6d2f988d6cef7de342e71c982859fc46cd30569eeaf6b6b6723f62064064c77f80548216600190811790915560009283527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527ffd917192538431870aa7eaf683d959fb033ceac88fa9da6acd04e4a3587adcf08054909216811790915590819060645b60ff1660ff168152602001908152602001600020600061291b606e90565b60ff1660ff168152602001908152602001600020600061282260d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f43c7433a5aacffae51c5ebfac84907939d07b45e4c81a1b55b29f99254882dff80548316821790557f65155033d9f0b4df6a5deb9f88b40327e7cacbcf532ea7640efa1c295a2be7298054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906004612804565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc612822565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054600460ff1991821681179092557fe959a78fae6d9436256ed82fbc0dfddb23f0a79b636f59ba889d3a86803d295380548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527f05eb1b589f204a4fe7655a504aea9ea7eed82943bf6d4e35e26685b49ef2e8f28054909216811790915590819060c86128fd565b6001600160601b038216600090815260066020526040812054839060ff16612c9d57604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b03808516600090815260056020526040902054612cc2911684613343565b6001600160601b03858116600090815260056020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916124eb9187918791879163ffffffff909116906151c0565b6001600160601b038216600090815260066020526040812054839060ff16612d8157604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b03808516600090815260046020526040902054612da6911684613343565b6001600160601b03858116600090815260046020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916124eb9187918791879163ffffffff909116906151c0565b60008051602061527583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160601b038216600090815260066020526040812054839060ff16612ec657604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b03808516600090815260036020526040902054612eeb9116846132bb565b6001600160601b03858116600090815260036020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916124eb9187918791879163ffffffff909116906151c0565b6001600160601b038216600090815260066020526040812054839060ff16612faa57604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b03808516600090815260036020526040902054612fcf911684613343565b6001600160601b03858116600090815260036020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916124eb9187918791879163ffffffff909116906151c0565b6130506126da565b6130598161338e565b50565b6001600160601b038216600090815260066020526040812054839060ff166130a257604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b038085166000908152600560205260409020546130c79116846132bb565b6001600160601b03858116600090815260056020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916124eb9187918791879163ffffffff909116906151c0565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131af919061520c565b600060405180830381855afa9150503d80600081146131ea576040519150601f19603f3d011682016040523d82523d6000602084013e6131ef565b606091505b5091509150811561324157604081511061322157808060200190518101906132179190615228565b9094509250613241565b6020815110613241578080602001905181019061323e9190614c82565b93505b505094509492505050565b600073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613297573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa191906151ef565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af415801561331f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b029190615257565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401613302565b6133966126da565b61305981612e1f565b6001600160601b038116811461305957600080fd5b80356133bf8161339f565b919050565b6000602082840312156133d657600080fd5b81356133e18161339f565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715613420576134206133e8565b60405290565b60405160e081016001600160401b0381118282101715613420576134206133e8565b60405161022081016001600160401b0381118282101715613420576134206133e8565b604080519081016001600160401b0381118282101715613420576134206133e8565b60405161012081016001600160401b0381118282101715613420576134206133e8565b60405161016081016001600160401b0381118282101715613420576134206133e8565b600082601f8301126134e457600080fd5b81356001600160401b03808211156134fe576134fe6133e8565b604051601f8301601f19908116603f01168101908282118183101715613526576135266133e8565b8160405283815286602085880101111561353f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160a01b038116811461305957600080fd5b80356133bf8161355f565b600060c0828403121561359157600080fd5b6135996133fe565b905081356001600160401b03808211156135b257600080fd5b6135be858386016134d3565b83526135cc602085016133b4565b60208401526135dd60408501613574565b60408401526135ee60608501613574565b60608401526135ff60808501613574565b608084015260a084013591508082111561361857600080fd5b50613625848285016134d3565b60a08301525092915050565b60ff8116811461305957600080fd5b80356133bf81613631565b60008060006060848603121561366057600080fd5b833561366b8161339f565b925060208401356001600160401b0381111561368657600080fd5b6136928682870161357f565b92505060408401356136a381613631565b809150509250925092565b6000602082840312156136c057600080fd5b5035919050565b61ffff8116811461305957600080fd5b80356133bf816136c7565b64ffffffffff8116811461305957600080fd5b80356133bf816136e2565b600060e0828403121561371257600080fd5b61371a613426565b9050613725826133b4565b8152613733602083016133b4565b602082015261374460408301613640565b604082015261375560608301613640565b606082015260808201356001600160401b038082111561377457600080fd5b613780858386016134d3565b608084015260a084013591508082111561379957600080fd5b506137a6848285016134d3565b60a0830152506137b860c083016136f5565b60c082015292915050565b6000806000606084860312156137d857600080fd5b83356137e38161339f565b925060208401356137f3816136c7565b915060408401356001600160401b0381111561380e57600080fd5b61381a86828701613700565b9150509250925092565b60006020828403121561383657600080fd5b81356133e181613631565b803562ffffff811681146133bf57600080fd5b60006080828403121561386657600080fd5b604051608081016001600160401b038282108183111715613889576138896133e8565b816040528293508435915061389d826136c7565b9082526020840135906138af8261339f565b81602084015260408501359150808211156138c957600080fd5b506138d6858286016134d3565b60408301525060608301356138ea816136e2565b6060919091015292915050565b6000806000806080858703121561390d57600080fd5b84356139188161339f565b935061392660208601613841565b925060408501356001600160401b0381111561394157600080fd5b61394d87828801613854565b925050606085013561395e81613631565b939692955090935050565b6000806040838503121561397c57600080fd5b82356139878161339f565b9150602083013561399781613631565b809150509250929050565b6001600160c01b03198116811461305957600080fd5b80356133bf816139a2565b801515811461305957600080fd5b80356133bf816139c3565b63ffffffff8116811461305957600080fd5b80356133bf816139dc565b600060a08284031215613a0b57600080fd5b60405160a081016001600160401b038282108183111715613a2e57613a2e6133e8565b8160405282935084359150613a42826139a2565b908252602084013590613a54826139c3565b8160208401526040850135915080821115613a6e57600080fd5b50613a7b858286016134d3565b6040830152506060830135613a8f8161339f565b60608201526080830135613aa2816139dc565b6080919091015292915050565b600080600060608486031215613ac457600080fd5b8335613acf8161339f565b925060208401356001600160401b03811115613aea57600080fd5b613692868287016139f9565b60008060408385031215613b0957600080fd5b8235613b148161339f565b915060208301356139978161339f565b60006102208284031215613b3757600080fd5b613b3f613448565b9050613b4a826133b4565b8152613b58602083016133b4565b6020820152613b69604083016139b8565b6040820152613b7a606083016139b8565b6060820152613b8b608083016133b4565b6080820152613b9c60a083016133b4565b60a0820152613bad60c083016133b4565b60c0820152613bbe60e083016136f5565b60e0820152610100808301356001600160401b0380821115613bdf57600080fd5b613beb868387016134d3565b83850152610120925082850135915080821115613c0757600080fd5b50613c14858286016134d3565b828401525050610140613c288184016136d7565b90820152610160613c3a8382016136d7565b90820152610180613c4c8382016133b4565b908201526101a0613c5e8382016133b4565b908201526101c0613c708382016136f5565b908201526101e0613c828382016136f5565b90820152610200613c948382016136f5565b9082015292915050565b60008060408385031215613cb157600080fd5b8235613cbc8161339f565b915060208301356001600160401b03811115613cd757600080fd5b613ce385828601613b24565b9150509250929050565b600060408284031215613cff57600080fd5b613d0761346b565b90508135613d148161339f565b815260208201356001600160401b03811115613d2f57600080fd5b613d3b848285016134d3565b60208301525092915050565b60008060408385031215613d5a57600080fd5b8235613d65816139a2565b915060208301356001600160401b03811115613d8057600080fd5b613ce385828601613ced565b60006101208284031215613d9f57600080fd5b613da761348d565b905081356001600160401b0380821115613dc057600080fd5b613dcc858386016134d3565b8352602084013560208401526040840135604084015260608401356060840152613df8608085016139ee565b6080840152613e0960a085016139ee565b60a0840152613e1a60c085016139d1565b60c0840152613e2b60e085016139d1565b60e084015261010091508184013581811115613e4657600080fd5b613e52868287016134d3565b8385015250505092915050565b60008060408385031215613e7257600080fd5b8235613e7d816139a2565b915060208301356001600160401b03811115613e9857600080fd5b613ce385828601613d8c565b600080600060608486031215613eb957600080fd5b8335613ec48161339f565b9250613ed260208501613841565b915060408401356136a381613631565b60008060408385031215613ef557600080fd5b8235613f008161339f565b915060208301356001600160401b03811115613f1b57600080fd5b613ce38582860161357f565b600060408284031215613f3957600080fd5b613f4161346b565b9050813581526020820135602082015292915050565b600060e08284031215613f6957600080fd5b613f716133fe565b90508135613f7e8161339f565b8152613f8d8360208401613f27565b602082015260608201356001600160401b03811115613fab57600080fd5b613fb7848285016134d3565b6040830152506080820135613fcb816136e2565b606082015260a0820135613fde816136e2565b608082015260c0820135613ff1816136e2565b60a082015292915050565b60008060006060848603121561401157600080fd5b833561401c8161339f565b925060208401356001600160401b0381111561403757600080fd5b61369286828701613f57565b60005b8381101561405e578181015183820152602001614046565b50506000910152565b6000815180845261407f816020860160208601614043565b601f01601f19169290920160200192915050565b602081526000610b026020830184614067565b6000806000606084860312156140bb57600080fd5b83356140c6816139a2565b925060208401356001600160401b038111156140e157600080fd5b61369286828701613d8c565b600060e082840312156140ff57600080fd5b614107613426565b9050614112826133b4565b815260208201356001600160401b038082111561412e57600080fd5b61413a858386016134d3565b602084015260408401356040840152614155606085016139ee565b6060840152614166608085016139ee565b608084015261417760a085016136f5565b60a084015260c084013591508082111561419057600080fd5b5061419d848285016134d3565b60c08301525092915050565b6000806000606084860312156141be57600080fd5b83356141c9816139a2565b925060208401356001600160401b038111156141e457600080fd5b613692868287016140ed565b80356001600160401b03811681146133bf57600080fd5b60006101c0828403121561421a57600080fd5b6142226134b0565b905061422d826133b4565b815261423b602083016141f0565b602082015261424c604083016133b4565b604082015261425d606083016139d1565b606082015261426e608083016139d1565b608082015261427f60a083016139d1565b60a082015260c082013560c082015260e082013560e08201526101006142a784828501613f27565b908201526101406142ba84848301613f27565b610120830152613c94846101808501613f27565b600080600061020084860312156142e457600080fd5b83356142ef8161339f565b92506142fe8560208601614207565b91506101e08401356136a381613631565b6000806101e0838503121561432357600080fd5b823561432e8161339f565b915061433d8460208501614207565b90509250929050565b60006020828403121561435857600080fd5b81356133e18161355f565b6000806040838503121561437657600080fd5b82356143818161339f565b915060208301356001600160401b0381111561439c57600080fd5b613ce3858286016139f9565b600080604083850312156143bb57600080fd5b8235613987816139a2565b6000806000606084860312156143db57600080fd5b83356143e68161339f565b92506143f460208501613841565b915060408401356001600160401b0381111561440f57600080fd5b61381a86828701613854565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b6020815261447760208201835161441b565b6000602083015160c08084015261449160e0840182614067565b949350505050565b6000806000606084860312156144ae57600080fd5b83356144b98161339f565b925060208401356001600160401b038111156144d457600080fd5b61369286828701613b24565b600080604083850312156144f357600080fd5b82356144fe8161339f565b915060208301356001600160401b0381111561451957600080fd5b613ce385828601613f57565b60a08101610b05828461441b565b6000610200828403121561454657600080fd5b61454e61348d565b9050614559826133b4565b8152614567602083016133b4565b60208201526145798360408401613f27565b604082015261458b8360808401613f27565b606082015261459d8360c08401613f27565b60808201526101006145b184828501613f27565b60a08301526145c4846101408501613f27565b60c08301526145d7846101808501613f27565b60e0830152613c94846101c08501613f27565b60008061022083850312156145fe57600080fd5b82356146098161339f565b915061433d8460208501614533565b60008060006060848603121561462d57600080fd5b8335614638816139a2565b925060208401356001600160401b0381111561465357600080fd5b61369286828701613ced565b60008060006060848603121561467457600080fd5b833561467f81613631565b92506020840135613ed281613631565b600080600061024084860312156146a557600080fd5b83356146b08161339f565b92506146bf8560208601614533565b91506102208401356136a381613631565b6000806000606084860312156146e557600080fd5b83356146f08161339f565b92506020840135613ed2816136c7565b6000806040838503121561471357600080fd5b823561471e816139a2565b915060208301356001600160401b0381111561473957600080fd5b613ce3858286016140ed565b60ff198116811461305957600080fd5b6000806040838503121561476857600080fd5b823561477381613631565b9150602083013561399781614745565b6000806000806080858703121561479957600080fd5b84356147a48161339f565b935060208501356147b4816136c7565b925060408501356001600160401b038111156147cf57600080fd5b61394d87828801613700565b602081526000825160c060208401526147f760e0840182614067565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c08501526148558282614067565b95945050505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516148a3608084018260ff169052565b50608083015160e060a08401526148be610100840182614067565b905060a0840151601f198483030160c08501526148db8282614067565b91505060c08401516148f660e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261493b60a0840182614067565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261499660c0840182614067565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b602081526149df6020820183516001600160601b03169052565b600060208301516149fb60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100614a818185018364ffffffffff169052565b808501519150506102206101208181860152614aa1610240860184614067565b9250808601519050610140601f198685030181870152614ac18483614067565b935080870151915050610160614adc8187018361ffff169052565b8601519050610180614af38682018361ffff169052565b86015190506101a0614b0f868201836001600160601b03169052565b86015190506101c0614b2b868201836001600160601b03169052565b86015190506101e0614b458682018364ffffffffff169052565b8601519050610200614b5f8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b600060208284031215614b9d57600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526144916060840182614067565b6020815260008251610120806020850152614bf1610140850183614067565b91506020850151604085015260408501516060850152606085015160808501526080850151614c2860a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614c5e8187018315159052565b860151858403601f1901838701529050614c788382614067565b9695505050505050565b600060208284031215614c9457600080fd5b81516133e1816139c3565b602081526001600160601b03825116602082015260006020830151614cd1604084018280518252602090810151910152565b50604083015160e06080840152614cec610100840182614067565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b600181811c90821680614d3957607f821691505b602082108103614d5957634e487b7160e01b600052602260045260246000fd5b50919050565b602081526001600160601b0382511660208201526000602083015160e06040840152614d8f610100840182614067565b90506040840151606084015263ffffffff60608501511660808401526080840151614dc260a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526148558282614067565b81516001600160601b031681526101c081016020830151614e1d60208401826001600160401b03169052565b506040830151614e3860408401826001600160601b03169052565b506060830151614e4c606084018215159052565b506080830151614e60608084018215159052565b5060a0830151614e7460a084018215159052565b5060c083015160c083015260e083015160e083015261010080840151614ea68285018280518252602090810151910152565b5050610120830151610140614ec78185018380518252602090810151910152565b840151805161018085015260208101516101a085015290505b5092915050565b81516001600160601b03168152602080830151610200830191614f14908401826001600160601b03169052565b506040830151614f31604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151610100614f7e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050614ee0565b600060208284031215614fdc57600080fd5b81516133e18161355f565b60008085851115614ff757600080fd5b8386111561500457600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156150395780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610a3b57600081815260208120601f850160051c810160208610156150a85750805b601f850160051c820191505b8181101561180d578281556001016150b4565b81516001600160401b038111156150e0576150e06133e8565b6150f4816150ee8454614d25565b84615081565b602080601f83116001811461512957600084156151115750858301515b600019600386901b1c1916600185901b17855561180d565b600085815260208120601f198616915b8281101561515857888601518255948401946001909101908401615139565b50858210156151765787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561519857600080fd5b81516133e181613631565b6000602082840312156151b557600080fd5b81516133e181614745565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b60006020828403121561520157600080fd5b81516133e1816139dc565b6000825161521e818460208701614043565b9190910192915050565b6000806040838503121561523b57600080fd5b8251615246816139c3565b6020840151909250613997816139dc565b60006020828403121561526957600080fd5b81516133e18161339f56fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220e23543828b207b5e0555cf5ff0c6eba0bdf7b28698a05eedd304394488f913af64736f6c63430008140033",
3119
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106103a45760003560e01c80637cca1124116101e9578063af9025001161010f578063ca0e7f08116100ad578063f48016ce1161007c578063f48016ce146109b3578063f5884fc514610774578063fae5df9b146109d4578063fe1f18d6146109e757600080fd5b8063ca0e7f081461093c578063dee326231461094f578063e80c61ed14610962578063e9e96c701461097557600080fd5b8063b6d7cd62116100e9578063b6d7cd62146108e3578063bf1db3f9146108f6578063bf7e214f14610909578063c4d66de81461092957600080fd5b8063af902500146108aa578063b0628dc3146108bd578063b5b3d9f9146108d057600080fd5b80639f8151e511610187578063a5961b4c11610156578063a5961b4c146107c0578063a6a67b1f14610871578063a76ee01814610884578063a89896751461089757600080fd5b80639f8151e514610787578063a1fc100414610774578063a28422291461079a578063a46eb8dc146107ad57600080fd5b80638eaa6ac0116101c35780638eaa6ac0146107075780638eb9000d146107275780638fb3603714610753578063985aeba71461077457600080fd5b80637cca1124146106ce5780637cef4842146106e157806381c2b282146106f457600080fd5b806340529b0f116102ce5780635a8416b01161026c578063684563911161023b5780636845639114610682578063763bb7541461069557806378929823146106a85780637a9e5e4b146106bb57600080fd5b80635a8416b0146105e85780635d4345cc1461048d5780635eede174146105fb57806361105e0e1461066f57600080fd5b806351dd844b116102a857806351dd844b1461058f578063533086d4146105a257806353ebe129146105b557806354f6127f146105c857600080fd5b806340529b0f14610561578063468bce06146105745780634846003a1461057c57600080fd5b80631e40b363116103465780632f61088a116103155780632f61088a1461050557806330a130ba146105185780633870a7701461052b57806338a699a41461053e57600080fd5b80631e40b363146104a0578063228e42ec146104b3578063248a77dd146104df5780632a8ea7ac146104f257600080fd5b80630cfc3ba3116103825780630cfc3ba3146104415780630d358181146104545780630f6c29ef1461047a5780630fad0eb11461048d57600080fd5b80630232ca49146103a957806303c099ac146103f257806309648a9d14610407575b600080fd5b6103d56103b73660046133c4565b6001600160601b039081166000908152600560205260409020541690565b6040516001600160601b0390911681526020015b60405180910390f35b61040561040036600461364b565b6109fa565b005b61042f6104153660046136ae565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020016103e9565b61040561044f3660046137c3565b610a40565b61042f610462366004613824565b60ff9081166000908152602081905260409020541690565b6104056104883660046138f7565b610a7b565b61040561049b366004613969565b610aa8565b6104056104ae366004613aaf565b610ac5565b6103d56104c13660046133c4565b6001600160601b039081166000908152600360205260409020541690565b6103d56104ed366004613af6565b610aed565b610405610500366004613c9e565b610b0b565b610405610513366004613d47565b610b40565b610405610526366004613e5f565b610be0565b610405610539366004613ea4565b610c80565b61055161054c3660046136ae565b610c96565b60405190151581526020016103e9565b61040561056f366004613969565b610d21565b610405610d38565b61040561058a366004613ee2565b610d6a565b61040561059d366004613ffc565b610d9b565b6103d56105b0366004613af6565b610dc3565b6103d56105c3366004613af6565b610dd8565b6105db6105d63660046136ae565b610ded565b6040516103e99190614093565b6104056105f63660046140a6565b610e92565b6106456106093660046133c4565b6001600160601b039081166000908152600360209081526040808320546004835281842054600590935292205491831693908316929190911690565b604080516001600160601b03948516815292841660208401529216918101919091526060016103e9565b61040561067d3660046141a9565b610f32565b610405610690366004613969565b610fd2565b6104056106a33660046142ce565b610fe9565b6104056106b636600461430f565b611011565b6104056106c9366004614346565b611039565b6104056106dc366004614363565b6110c1565b6104056106ef3660046143a8565b6110e9565b6104056107023660046143c6565b611178565b61071a6107153660046136ae565b61119f565b6040516103e99190614465565b6103d56107353660046133c4565b6001600160601b039081166000908152600460205260409020541690565b61075b6112e0565b6040516001600160e01b031990911681526020016103e9565b610405610782366004614499565b611319565b6103d5610795366004613af6565b611341565b6104056107a83660046143a8565b611356565b6104056107bb3660046144e0565b6113a4565b6108646107ce3660046136ae565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516103e99190614525565b61040561087f3660046145ea565b6113d5565b610405610892366004614618565b6113fd565b6104056108a536600461465f565b61149d565b6104056108b83660046143a8565b61158e565b6103d56108cb366004613af6565b6115dc565b6104056108de36600461468f565b6115f1565b6104056108f13660046146d0565b611619565b610551610904366004613824565b61162f565b61091161167c565b6040516001600160a01b0390911681526020016103e9565b610405610937366004614346565b611698565b61040561094a366004614700565b611815565b61040561095d366004613969565b6118b5565b6103d5610970366004613af6565b6118cc565b61055161098336600461465f565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b6109c66109c1366004614755565b6118e1565b6040519081526020016103e9565b6104056109e2366004614783565b611965565b6104056109f5366004613969565b61198c565b610a07335b6000366119a3565b610a3b610a15846064611aa6565b83604051602001610a2691906147db565b60405160208183030381529060405283611af2565b505050565b610a49336109ff565b610a3b610a568484611c6e565b82604051602001610a67919061485e565b604051602081830303815290604052611cbb565b610a84336109ff565b610aa2610a91858561209a565b83604051602001610a2691906148fe565b50505050565b610ab1336109ff565b610a3b610abf8360d3611aa6565b826120e8565b610ace336109ff565b610a3b610adc84607a611aa6565b83604051602001610a269190614958565b6000610af8336109ff565b610b028383612407565b90505b92915050565b610b14336109ff565b610b1d82612598565b610b3c610b2b8360d3611aa6565b82604051602001610a6791906149c5565b5050565b610b49336109ff565b6040516355ee627560e01b8152610b3c9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590610b8e906001600160c01b0319871690600401614b76565b602060405180830381865af4158015610bab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bcf9190614b8b565b82604051602001610a679190614ba4565b610be9336109ff565b6040516355ee627560e01b8152610b3c9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610c2e906001600160c01b0319871690600401614b76565b602060405180830381865af4158015610c4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6f9190614b8b565b82604051602001610a679190614bd2565b610c89336109ff565b610aa2610abf848461209a565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf906024015b602060405180830381865af4158015610cfd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b059190614c82565b610d2a336109ff565b610a3b610abf83607a611aa6565b610d406126da565b610d48612723565b610d50612846565b610d58612939565b610d60612a70565b610d68612b9c565b565b610d73336109ff565b610d7c82612598565b610b3c610d8a836064611aa6565b82604051602001610a6791906147db565b610da4336109ff565b610a3b610db28460dc611aa6565b83604051602001610a269190614c9f565b6000610dce336109ff565b610b028383612c57565b6000610de3336109ff565b610b028383612d3b565b6000818152600260205260409020600101805460609190610e0d90614d25565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3990614d25565b8015610e865780601f10610e5b57610100808354040283529160200191610e86565b820191906000526020600020905b815481529060010190602001808311610e6957829003601f168201915b50505050509050919050565b610e9b336109ff565b6040516355ee627560e01b8152610a3b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590610ee0906001600160c01b0319881690600401614b76565b602060405180830381865af4158015610efd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f219190614b8b565b83604051602001610a269190614bd2565b610f3b336109ff565b6040516355ee627560e01b8152610a3b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590610f80906001600160c01b0319881690600401614b76565b602060405180830381865af4158015610f9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc19190614b8b565b83604051602001610a269190614d5f565b610fdb336109ff565b610a3b610abf83608c611aa6565b610ff2336109ff565b610a3b61100084608c611aa6565b83604051602001610a269190614df1565b61101a336109ff565b610b3c61102883608c611aa6565b82604051602001610a679190614df1565b3361104261167c565b6001600160a01b0316816001600160a01b0316146110825760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b6000036110b8576040516361798f2f60e11b81526001600160a01b0383166004820152602401611079565b610b3c82612e1f565b6110ca336109ff565b610b3c6110d883607a611aa6565b82604051602001610a679190614958565b6110f2336109ff565b6040516355ee627560e01b8152610a3b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590611137906001600160c01b0319871690600401614b76565b602060405180830381865af4158015611154573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abf9190614b8b565b611181336109ff565b610a3b61118e848461209a565b82604051602001610a6791906148fe565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019161125790614d25565b80601f016020809104026020016040519081016040528092919081815260200182805461128390614d25565b80156112d05780601f106112a5576101008083540402835291602001916112d0565b820191906000526020600020905b8154815290600101906020018083116112b357829003601f168201915b5050505050815250509050919050565b600080516020615275833981519152805460009190600160a01b900460ff1661130a576000611313565b638fb3603760e01b5b91505090565b611322336109ff565b610a3b6113308460d3611aa6565b83604051602001610a2691906149c5565b600061134c336109ff565b610b028383612e80565b61135f336109ff565b6040516355ee627560e01b8152610a3b9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590611137906001600160c01b0319871690600401614b76565b6113ad336109ff565b6113b682612598565b610b3c6113c48360dc611aa6565b82604051602001610a679190614c9f565b6113de336109ff565b610b3c6113ec83606e611aa6565b82604051602001610a679190614ee7565b611406336109ff565b6040516355ee627560e01b8152610a3b9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee62759061144b906001600160c01b0319881690600401614b76565b602060405180830381865af4158015611468573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148c9190614b8b565b83604051602001610a269190614ba4565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af4158015611502573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115269190614c82565b1561153057505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416610a3b57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401611079565b611597336109ff565b6040516355ee627560e01b8152610a3b9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611137906001600160c01b0319871690600401614b76565b60006115e7336109ff565b610b028383612f64565b6115fa336109ff565b610a3b61160884606e611aa6565b83604051602001610a269190614ee7565b611622336109ff565b610aa2610abf8484611c6e565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401610ce0565b600080516020615275833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156116dd5750825b90506000826001600160401b031660011480156116f95750303b155b905081158015611707575080155b156117255760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561174f57845460ff60401b1916600160401b1785555b6000866001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561178f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117b39190614fca565b90506117be81613048565b6117c6610d38565b50831561180d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b61181e336109ff565b6040516355ee627560e01b8152610b3c9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590611863906001600160c01b0319871690600401614b76565b602060405180830381865af4158015611880573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a49190614b8b565b82604051602001610a679190614d5f565b6118be336109ff565b610a3b610abf83606e611aa6565b60006118d7336109ff565b610b02838361305c565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$4b9aaffa8d044614668dad578b824b8eee$__9063f48016ce906044015b602060405180830381865af4158015611941573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b029190614b8b565b61196e336109ff565b610aa261197b8585611c6e565b83604051602001610a26919061485e565b611995336109ff565b610a3b610abf8360dc611aa6565b6000805160206152758339815191526000806119de6119c061167c565b87306119d0600460008a8c614fe7565b6119d991615011565b613140565b915091508161180d5763ffffffff811615611a7e57825460ff60a01b1916600160a01b178355611a0c61167c565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611a3b93929190615041565b600060405180830381600087803b158015611a5557600080fd5b505af1158015611a69573d6000803e3d6000fd5b5050845460ff60a01b191685555061180d9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611079565b905090565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__90633889a4c890604401611924565b6000611afe84836120e8565b6000858152600260205260409020909150600101611b1c84826150c7565b50604051634b00e98f60e11b8152600481018590527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611b8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb39190615186565b604051630713cfad60e31b81526004810187905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015611c03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c2791906151a3565b6040805160ff938416815260ff199290921660208301529185168183015233606082015232608082015263ffffffff841660a082015290519081900360c00190a150505050565b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611924565b604051634b00e98f60e11b81526004810183905260009073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611d0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d329190615186565b60405163037c8cb160e51b815260ff8216600482015290915073__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015611d87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dab9190614c82565b15611dce576040516307014a8d60e51b815260ff82166004820152602401611079565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301529073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__9063b2466acf90602401602060405180830381865af4158015611e37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e5b9190614c82565b15611e8557604051633f92eac960e21b81526004810185905260ff83166024820152604401611079565b336000611e9061324c565b90506000611e9d8561162f565b611ea8576004611ebe565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600260205260409020909150600101611f4887826150c7565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af4158015611fbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fdf9190615186565b604051630713cfad60e31b8152600481018a905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af415801561202f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061205391906151a3565b6040805160ff938416815260ff19929092166020830152918416818301526001600160a01b038616606082015232608082015290519081900360a00190a150505050505050565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401611924565b60405163037c8cb160e51b815260ff8216600482015260009073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af415801561213d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121619190614c82565b156121825760405163093b89e160e11b815260048101849052602401611079565b50600082815260026020526040908190208054915163037c8cb160e51b8152610100830460ff1660048201819052600160b01b90930463ffffffff16929073__$2e1fcf62e7a1b3c2a33bdf2228c171b2be$__90636f91962090602401602060405180830381865af41580156121fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122209190614c82565b156122415760405163566ebf7960e01b815260048101869052602401611079565b60ff808516146123c057815461225b9060ff16828661149d565b815461ff00191661010060ff861602178255604051634b00e98f60e11b8152600481018690527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$4b9aaffa8d044614668dad578b824b8eee$__90639601d31e90602401602060405180830381865af41580156122df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123039190615186565b604051630713cfad60e31b81526004810188905273__$4b9aaffa8d044614668dad578b824b8eee$__9063389e7d6890602401602060405180830381865af4158015612353573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237791906151a3565b6040805160ff938416815260ff1990921660208301528285169082015290861660608201523360808201523260a082015263ffffffff851660c082015260e00160405180910390a15b815462010000600160b01b0319163362010000021782556123df61324c565b825463ffffffff91909116600160b01b0263ffffffff60b01b19909116179091555092915050565b6001600160601b038216600090815260066020526040812054839060ff1661244d57604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b038085166000908152600460205260409020546124729116846132bb565b6001600160601b03858116600090815260046020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fb08c267f0a5e1593171021f433a0805c3818d5b57ea45f0609ddb7163dc228a7916124eb9187918791879163ffffffff909116906151c0565b60405180910390a173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af415801561253c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256091906151ef565b6001600160601b03949094166000908152600760205260409020805463ffffffff191663ffffffff9095169490941790935592915050565b6001600160601b03811660009081526006602052604090205460ff16156125dd576040516314d5804160e01b81526001600160601b0382166004820152602401611079565b6001600160601b038116600090815260066020908152604091829020805460ff19166001179055815163e8b7afe360e01b8152915173__$f55ca14f1ddce1b88fe30d23ae45f595f4$__9263e8b7afe39260048083019391928290030181865af415801561264f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061267391906151ef565b6001600160601b038216600081815260076020908152604091829020805463ffffffff191663ffffffff9590951694909417909355519081527f1c26f28e2d8f145150c4243339c6b20813ea2bbc4e6f19ea2c9905060c0411a9910160405180910390a150565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16610d6857604051631afcd79f60e31b815260040160405180910390fd5b7f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d8054600460ff19918216179091557f6148b9e155f392ab316aa9c25ce52ea1072fa76c194a4531a631278390f2665d8054821660019081179091557f042a8fd507d65b84616705080662716b9b0ec20c7f53a045a50cae5785412d1f80548316821790557ffbf8489fd0d5031a099072a99482c9a74b15896ef27736fbf6ce4a0df86cbd308054909216811790915560dc600090815260208290527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec90606e5b60ff1660ff168152602001908152602001600020600061282260c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054600460ff1991821681179092557f6d2f988d6cef7de342e71c982859fc46cd30569eeaf6b6b6723f62064064c77f80548216600190811790915560009283527fc884cae9155e1829c27543e26ecbb72f79fe3a85ba4df2c4a97ad5806356754d6020527ffd917192538431870aa7eaf683d959fb033ceac88fa9da6acd04e4a3587adcf08054909216811790915590819060645b60ff1660ff168152602001908152602001600020600061291b606e90565b60ff1660ff168152602001908152602001600020600061282260d290565b7fa57aae0b1e878b4cf2d1f237d2c6d245fa2af12f527cffc45e0a81d7b3c46abe8054600a60ff19918216179091557f10d8f68d28031156bb5a2007a6e7fc1ff769776115bd307e1d3f2901ec220eef8054821660019081179091557f71e0ce7e96b0b9ecf53c20706f5891c8e9bb320060393406400136d7ab1db61e80548316821790557f3aa5c1a82b8afaca3213d4302f465dcc339ab680e61c71830f7d9c441c63328380548316821790557f43c7433a5aacffae51c5ebfac84907939d07b45e4c81a1b55b29f99254882dff80548316821790557f65155033d9f0b4df6a5deb9f88b40327e7cacbcf532ea7640efa1c295a2be7298054909216811790915560d3600090815260208290527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6906004612804565b7f41d63e1348ead7043feb8677b52ff813a7a3d573fdf99c917846a69e8e7b7e60805460ff199081166032179091557f378c5573ee3453f5c9f5c7aa83b807835ecb097b5151d641746b59340336b67d8054821660019081179091557f7f4fc20c9070f9c8378783c3022311e08af436d0fea4b913fe0bbde88023d12680548316821790557ff6e14778b29b20f68b5cc5186c105c44b748bec78fd85e0b2ec52bc8586d6a6b80548316821790557fb9ec96904d3ea9e7b01f30f8b9a841d70b77145e37a183ebdbba2b0733adc0ec8054603c93168317905560009182527f77835ececcc7e965708390fdc28b7c7141b063a8a849f3954f1d294d07730184602052907f5e9b6496c2ea16de03007cb0b49643b7231addd52c0cee66d8556b1dd66622a19060dc612822565b7fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf714038054600460ff1991821681179092557fe959a78fae6d9436256ed82fbc0dfddb23f0a79b636f59ba889d3a86803d295380548216600190811790915560009283527f47d871bf8fdbdfc3d809d1454103f6ff238aad0f5cefde0353363b9e415ef6a76020527f05eb1b589f204a4fe7655a504aea9ea7eed82943bf6d4e35e26685b49ef2e8f28054909216811790915590819060c86128fd565b6001600160601b038216600090815260066020526040812054839060ff16612c9d57604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b03808516600090815260056020526040902054612cc2911684613343565b6001600160601b03858116600090815260056020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f72d83b31d9d848984842915e1bf55e0b10f5c5c208ea2e893df958de0472fc62916124eb9187918791879163ffffffff909116906151c0565b6001600160601b038216600090815260066020526040812054839060ff16612d8157604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b03808516600090815260046020526040902054612da6911684613343565b6001600160601b03858116600090815260046020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fb254741d2e56b5fc092dabf9d2224554522d8bc0c08a1ffdce59fe0acae2bfc9916124eb9187918791879163ffffffff909116906151c0565b60008051602061527583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160601b038216600090815260066020526040812054839060ff16612ec657604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b03808516600090815260036020526040902054612eeb9116846132bb565b6001600160601b03858116600090815260036020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f5b04742c456b2820460f06a699b464350ad00ad419b30c9bb74699e0d1e64b66916124eb9187918791879163ffffffff909116906151c0565b6001600160601b038216600090815260066020526040812054839060ff16612faa57604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b03808516600090815260036020526040902054612fcf911684613343565b6001600160601b03858116600090815260036020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507f4068631e6ddfc25f1831c04cd7b41e313620779732e776b6e8e62273fccd6e6d916124eb9187918791879163ffffffff909116906151c0565b6130506126da565b6130598161338e565b50565b6001600160601b038216600090815260066020526040812054839060ff166130a257604051631e94ffd760e11b81526001600160601b0382166004820152602401611079565b6001600160601b038085166000908152600560205260409020546130c79116846132bb565b6001600160601b03858116600090815260056020908152604080832080546001600160601b03191694861694909417909355600790528190205490519193507fee2ce932811dedb09eb973e9da29180e86fe3bab034360124e0fd962f795daad916124eb9187918791879163ffffffff909116906151c0565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131af919061520c565b600060405180830381855afa9150503d80600081146131ea576040519150601f19603f3d011682016040523d82523d6000602084013e6131ef565b606091505b5091509150811561324157604081511061322157808060200190518101906132179190615228565b9094509250613241565b6020815110613241578080602001905181019061323e9190614c82565b93505b505094509492505050565b600073__$f55ca14f1ddce1b88fe30d23ae45f595f4$__63e8b7afe36040518163ffffffff1660e01b8152600401602060405180830381865af4158015613297573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa191906151ef565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af415801561331f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b029190615257565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401613302565b6133966126da565b61305981612e1f565b6001600160601b038116811461305957600080fd5b80356133bf8161339f565b919050565b6000602082840312156133d657600080fd5b81356133e18161339f565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160c081016001600160401b0381118282101715613420576134206133e8565b60405290565b60405160e081016001600160401b0381118282101715613420576134206133e8565b60405161022081016001600160401b0381118282101715613420576134206133e8565b604080519081016001600160401b0381118282101715613420576134206133e8565b60405161012081016001600160401b0381118282101715613420576134206133e8565b60405161016081016001600160401b0381118282101715613420576134206133e8565b600082601f8301126134e457600080fd5b81356001600160401b03808211156134fe576134fe6133e8565b604051601f8301601f19908116603f01168101908282118183101715613526576135266133e8565b8160405283815286602085880101111561353f57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6001600160a01b038116811461305957600080fd5b80356133bf8161355f565b600060c0828403121561359157600080fd5b6135996133fe565b905081356001600160401b03808211156135b257600080fd5b6135be858386016134d3565b83526135cc602085016133b4565b60208401526135dd60408501613574565b60408401526135ee60608501613574565b60608401526135ff60808501613574565b608084015260a084013591508082111561361857600080fd5b50613625848285016134d3565b60a08301525092915050565b60ff8116811461305957600080fd5b80356133bf81613631565b60008060006060848603121561366057600080fd5b833561366b8161339f565b925060208401356001600160401b0381111561368657600080fd5b6136928682870161357f565b92505060408401356136a381613631565b809150509250925092565b6000602082840312156136c057600080fd5b5035919050565b61ffff8116811461305957600080fd5b80356133bf816136c7565b64ffffffffff8116811461305957600080fd5b80356133bf816136e2565b600060e0828403121561371257600080fd5b61371a613426565b9050613725826133b4565b8152613733602083016133b4565b602082015261374460408301613640565b604082015261375560608301613640565b606082015260808201356001600160401b038082111561377457600080fd5b613780858386016134d3565b608084015260a084013591508082111561379957600080fd5b506137a6848285016134d3565b60a0830152506137b860c083016136f5565b60c082015292915050565b6000806000606084860312156137d857600080fd5b83356137e38161339f565b925060208401356137f3816136c7565b915060408401356001600160401b0381111561380e57600080fd5b61381a86828701613700565b9150509250925092565b60006020828403121561383657600080fd5b81356133e181613631565b803562ffffff811681146133bf57600080fd5b60006080828403121561386657600080fd5b604051608081016001600160401b038282108183111715613889576138896133e8565b816040528293508435915061389d826136c7565b9082526020840135906138af8261339f565b81602084015260408501359150808211156138c957600080fd5b506138d6858286016134d3565b60408301525060608301356138ea816136e2565b6060919091015292915050565b6000806000806080858703121561390d57600080fd5b84356139188161339f565b935061392660208601613841565b925060408501356001600160401b0381111561394157600080fd5b61394d87828801613854565b925050606085013561395e81613631565b939692955090935050565b6000806040838503121561397c57600080fd5b82356139878161339f565b9150602083013561399781613631565b809150509250929050565b6001600160c01b03198116811461305957600080fd5b80356133bf816139a2565b801515811461305957600080fd5b80356133bf816139c3565b63ffffffff8116811461305957600080fd5b80356133bf816139dc565b600060a08284031215613a0b57600080fd5b60405160a081016001600160401b038282108183111715613a2e57613a2e6133e8565b8160405282935084359150613a42826139a2565b908252602084013590613a54826139c3565b8160208401526040850135915080821115613a6e57600080fd5b50613a7b858286016134d3565b6040830152506060830135613a8f8161339f565b60608201526080830135613aa2816139dc565b6080919091015292915050565b600080600060608486031215613ac457600080fd5b8335613acf8161339f565b925060208401356001600160401b03811115613aea57600080fd5b613692868287016139f9565b60008060408385031215613b0957600080fd5b8235613b148161339f565b915060208301356139978161339f565b60006102208284031215613b3757600080fd5b613b3f613448565b9050613b4a826133b4565b8152613b58602083016133b4565b6020820152613b69604083016139b8565b6040820152613b7a606083016139b8565b6060820152613b8b608083016133b4565b6080820152613b9c60a083016133b4565b60a0820152613bad60c083016133b4565b60c0820152613bbe60e083016136f5565b60e0820152610100808301356001600160401b0380821115613bdf57600080fd5b613beb868387016134d3565b83850152610120925082850135915080821115613c0757600080fd5b50613c14858286016134d3565b828401525050610140613c288184016136d7565b90820152610160613c3a8382016136d7565b90820152610180613c4c8382016133b4565b908201526101a0613c5e8382016133b4565b908201526101c0613c708382016136f5565b908201526101e0613c828382016136f5565b90820152610200613c948382016136f5565b9082015292915050565b60008060408385031215613cb157600080fd5b8235613cbc8161339f565b915060208301356001600160401b03811115613cd757600080fd5b613ce385828601613b24565b9150509250929050565b600060408284031215613cff57600080fd5b613d0761346b565b90508135613d148161339f565b815260208201356001600160401b03811115613d2f57600080fd5b613d3b848285016134d3565b60208301525092915050565b60008060408385031215613d5a57600080fd5b8235613d65816139a2565b915060208301356001600160401b03811115613d8057600080fd5b613ce385828601613ced565b60006101208284031215613d9f57600080fd5b613da761348d565b905081356001600160401b0380821115613dc057600080fd5b613dcc858386016134d3565b8352602084013560208401526040840135604084015260608401356060840152613df8608085016139ee565b6080840152613e0960a085016139ee565b60a0840152613e1a60c085016139d1565b60c0840152613e2b60e085016139d1565b60e084015261010091508184013581811115613e4657600080fd5b613e52868287016134d3565b8385015250505092915050565b60008060408385031215613e7257600080fd5b8235613e7d816139a2565b915060208301356001600160401b03811115613e9857600080fd5b613ce385828601613d8c565b600080600060608486031215613eb957600080fd5b8335613ec48161339f565b9250613ed260208501613841565b915060408401356136a381613631565b60008060408385031215613ef557600080fd5b8235613f008161339f565b915060208301356001600160401b03811115613f1b57600080fd5b613ce38582860161357f565b600060408284031215613f3957600080fd5b613f4161346b565b9050813581526020820135602082015292915050565b600060e08284031215613f6957600080fd5b613f716133fe565b90508135613f7e8161339f565b8152613f8d8360208401613f27565b602082015260608201356001600160401b03811115613fab57600080fd5b613fb7848285016134d3565b6040830152506080820135613fcb816136e2565b606082015260a0820135613fde816136e2565b608082015260c0820135613ff1816136e2565b60a082015292915050565b60008060006060848603121561401157600080fd5b833561401c8161339f565b925060208401356001600160401b0381111561403757600080fd5b61369286828701613f57565b60005b8381101561405e578181015183820152602001614046565b50506000910152565b6000815180845261407f816020860160208601614043565b601f01601f19169290920160200192915050565b602081526000610b026020830184614067565b6000806000606084860312156140bb57600080fd5b83356140c6816139a2565b925060208401356001600160401b038111156140e157600080fd5b61369286828701613d8c565b600060e082840312156140ff57600080fd5b614107613426565b9050614112826133b4565b815260208201356001600160401b038082111561412e57600080fd5b61413a858386016134d3565b602084015260408401356040840152614155606085016139ee565b6060840152614166608085016139ee565b608084015261417760a085016136f5565b60a084015260c084013591508082111561419057600080fd5b5061419d848285016134d3565b60c08301525092915050565b6000806000606084860312156141be57600080fd5b83356141c9816139a2565b925060208401356001600160401b038111156141e457600080fd5b613692868287016140ed565b80356001600160401b03811681146133bf57600080fd5b60006101c0828403121561421a57600080fd5b6142226134b0565b905061422d826133b4565b815261423b602083016141f0565b602082015261424c604083016133b4565b604082015261425d606083016139d1565b606082015261426e608083016139d1565b608082015261427f60a083016139d1565b60a082015260c082013560c082015260e082013560e08201526101006142a784828501613f27565b908201526101406142ba84848301613f27565b610120830152613c94846101808501613f27565b600080600061020084860312156142e457600080fd5b83356142ef8161339f565b92506142fe8560208601614207565b91506101e08401356136a381613631565b6000806101e0838503121561432357600080fd5b823561432e8161339f565b915061433d8460208501614207565b90509250929050565b60006020828403121561435857600080fd5b81356133e18161355f565b6000806040838503121561437657600080fd5b82356143818161339f565b915060208301356001600160401b0381111561439c57600080fd5b613ce3858286016139f9565b600080604083850312156143bb57600080fd5b8235613987816139a2565b6000806000606084860312156143db57600080fd5b83356143e68161339f565b92506143f460208501613841565b915060408401356001600160401b0381111561440f57600080fd5b61381a86828701613854565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b6020815261447760208201835161441b565b6000602083015160c08084015261449160e0840182614067565b949350505050565b6000806000606084860312156144ae57600080fd5b83356144b98161339f565b925060208401356001600160401b038111156144d457600080fd5b61369286828701613b24565b600080604083850312156144f357600080fd5b82356144fe8161339f565b915060208301356001600160401b0381111561451957600080fd5b613ce385828601613f57565b60a08101610b05828461441b565b6000610200828403121561454657600080fd5b61454e61348d565b9050614559826133b4565b8152614567602083016133b4565b60208201526145798360408401613f27565b604082015261458b8360808401613f27565b606082015261459d8360c08401613f27565b60808201526101006145b184828501613f27565b60a08301526145c4846101408501613f27565b60c08301526145d7846101808501613f27565b60e0830152613c94846101c08501613f27565b60008061022083850312156145fe57600080fd5b82356146098161339f565b915061433d8460208501614533565b60008060006060848603121561462d57600080fd5b8335614638816139a2565b925060208401356001600160401b0381111561465357600080fd5b61369286828701613ced565b60008060006060848603121561467457600080fd5b833561467f81613631565b92506020840135613ed281613631565b600080600061024084860312156146a557600080fd5b83356146b08161339f565b92506146bf8560208601614533565b91506102208401356136a381613631565b6000806000606084860312156146e557600080fd5b83356146f08161339f565b92506020840135613ed2816136c7565b6000806040838503121561471357600080fd5b823561471e816139a2565b915060208301356001600160401b0381111561473957600080fd5b613ce3858286016140ed565b60ff198116811461305957600080fd5b6000806040838503121561476857600080fd5b823561477381613631565b9150602083013561399781614745565b6000806000806080858703121561479957600080fd5b84356147a48161339f565b935060208501356147b4816136c7565b925060408501356001600160401b038111156147cf57600080fd5b61394d87828801613700565b602081526000825160c060208401526147f760e0840182614067565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c08501526148558282614067565b95945050505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516148a3608084018260ff169052565b50608083015160e060a08401526148be610100840182614067565b905060a0840151601f198483030160c08501526148db8282614067565b91505060c08401516148f660e085018264ffffffffff169052565b509392505050565b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261493b60a0840182614067565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261499660c0840182614067565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b602081526149df6020820183516001600160601b03169052565b600060208301516149fb60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e0830151610100614a818185018364ffffffffff169052565b808501519150506102206101208181860152614aa1610240860184614067565b9250808601519050610140601f198685030181870152614ac18483614067565b935080870151915050610160614adc8187018361ffff169052565b8601519050610180614af38682018361ffff169052565b86015190506101a0614b0f868201836001600160601b03169052565b86015190506101c0614b2b868201836001600160601b03169052565b86015190506101e0614b458682018364ffffffffff169052565b8601519050610200614b5f8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160c01b031991909116815260200190565b600060208284031215614b9d57600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526144916060840182614067565b6020815260008251610120806020850152614bf1610140850183614067565b91506020850151604085015260408501516060850152606085015160808501526080850151614c2860a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614c5e8187018315159052565b860151858403601f1901838701529050614c788382614067565b9695505050505050565b600060208284031215614c9457600080fd5b81516133e1816139c3565b602081526001600160601b03825116602082015260006020830151614cd1604084018280518252602090810151910152565b50604083015160e06080840152614cec610100840182614067565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b600181811c90821680614d3957607f821691505b602082108103614d5957634e487b7160e01b600052602260045260246000fd5b50919050565b602081526001600160601b0382511660208201526000602083015160e06040840152614d8f610100840182614067565b90506040840151606084015263ffffffff60608501511660808401526080840151614dc260a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526148558282614067565b81516001600160601b031681526101c081016020830151614e1d60208401826001600160401b03169052565b506040830151614e3860408401826001600160601b03169052565b506060830151614e4c606084018215159052565b506080830151614e60608084018215159052565b5060a0830151614e7460a084018215159052565b5060c083015160c083015260e083015160e083015261010080840151614ea68285018280518252602090810151910152565b5050610120830151610140614ec78185018380518252602090810151910152565b840151805161018085015260208101516101a085015290505b5092915050565b81516001600160601b03168152602080830151610200830191614f14908401826001600160601b03169052565b506040830151614f31604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a0830151610100614f7e8185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050614ee0565b600060208284031215614fdc57600080fd5b81516133e18161355f565b60008085851115614ff757600080fd5b8386111561500457600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156150395780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610a3b57600081815260208120601f850160051c810160208610156150a85750805b601f850160051c820191505b8181101561180d578281556001016150b4565b81516001600160401b038111156150e0576150e06133e8565b6150f4816150ee8454614d25565b84615081565b602080601f83116001811461512957600084156151115750858301515b600019600386901b1c1916600185901b17855561180d565b600085815260208120601f198616915b8281101561515857888601518255948401946001909101908401615139565b50858210156151765787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561519857600080fd5b81516133e181613631565b6000602082840312156151b557600080fd5b81516133e181614745565b6001600160601b03948516815292841660208401529216604082015263ffffffff909116606082015260800190565b60006020828403121561520157600080fd5b81516133e1816139dc565b6000825161521e818460208701614043565b9190910192915050565b6000806040838503121561523b57600080fd5b8251615246816139c3565b6020840151909250613997816139dc565b60006020828403121561526957600080fd5b81516133e18161339f56fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220e23543828b207b5e0555cf5ff0c6eba0bdf7b28698a05eedd304394488f913af64736f6c63430008140033",
3120
+ "linkReferences": {
3121
+ "contracts/type/Amount.sol": {
3122
+ "AmountLib": [
3123
+ {
3124
+ "length": 20,
3125
+ "start": 13060
3126
+ },
3127
+ {
3128
+ "length": 20,
3129
+ "start": 13196
3130
+ }
3131
+ ]
3132
+ },
3133
+ "contracts/type/Blocknumber.sol": {
3134
+ "BlocknumberLib": [
3135
+ {
3136
+ "length": 20,
3137
+ "start": 9493
3138
+ },
3139
+ {
3140
+ "length": 20,
3141
+ "start": 9780
3142
+ },
3143
+ {
3144
+ "length": 20,
3145
+ "start": 12912
3146
+ }
3147
+ ]
3148
+ },
3149
+ "contracts/type/ClaimId.sol": {
3150
+ "ClaimIdLib": [
3151
+ {
3152
+ "length": 20,
3153
+ "start": 7353
3154
+ }
3155
+ ]
3156
+ },
3157
+ "contracts/type/DistributorType.sol": {
3158
+ "DistributorTypeLib": [
3159
+ {
3160
+ "length": 20,
3161
+ "start": 3100
3162
+ },
3163
+ {
3164
+ "length": 20,
3165
+ "start": 3790
3166
+ },
3167
+ {
3168
+ "length": 20,
3169
+ "start": 5010
3170
+ }
3171
+ ]
3172
+ },
3173
+ "contracts/type/Key32.sol": {
3174
+ "Key32Lib": [
3175
+ {
3176
+ "length": 20,
3177
+ "start": 6438
3178
+ },
3179
+ {
3180
+ "length": 20,
3181
+ "start": 7029
3182
+ },
3183
+ {
3184
+ "length": 20,
3185
+ "start": 7145
3186
+ },
3187
+ {
3188
+ "length": 20,
3189
+ "start": 7412
3190
+ },
3191
+ {
3192
+ "length": 20,
3193
+ "start": 8097
3194
+ },
3195
+ {
3196
+ "length": 20,
3197
+ "start": 8213
3198
+ },
3199
+ {
3200
+ "length": 20,
3201
+ "start": 8901
3202
+ },
3203
+ {
3204
+ "length": 20,
3205
+ "start": 9017
3206
+ }
3207
+ ]
3208
+ },
3209
+ "contracts/type/NftId.sol": {
3210
+ "NftIdLib": [
3211
+ {
3212
+ "length": 20,
3213
+ "start": 6896
3214
+ }
3215
+ ]
3216
+ },
3217
+ "contracts/type/ObjectType.sol": {
3218
+ "ObjectTypeLib": [
3219
+ {
3220
+ "length": 20,
3221
+ "start": 7533
3222
+ }
3223
+ ]
3224
+ },
3225
+ "contracts/type/PayoutId.sol": {
3226
+ "PayoutIdLib": [
3227
+ {
3228
+ "length": 20,
3229
+ "start": 8422
3230
+ }
3231
+ ]
3232
+ },
3233
+ "contracts/type/Referral.sol": {
3234
+ "ReferralLib": [
3235
+ {
3236
+ "length": 20,
3237
+ "start": 3950
3238
+ },
3239
+ {
3240
+ "length": 20,
3241
+ "start": 5578
3242
+ },
3243
+ {
3244
+ "length": 20,
3245
+ "start": 6225
3246
+ }
3247
+ ]
3248
+ },
3249
+ "contracts/type/RiskId.sol": {
3250
+ "RiskIdLib": [
3251
+ {
3252
+ "length": 20,
3253
+ "start": 2940
3254
+ },
3255
+ {
3256
+ "length": 20,
3257
+ "start": 4389
3258
+ },
3259
+ {
3260
+ "length": 20,
3261
+ "start": 5177
3262
+ }
3263
+ ]
3264
+ },
3265
+ "contracts/type/StateId.sol": {
3266
+ "StateIdLib": [
3267
+ {
3268
+ "length": 20,
3269
+ "start": 3298
3270
+ },
3271
+ {
3272
+ "length": 20,
3273
+ "start": 5352
3274
+ },
3275
+ {
3276
+ "length": 20,
3277
+ "start": 5754
3278
+ },
3279
+ {
3280
+ "length": 20,
3281
+ "start": 7709
3282
+ },
3283
+ {
3284
+ "length": 20,
3285
+ "start": 8483
3286
+ },
3287
+ {
3288
+ "length": 20,
3289
+ "start": 8674
3290
+ }
3291
+ ]
3292
+ }
3293
+ },
3294
+ "deployedLinkReferences": {
3295
+ "contracts/type/Amount.sol": {
3296
+ "AmountLib": [
3297
+ {
3298
+ "length": 20,
3299
+ "start": 13028
3300
+ },
3301
+ {
3302
+ "length": 20,
3303
+ "start": 13164
3304
+ }
3305
+ ]
3306
+ },
3307
+ "contracts/type/Blocknumber.sol": {
3308
+ "BlocknumberLib": [
3309
+ {
3310
+ "length": 20,
3311
+ "start": 9461
3312
+ },
3313
+ {
3314
+ "length": 20,
3315
+ "start": 9748
3316
+ },
3317
+ {
3318
+ "length": 20,
3319
+ "start": 12880
3320
+ }
3321
+ ]
3322
+ },
3323
+ "contracts/type/ClaimId.sol": {
3324
+ "ClaimIdLib": [
3325
+ {
3326
+ "length": 20,
3327
+ "start": 7321
3328
+ }
3329
+ ]
3330
+ },
3331
+ "contracts/type/DistributorType.sol": {
3332
+ "DistributorTypeLib": [
3333
+ {
3334
+ "length": 20,
3335
+ "start": 3068
3336
+ },
3337
+ {
3338
+ "length": 20,
3339
+ "start": 3758
3340
+ },
3341
+ {
3342
+ "length": 20,
3343
+ "start": 4978
3344
+ }
3345
+ ]
3346
+ },
3347
+ "contracts/type/Key32.sol": {
3348
+ "Key32Lib": [
3349
+ {
3350
+ "length": 20,
3351
+ "start": 6406
3352
+ },
3353
+ {
3354
+ "length": 20,
3355
+ "start": 6997
3356
+ },
3357
+ {
3358
+ "length": 20,
3359
+ "start": 7113
3360
+ },
3361
+ {
3362
+ "length": 20,
3363
+ "start": 7380
3364
+ },
3365
+ {
3366
+ "length": 20,
3367
+ "start": 8065
3368
+ },
3369
+ {
3370
+ "length": 20,
3371
+ "start": 8181
3372
+ },
3373
+ {
3374
+ "length": 20,
3375
+ "start": 8869
3376
+ },
3377
+ {
3378
+ "length": 20,
3379
+ "start": 8985
3380
+ }
3381
+ ]
3382
+ },
3383
+ "contracts/type/NftId.sol": {
3384
+ "NftIdLib": [
3385
+ {
3386
+ "length": 20,
3387
+ "start": 6864
3388
+ }
3389
+ ]
3390
+ },
3391
+ "contracts/type/ObjectType.sol": {
3392
+ "ObjectTypeLib": [
3393
+ {
3394
+ "length": 20,
3395
+ "start": 7501
3396
+ }
3397
+ ]
3398
+ },
3399
+ "contracts/type/PayoutId.sol": {
3400
+ "PayoutIdLib": [
3401
+ {
3402
+ "length": 20,
3403
+ "start": 8390
3404
+ }
3405
+ ]
3406
+ },
3407
+ "contracts/type/Referral.sol": {
3408
+ "ReferralLib": [
3409
+ {
3410
+ "length": 20,
3411
+ "start": 3918
3412
+ },
3413
+ {
3414
+ "length": 20,
3415
+ "start": 5546
3416
+ },
3417
+ {
3418
+ "length": 20,
3419
+ "start": 6193
3420
+ }
3421
+ ]
3422
+ },
3423
+ "contracts/type/RiskId.sol": {
3424
+ "RiskIdLib": [
3425
+ {
3426
+ "length": 20,
3427
+ "start": 2908
3428
+ },
3429
+ {
3430
+ "length": 20,
3431
+ "start": 4357
3432
+ },
3433
+ {
3434
+ "length": 20,
3435
+ "start": 5145
3436
+ }
3437
+ ]
3438
+ },
3439
+ "contracts/type/StateId.sol": {
3440
+ "StateIdLib": [
3441
+ {
3442
+ "length": 20,
3443
+ "start": 3266
3444
+ },
3445
+ {
3446
+ "length": 20,
3447
+ "start": 5320
3448
+ },
3449
+ {
3450
+ "length": 20,
3451
+ "start": 5722
3452
+ },
3453
+ {
3454
+ "length": 20,
3455
+ "start": 7677
3456
+ },
3457
+ {
3458
+ "length": 20,
3459
+ "start": 8451
3460
+ },
3461
+ {
3462
+ "length": 20,
3463
+ "start": 8642
3464
+ }
3465
+ ]
3466
+ }
3467
+ }
3468
+ }