@etherisc/gif-next 0.0.2-d408403-475 → 0.0.2-d442a8c-073

Sign up to get free protection for your applications and to get access to all the features.
Files changed (641) hide show
  1. package/README.md +239 -39
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1416 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1349 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +975 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +814 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +304 -1639
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +650 -0
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +469 -1882
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +204 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1565 -0
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1053 -0
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +734 -0
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3458 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +190 -0
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +129 -0
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  41. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  42. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/IComponents.sol/IComponents.json} +2 -2
  44. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  45. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  46. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  48. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  49. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  50. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  51. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  52. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1105 -0
  54. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +746 -0
  56. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  57. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +376 -316
  58. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1154 -0
  60. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1065 -0
  62. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  63. package/artifacts/contracts/pool/Pool.sol/Pool.json +1565 -0
  64. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1432 -0
  66. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +738 -0
  68. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +834 -0
  70. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
  72. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1278 -0
  74. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +810 -0
  76. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +499 -0
  78. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +759 -0
  80. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  81. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +707 -0
  82. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  83. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +536 -0
  84. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +995 -0
  86. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  87. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → product/IProductService.sol/IProductService.json} +188 -177
  88. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1146 -0
  90. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +754 -0
  92. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.json +983 -0
  94. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +778 -0
  96. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  97. package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
  98. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.json +679 -0
  100. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +694 -0
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +678 -77
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1110 -0
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  110. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  111. package/artifacts/contracts/registry/Registry.sol/Registry.json +865 -107
  112. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  113. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1415 -0
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +709 -0
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1292 -0
  120. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  121. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  123. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  124. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  125. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  126. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  127. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  128. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  130. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  131. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  132. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  133. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  134. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  135. package/artifacts/contracts/shared/Component.sol/Component.json +896 -0
  136. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  137. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1475 -0
  138. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  139. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +788 -0
  140. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  141. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +526 -0
  142. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  143. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  144. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  146. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  148. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +631 -0
  150. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  151. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +860 -0
  152. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  153. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  154. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  155. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +77 -169
  156. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  157. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  158. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  159. package/artifacts/contracts/{instance/module/component/IComponent.sol/IComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +66 -52
  160. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  162. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  163. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +91 -31
  164. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  165. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  166. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  167. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → shared/IService.sol/IService.json} +162 -154
  168. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  170. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  171. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  172. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  173. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
  174. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  175. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  176. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  177. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  178. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  179. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  180. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  181. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +244 -0
  182. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  183. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  184. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  185. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +617 -0
  186. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  187. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +255 -23
  188. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  189. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  190. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  191. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +260 -218
  192. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  193. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +150 -0
  194. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  195. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  196. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  198. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  199. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  200. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  201. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +993 -0
  202. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  203. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
  204. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  205. package/artifacts/contracts/staking/Staking.sol/Staking.json +2045 -0
  206. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  207. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +777 -0
  208. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  209. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  210. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  211. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1324 -0
  212. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  213. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +726 -0
  214. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  215. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
  216. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  217. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  218. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  219. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  220. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  221. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  222. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  223. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  224. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  226. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  227. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  228. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  229. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  230. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  231. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  232. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  234. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  235. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  236. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  238. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  239. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  240. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  241. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  242. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  243. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  244. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  245. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +156 -0
  246. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  247. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  248. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  249. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  250. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +280 -0
  252. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  253. package/artifacts/contracts/{types/ChainId.sol/ChainIdLib.json → type/UFixed.sol/MathLib.json} +4 -4
  254. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  255. package/artifacts/contracts/{types/UFixed.sol/UFixedMathLib.json → type/UFixed.sol/UFixedLib.json} +4 -4
  256. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  258. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
  260. package/contracts/distribution/Distribution.sol +261 -0
  261. package/contracts/distribution/DistributionService.sol +298 -0
  262. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  263. package/contracts/distribution/IDistributionComponent.sol +66 -0
  264. package/contracts/distribution/IDistributionService.sol +81 -0
  265. package/contracts/instance/BundleManager.sol +126 -0
  266. package/contracts/instance/IInstance.sol +72 -46
  267. package/contracts/instance/IInstanceService.sol +81 -0
  268. package/contracts/instance/Instance.sol +220 -59
  269. package/contracts/instance/InstanceAdmin.sol +331 -0
  270. package/contracts/instance/InstanceAuthorizationsLib.sol +349 -0
  271. package/contracts/instance/InstanceReader.sol +365 -0
  272. package/contracts/instance/InstanceService.sol +362 -0
  273. package/contracts/instance/InstanceServiceManager.sol +44 -0
  274. package/contracts/instance/InstanceStore.sol +260 -0
  275. package/contracts/instance/base/BalanceStore.sol +118 -0
  276. package/contracts/instance/base/Cloneable.sol +51 -0
  277. package/contracts/instance/base/ObjectManager.sol +82 -0
  278. package/contracts/instance/module/IAccess.sol +46 -0
  279. package/contracts/instance/module/IBundle.sol +20 -0
  280. package/contracts/instance/module/IComponents.sol +52 -0
  281. package/contracts/instance/module/IDistribution.sol +42 -0
  282. package/contracts/instance/module/IPolicy.sol +84 -0
  283. package/contracts/instance/module/IRisk.sol +11 -0
  284. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  285. package/contracts/pool/BundleService.sol +296 -0
  286. package/contracts/pool/BundleServiceManager.sol +42 -0
  287. package/contracts/pool/IBundleService.sol +106 -0
  288. package/contracts/pool/IPoolComponent.sol +112 -0
  289. package/contracts/pool/IPoolService.sol +150 -0
  290. package/contracts/pool/Pool.sol +299 -0
  291. package/contracts/pool/PoolService.sol +453 -0
  292. package/contracts/pool/PoolServiceManager.sol +42 -0
  293. package/contracts/product/ApplicationService.sol +254 -0
  294. package/contracts/product/ApplicationServiceManager.sol +38 -0
  295. package/contracts/product/ClaimService.sol +442 -0
  296. package/contracts/product/ClaimServiceManager.sol +38 -0
  297. package/contracts/product/IApplicationService.sol +62 -0
  298. package/contracts/product/IClaimService.sol +93 -0
  299. package/contracts/product/IPolicyService.sol +78 -0
  300. package/contracts/product/IPricingService.sol +39 -0
  301. package/contracts/product/IProductComponent.sol +42 -0
  302. package/contracts/product/IProductService.sol +33 -0
  303. package/contracts/product/PolicyService.sol +475 -0
  304. package/contracts/product/PolicyServiceManager.sol +42 -0
  305. package/contracts/product/PricingService.sol +301 -0
  306. package/contracts/product/PricingServiceManager.sol +42 -0
  307. package/contracts/product/Product.sol +377 -0
  308. package/contracts/product/ProductService.sol +124 -0
  309. package/contracts/product/ProductServiceManager.sol +42 -0
  310. package/contracts/registry/ChainNft.sol +95 -37
  311. package/contracts/registry/IRegistry.sol +95 -28
  312. package/contracts/registry/IRegistryService.sol +69 -0
  313. package/contracts/registry/ITransferInterceptor.sol +7 -0
  314. package/contracts/registry/Registry.sol +476 -282
  315. package/contracts/registry/RegistryAdmin.sol +237 -0
  316. package/contracts/registry/RegistryService.sol +266 -0
  317. package/contracts/registry/RegistryServiceManager.sol +58 -0
  318. package/contracts/registry/ReleaseManager.sol +599 -0
  319. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  320. package/contracts/registry/TokenRegistry.sol +315 -0
  321. package/contracts/shared/AccessManagerCustom.sol +736 -0
  322. package/contracts/shared/AccessManagerExtended.sol +470 -0
  323. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  324. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  325. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  326. package/contracts/shared/Component.sol +278 -0
  327. package/contracts/shared/ComponentService.sol +596 -0
  328. package/contracts/shared/ComponentServiceManager.sol +35 -0
  329. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  330. package/contracts/shared/ERC165.sol +15 -9
  331. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  332. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  333. package/contracts/shared/IComponent.sol +70 -0
  334. package/contracts/shared/IComponentService.sol +91 -0
  335. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  336. package/contracts/shared/IKeyValueStore.sol +53 -0
  337. package/contracts/{instance/base → shared}/ILifecycle.sol +4 -4
  338. package/contracts/shared/INftOwnable.sol +23 -0
  339. package/contracts/shared/IPolicyHolder.sol +45 -0
  340. package/contracts/shared/IRegisterable.sol +10 -19
  341. package/contracts/shared/IRegistryLinked.sol +11 -0
  342. package/contracts/shared/IService.sol +18 -0
  343. package/contracts/shared/IVersionable.sol +38 -37
  344. package/contracts/shared/InitializableCustom.sol +177 -0
  345. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  346. package/contracts/shared/KeyValueStore.sol +127 -0
  347. package/contracts/{instance/base → shared}/Lifecycle.sol +29 -8
  348. package/contracts/shared/NftIdSetManager.sol +65 -0
  349. package/contracts/shared/NftOwnable.sol +107 -0
  350. package/contracts/shared/PolicyHolder.sol +102 -0
  351. package/contracts/shared/ProxyManager.sol +199 -0
  352. package/contracts/shared/Registerable.sol +54 -65
  353. package/contracts/shared/RegistryLinked.sol +43 -0
  354. package/contracts/shared/Service.sol +77 -0
  355. package/contracts/shared/TokenHandler.sol +58 -0
  356. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  357. package/contracts/shared/Versionable.sol +38 -68
  358. package/contracts/staking/IStaking.sol +168 -0
  359. package/contracts/staking/IStakingService.sol +149 -0
  360. package/contracts/staking/StakeManagerLib.sol +179 -0
  361. package/contracts/staking/Staking.sol +551 -0
  362. package/contracts/staking/StakingManager.sol +54 -0
  363. package/contracts/staking/StakingReader.sol +187 -0
  364. package/contracts/staking/StakingService.sol +406 -0
  365. package/contracts/staking/StakingServiceManager.sol +45 -0
  366. package/contracts/staking/StakingStore.sol +572 -0
  367. package/contracts/staking/TargetManagerLib.sol +207 -0
  368. package/contracts/{types → type}/AddressSet.sol +1 -1
  369. package/contracts/type/Amount.sol +128 -0
  370. package/contracts/{types → type}/Blocknumber.sol +21 -3
  371. package/contracts/type/ClaimId.sol +75 -0
  372. package/contracts/type/DistributorType.sol +55 -0
  373. package/contracts/type/Fee.sol +66 -0
  374. package/contracts/{types → type}/Key32.sol +8 -3
  375. package/contracts/{types → type}/NftId.sol +21 -15
  376. package/contracts/type/NftIdSet.sol +62 -0
  377. package/contracts/{types → type}/ObjectType.sol +53 -15
  378. package/contracts/type/PayoutId.sol +82 -0
  379. package/contracts/type/Referral.sol +89 -0
  380. package/contracts/{types → type}/RiskId.sol +1 -1
  381. package/contracts/type/RoleId.sol +143 -0
  382. package/contracts/type/Seconds.sol +81 -0
  383. package/contracts/{types → type}/StateId.sol +29 -7
  384. package/contracts/{types → type}/Timestamp.sol +22 -13
  385. package/contracts/{types → type}/UFixed.sol +129 -12
  386. package/contracts/{types → type}/Version.sol +15 -2
  387. package/package.json +6 -5
  388. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  389. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  390. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  391. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -405
  392. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  393. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -174
  394. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  395. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -340
  396. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  397. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -487
  398. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  399. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -370
  400. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  401. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -578
  402. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  403. package/artifacts/contracts/components/Product.sol/Product.json +0 -444
  404. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  405. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  406. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  407. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  408. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  409. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  410. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  411. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  412. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  413. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  414. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  415. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  416. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  417. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  418. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  419. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  420. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  421. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  422. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  423. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  424. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  425. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  426. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  427. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  428. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  429. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  430. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  431. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  432. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  433. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  434. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  435. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  436. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  437. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  438. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  439. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  440. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  441. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  442. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  443. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  444. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  445. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  446. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  447. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  448. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  449. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  450. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -710
  451. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  452. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  453. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  454. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  455. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  456. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  457. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  458. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  459. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  460. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  461. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  462. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  463. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  464. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  465. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  466. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  467. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  468. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -117
  469. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  470. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  471. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  472. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  473. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  474. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  475. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  476. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  477. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  478. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  479. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  480. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  481. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  482. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  483. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  484. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  485. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  486. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  487. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  488. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  489. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  490. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  491. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  492. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  493. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  494. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +0 -10
  495. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  496. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -511
  497. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  498. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  499. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  500. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -511
  501. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  502. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -531
  503. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  504. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -420
  505. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  506. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -364
  507. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  508. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  509. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -440
  510. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  511. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  512. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -543
  513. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  514. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -858
  515. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  516. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  517. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  518. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  519. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  520. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -405
  521. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  522. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  523. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  524. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -578
  525. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  526. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -575
  527. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  528. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  529. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  530. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  531. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  532. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  533. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  534. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  535. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  536. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  537. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  538. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  539. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  540. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  541. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  542. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  543. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  544. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  545. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  546. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  547. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  548. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  549. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  550. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  551. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  552. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  553. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  554. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  555. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  556. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  557. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  558. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  559. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  560. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  561. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  562. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  563. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  564. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  565. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  566. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  567. package/contracts/components/BaseComponent.sol +0 -94
  568. package/contracts/components/Distribution.sol +0 -132
  569. package/contracts/components/IBaseComponent.sol +0 -19
  570. package/contracts/components/IDistributionComponent.sol +0 -48
  571. package/contracts/components/IPoolComponent.sol +0 -71
  572. package/contracts/components/IProductComponent.sol +0 -38
  573. package/contracts/components/Pool.sol +0 -235
  574. package/contracts/components/Product.sol +0 -227
  575. package/contracts/experiment/errors/Require.sol +0 -38
  576. package/contracts/experiment/errors/Revert.sol +0 -44
  577. package/contracts/experiment/inheritance/A.sol +0 -53
  578. package/contracts/experiment/inheritance/B.sol +0 -28
  579. package/contracts/experiment/inheritance/C.sol +0 -34
  580. package/contracts/experiment/inheritance/IA.sol +0 -13
  581. package/contracts/experiment/inheritance/IB.sol +0 -10
  582. package/contracts/experiment/inheritance/IC.sol +0 -12
  583. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  584. package/contracts/experiment/statemachine/ISM.sol +0 -25
  585. package/contracts/experiment/statemachine/README.md +0 -112
  586. package/contracts/experiment/statemachine/SM.sol +0 -57
  587. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  588. package/contracts/experiment/types/TypeA.sol +0 -47
  589. package/contracts/experiment/types/TypeB.sol +0 -29
  590. package/contracts/instance/IInstanceLinked.sol +0 -8
  591. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  592. package/contracts/instance/base/IInstanceBase.sol +0 -22
  593. package/contracts/instance/base/IKeyValueStore.sol +0 -50
  594. package/contracts/instance/base/IService.sol +0 -15
  595. package/contracts/instance/base/InstanceBase.sol +0 -91
  596. package/contracts/instance/base/KeyValueStore.sol +0 -161
  597. package/contracts/instance/base/ModuleBase.sol +0 -57
  598. package/contracts/instance/base/ServiceBase.sol +0 -37
  599. package/contracts/instance/module/access/Access.sol +0 -149
  600. package/contracts/instance/module/access/IAccess.sol +0 -53
  601. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  602. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  603. package/contracts/instance/module/component/ComponentModule.sol +0 -70
  604. package/contracts/instance/module/component/IComponent.sol +0 -28
  605. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  606. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  607. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  608. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  609. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  610. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  611. package/contracts/instance/module/risk/IRisk.sol +0 -26
  612. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  613. package/contracts/instance/module/treasury/ITreasury.sol +0 -82
  614. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  615. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -138
  616. package/contracts/instance/service/ComponentOwnerService.sol +0 -157
  617. package/contracts/instance/service/DistributionService.sol +0 -59
  618. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  619. package/contracts/instance/service/IDistributionService.sol +0 -12
  620. package/contracts/instance/service/IPoolService.sol +0 -37
  621. package/contracts/instance/service/IProductService.sol +0 -107
  622. package/contracts/instance/service/PoolService.sol +0 -149
  623. package/contracts/instance/service/ProductService.sol +0 -509
  624. package/contracts/registry/IChainNft.sol +0 -21
  625. package/contracts/registry/IRegistryLinked.sol +0 -8
  626. package/contracts/shared/IOwnable.sol +0 -6
  627. package/contracts/test/TestDistribution.sol +0 -21
  628. package/contracts/test/TestFee.sol +0 -25
  629. package/contracts/test/TestPool.sol +0 -25
  630. package/contracts/test/TestProduct.sol +0 -72
  631. package/contracts/test/TestRegisterable.sol +0 -19
  632. package/contracts/test/TestRoleId.sol +0 -14
  633. package/contracts/test/TestService.sol +0 -32
  634. package/contracts/test/TestToken.sol +0 -26
  635. package/contracts/test/TestVersion.sol +0 -44
  636. package/contracts/test/TestVersionable.sol +0 -17
  637. package/contracts/types/ChainId.sol +0 -38
  638. package/contracts/types/Fee.sol +0 -56
  639. package/contracts/types/NftIdSet.sol +0 -60
  640. package/contracts/types/ReferralId.sol +0 -48
  641. package/contracts/types/RoleId.sol +0 -38
@@ -0,0 +1,1565 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceReader",
4
+ "sourceName": "contracts/instance/InstanceReader.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "targetNftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "getBalanceAmount",
25
+ "outputs": [
26
+ {
27
+ "internalType": "Amount",
28
+ "name": "",
29
+ "type": "uint96"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "NftId",
39
+ "name": "bundleNftId",
40
+ "type": "uint96"
41
+ }
42
+ ],
43
+ "name": "getBundleInfo",
44
+ "outputs": [
45
+ {
46
+ "components": [
47
+ {
48
+ "internalType": "NftId",
49
+ "name": "poolNftId",
50
+ "type": "uint96"
51
+ },
52
+ {
53
+ "components": [
54
+ {
55
+ "internalType": "UFixed",
56
+ "name": "fractionalFee",
57
+ "type": "uint256"
58
+ },
59
+ {
60
+ "internalType": "uint256",
61
+ "name": "fixedFee",
62
+ "type": "uint256"
63
+ }
64
+ ],
65
+ "internalType": "struct Fee",
66
+ "name": "fee",
67
+ "type": "tuple"
68
+ },
69
+ {
70
+ "internalType": "bytes",
71
+ "name": "filter",
72
+ "type": "bytes"
73
+ },
74
+ {
75
+ "internalType": "Seconds",
76
+ "name": "lifetime",
77
+ "type": "uint40"
78
+ },
79
+ {
80
+ "internalType": "Timestamp",
81
+ "name": "expiredAt",
82
+ "type": "uint40"
83
+ },
84
+ {
85
+ "internalType": "Timestamp",
86
+ "name": "closedAt",
87
+ "type": "uint40"
88
+ }
89
+ ],
90
+ "internalType": "struct IBundle.BundleInfo",
91
+ "name": "info",
92
+ "type": "tuple"
93
+ }
94
+ ],
95
+ "stateMutability": "view",
96
+ "type": "function"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "NftId",
102
+ "name": "policyNftId",
103
+ "type": "uint96"
104
+ },
105
+ {
106
+ "internalType": "ClaimId",
107
+ "name": "claimId",
108
+ "type": "uint16"
109
+ }
110
+ ],
111
+ "name": "getClaimInfo",
112
+ "outputs": [
113
+ {
114
+ "components": [
115
+ {
116
+ "internalType": "Amount",
117
+ "name": "claimAmount",
118
+ "type": "uint96"
119
+ },
120
+ {
121
+ "internalType": "Amount",
122
+ "name": "paidAmount",
123
+ "type": "uint96"
124
+ },
125
+ {
126
+ "internalType": "uint8",
127
+ "name": "payoutsCount",
128
+ "type": "uint8"
129
+ },
130
+ {
131
+ "internalType": "uint8",
132
+ "name": "openPayoutsCount",
133
+ "type": "uint8"
134
+ },
135
+ {
136
+ "internalType": "bytes",
137
+ "name": "submissionData",
138
+ "type": "bytes"
139
+ },
140
+ {
141
+ "internalType": "bytes",
142
+ "name": "processData",
143
+ "type": "bytes"
144
+ },
145
+ {
146
+ "internalType": "Timestamp",
147
+ "name": "closedAt",
148
+ "type": "uint40"
149
+ }
150
+ ],
151
+ "internalType": "struct IPolicy.ClaimInfo",
152
+ "name": "info",
153
+ "type": "tuple"
154
+ }
155
+ ],
156
+ "stateMutability": "view",
157
+ "type": "function"
158
+ },
159
+ {
160
+ "inputs": [
161
+ {
162
+ "internalType": "NftId",
163
+ "name": "policyNftId",
164
+ "type": "uint96"
165
+ },
166
+ {
167
+ "internalType": "ClaimId",
168
+ "name": "claimId",
169
+ "type": "uint16"
170
+ }
171
+ ],
172
+ "name": "getClaimState",
173
+ "outputs": [
174
+ {
175
+ "internalType": "StateId",
176
+ "name": "state",
177
+ "type": "uint8"
178
+ }
179
+ ],
180
+ "stateMutability": "view",
181
+ "type": "function"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "NftId",
187
+ "name": "componentNftId",
188
+ "type": "uint96"
189
+ }
190
+ ],
191
+ "name": "getComponentInfo",
192
+ "outputs": [
193
+ {
194
+ "components": [
195
+ {
196
+ "internalType": "string",
197
+ "name": "name",
198
+ "type": "string"
199
+ },
200
+ {
201
+ "internalType": "NftId",
202
+ "name": "productNftId",
203
+ "type": "uint96"
204
+ },
205
+ {
206
+ "internalType": "contract IERC20Metadata",
207
+ "name": "token",
208
+ "type": "address"
209
+ },
210
+ {
211
+ "internalType": "contract TokenHandler",
212
+ "name": "tokenHandler",
213
+ "type": "address"
214
+ },
215
+ {
216
+ "internalType": "address",
217
+ "name": "wallet",
218
+ "type": "address"
219
+ },
220
+ {
221
+ "internalType": "bytes",
222
+ "name": "data",
223
+ "type": "bytes"
224
+ }
225
+ ],
226
+ "internalType": "struct IComponents.ComponentInfo",
227
+ "name": "info",
228
+ "type": "tuple"
229
+ }
230
+ ],
231
+ "stateMutability": "view",
232
+ "type": "function"
233
+ },
234
+ {
235
+ "inputs": [
236
+ {
237
+ "internalType": "ReferralId",
238
+ "name": "referralId",
239
+ "type": "bytes8"
240
+ }
241
+ ],
242
+ "name": "getDiscountPercentage",
243
+ "outputs": [
244
+ {
245
+ "internalType": "UFixed",
246
+ "name": "discountPercentage",
247
+ "type": "uint256"
248
+ },
249
+ {
250
+ "internalType": "ReferralStatus",
251
+ "name": "status",
252
+ "type": "uint8"
253
+ }
254
+ ],
255
+ "stateMutability": "view",
256
+ "type": "function"
257
+ },
258
+ {
259
+ "inputs": [
260
+ {
261
+ "internalType": "NftId",
262
+ "name": "distributorNftId",
263
+ "type": "uint96"
264
+ }
265
+ ],
266
+ "name": "getDistributorInfo",
267
+ "outputs": [
268
+ {
269
+ "components": [
270
+ {
271
+ "internalType": "DistributorType",
272
+ "name": "distributorType",
273
+ "type": "bytes8"
274
+ },
275
+ {
276
+ "internalType": "bool",
277
+ "name": "active",
278
+ "type": "bool"
279
+ },
280
+ {
281
+ "internalType": "bytes",
282
+ "name": "data",
283
+ "type": "bytes"
284
+ },
285
+ {
286
+ "internalType": "Amount",
287
+ "name": "commissionAmount",
288
+ "type": "uint96"
289
+ },
290
+ {
291
+ "internalType": "uint32",
292
+ "name": "numPoliciesSold",
293
+ "type": "uint32"
294
+ }
295
+ ],
296
+ "internalType": "struct IDistribution.DistributorInfo",
297
+ "name": "info",
298
+ "type": "tuple"
299
+ }
300
+ ],
301
+ "stateMutability": "view",
302
+ "type": "function"
303
+ },
304
+ {
305
+ "inputs": [
306
+ {
307
+ "internalType": "DistributorType",
308
+ "name": "distributorType",
309
+ "type": "bytes8"
310
+ }
311
+ ],
312
+ "name": "getDistributorTypeInfo",
313
+ "outputs": [
314
+ {
315
+ "components": [
316
+ {
317
+ "internalType": "string",
318
+ "name": "name",
319
+ "type": "string"
320
+ },
321
+ {
322
+ "internalType": "UFixed",
323
+ "name": "minDiscountPercentage",
324
+ "type": "uint256"
325
+ },
326
+ {
327
+ "internalType": "UFixed",
328
+ "name": "maxDiscountPercentage",
329
+ "type": "uint256"
330
+ },
331
+ {
332
+ "internalType": "UFixed",
333
+ "name": "commissionPercentage",
334
+ "type": "uint256"
335
+ },
336
+ {
337
+ "internalType": "uint32",
338
+ "name": "maxReferralCount",
339
+ "type": "uint32"
340
+ },
341
+ {
342
+ "internalType": "uint32",
343
+ "name": "maxReferralLifetime",
344
+ "type": "uint32"
345
+ },
346
+ {
347
+ "internalType": "bool",
348
+ "name": "allowSelfReferrals",
349
+ "type": "bool"
350
+ },
351
+ {
352
+ "internalType": "bool",
353
+ "name": "allowRenewals",
354
+ "type": "bool"
355
+ },
356
+ {
357
+ "internalType": "bytes",
358
+ "name": "data",
359
+ "type": "bytes"
360
+ }
361
+ ],
362
+ "internalType": "struct IDistribution.DistributorTypeInfo",
363
+ "name": "info",
364
+ "type": "tuple"
365
+ }
366
+ ],
367
+ "stateMutability": "view",
368
+ "type": "function"
369
+ },
370
+ {
371
+ "inputs": [
372
+ {
373
+ "internalType": "NftId",
374
+ "name": "targetNftId",
375
+ "type": "uint96"
376
+ }
377
+ ],
378
+ "name": "getFeeAmount",
379
+ "outputs": [
380
+ {
381
+ "internalType": "Amount",
382
+ "name": "",
383
+ "type": "uint96"
384
+ }
385
+ ],
386
+ "stateMutability": "view",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "getInstance",
392
+ "outputs": [
393
+ {
394
+ "internalType": "contract IInstance",
395
+ "name": "instance",
396
+ "type": "address"
397
+ }
398
+ ],
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "getInstanceStore",
405
+ "outputs": [
406
+ {
407
+ "internalType": "contract IKeyValueStore",
408
+ "name": "store",
409
+ "type": "address"
410
+ }
411
+ ],
412
+ "stateMutability": "view",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [
417
+ {
418
+ "internalType": "NftId",
419
+ "name": "targetNftId",
420
+ "type": "uint96"
421
+ }
422
+ ],
423
+ "name": "getLockedAmount",
424
+ "outputs": [
425
+ {
426
+ "internalType": "Amount",
427
+ "name": "",
428
+ "type": "uint96"
429
+ }
430
+ ],
431
+ "stateMutability": "view",
432
+ "type": "function"
433
+ },
434
+ {
435
+ "inputs": [
436
+ {
437
+ "internalType": "Key32",
438
+ "name": "key",
439
+ "type": "bytes32"
440
+ }
441
+ ],
442
+ "name": "getMetadata",
443
+ "outputs": [
444
+ {
445
+ "components": [
446
+ {
447
+ "internalType": "ObjectType",
448
+ "name": "objectType",
449
+ "type": "uint8"
450
+ },
451
+ {
452
+ "internalType": "StateId",
453
+ "name": "state",
454
+ "type": "uint8"
455
+ },
456
+ {
457
+ "internalType": "Blocknumber",
458
+ "name": "updatedIn",
459
+ "type": "uint32"
460
+ },
461
+ {
462
+ "internalType": "Blocknumber",
463
+ "name": "createdIn",
464
+ "type": "uint32"
465
+ }
466
+ ],
467
+ "internalType": "struct IKeyValueStore.Metadata",
468
+ "name": "metadata",
469
+ "type": "tuple"
470
+ }
471
+ ],
472
+ "stateMutability": "view",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [
477
+ {
478
+ "internalType": "NftId",
479
+ "name": "policyNftId",
480
+ "type": "uint96"
481
+ },
482
+ {
483
+ "internalType": "PayoutId",
484
+ "name": "payoutId",
485
+ "type": "uint24"
486
+ }
487
+ ],
488
+ "name": "getPayoutInfo",
489
+ "outputs": [
490
+ {
491
+ "components": [
492
+ {
493
+ "internalType": "ClaimId",
494
+ "name": "claimId",
495
+ "type": "uint16"
496
+ },
497
+ {
498
+ "internalType": "Amount",
499
+ "name": "amount",
500
+ "type": "uint96"
501
+ },
502
+ {
503
+ "internalType": "bytes",
504
+ "name": "data",
505
+ "type": "bytes"
506
+ },
507
+ {
508
+ "internalType": "Timestamp",
509
+ "name": "paidAt",
510
+ "type": "uint40"
511
+ }
512
+ ],
513
+ "internalType": "struct IPolicy.PayoutInfo",
514
+ "name": "info",
515
+ "type": "tuple"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [
523
+ {
524
+ "internalType": "NftId",
525
+ "name": "policyNftId",
526
+ "type": "uint96"
527
+ },
528
+ {
529
+ "internalType": "PayoutId",
530
+ "name": "payoutId",
531
+ "type": "uint24"
532
+ }
533
+ ],
534
+ "name": "getPayoutState",
535
+ "outputs": [
536
+ {
537
+ "internalType": "StateId",
538
+ "name": "state",
539
+ "type": "uint8"
540
+ }
541
+ ],
542
+ "stateMutability": "view",
543
+ "type": "function"
544
+ },
545
+ {
546
+ "inputs": [
547
+ {
548
+ "internalType": "NftId",
549
+ "name": "policyNftId",
550
+ "type": "uint96"
551
+ }
552
+ ],
553
+ "name": "getPolicyInfo",
554
+ "outputs": [
555
+ {
556
+ "components": [
557
+ {
558
+ "internalType": "NftId",
559
+ "name": "productNftId",
560
+ "type": "uint96"
561
+ },
562
+ {
563
+ "internalType": "NftId",
564
+ "name": "bundleNftId",
565
+ "type": "uint96"
566
+ },
567
+ {
568
+ "internalType": "ReferralId",
569
+ "name": "referralId",
570
+ "type": "bytes8"
571
+ },
572
+ {
573
+ "internalType": "RiskId",
574
+ "name": "riskId",
575
+ "type": "bytes8"
576
+ },
577
+ {
578
+ "internalType": "Amount",
579
+ "name": "sumInsuredAmount",
580
+ "type": "uint96"
581
+ },
582
+ {
583
+ "internalType": "Amount",
584
+ "name": "premiumAmount",
585
+ "type": "uint96"
586
+ },
587
+ {
588
+ "internalType": "Amount",
589
+ "name": "premiumPaidAmount",
590
+ "type": "uint96"
591
+ },
592
+ {
593
+ "internalType": "Seconds",
594
+ "name": "lifetime",
595
+ "type": "uint40"
596
+ },
597
+ {
598
+ "internalType": "bytes",
599
+ "name": "applicationData",
600
+ "type": "bytes"
601
+ },
602
+ {
603
+ "internalType": "bytes",
604
+ "name": "processData",
605
+ "type": "bytes"
606
+ },
607
+ {
608
+ "internalType": "uint16",
609
+ "name": "claimsCount",
610
+ "type": "uint16"
611
+ },
612
+ {
613
+ "internalType": "uint16",
614
+ "name": "openClaimsCount",
615
+ "type": "uint16"
616
+ },
617
+ {
618
+ "internalType": "Amount",
619
+ "name": "claimAmount",
620
+ "type": "uint96"
621
+ },
622
+ {
623
+ "internalType": "Amount",
624
+ "name": "payoutAmount",
625
+ "type": "uint96"
626
+ },
627
+ {
628
+ "internalType": "Timestamp",
629
+ "name": "activatedAt",
630
+ "type": "uint40"
631
+ },
632
+ {
633
+ "internalType": "Timestamp",
634
+ "name": "expiredAt",
635
+ "type": "uint40"
636
+ },
637
+ {
638
+ "internalType": "Timestamp",
639
+ "name": "closedAt",
640
+ "type": "uint40"
641
+ }
642
+ ],
643
+ "internalType": "struct IPolicy.PolicyInfo",
644
+ "name": "info",
645
+ "type": "tuple"
646
+ }
647
+ ],
648
+ "stateMutability": "view",
649
+ "type": "function"
650
+ },
651
+ {
652
+ "inputs": [
653
+ {
654
+ "internalType": "NftId",
655
+ "name": "policyNftId",
656
+ "type": "uint96"
657
+ }
658
+ ],
659
+ "name": "getPolicyState",
660
+ "outputs": [
661
+ {
662
+ "internalType": "StateId",
663
+ "name": "state",
664
+ "type": "uint8"
665
+ }
666
+ ],
667
+ "stateMutability": "view",
668
+ "type": "function"
669
+ },
670
+ {
671
+ "inputs": [
672
+ {
673
+ "internalType": "NftId",
674
+ "name": "poolNftId",
675
+ "type": "uint96"
676
+ }
677
+ ],
678
+ "name": "getPoolInfo",
679
+ "outputs": [
680
+ {
681
+ "components": [
682
+ {
683
+ "internalType": "NftId",
684
+ "name": "productNftId",
685
+ "type": "uint96"
686
+ },
687
+ {
688
+ "internalType": "RoleId",
689
+ "name": "bundleOwnerRole",
690
+ "type": "uint64"
691
+ },
692
+ {
693
+ "internalType": "Amount",
694
+ "name": "maxCapitalAmount",
695
+ "type": "uint96"
696
+ },
697
+ {
698
+ "internalType": "bool",
699
+ "name": "isInterceptingBundleTransfers",
700
+ "type": "bool"
701
+ },
702
+ {
703
+ "internalType": "bool",
704
+ "name": "isExternallyManaged",
705
+ "type": "bool"
706
+ },
707
+ {
708
+ "internalType": "bool",
709
+ "name": "isVerifyingApplications",
710
+ "type": "bool"
711
+ },
712
+ {
713
+ "internalType": "UFixed",
714
+ "name": "collateralizationLevel",
715
+ "type": "uint256"
716
+ },
717
+ {
718
+ "internalType": "UFixed",
719
+ "name": "retentionLevel",
720
+ "type": "uint256"
721
+ },
722
+ {
723
+ "components": [
724
+ {
725
+ "internalType": "UFixed",
726
+ "name": "fractionalFee",
727
+ "type": "uint256"
728
+ },
729
+ {
730
+ "internalType": "uint256",
731
+ "name": "fixedFee",
732
+ "type": "uint256"
733
+ }
734
+ ],
735
+ "internalType": "struct Fee",
736
+ "name": "poolFee",
737
+ "type": "tuple"
738
+ },
739
+ {
740
+ "components": [
741
+ {
742
+ "internalType": "UFixed",
743
+ "name": "fractionalFee",
744
+ "type": "uint256"
745
+ },
746
+ {
747
+ "internalType": "uint256",
748
+ "name": "fixedFee",
749
+ "type": "uint256"
750
+ }
751
+ ],
752
+ "internalType": "struct Fee",
753
+ "name": "stakingFee",
754
+ "type": "tuple"
755
+ },
756
+ {
757
+ "components": [
758
+ {
759
+ "internalType": "UFixed",
760
+ "name": "fractionalFee",
761
+ "type": "uint256"
762
+ },
763
+ {
764
+ "internalType": "uint256",
765
+ "name": "fixedFee",
766
+ "type": "uint256"
767
+ }
768
+ ],
769
+ "internalType": "struct Fee",
770
+ "name": "performanceFee",
771
+ "type": "tuple"
772
+ }
773
+ ],
774
+ "internalType": "struct IComponents.PoolInfo",
775
+ "name": "info",
776
+ "type": "tuple"
777
+ }
778
+ ],
779
+ "stateMutability": "view",
780
+ "type": "function"
781
+ },
782
+ {
783
+ "inputs": [
784
+ {
785
+ "internalType": "NftId",
786
+ "name": "productNftId",
787
+ "type": "uint96"
788
+ }
789
+ ],
790
+ "name": "getProductInfo",
791
+ "outputs": [
792
+ {
793
+ "components": [
794
+ {
795
+ "internalType": "NftId",
796
+ "name": "distributionNftId",
797
+ "type": "uint96"
798
+ },
799
+ {
800
+ "internalType": "NftId",
801
+ "name": "poolNftId",
802
+ "type": "uint96"
803
+ },
804
+ {
805
+ "components": [
806
+ {
807
+ "internalType": "UFixed",
808
+ "name": "fractionalFee",
809
+ "type": "uint256"
810
+ },
811
+ {
812
+ "internalType": "uint256",
813
+ "name": "fixedFee",
814
+ "type": "uint256"
815
+ }
816
+ ],
817
+ "internalType": "struct Fee",
818
+ "name": "productFee",
819
+ "type": "tuple"
820
+ },
821
+ {
822
+ "components": [
823
+ {
824
+ "internalType": "UFixed",
825
+ "name": "fractionalFee",
826
+ "type": "uint256"
827
+ },
828
+ {
829
+ "internalType": "uint256",
830
+ "name": "fixedFee",
831
+ "type": "uint256"
832
+ }
833
+ ],
834
+ "internalType": "struct Fee",
835
+ "name": "processingFee",
836
+ "type": "tuple"
837
+ },
838
+ {
839
+ "components": [
840
+ {
841
+ "internalType": "UFixed",
842
+ "name": "fractionalFee",
843
+ "type": "uint256"
844
+ },
845
+ {
846
+ "internalType": "uint256",
847
+ "name": "fixedFee",
848
+ "type": "uint256"
849
+ }
850
+ ],
851
+ "internalType": "struct Fee",
852
+ "name": "distributionFee",
853
+ "type": "tuple"
854
+ },
855
+ {
856
+ "components": [
857
+ {
858
+ "internalType": "UFixed",
859
+ "name": "fractionalFee",
860
+ "type": "uint256"
861
+ },
862
+ {
863
+ "internalType": "uint256",
864
+ "name": "fixedFee",
865
+ "type": "uint256"
866
+ }
867
+ ],
868
+ "internalType": "struct Fee",
869
+ "name": "minDistributionOwnerFee",
870
+ "type": "tuple"
871
+ },
872
+ {
873
+ "components": [
874
+ {
875
+ "internalType": "UFixed",
876
+ "name": "fractionalFee",
877
+ "type": "uint256"
878
+ },
879
+ {
880
+ "internalType": "uint256",
881
+ "name": "fixedFee",
882
+ "type": "uint256"
883
+ }
884
+ ],
885
+ "internalType": "struct Fee",
886
+ "name": "poolFee",
887
+ "type": "tuple"
888
+ },
889
+ {
890
+ "components": [
891
+ {
892
+ "internalType": "UFixed",
893
+ "name": "fractionalFee",
894
+ "type": "uint256"
895
+ },
896
+ {
897
+ "internalType": "uint256",
898
+ "name": "fixedFee",
899
+ "type": "uint256"
900
+ }
901
+ ],
902
+ "internalType": "struct Fee",
903
+ "name": "stakingFee",
904
+ "type": "tuple"
905
+ },
906
+ {
907
+ "components": [
908
+ {
909
+ "internalType": "UFixed",
910
+ "name": "fractionalFee",
911
+ "type": "uint256"
912
+ },
913
+ {
914
+ "internalType": "uint256",
915
+ "name": "fixedFee",
916
+ "type": "uint256"
917
+ }
918
+ ],
919
+ "internalType": "struct Fee",
920
+ "name": "performanceFee",
921
+ "type": "tuple"
922
+ }
923
+ ],
924
+ "internalType": "struct IComponents.ProductInfo",
925
+ "name": "info",
926
+ "type": "tuple"
927
+ }
928
+ ],
929
+ "stateMutability": "view",
930
+ "type": "function"
931
+ },
932
+ {
933
+ "inputs": [
934
+ {
935
+ "internalType": "ReferralId",
936
+ "name": "referralId",
937
+ "type": "bytes8"
938
+ }
939
+ ],
940
+ "name": "getReferralInfo",
941
+ "outputs": [
942
+ {
943
+ "components": [
944
+ {
945
+ "internalType": "NftId",
946
+ "name": "distributorNftId",
947
+ "type": "uint96"
948
+ },
949
+ {
950
+ "internalType": "string",
951
+ "name": "referralCode",
952
+ "type": "string"
953
+ },
954
+ {
955
+ "internalType": "UFixed",
956
+ "name": "discountPercentage",
957
+ "type": "uint256"
958
+ },
959
+ {
960
+ "internalType": "uint32",
961
+ "name": "maxReferrals",
962
+ "type": "uint32"
963
+ },
964
+ {
965
+ "internalType": "uint32",
966
+ "name": "usedReferrals",
967
+ "type": "uint32"
968
+ },
969
+ {
970
+ "internalType": "Timestamp",
971
+ "name": "expiryAt",
972
+ "type": "uint40"
973
+ },
974
+ {
975
+ "internalType": "bytes",
976
+ "name": "data",
977
+ "type": "bytes"
978
+ }
979
+ ],
980
+ "internalType": "struct IDistribution.ReferralInfo",
981
+ "name": "info",
982
+ "type": "tuple"
983
+ }
984
+ ],
985
+ "stateMutability": "view",
986
+ "type": "function"
987
+ },
988
+ {
989
+ "inputs": [
990
+ {
991
+ "internalType": "RiskId",
992
+ "name": "riskId",
993
+ "type": "bytes8"
994
+ }
995
+ ],
996
+ "name": "getRiskInfo",
997
+ "outputs": [
998
+ {
999
+ "components": [
1000
+ {
1001
+ "internalType": "NftId",
1002
+ "name": "productNftId",
1003
+ "type": "uint96"
1004
+ },
1005
+ {
1006
+ "internalType": "bytes",
1007
+ "name": "data",
1008
+ "type": "bytes"
1009
+ }
1010
+ ],
1011
+ "internalType": "struct IRisk.RiskInfo",
1012
+ "name": "info",
1013
+ "type": "tuple"
1014
+ }
1015
+ ],
1016
+ "stateMutability": "view",
1017
+ "type": "function"
1018
+ },
1019
+ {
1020
+ "inputs": [
1021
+ {
1022
+ "internalType": "NftId",
1023
+ "name": "componentNftId",
1024
+ "type": "uint96"
1025
+ }
1026
+ ],
1027
+ "name": "getTokenHandler",
1028
+ "outputs": [
1029
+ {
1030
+ "internalType": "address",
1031
+ "name": "tokenHandler",
1032
+ "type": "address"
1033
+ }
1034
+ ],
1035
+ "stateMutability": "view",
1036
+ "type": "function"
1037
+ },
1038
+ {
1039
+ "inputs": [
1040
+ {
1041
+ "internalType": "address",
1042
+ "name": "instance",
1043
+ "type": "address"
1044
+ }
1045
+ ],
1046
+ "name": "initialize",
1047
+ "outputs": [],
1048
+ "stateMutability": "nonpayable",
1049
+ "type": "function"
1050
+ },
1051
+ {
1052
+ "inputs": [
1053
+ {
1054
+ "internalType": "NftId",
1055
+ "name": "policyNftId",
1056
+ "type": "uint96"
1057
+ }
1058
+ ],
1059
+ "name": "policyIsCloseable",
1060
+ "outputs": [
1061
+ {
1062
+ "internalType": "bool",
1063
+ "name": "isCloseable",
1064
+ "type": "bool"
1065
+ }
1066
+ ],
1067
+ "stateMutability": "view",
1068
+ "type": "function"
1069
+ },
1070
+ {
1071
+ "inputs": [
1072
+ {
1073
+ "internalType": "NftId",
1074
+ "name": "poolNftId",
1075
+ "type": "uint96"
1076
+ }
1077
+ ],
1078
+ "name": "toBundleKey",
1079
+ "outputs": [
1080
+ {
1081
+ "internalType": "Key32",
1082
+ "name": "",
1083
+ "type": "bytes32"
1084
+ }
1085
+ ],
1086
+ "stateMutability": "pure",
1087
+ "type": "function"
1088
+ },
1089
+ {
1090
+ "inputs": [
1091
+ {
1092
+ "internalType": "NftId",
1093
+ "name": "componentNftId",
1094
+ "type": "uint96"
1095
+ }
1096
+ ],
1097
+ "name": "toComponentKey",
1098
+ "outputs": [
1099
+ {
1100
+ "internalType": "Key32",
1101
+ "name": "",
1102
+ "type": "bytes32"
1103
+ }
1104
+ ],
1105
+ "stateMutability": "pure",
1106
+ "type": "function"
1107
+ },
1108
+ {
1109
+ "inputs": [
1110
+ {
1111
+ "internalType": "NftId",
1112
+ "name": "distributionNftId",
1113
+ "type": "uint96"
1114
+ }
1115
+ ],
1116
+ "name": "toDistributionKey",
1117
+ "outputs": [
1118
+ {
1119
+ "internalType": "Key32",
1120
+ "name": "",
1121
+ "type": "bytes32"
1122
+ }
1123
+ ],
1124
+ "stateMutability": "pure",
1125
+ "type": "function"
1126
+ },
1127
+ {
1128
+ "inputs": [
1129
+ {
1130
+ "internalType": "NftId",
1131
+ "name": "distributorNftId",
1132
+ "type": "uint96"
1133
+ }
1134
+ ],
1135
+ "name": "toDistributorKey",
1136
+ "outputs": [
1137
+ {
1138
+ "internalType": "Key32",
1139
+ "name": "",
1140
+ "type": "bytes32"
1141
+ }
1142
+ ],
1143
+ "stateMutability": "pure",
1144
+ "type": "function"
1145
+ },
1146
+ {
1147
+ "inputs": [
1148
+ {
1149
+ "internalType": "UFixed",
1150
+ "name": "value",
1151
+ "type": "uint256"
1152
+ }
1153
+ ],
1154
+ "name": "toInt",
1155
+ "outputs": [
1156
+ {
1157
+ "internalType": "uint256",
1158
+ "name": "",
1159
+ "type": "uint256"
1160
+ }
1161
+ ],
1162
+ "stateMutability": "pure",
1163
+ "type": "function"
1164
+ },
1165
+ {
1166
+ "inputs": [
1167
+ {
1168
+ "internalType": "NftId",
1169
+ "name": "policyNftId",
1170
+ "type": "uint96"
1171
+ }
1172
+ ],
1173
+ "name": "toPolicyKey",
1174
+ "outputs": [
1175
+ {
1176
+ "internalType": "Key32",
1177
+ "name": "",
1178
+ "type": "bytes32"
1179
+ }
1180
+ ],
1181
+ "stateMutability": "pure",
1182
+ "type": "function"
1183
+ },
1184
+ {
1185
+ "inputs": [
1186
+ {
1187
+ "internalType": "NftId",
1188
+ "name": "poolNftId",
1189
+ "type": "uint96"
1190
+ }
1191
+ ],
1192
+ "name": "toPoolKey",
1193
+ "outputs": [
1194
+ {
1195
+ "internalType": "Key32",
1196
+ "name": "",
1197
+ "type": "bytes32"
1198
+ }
1199
+ ],
1200
+ "stateMutability": "pure",
1201
+ "type": "function"
1202
+ },
1203
+ {
1204
+ "inputs": [
1205
+ {
1206
+ "internalType": "NftId",
1207
+ "name": "productNftId",
1208
+ "type": "uint96"
1209
+ }
1210
+ ],
1211
+ "name": "toProductKey",
1212
+ "outputs": [
1213
+ {
1214
+ "internalType": "Key32",
1215
+ "name": "",
1216
+ "type": "bytes32"
1217
+ }
1218
+ ],
1219
+ "stateMutability": "pure",
1220
+ "type": "function"
1221
+ },
1222
+ {
1223
+ "inputs": [
1224
+ {
1225
+ "internalType": "NftId",
1226
+ "name": "distributionNftId",
1227
+ "type": "uint96"
1228
+ },
1229
+ {
1230
+ "internalType": "string",
1231
+ "name": "referralCode",
1232
+ "type": "string"
1233
+ }
1234
+ ],
1235
+ "name": "toReferralId",
1236
+ "outputs": [
1237
+ {
1238
+ "internalType": "ReferralId",
1239
+ "name": "referralId",
1240
+ "type": "bytes8"
1241
+ }
1242
+ ],
1243
+ "stateMutability": "pure",
1244
+ "type": "function"
1245
+ },
1246
+ {
1247
+ "inputs": [
1248
+ {
1249
+ "internalType": "uint256",
1250
+ "name": "value",
1251
+ "type": "uint256"
1252
+ },
1253
+ {
1254
+ "internalType": "int8",
1255
+ "name": "exp",
1256
+ "type": "int8"
1257
+ }
1258
+ ],
1259
+ "name": "toUFixed",
1260
+ "outputs": [
1261
+ {
1262
+ "internalType": "UFixed",
1263
+ "name": "",
1264
+ "type": "uint256"
1265
+ }
1266
+ ],
1267
+ "stateMutability": "pure",
1268
+ "type": "function"
1269
+ }
1270
+ ],
1271
+ "bytecode": "0x608060405234801561001057600080fd5b50613853806100206000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80637bfd32171161011a578063b82d7ef5116100ad578063d4cda0d81161007c578063d4cda0d814610595578063dd26287a146105a6578063de7b5d14146105b9578063f0ea17c3146105cf578063f7f318d3146105ef57600080fd5b8063b82d7ef514610516578063bd7d9d8514610540578063c4d66de814610560578063d06458c61461057557600080fd5b80639096a1f3116100e95780639096a1f31461045b578063a310e2a31461046e578063a5961b4c14610499578063a7ef3d21146104f657600080fd5b80637bfd3217146104025780637e54602a14610415578063887b1fa9146104285780638eb9000d1461044857600080fd5b80633f093cd61161019d57806357f80bbf1161016c57806357f80bbf146103745780635da894021461039457806364eb3a9b146103b957806375d357df146103cc57806378ae9350146103ef57600080fd5b80633f093cd61461030257806344aa68361461032e5780634793b4ab146103415780634fb784f51461036157600080fd5b8063228e42ec116101d9578063228e42ec1461029c57806327b1d792146102af57806335898f5d146102cf57806339bb60cd146102e257600080fd5b80630232ca491461020b5780630b5d931c1461023b5780631488c8451461025b5780631d3be4771461027c575b600080fd5b61021e6102193660046120f1565b610602565b6040516001600160601b0390911681526020015b60405180910390f35b61024e6102493660046120f1565b61067f565b604051610232919061210e565b61026e6102693660046121f1565b610732565b604051908152602001610232565b61028f61028a36600461223d565b6107b1565b60405161023291906122aa565b61021e6102aa3660046120f1565b6108fd565b6102c26102bd3660046120f1565b610937565b6040516102329190612345565b61026e6102dd3660046120f1565b610a01565b6102f56102f03660046123b2565b610a9b565b60405161023291906123e8565b6103156103103660046125c8565b610bed565b6040516001600160c01b03199091168152602001610232565b61026e61033c36600461265a565b610c6a565b61035461034f3660046120f1565b610ca5565b6040516102329190612673565b61026e61036f3660046120f1565b610d4b565b6103876103823660046120f1565b610d78565b60405161023291906126f9565b6103a76103a23660046123b2565b610e1e565b60405160ff9091168152602001610232565b61026e6103c73660046120f1565b610f1b565b6103df6103da3660046120f1565b610f48565b6040519015158152602001610232565b6103a76103fd3660046127fc565b6111d7565b61026e6104103660046120f1565b611237565b61026e6104233660046120f1565b611264565b61043b61043636600461223d565b611291565b604051610232919061282a565b61021e6104563660046120f1565b6113ba565b6103a76104693660046120f1565b6113f4565b61048161047c3660046120f1565b611470565b6040516001600160a01b039091168152602001610232565b6104ac6104a736600461265a565b61151e565b6040516102329190600060808201905060ff835116825260ff6020840151166020830152604083015163ffffffff8082166040850152806060860151166060850152505092915050565b6105096105043660046127fc565b6115ab565b6040516102329190612860565b61052961052436600461223d565b611700565b6040805192835260ff909116602083015201610232565b61055361054e3660046120f1565b6119a8565b6040516102329190612900565b61057361056e366004612ac6565b611ace565b005b61058861058336600461223d565b611be7565b6040516102329190612ae3565b6001546001600160a01b0316610481565b61026e6105b43660046120f1565b611d5a565b60005461010090046001600160a01b0316610481565b6105e26105dd3660046120f1565b611d87565b6040516102329190612b93565b61026e6105fd3660046120f1565b611e55565b600154604051630232ca4960e01b81526001600160601b03831660048201526000916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610655573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190612c1d565b92915050565b610687611f09565b6001546000906001600160a01b03166354f6127f6106a485611237565b6040518263ffffffff1660e01b81526004016106c291815260200190565b600060405180830381865afa1580156106df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107079190810190612c7f565b80519091501561072c57808060200190518101906107259190612ce3565b9392505050565b50919050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561078d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190612da3565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610858573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087c9190612da3565b6040518263ffffffff1660e01b815260040161089a91815260200190565b600060405180830381865afa1580156108b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108df9190810190612c7f565b80519091501561072c57808060200190518101906107259190612df7565b6001546040516308a390bb60e21b81526001600160601b03831660048201526000916001600160a01b03169063228e42ec90602401610638565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f61098085611264565b6040518263ffffffff1660e01b815260040161099e91815260200190565b600060405180830381865afa1580156109bb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e39190810190612c7f565b80519091501561072c57808060200190518101906107259190612ef0565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660785b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190612da3565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5d9190612da3565b6040518263ffffffff1660e01b8152600401610b7b91815260200190565b600060405180830381865afa158015610b98573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc09190810190612c7f565b805190915015610be65780806020019051810190610bde9190612fb8565b915050610679565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610c299086908690600401613061565b602060405180830381865af4158015610c46573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190613083565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610a5a565b610cad612023565b6001546000906001600160a01b03166354f6127f610cca85611e55565b6040518263ffffffff1660e01b8152600401610ce891815260200190565b600060405180830381865afa158015610d05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d2d9190810190612c7f565b80519091501561072c578080602001905181019061072591906130a0565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166064610a2a565b610d8061207e565b6001546000906001600160a01b03166354f6127f610d9d85611d5a565b6040518263ffffffff1660e01b8152600401610dbb91815260200190565b600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e009190810190612c7f565b80519091501561072c57808060200190518101906107259190613180565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610e98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebc9190612da3565b6040518263ffffffff1660e01b8152600401610eda91815260200190565b602060405180830381865afa158015610ef7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610725919061325f565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610a2a565b600080610f54836119a8565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610fb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd6919061327c565b15610fe45750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611041573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611065919061327c565b156110735750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156110d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f4919061327c565b156111025750600092915050565b61016081015161ffff161561111a5750600092915050565b61112d8161018001518260800151611e82565b1561113b5750600192915050565b6111c073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ab9190613297565b826101e0015164ffffffffff90811691161090565b156111ce5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e7b565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610a2a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610a2a565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113399190612da3565b6040518263ffffffff1660e01b815260040161135791815260200190565b600060405180830381865afa158015611374573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261139c9190810190612c7f565b80519091501561072c578080602001905181019061072591906132b4565b600154604051638eb9000d60e01b81526001600160601b03831660048201526000916001600160a01b031690638eb9000d90602401610638565b6001546000906001600160a01b03166309648a9d61141184610f1b565b6040518263ffffffff1660e01b815260040161142f91815260200190565b602060405180830381865afa15801561144c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610679919061325f565b60015460009081906001600160a01b03166354f6127f61148f85610d4b565b6040518263ffffffff1660e01b81526004016114ad91815260200190565b600060405180830381865afa1580156114ca573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114f29190810190612c7f565b80519091501561072c57600081806020019051810190611512919061333e565b60600151949350505050565b604080516080810182526000808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190613412565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af415801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167f9190612da3565b6040518263ffffffff1660e01b815260040161169d91815260200190565b600060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116e29190810190612c7f565b805190915015610be65780806020019051810190610bde9190613479565b600080600061170e846107b1565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561176d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611791919061327c565b156118105773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156117df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118039190612da3565b60645b9250925050915091565b6118948160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611861573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118859190613297565b64ffffffffff90811691161090565b1561190d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119069190612da3565b606e611806565b806060015163ffffffff16816080015163ffffffff161061199c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119959190612da3565b6078611806565b6040810151600a611806565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f611a4d85610f1b565b6040518263ffffffff1660e01b8152600401611a6b91815260200190565b600060405180830381865afa158015611a88573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ab09190810190612c7f565b80519091501561072c5780806020019051810190610725919061355e565b60005460ff1615611af25760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611b1957604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb79190613709565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611c4660405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd99190612da3565b6040518263ffffffff1660e01b8152600401611cf791815260200190565b600060405180830381865afa158015611d14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3c9190810190612c7f565b80519091501561072c57808060200190518101906107259190613726565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610a2a565b6040805160c08101825260608082526000602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f611dd485610d4b565b6040518263ffffffff1660e01b8152600401611df291815260200190565b600060405180830381865afa158015611e0f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e379190810190612c7f565b80519091501561072c5780806020019051810190610725919061333e565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610a2a565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611ee5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610725919061327c565b60405180610120016040528060006001600160601b0316815260200160006001600160601b03168152602001611f52604051806040016040528060008152602001600081525090565b8152602001611f74604051806040016040528060008152602001600081525090565b8152602001611f96604051806040016040528060008152602001600081525090565b8152602001611fb8604051806040016040528060008152602001600081525090565b8152602001611fda604051806040016040528060008152602001600081525090565b8152602001611ffc604051806040016040528060008152602001600081525090565b815260200161201e604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b0316815260200161205b604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e08301829052835180850190945281845283015290610100820190611fda565b6001600160601b03811681146120ee57600080fd5b50565b60006020828403121561210357600080fd5b8135610725816120d9565b81516001600160601b0316815260208083015161020083019161213b908401826001600160601b03169052565b506040830151612158604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006121a58185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610be6565b6000806040838503121561220457600080fd5b8235915060208301358060000b811461221c57600080fd5b809150509250929050565b6001600160c01b0319811681146120ee57600080fd5b60006020828403121561224f57600080fd5b813561072581612227565b60005b8381101561227557818101518382015260200161225d565b50506000910152565b6000815180845261229681602086016020860161225a565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526122da61010084018261227e565b90506040840151606084015263ffffffff6060850151166080840152608084015161230d60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261233c828261227e565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261238360c084018261227e565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156123c557600080fd5b82356123d0816120d9565b9150602083013562ffffff8116811461221c57600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261242560a084018261227e565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561247a5761247a612442565b60405290565b60405161012081016001600160401b038111828210171561247a5761247a612442565b60405160e081016001600160401b038111828210171561247a5761247a612442565b60405160a081016001600160401b038111828210171561247a5761247a612442565b604051608081016001600160401b038111828210171561247a5761247a612442565b60405160c081016001600160401b038111828210171561247a5761247a612442565b60405161016081016001600160401b038111828210171561247a5761247a612442565b60405161022081016001600160401b038111828210171561247a5761247a612442565b604051601f8201601f191681016001600160401b038111828210171561259957612599612442565b604052919050565b60006001600160401b038211156125ba576125ba612442565b50601f01601f191660200190565b600080604083850312156125db57600080fd5b82356125e6816120d9565b915060208301356001600160401b0381111561260157600080fd5b8301601f8101851361261257600080fd5b8035612625612620826125a1565b612571565b81815286602083850101111561263a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561266c57600080fd5b5035919050565b602081526001600160601b038251166020820152600060208301516126a5604084018280518252602090810151910152565b50604083015160e060808401526126c061010084018261227e565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c08101602083015161272560208401826001600160401b03169052565b50604083015161274060408401826001600160601b03169052565b506060830151612754606084018215159052565b506080830151612768608084018215159052565b5060a083015161277c60a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516127ae8285018280518252602090810151910152565b50506101208301516101406127cf8185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610be6565b61ffff811681146120ee57600080fd5b6000806040838503121561280f57600080fd5b823561281a816120d9565b9150602083013561221c816127ec565b602081526001600160601b03825116602082015260006020830151604080840152612858606084018261227e565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516128a5608084018260ff169052565b50608083015160e060a08401526128c061010084018261227e565b905060a0840151601f198483030160c08501526128dd828261227e565b91505060c08401516128f860e085018264ffffffffff169052565b509392505050565b6020815261291a6020820183516001600160601b03169052565b6000602083015161293660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006129bc8185018364ffffffffff169052565b8085015191505061022061012081818601526129dc61024086018461227e565b9250808601519050610140601f1986850301818701526129fc848361227e565b935080870151915050610160612a178187018361ffff169052565b8601519050610180612a2e8682018361ffff169052565b86015190506101a0612a4a868201836001600160601b03169052565b86015190506101c0612a66868201836001600160601b03169052565b86015190506101e0612a808682018364ffffffffff169052565b8601519050610200612a9a8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b03811681146120ee57600080fd5b600060208284031215612ad857600080fd5b813561072581612ab1565b6020815260008251610120806020850152612b0261014085018361227e565b91506020850151604085015260408501516060850152606085015160808501526080850151612b3960a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612b6f8187018315159052565b860151858403601f1901838701529050612b89838261227e565b9695505050505050565b602081526000825160c06020840152612baf60e084018261227e565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c085015261233c828261227e565b8051612c18816120d9565b919050565b600060208284031215612c2f57600080fd5b8151610725816120d9565b600082601f830112612c4b57600080fd5b8151612c59612620826125a1565b818152846020838601011115612c6e57600080fd5b61285882602083016020870161225a565b600060208284031215612c9157600080fd5b81516001600160401b03811115612ca757600080fd5b61285884828501612c3a565b600060408284031215612cc557600080fd5b612ccd612458565b9050815181526020820151602082015292915050565b60006102008284031215612cf657600080fd5b612cfe612480565b612d0783612c0d565b8152612d1560208401612c0d565b6020820152612d278460408501612cb3565b6040820152612d398460808501612cb3565b6060820152612d4b8460c08501612cb3565b6080820152610100612d5f85828601612cb3565b60a0830152612d72856101408601612cb3565b60c0830152612d85856101808601612cb3565b60e0830152612d98856101c08601612cb3565b908201529392505050565b600060208284031215612db557600080fd5b5051919050565b63ffffffff811681146120ee57600080fd5b8051612c1881612dbc565b64ffffffffff811681146120ee57600080fd5b8051612c1881612dd9565b600060208284031215612e0957600080fd5b81516001600160401b0380821115612e2057600080fd5b9083019060e08286031215612e3457600080fd5b612e3c6124a3565b612e4583612c0d565b8152602083015182811115612e5957600080fd5b612e6587828601612c3a565b60208301525060408301516040820152612e8160608401612dce565b6060820152612e9260808401612dce565b6080820152612ea360a08401612dec565b60a082015260c083015182811115612eba57600080fd5b612ec687828601612c3a565b60c08301525095945050505050565b8051612c1881612227565b80518015158114612c1857600080fd5b600060208284031215612f0257600080fd5b81516001600160401b0380821115612f1957600080fd5b9083019060a08286031215612f2d57600080fd5b612f356124c5565b8251612f4081612227565b8152612f4e60208401612ee0565b6020820152604083015182811115612f6557600080fd5b612f7187828601612c3a565b60408301525060608301519150612f87826120d9565b81606082015260808301519250612f9d83612dbc565b6080810192909252509392505050565b8051612c18816127ec565b600060208284031215612fca57600080fd5b81516001600160401b0380821115612fe157600080fd5b9083019060808286031215612ff557600080fd5b612ffd6124e7565b8251613008816127ec565b81526020830151613018816120d9565b602082015260408301518281111561302f57600080fd5b61303b87828601612c3a565b6040830152506060830151925061305183612dd9565b6060810192909252509392505050565b6001600160601b0383168152604060208201526000612858604083018461227e565b60006020828403121561309557600080fd5b815161072581612227565b6000602082840312156130b257600080fd5b81516001600160401b03808211156130c957600080fd5b9083019060e082860312156130dd57600080fd5b6130e5612509565b82516130f0816120d9565b81526130ff8660208501612cb3565b602082015260608301518281111561311657600080fd5b61312287828601612c3a565b6040830152506080830151915061313882612dd9565b81606082015261314a60a08401612dec565b608082015261315b60c08401612dec565b60a082015295945050505050565b80516001600160401b0381168114612c1857600080fd5b60006101c0828403121561319357600080fd5b61319b61252b565b6131a483612c0d565b81526131b260208401613169565b60208201526131c360408401612c0d565b60408201526131d460608401612ee0565b60608201526131e560808401612ee0565b60808201526131f660a08401612ee0565b60a082015260c083015160c082015260e083015160e082015261010061321e85828601612cb3565b9082015261014061323185858301612cb3565b610120830152612d98856101808601612cb3565b60ff811681146120ee57600080fd5b8051612c1881613245565b60006020828403121561327157600080fd5b815161072581613245565b60006020828403121561328e57600080fd5b61072582612ee0565b6000602082840312156132a957600080fd5b815161072581612dd9565b6000602082840312156132c657600080fd5b81516001600160401b03808211156132dd57600080fd5b90830190604082860312156132f157600080fd5b6132f9612458565b8251613304816120d9565b815260208301518281111561331857600080fd5b61332487828601612c3a565b60208301525095945050505050565b8051612c1881612ab1565b60006020828403121561335057600080fd5b81516001600160401b038082111561336757600080fd5b9083019060c0828603121561337b57600080fd5b613383612509565b82518281111561339257600080fd5b61339e87828601612c3a565b8252506133ad60208401612c0d565b60208201526133be60408401613333565b60408201526133cf60608401613333565b60608201526133e060808401613333565b608082015260a0830151828111156133f757600080fd5b61340387828601612c3a565b60a08301525095945050505050565b60006080828403121561342457600080fd5b61342c6124e7565b825161343781613245565b8152602083015161344781613245565b6020820152604083015161345a81612dbc565b6040820152606083015161346d81612dbc565b60608201529392505050565b60006020828403121561348b57600080fd5b81516001600160401b03808211156134a257600080fd5b9083019060e082860312156134b657600080fd5b6134be6124a3565b6134c783612c0d565b81526134d560208401612c0d565b60208201526134e660408401613254565b60408201526134f760608401613254565b606082015260808301518281111561350e57600080fd5b61351a87828601612c3a565b60808301525060a08301518281111561353257600080fd5b61353e87828601612c3a565b60a08301525061355060c08401612dec565b60c082015295945050505050565b60006020828403121561357057600080fd5b81516001600160401b038082111561358757600080fd5b90830190610220828603121561359c57600080fd5b6135a461254e565b6135ad83612c0d565b81526135bb60208401612c0d565b60208201526135cc60408401612ed5565b60408201526135dd60608401612ed5565b60608201526135ee60808401612c0d565b60808201526135ff60a08401612c0d565b60a082015261361060c08401612c0d565b60c082015261362160e08401612dec565b60e0820152610100808401518381111561363a57600080fd5b61364688828701612c3a565b828401525050610120808401518381111561366057600080fd5b61366c88828701612c3a565b8284015250506101409150613682828401612fad565b828201526101609150613696828401612fad565b8282015261018091506136aa828401612c0d565b828201526101a091506136be828401612c0d565b828201526101c091506136d2828401612dec565b828201526101e091506136e6828401612dec565b8282015261020091506136fa828401612dec565b91810191909152949350505050565b60006020828403121561371b57600080fd5b815161072581612ab1565b60006020828403121561373857600080fd5b81516001600160401b038082111561374f57600080fd5b90830190610120828603121561376457600080fd5b61376c612480565b82518281111561377b57600080fd5b61378787828601612c3a565b8252506020830151602082015260408301516040820152606083015160608201526137b460808401612dce565b60808201526137c560a08401612dce565b60a08201526137d660c08401612ee0565b60c08201526137e760e08401612ee0565b60e0820152610100808401518381111561380057600080fd5b61380c88828701612c3a565b91830191909152509594505050505056fea26469706673582212207aa4193b549e3824d7b75ffbed8543066757962cb73192c11439d91168c3e5ed64736f6c63430008140033",
1272
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102065760003560e01c80637bfd32171161011a578063b82d7ef5116100ad578063d4cda0d81161007c578063d4cda0d814610595578063dd26287a146105a6578063de7b5d14146105b9578063f0ea17c3146105cf578063f7f318d3146105ef57600080fd5b8063b82d7ef514610516578063bd7d9d8514610540578063c4d66de814610560578063d06458c61461057557600080fd5b80639096a1f3116100e95780639096a1f31461045b578063a310e2a31461046e578063a5961b4c14610499578063a7ef3d21146104f657600080fd5b80637bfd3217146104025780637e54602a14610415578063887b1fa9146104285780638eb9000d1461044857600080fd5b80633f093cd61161019d57806357f80bbf1161016c57806357f80bbf146103745780635da894021461039457806364eb3a9b146103b957806375d357df146103cc57806378ae9350146103ef57600080fd5b80633f093cd61461030257806344aa68361461032e5780634793b4ab146103415780634fb784f51461036157600080fd5b8063228e42ec116101d9578063228e42ec1461029c57806327b1d792146102af57806335898f5d146102cf57806339bb60cd146102e257600080fd5b80630232ca491461020b5780630b5d931c1461023b5780631488c8451461025b5780631d3be4771461027c575b600080fd5b61021e6102193660046120f1565b610602565b6040516001600160601b0390911681526020015b60405180910390f35b61024e6102493660046120f1565b61067f565b604051610232919061210e565b61026e6102693660046121f1565b610732565b604051908152602001610232565b61028f61028a36600461223d565b6107b1565b60405161023291906122aa565b61021e6102aa3660046120f1565b6108fd565b6102c26102bd3660046120f1565b610937565b6040516102329190612345565b61026e6102dd3660046120f1565b610a01565b6102f56102f03660046123b2565b610a9b565b60405161023291906123e8565b6103156103103660046125c8565b610bed565b6040516001600160c01b03199091168152602001610232565b61026e61033c36600461265a565b610c6a565b61035461034f3660046120f1565b610ca5565b6040516102329190612673565b61026e61036f3660046120f1565b610d4b565b6103876103823660046120f1565b610d78565b60405161023291906126f9565b6103a76103a23660046123b2565b610e1e565b60405160ff9091168152602001610232565b61026e6103c73660046120f1565b610f1b565b6103df6103da3660046120f1565b610f48565b6040519015158152602001610232565b6103a76103fd3660046127fc565b6111d7565b61026e6104103660046120f1565b611237565b61026e6104233660046120f1565b611264565b61043b61043636600461223d565b611291565b604051610232919061282a565b61021e6104563660046120f1565b6113ba565b6103a76104693660046120f1565b6113f4565b61048161047c3660046120f1565b611470565b6040516001600160a01b039091168152602001610232565b6104ac6104a736600461265a565b61151e565b6040516102329190600060808201905060ff835116825260ff6020840151166020830152604083015163ffffffff8082166040850152806060860151166060850152505092915050565b6105096105043660046127fc565b6115ab565b6040516102329190612860565b61052961052436600461223d565b611700565b6040805192835260ff909116602083015201610232565b61055361054e3660046120f1565b6119a8565b6040516102329190612900565b61057361056e366004612ac6565b611ace565b005b61058861058336600461223d565b611be7565b6040516102329190612ae3565b6001546001600160a01b0316610481565b61026e6105b43660046120f1565b611d5a565b60005461010090046001600160a01b0316610481565b6105e26105dd3660046120f1565b611d87565b6040516102329190612b93565b61026e6105fd3660046120f1565b611e55565b600154604051630232ca4960e01b81526001600160601b03831660048201526000916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610655573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190612c1d565b92915050565b610687611f09565b6001546000906001600160a01b03166354f6127f6106a485611237565b6040518263ffffffff1660e01b81526004016106c291815260200190565b600060405180830381865afa1580156106df573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107079190810190612c7f565b80519091501561072c57808060200190518101906107259190612ce3565b9392505050565b50919050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af415801561078d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190612da3565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610858573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087c9190612da3565b6040518263ffffffff1660e01b815260040161089a91815260200190565b600060405180830381865afa1580156108b7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108df9190810190612c7f565b80519091501561072c57808060200190518101906107259190612df7565b6001546040516308a390bb60e21b81526001600160601b03831660048201526000916001600160a01b03169063228e42ec90602401610638565b6040805160a081018252600080825260208201819052606092820183905291810182905260808101919091526001546000906001600160a01b03166354f6127f61098085611264565b6040518263ffffffff1660e01b815260040161099e91815260200190565b600060405180830381865afa1580156109bb573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109e39190810190612c7f565b80519091501561072c57808060200190518101906107259190612ef0565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660785b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610a77573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190612da3565b60408051608081018252600080825260208201819052606092820183905291810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5d9190612da3565b6040518263ffffffff1660e01b8152600401610b7b91815260200190565b600060405180830381865afa158015610b98573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc09190810190612c7f565b805190915015610be65780806020019051810190610bde9190612fb8565b915050610679565b5092915050565b604051631f849e6b60e11b815260009073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610c299086908690600401613061565b602060405180830381865af4158015610c46573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107259190613083565b604051632255341b60e11b81526004810182905260009073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610a5a565b610cad612023565b6001546000906001600160a01b03166354f6127f610cca85611e55565b6040518263ffffffff1660e01b8152600401610ce891815260200190565b600060405180830381865afa158015610d05573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d2d9190810190612c7f565b80519091501561072c578080602001905181019061072591906130a0565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166064610a2a565b610d8061207e565b6001546000906001600160a01b03166354f6127f610d9d85611d5a565b6040518263ffffffff1660e01b8152600401610dbb91815260200190565b600060405180830381865afa158015610dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e009190810190612c7f565b80519091501561072c57808060200190518101906107259190613180565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af4158015610e98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ebc9190612da3565b6040518263ffffffff1660e01b8152600401610eda91815260200190565b602060405180830381865afa158015610ef7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610725919061325f565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660d3610a2a565b600080610f54836119a8565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015610fb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd6919061327c565b15610fe45750600092915050565b6101c081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611041573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611065919061327c565b156110735750600092915050565b610200810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af41580156110d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f4919061327c565b156111025750600092915050565b61016081015161ffff161561111a5750600092915050565b61112d8161018001518260800151611e82565b1561113b5750600192915050565b6111c073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ab9190613297565b826101e0015164ffffffffff90811691161090565b156111ce5750600092915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201526000916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401610e7b565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416606e610a2a565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416607a610a2a565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611315573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113399190612da3565b6040518263ffffffff1660e01b815260040161135791815260200190565b600060405180830381865afa158015611374573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261139c9190810190612c7f565b80519091501561072c578080602001905181019061072591906132b4565b600154604051638eb9000d60e01b81526001600160601b03831660048201526000916001600160a01b031690638eb9000d90602401610638565b6001546000906001600160a01b03166309648a9d61141184610f1b565b6040518263ffffffff1660e01b815260040161142f91815260200190565b602060405180830381865afa15801561144c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610679919061325f565b60015460009081906001600160a01b03166354f6127f61148f85610d4b565b6040518263ffffffff1660e01b81526004016114ad91815260200190565b600060405180830381865afa1580156114ca573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526114f29190810190612c7f565b80519091501561072c57600081806020019051810190611512919061333e565b60600151949350505050565b604080516080810182526000808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611587573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106799190613412565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201526000916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af415801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167f9190612da3565b6040518263ffffffff1660e01b815260040161169d91815260200190565b600060405180830381865afa1580156116ba573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116e29190810190612c7f565b805190915015610be65780806020019051810190610bde9190613479565b600080600061170e846107b1565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af415801561176d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611791919061327c565b156118105773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156117df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118039190612da3565b60645b9250925050915091565b6118948160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611861573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118859190613297565b64ffffffffff90811691161090565b1561190d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156118e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119069190612da3565b606e611806565b806060015163ffffffff16816080015163ffffffff161061199c5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119959190612da3565b6078611806565b6040810151600a611806565b604080516102208101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e081018290526102008101919091526001546000906001600160a01b03166354f6127f611a4d85610f1b565b6040518263ffffffff1660e01b8152600401611a6b91815260200190565b600060405180830381865afa158015611a88573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ab09190810190612c7f565b80519091501561072c5780806020019051810190610725919061355e565b60005460ff1615611af25760405163ae9eff1b60e01b815260040160405180910390fd5b6001600160a01b038116611b1957604051630cc51a5560e21b815260040160405180910390fd5b80600060016101000a8154816001600160a01b0302191690836001600160a01b03160217905550600060019054906101000a90046001600160a01b03166001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bb79190613709565b600180546001600160a01b0319166001600160a01b03929092169190911781556000805460ff1916909117905550565b611c4660405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015611cb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd99190612da3565b6040518263ffffffff1660e01b8152600401611cf791815260200190565b600060405180830381865afa158015611d14573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3c9190810190612c7f565b80519091501561072c57808060200190518101906107259190613726565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416608c610a2a565b6040805160c08101825260608082526000602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f611dd485610d4b565b6040518263ffffffff1660e01b8152600401611df291815260200190565b600060405180830381865afa158015611e0f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e379190810190612c7f565b80519091501561072c5780806020019051810190610725919061333e565b600073__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660dc610a2a565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015611ee5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610725919061327c565b60405180610120016040528060006001600160601b0316815260200160006001600160601b03168152602001611f52604051806040016040528060008152602001600081525090565b8152602001611f74604051806040016040528060008152602001600081525090565b8152602001611f96604051806040016040528060008152602001600081525090565b8152602001611fb8604051806040016040528060008152602001600081525090565b8152602001611fda604051806040016040528060008152602001600081525090565b8152602001611ffc604051806040016040528060008152602001600081525090565b815260200161201e604051806040016040528060008152602001600081525090565b905290565b6040518060c0016040528060006001600160601b0316815260200161205b604051806040016040528060008152602001600081525090565b815260606020820181905260006040830181905290820181905260809091015290565b604080516101608101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905260c0830182905260e08301829052835180850190945281845283015290610100820190611fda565b6001600160601b03811681146120ee57600080fd5b50565b60006020828403121561210357600080fd5b8135610725816120d9565b81516001600160601b0316815260208083015161020083019161213b908401826001600160601b03169052565b506040830151612158604084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152506080830151805160c0840152602081015160e08401525060a08301516101006121a58185018380518252602090810151910152565b60c0850151805161014086015260209081015161016086015260e086015180516101808701528101516101a08601529085015180516101c0860152908101516101e08501529050610be6565b6000806040838503121561220457600080fd5b8235915060208301358060000b811461221c57600080fd5b809150509250929050565b6001600160c01b0319811681146120ee57600080fd5b60006020828403121561224f57600080fd5b813561072581612227565b60005b8381101561227557818101518382015260200161225d565b50506000910152565b6000815180845261229681602086016020860161225a565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526122da61010084018261227e565b90506040840151606084015263ffffffff6060850151166080840152608084015161230d60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261233c828261227e565b95945050505050565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261238360c084018261227e565b90506001600160601b03606085015116608084015263ffffffff60808501511660a08401528091505092915050565b600080604083850312156123c557600080fd5b82356123d0816120d9565b9150602083013562ffffff8116811461221c57600080fd5b6020815261ffff82511660208201526001600160601b036020830151166040820152600060408301516080606084015261242560a084018261227e565b905064ffffffffff60608501511660808401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561247a5761247a612442565b60405290565b60405161012081016001600160401b038111828210171561247a5761247a612442565b60405160e081016001600160401b038111828210171561247a5761247a612442565b60405160a081016001600160401b038111828210171561247a5761247a612442565b604051608081016001600160401b038111828210171561247a5761247a612442565b60405160c081016001600160401b038111828210171561247a5761247a612442565b60405161016081016001600160401b038111828210171561247a5761247a612442565b60405161022081016001600160401b038111828210171561247a5761247a612442565b604051601f8201601f191681016001600160401b038111828210171561259957612599612442565b604052919050565b60006001600160401b038211156125ba576125ba612442565b50601f01601f191660200190565b600080604083850312156125db57600080fd5b82356125e6816120d9565b915060208301356001600160401b0381111561260157600080fd5b8301601f8101851361261257600080fd5b8035612625612620826125a1565b612571565b81815286602083850101111561263a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561266c57600080fd5b5035919050565b602081526001600160601b038251166020820152600060208301516126a5604084018280518252602090810151910152565b50604083015160e060808401526126c061010084018261227e565b9050606084015164ffffffffff80821660a08601528060808701511660c08601528060a08701511660e086015250508091505092915050565b81516001600160601b031681526101c08101602083015161272560208401826001600160401b03169052565b50604083015161274060408401826001600160601b03169052565b506060830151612754606084018215159052565b506080830151612768608084018215159052565b5060a083015161277c60a084018215159052565b5060c083015160c083015260e083015160e0830152610100808401516127ae8285018280518252602090810151910152565b50506101208301516101406127cf8185018380518252602090810151910152565b840151805161018085015260208101516101a08501529050610be6565b61ffff811681146120ee57600080fd5b6000806040838503121561280f57600080fd5b823561281a816120d9565b9150602083013561221c816127ec565b602081526001600160601b03825116602082015260006020830151604080840152612858606084018261227e565b949350505050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301516128a5608084018260ff169052565b50608083015160e060a08401526128c061010084018261227e565b905060a0840151601f198483030160c08501526128dd828261227e565b91505060c08401516128f860e085018264ffffffffff169052565b509392505050565b6020815261291a6020820183516001600160601b03169052565b6000602083015161293660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516101006129bc8185018364ffffffffff169052565b8085015191505061022061012081818601526129dc61024086018461227e565b9250808601519050610140601f1986850301818701526129fc848361227e565b935080870151915050610160612a178187018361ffff169052565b8601519050610180612a2e8682018361ffff169052565b86015190506101a0612a4a868201836001600160601b03169052565b86015190506101c0612a66868201836001600160601b03169052565b86015190506101e0612a808682018364ffffffffff169052565b8601519050610200612a9a8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6001600160a01b03811681146120ee57600080fd5b600060208284031215612ad857600080fd5b813561072581612ab1565b6020815260008251610120806020850152612b0261014085018361227e565b91506020850151604085015260408501516060850152606085015160808501526080850151612b3960a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100612b6f8187018315159052565b860151858403601f1901838701529050612b89838261227e565b9695505050505050565b602081526000825160c06020840152612baf60e084018261227e565b90506001600160601b036020850151166040840152604084015160018060a01b0380821660608601528060608701511660808601528060808701511660a0860152505060a0840151601f198483030160c085015261233c828261227e565b8051612c18816120d9565b919050565b600060208284031215612c2f57600080fd5b8151610725816120d9565b600082601f830112612c4b57600080fd5b8151612c59612620826125a1565b818152846020838601011115612c6e57600080fd5b61285882602083016020870161225a565b600060208284031215612c9157600080fd5b81516001600160401b03811115612ca757600080fd5b61285884828501612c3a565b600060408284031215612cc557600080fd5b612ccd612458565b9050815181526020820151602082015292915050565b60006102008284031215612cf657600080fd5b612cfe612480565b612d0783612c0d565b8152612d1560208401612c0d565b6020820152612d278460408501612cb3565b6040820152612d398460808501612cb3565b6060820152612d4b8460c08501612cb3565b6080820152610100612d5f85828601612cb3565b60a0830152612d72856101408601612cb3565b60c0830152612d85856101808601612cb3565b60e0830152612d98856101c08601612cb3565b908201529392505050565b600060208284031215612db557600080fd5b5051919050565b63ffffffff811681146120ee57600080fd5b8051612c1881612dbc565b64ffffffffff811681146120ee57600080fd5b8051612c1881612dd9565b600060208284031215612e0957600080fd5b81516001600160401b0380821115612e2057600080fd5b9083019060e08286031215612e3457600080fd5b612e3c6124a3565b612e4583612c0d565b8152602083015182811115612e5957600080fd5b612e6587828601612c3a565b60208301525060408301516040820152612e8160608401612dce565b6060820152612e9260808401612dce565b6080820152612ea360a08401612dec565b60a082015260c083015182811115612eba57600080fd5b612ec687828601612c3a565b60c08301525095945050505050565b8051612c1881612227565b80518015158114612c1857600080fd5b600060208284031215612f0257600080fd5b81516001600160401b0380821115612f1957600080fd5b9083019060a08286031215612f2d57600080fd5b612f356124c5565b8251612f4081612227565b8152612f4e60208401612ee0565b6020820152604083015182811115612f6557600080fd5b612f7187828601612c3a565b60408301525060608301519150612f87826120d9565b81606082015260808301519250612f9d83612dbc565b6080810192909252509392505050565b8051612c18816127ec565b600060208284031215612fca57600080fd5b81516001600160401b0380821115612fe157600080fd5b9083019060808286031215612ff557600080fd5b612ffd6124e7565b8251613008816127ec565b81526020830151613018816120d9565b602082015260408301518281111561302f57600080fd5b61303b87828601612c3a565b6040830152506060830151925061305183612dd9565b6060810192909252509392505050565b6001600160601b0383168152604060208201526000612858604083018461227e565b60006020828403121561309557600080fd5b815161072581612227565b6000602082840312156130b257600080fd5b81516001600160401b03808211156130c957600080fd5b9083019060e082860312156130dd57600080fd5b6130e5612509565b82516130f0816120d9565b81526130ff8660208501612cb3565b602082015260608301518281111561311657600080fd5b61312287828601612c3a565b6040830152506080830151915061313882612dd9565b81606082015261314a60a08401612dec565b608082015261315b60c08401612dec565b60a082015295945050505050565b80516001600160401b0381168114612c1857600080fd5b60006101c0828403121561319357600080fd5b61319b61252b565b6131a483612c0d565b81526131b260208401613169565b60208201526131c360408401612c0d565b60408201526131d460608401612ee0565b60608201526131e560808401612ee0565b60808201526131f660a08401612ee0565b60a082015260c083015160c082015260e083015160e082015261010061321e85828601612cb3565b9082015261014061323185858301612cb3565b610120830152612d98856101808601612cb3565b60ff811681146120ee57600080fd5b8051612c1881613245565b60006020828403121561327157600080fd5b815161072581613245565b60006020828403121561328e57600080fd5b61072582612ee0565b6000602082840312156132a957600080fd5b815161072581612dd9565b6000602082840312156132c657600080fd5b81516001600160401b03808211156132dd57600080fd5b90830190604082860312156132f157600080fd5b6132f9612458565b8251613304816120d9565b815260208301518281111561331857600080fd5b61332487828601612c3a565b60208301525095945050505050565b8051612c1881612ab1565b60006020828403121561335057600080fd5b81516001600160401b038082111561336757600080fd5b9083019060c0828603121561337b57600080fd5b613383612509565b82518281111561339257600080fd5b61339e87828601612c3a565b8252506133ad60208401612c0d565b60208201526133be60408401613333565b60408201526133cf60608401613333565b60608201526133e060808401613333565b608082015260a0830151828111156133f757600080fd5b61340387828601612c3a565b60a08301525095945050505050565b60006080828403121561342457600080fd5b61342c6124e7565b825161343781613245565b8152602083015161344781613245565b6020820152604083015161345a81612dbc565b6040820152606083015161346d81612dbc565b60608201529392505050565b60006020828403121561348b57600080fd5b81516001600160401b03808211156134a257600080fd5b9083019060e082860312156134b657600080fd5b6134be6124a3565b6134c783612c0d565b81526134d560208401612c0d565b60208201526134e660408401613254565b60408201526134f760608401613254565b606082015260808301518281111561350e57600080fd5b61351a87828601612c3a565b60808301525060a08301518281111561353257600080fd5b61353e87828601612c3a565b60a08301525061355060c08401612dec565b60c082015295945050505050565b60006020828403121561357057600080fd5b81516001600160401b038082111561358757600080fd5b90830190610220828603121561359c57600080fd5b6135a461254e565b6135ad83612c0d565b81526135bb60208401612c0d565b60208201526135cc60408401612ed5565b60408201526135dd60608401612ed5565b60608201526135ee60808401612c0d565b60808201526135ff60a08401612c0d565b60a082015261361060c08401612c0d565b60c082015261362160e08401612dec565b60e0820152610100808401518381111561363a57600080fd5b61364688828701612c3a565b828401525050610120808401518381111561366057600080fd5b61366c88828701612c3a565b8284015250506101409150613682828401612fad565b828201526101609150613696828401612fad565b8282015261018091506136aa828401612c0d565b828201526101a091506136be828401612c0d565b828201526101c091506136d2828401612dec565b828201526101e091506136e6828401612dec565b8282015261020091506136fa828401612dec565b91810191909152949350505050565b60006020828403121561371b57600080fd5b815161072581612ab1565b60006020828403121561373857600080fd5b81516001600160401b038082111561374f57600080fd5b90830190610120828603121561376457600080fd5b61376c612480565b82518281111561377b57600080fd5b61378787828601612c3a565b8252506020830151602082015260408301516040820152606083015160608201526137b460808401612dce565b60808201526137c560a08401612dce565b60a08201526137d660c08401612ee0565b60c08201526137e760e08401612ee0565b60e0820152610100808401518381111561380057600080fd5b61380c88828701612c3a565b91830191909152509594505050505056fea26469706673582212207aa4193b549e3824d7b75ffbed8543066757962cb73192c11439d91168c3e5ed64736f6c63430008140033",
1273
+ "linkReferences": {
1274
+ "contracts/type/Amount.sol": {
1275
+ "AmountLib": [
1276
+ {
1277
+ "length": 20,
1278
+ "start": 7883
1279
+ }
1280
+ ]
1281
+ },
1282
+ "contracts/type/ClaimId.sol": {
1283
+ "ClaimIdLib": [
1284
+ {
1285
+ "length": 20,
1286
+ "start": 4661
1287
+ },
1288
+ {
1289
+ "length": 20,
1290
+ "start": 5697
1291
+ }
1292
+ ]
1293
+ },
1294
+ "contracts/type/DistributorType.sol": {
1295
+ "DistributorTypeLib": [
1296
+ {
1297
+ "length": 20,
1298
+ "start": 7323
1299
+ }
1300
+ ]
1301
+ },
1302
+ "contracts/type/NftId.sol": {
1303
+ "NftIdLib": [
1304
+ {
1305
+ "length": 20,
1306
+ "start": 2597
1307
+ },
1308
+ {
1309
+ "length": 20,
1310
+ "start": 3439
1311
+ },
1312
+ {
1313
+ "length": 20,
1314
+ "start": 3903
1315
+ },
1316
+ {
1317
+ "length": 20,
1318
+ "start": 3992
1319
+ },
1320
+ {
1321
+ "length": 20,
1322
+ "start": 4699
1323
+ },
1324
+ {
1325
+ "length": 20,
1326
+ "start": 4744
1327
+ },
1328
+ {
1329
+ "length": 20,
1330
+ "start": 7550
1331
+ },
1332
+ {
1333
+ "length": 20,
1334
+ "start": 7801
1335
+ }
1336
+ ]
1337
+ },
1338
+ "contracts/type/PayoutId.sol": {
1339
+ "PayoutIdLib": [
1340
+ {
1341
+ "length": 20,
1342
+ "start": 2847
1343
+ },
1344
+ {
1345
+ "length": 20,
1346
+ "start": 3709
1347
+ }
1348
+ ]
1349
+ },
1350
+ "contracts/type/Referral.sol": {
1351
+ "ReferralLib": [
1352
+ {
1353
+ "length": 20,
1354
+ "start": 2110
1355
+ },
1356
+ {
1357
+ "length": 20,
1358
+ "start": 3103
1359
+ }
1360
+ ]
1361
+ },
1362
+ "contracts/type/RiskId.sol": {
1363
+ "RiskIdLib": [
1364
+ {
1365
+ "length": 20,
1366
+ "start": 4859
1367
+ }
1368
+ ]
1369
+ },
1370
+ "contracts/type/Timestamp.sol": {
1371
+ "TimestampLib": [
1372
+ {
1373
+ "length": 20,
1374
+ "start": 4135
1375
+ },
1376
+ {
1377
+ "length": 20,
1378
+ "start": 4278
1379
+ },
1380
+ {
1381
+ "length": 20,
1382
+ "start": 4448
1383
+ },
1384
+ {
1385
+ "length": 20,
1386
+ "start": 5971
1387
+ },
1388
+ {
1389
+ "length": 20,
1390
+ "start": 6202
1391
+ }
1392
+ ]
1393
+ },
1394
+ "contracts/type/UFixed.sol": {
1395
+ "UFixedLib": [
1396
+ {
1397
+ "length": 20,
1398
+ "start": 1907
1399
+ },
1400
+ {
1401
+ "length": 20,
1402
+ "start": 3235
1403
+ },
1404
+ {
1405
+ "length": 20,
1406
+ "start": 6072
1407
+ },
1408
+ {
1409
+ "length": 20,
1410
+ "start": 6331
1411
+ },
1412
+ {
1413
+ "length": 20,
1414
+ "start": 6474
1415
+ }
1416
+ ]
1417
+ }
1418
+ },
1419
+ "deployedLinkReferences": {
1420
+ "contracts/type/Amount.sol": {
1421
+ "AmountLib": [
1422
+ {
1423
+ "length": 20,
1424
+ "start": 7851
1425
+ }
1426
+ ]
1427
+ },
1428
+ "contracts/type/ClaimId.sol": {
1429
+ "ClaimIdLib": [
1430
+ {
1431
+ "length": 20,
1432
+ "start": 4629
1433
+ },
1434
+ {
1435
+ "length": 20,
1436
+ "start": 5665
1437
+ }
1438
+ ]
1439
+ },
1440
+ "contracts/type/DistributorType.sol": {
1441
+ "DistributorTypeLib": [
1442
+ {
1443
+ "length": 20,
1444
+ "start": 7291
1445
+ }
1446
+ ]
1447
+ },
1448
+ "contracts/type/NftId.sol": {
1449
+ "NftIdLib": [
1450
+ {
1451
+ "length": 20,
1452
+ "start": 2565
1453
+ },
1454
+ {
1455
+ "length": 20,
1456
+ "start": 3407
1457
+ },
1458
+ {
1459
+ "length": 20,
1460
+ "start": 3871
1461
+ },
1462
+ {
1463
+ "length": 20,
1464
+ "start": 3960
1465
+ },
1466
+ {
1467
+ "length": 20,
1468
+ "start": 4667
1469
+ },
1470
+ {
1471
+ "length": 20,
1472
+ "start": 4712
1473
+ },
1474
+ {
1475
+ "length": 20,
1476
+ "start": 7518
1477
+ },
1478
+ {
1479
+ "length": 20,
1480
+ "start": 7769
1481
+ }
1482
+ ]
1483
+ },
1484
+ "contracts/type/PayoutId.sol": {
1485
+ "PayoutIdLib": [
1486
+ {
1487
+ "length": 20,
1488
+ "start": 2815
1489
+ },
1490
+ {
1491
+ "length": 20,
1492
+ "start": 3677
1493
+ }
1494
+ ]
1495
+ },
1496
+ "contracts/type/Referral.sol": {
1497
+ "ReferralLib": [
1498
+ {
1499
+ "length": 20,
1500
+ "start": 2078
1501
+ },
1502
+ {
1503
+ "length": 20,
1504
+ "start": 3071
1505
+ }
1506
+ ]
1507
+ },
1508
+ "contracts/type/RiskId.sol": {
1509
+ "RiskIdLib": [
1510
+ {
1511
+ "length": 20,
1512
+ "start": 4827
1513
+ }
1514
+ ]
1515
+ },
1516
+ "contracts/type/Timestamp.sol": {
1517
+ "TimestampLib": [
1518
+ {
1519
+ "length": 20,
1520
+ "start": 4103
1521
+ },
1522
+ {
1523
+ "length": 20,
1524
+ "start": 4246
1525
+ },
1526
+ {
1527
+ "length": 20,
1528
+ "start": 4416
1529
+ },
1530
+ {
1531
+ "length": 20,
1532
+ "start": 5939
1533
+ },
1534
+ {
1535
+ "length": 20,
1536
+ "start": 6170
1537
+ }
1538
+ ]
1539
+ },
1540
+ "contracts/type/UFixed.sol": {
1541
+ "UFixedLib": [
1542
+ {
1543
+ "length": 20,
1544
+ "start": 1875
1545
+ },
1546
+ {
1547
+ "length": 20,
1548
+ "start": 3203
1549
+ },
1550
+ {
1551
+ "length": 20,
1552
+ "start": 6040
1553
+ },
1554
+ {
1555
+ "length": 20,
1556
+ "start": 6299
1557
+ },
1558
+ {
1559
+ "length": 20,
1560
+ "start": 6442
1561
+ }
1562
+ ]
1563
+ }
1564
+ }
1565
+ }