@etherisc/gif-next 0.0.2-fe77319 → 0.0.2-ff1bf36-818

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