@etherisc/gif-next 0.0.2-fe77319 → 0.0.2-ff8087d-237

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