@etherisc/gif-next 0.0.2-b9e9dc3-713 → 0.0.2-ba07940-332

Sign up to get free protection for your applications and to get access to all the features.
Files changed (689) hide show
  1. package/README.md +124 -17
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1293 -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 +414 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  14. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  16. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json} +125 -11
  18. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  20. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1402 -0
  22. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  24. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1048 -0
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1439 -0
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +830 -0
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +929 -0
  32. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +961 -0
  34. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1491 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2042 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  44. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1471 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1231 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1613 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2327 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +569 -246
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +424 -143
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +358 -2980
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1147 -346
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +516 -224
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +373 -75
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3678 -0
  74. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  76. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  77. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  78. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  80. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  82. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  88. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  89. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  91. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  92. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  93. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  94. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  95. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1039 -0
  96. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  97. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  98. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  99. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  100. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  101. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +405 -368
  102. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  103. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  104. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  105. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +907 -0
  106. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  107. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
  108. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
  110. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  111. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1284 -0
  112. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  113. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +502 -0
  114. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  115. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1465 -0
  116. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  117. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +834 -0
  118. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  119. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +960 -0
  120. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  121. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +945 -0
  122. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  123. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1293 -0
  124. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/Pool.sol/Pool.json +1083 -0
  126. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  127. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1635 -0
  128. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  129. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +766 -0
  130. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  131. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +771 -0
  132. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  133. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +710 -0
  134. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  135. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1178 -0
  136. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  137. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  138. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  139. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1431 -0
  140. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  141. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +838 -0
  142. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  143. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +266 -186
  144. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  145. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +942 -0
  146. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  147. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +925 -0
  148. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  149. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +283 -266
  150. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  151. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1017 -0
  152. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  153. package/artifacts/contracts/{instance/base/IService.sol/IService.json → product/IRiskService.sol/IRiskService.json} +168 -160
  154. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  155. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1302 -0
  156. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +782 -0
  158. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  159. package/artifacts/contracts/product/PricingService.sol/PricingService.json +907 -0
  160. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  161. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +762 -0
  162. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  163. package/artifacts/contracts/product/Product.sol/Product.json +1136 -0
  164. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  165. package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
  166. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  167. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
  168. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  169. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  170. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  171. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +872 -154
  172. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  173. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +361 -214
  174. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  175. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  176. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  177. package/artifacts/contracts/registry/Registry.sol/Registry.json +1085 -143
  178. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  179. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
  180. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  181. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +330 -345
  182. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  183. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +337 -128
  184. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  185. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  186. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  187. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  188. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  190. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  191. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  192. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  193. package/artifacts/contracts/shared/Component.sol/Component.json +725 -0
  194. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  195. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1768 -0
  196. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  197. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
  198. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  199. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +184 -178
  200. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  201. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  202. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  203. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +632 -0
  204. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  205. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
  206. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  207. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +723 -0
  208. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  209. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  210. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  211. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  212. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  213. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +46 -26
  214. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  215. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  216. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  217. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +40 -31
  218. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  219. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  220. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  221. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +134 -73
  222. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  223. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  224. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  225. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +829 -0
  226. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  227. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  228. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  229. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  230. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  231. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  232. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +81 -30
  234. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  235. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  236. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +96 -48
  238. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  239. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  240. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  241. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +150 -189
  242. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  243. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  244. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  245. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  246. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  247. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1465 -0
  248. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  249. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1043 -0
  250. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  252. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  253. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  254. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  255. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  256. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
  258. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  259. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  260. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  261. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1249 -0
  262. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +710 -0
  264. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  265. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  266. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  267. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  268. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  269. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  270. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  272. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  274. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  276. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  278. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  280. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  282. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  284. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  285. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  286. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  288. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  290. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  292. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  294. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
  296. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  298. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  300. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  302. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  304. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  306. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  308. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  310. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  312. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  314. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  316. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  318. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  319. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  320. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  321. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
  322. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  323. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  324. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  325. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  326. package/contracts/authorization/AccessAdmin.sol +596 -0
  327. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  328. package/contracts/authorization/Authorization.sol +289 -0
  329. package/contracts/authorization/IAccess.sol +49 -0
  330. package/contracts/authorization/IAccessAdmin.sol +137 -0
  331. package/contracts/authorization/IAuthorization.sol +60 -0
  332. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  333. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  334. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  335. package/contracts/distribution/BasicDistribution.sol +139 -0
  336. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  337. package/contracts/distribution/Distribution.sol +285 -0
  338. package/contracts/distribution/DistributionService.sol +354 -0
  339. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  340. package/contracts/distribution/IDistributionComponent.sol +52 -0
  341. package/contracts/distribution/IDistributionService.sol +101 -0
  342. package/contracts/examples/fire/DamageLevel.sol +59 -0
  343. package/contracts/examples/fire/FirePool.sol +87 -0
  344. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  345. package/contracts/examples/fire/FireProduct.sol +428 -0
  346. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  347. package/contracts/examples/fire/FireUSD.sol +26 -0
  348. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  349. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  350. package/contracts/examples/unpermissioned/SimplePool.sol +81 -0
  351. package/contracts/examples/unpermissioned/SimpleProduct.sol +345 -0
  352. package/contracts/instance/BundleSet.sol +126 -0
  353. package/contracts/instance/IInstance.sol +54 -16
  354. package/contracts/instance/IInstanceService.sol +64 -9
  355. package/contracts/instance/Instance.sol +165 -369
  356. package/contracts/instance/InstanceAdmin.sol +277 -0
  357. package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
  358. package/contracts/instance/InstanceReader.sol +282 -67
  359. package/contracts/instance/InstanceService.sol +365 -57
  360. package/contracts/instance/InstanceServiceManager.sol +14 -31
  361. package/contracts/instance/InstanceStore.sol +287 -0
  362. package/contracts/instance/base/BalanceStore.sol +123 -0
  363. package/contracts/instance/base/Cloneable.sol +28 -0
  364. package/contracts/instance/base/ObjectCounter.sol +21 -0
  365. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  366. package/contracts/instance/base/ObjectSet.sol +79 -0
  367. package/contracts/instance/module/IAccess.sol +29 -21
  368. package/contracts/instance/module/IBundle.sol +8 -7
  369. package/contracts/instance/module/IComponents.sol +51 -0
  370. package/contracts/instance/module/IDistribution.sol +6 -4
  371. package/contracts/instance/module/IPolicy.sol +58 -19
  372. package/contracts/instance/module/IRisk.sol +1 -1
  373. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  374. package/contracts/oracle/BasicOracle.sol +47 -0
  375. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  376. package/contracts/oracle/IOracle.sol +36 -0
  377. package/contracts/oracle/IOracleComponent.sol +33 -0
  378. package/contracts/oracle/IOracleService.sol +66 -0
  379. package/contracts/oracle/Oracle.sol +156 -0
  380. package/contracts/oracle/OracleService.sol +291 -0
  381. package/contracts/oracle/OracleServiceManager.sol +39 -0
  382. package/contracts/pool/BasicPool.sol +156 -0
  383. package/contracts/pool/BasicPoolAuthorization.sol +68 -0
  384. package/contracts/pool/BundleService.sol +461 -0
  385. package/contracts/pool/BundleServiceManager.sol +39 -0
  386. package/contracts/pool/IBundleService.sol +143 -0
  387. package/contracts/pool/IPoolComponent.sol +66 -0
  388. package/contracts/pool/IPoolService.sol +169 -0
  389. package/contracts/pool/Pool.sol +329 -0
  390. package/contracts/pool/PoolService.sol +548 -0
  391. package/contracts/pool/PoolServiceManager.sol +39 -0
  392. package/contracts/product/ApplicationService.sol +251 -0
  393. package/contracts/product/ApplicationServiceManager.sol +38 -0
  394. package/contracts/product/BasicProduct.sol +49 -0
  395. package/contracts/product/BasicProductAuthorization.sol +42 -0
  396. package/contracts/product/ClaimService.sol +591 -0
  397. package/contracts/product/ClaimServiceManager.sol +38 -0
  398. package/contracts/product/IApplicationService.sol +63 -0
  399. package/contracts/product/IClaimService.sol +123 -0
  400. package/contracts/product/IPolicyService.sol +80 -0
  401. package/contracts/product/IPricingService.sol +39 -0
  402. package/contracts/product/IProductComponent.sol +59 -0
  403. package/contracts/product/IRiskService.sol +33 -0
  404. package/contracts/product/PolicyService.sol +683 -0
  405. package/contracts/product/PolicyServiceManager.sol +39 -0
  406. package/contracts/product/PricingService.sol +297 -0
  407. package/contracts/product/PricingServiceManager.sol +39 -0
  408. package/contracts/product/Product.sol +431 -0
  409. package/contracts/product/RiskService.sol +96 -0
  410. package/contracts/product/RiskServiceManager.sol +39 -0
  411. package/contracts/registry/ChainNft.sol +78 -33
  412. package/contracts/registry/IRegistry.sol +131 -17
  413. package/contracts/registry/IRegistryService.sol +47 -20
  414. package/contracts/registry/ITransferInterceptor.sol +1 -1
  415. package/contracts/registry/Registry.sol +561 -267
  416. package/contracts/registry/RegistryAdmin.sol +448 -0
  417. package/contracts/registry/RegistryService.sol +124 -323
  418. package/contracts/registry/RegistryServiceManager.sol +27 -38
  419. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  420. package/contracts/registry/ReleaseRegistry.sol +501 -0
  421. package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
  422. package/contracts/registry/TokenRegistry.sol +315 -0
  423. package/contracts/shared/Component.sol +265 -0
  424. package/contracts/shared/ComponentService.sol +735 -0
  425. package/contracts/shared/ComponentServiceManager.sol +38 -0
  426. package/contracts/shared/ComponentVerifyingService.sol +126 -0
  427. package/contracts/shared/ContractLib.sol +38 -0
  428. package/contracts/shared/IComponent.sol +74 -0
  429. package/contracts/shared/IComponentService.sol +120 -0
  430. package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
  431. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  432. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  433. package/contracts/shared/INftOwnable.sol +15 -12
  434. package/contracts/shared/IPolicyHolder.sol +35 -0
  435. package/contracts/shared/IRegisterable.sol +15 -6
  436. package/contracts/shared/IRegistryLinked.sol +11 -0
  437. package/contracts/shared/IService.sol +25 -0
  438. package/contracts/shared/InitializableERC165.sol +27 -0
  439. package/contracts/shared/InstanceLinkedComponent.sol +213 -0
  440. package/contracts/shared/KeyValueStore.sol +131 -0
  441. package/contracts/shared/Lifecycle.sol +88 -0
  442. package/contracts/shared/NftIdSet.sol +65 -0
  443. package/contracts/shared/NftOwnable.sol +72 -85
  444. package/contracts/shared/PolicyHolder.sol +62 -0
  445. package/contracts/shared/Registerable.sol +34 -38
  446. package/contracts/shared/RegistryLinked.sol +44 -0
  447. package/contracts/shared/Service.sol +84 -0
  448. package/contracts/shared/TokenHandler.sol +122 -10
  449. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  450. package/contracts/staking/IStaking.sol +168 -0
  451. package/contracts/staking/IStakingService.sol +157 -0
  452. package/contracts/staking/StakeManagerLib.sol +224 -0
  453. package/contracts/staking/Staking.sol +497 -0
  454. package/contracts/staking/StakingLifecycle.sol +23 -0
  455. package/contracts/staking/StakingManager.sol +52 -0
  456. package/contracts/staking/StakingReader.sol +190 -0
  457. package/contracts/staking/StakingService.sol +393 -0
  458. package/contracts/staking/StakingServiceManager.sol +44 -0
  459. package/contracts/staking/StakingStore.sol +605 -0
  460. package/contracts/staking/TargetManagerLib.sol +211 -0
  461. package/contracts/{types → type}/AddressSet.sol +1 -1
  462. package/contracts/type/Amount.sol +150 -0
  463. package/contracts/{types → type}/Blocknumber.sol +27 -3
  464. package/contracts/type/ClaimId.sol +80 -0
  465. package/contracts/{types → type}/DistributorType.sol +2 -2
  466. package/contracts/{types → type}/Fee.sol +33 -23
  467. package/contracts/{types → type}/NftId.sol +22 -15
  468. package/contracts/type/NftIdSet.sol +62 -0
  469. package/contracts/type/ObjectType.sol +276 -0
  470. package/contracts/type/PayoutId.sol +82 -0
  471. package/contracts/{types → type}/Referral.sol +6 -1
  472. package/contracts/type/RequestId.sol +75 -0
  473. package/contracts/{types → type}/RiskId.sol +17 -3
  474. package/contracts/type/RoleId.sol +162 -0
  475. package/contracts/type/Seconds.sol +101 -0
  476. package/contracts/type/Selector.sol +102 -0
  477. package/contracts/{types → type}/StateId.sol +52 -4
  478. package/contracts/type/String.sol +53 -0
  479. package/contracts/{types → type}/Timestamp.sol +34 -15
  480. package/contracts/{types → type}/UFixed.sol +39 -9
  481. package/contracts/{types → type}/Version.sol +8 -2
  482. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  483. package/contracts/upgradeability/ProxyManager.sol +232 -0
  484. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  485. package/contracts/upgradeability/Versionable.sol +59 -0
  486. package/package.json +11 -7
  487. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  488. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  489. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -610
  490. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  491. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  492. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  493. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  494. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  495. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  496. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  497. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  498. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  499. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -774
  500. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  501. package/artifacts/contracts/components/Product.sol/Product.json +0 -754
  502. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  503. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  504. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  505. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  506. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  507. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  508. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  509. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  510. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  511. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  512. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  513. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  514. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  515. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  516. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  517. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  518. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  519. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  520. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  521. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  522. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  523. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  524. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  525. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  526. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  527. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  528. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  529. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  530. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  531. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  532. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  533. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  534. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  535. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  536. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  537. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  538. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  539. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  540. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  541. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  542. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  543. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  544. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  545. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  546. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  547. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  548. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  550. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  552. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  553. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  554. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  555. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  556. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  557. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  558. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  559. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  560. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  561. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  562. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  563. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  565. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  566. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  567. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  568. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  569. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  570. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  571. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  572. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  573. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  574. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  575. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  576. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  577. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  578. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  579. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  580. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  581. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  582. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  583. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  584. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  585. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  586. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  587. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  588. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  589. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  590. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  591. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  592. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  593. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  594. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  595. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  596. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  597. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  598. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  599. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  600. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  601. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  602. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  603. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  604. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  605. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  606. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  607. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  608. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  609. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  610. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  611. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  612. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  613. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  614. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  615. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  616. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  617. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  618. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  619. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  620. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  621. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  622. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  623. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  624. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  625. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  626. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  627. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  628. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  629. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  630. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  631. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  632. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  633. package/contracts/components/BaseComponent.sol +0 -86
  634. package/contracts/components/Distribution.sol +0 -166
  635. package/contracts/components/IBaseComponent.sol +0 -24
  636. package/contracts/components/IDistributionComponent.sol +0 -43
  637. package/contracts/components/IPoolComponent.sol +0 -62
  638. package/contracts/components/IProductComponent.sol +0 -35
  639. package/contracts/components/Pool.sol +0 -259
  640. package/contracts/components/Product.sol +0 -297
  641. package/contracts/experiment/cloning/Cloner.sol +0 -47
  642. package/contracts/experiment/errors/Require.sol +0 -38
  643. package/contracts/experiment/errors/Revert.sol +0 -44
  644. package/contracts/experiment/inheritance/A.sol +0 -53
  645. package/contracts/experiment/inheritance/B.sol +0 -28
  646. package/contracts/experiment/inheritance/C.sol +0 -34
  647. package/contracts/experiment/inheritance/IA.sol +0 -13
  648. package/contracts/experiment/inheritance/IB.sol +0 -10
  649. package/contracts/experiment/inheritance/IC.sol +0 -12
  650. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  651. package/contracts/experiment/statemachine/ISM.sol +0 -25
  652. package/contracts/experiment/statemachine/SM.sol +0 -57
  653. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  654. package/contracts/experiment/types/TypeA.sol +0 -47
  655. package/contracts/experiment/types/TypeB.sol +0 -29
  656. package/contracts/instance/AccessManagedSimple.sol +0 -114
  657. package/contracts/instance/AccessManagerSimple.sol +0 -682
  658. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  659. package/contracts/instance/InstanceAccessManager.sol +0 -288
  660. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  661. package/contracts/instance/base/IInstanceBase.sol +0 -23
  662. package/contracts/instance/base/IService.sol +0 -15
  663. package/contracts/instance/base/KeyValueStore.sol +0 -172
  664. package/contracts/instance/base/Lifecycle.sol +0 -100
  665. package/contracts/instance/base/ServiceBase.sol +0 -44
  666. package/contracts/instance/module/ISetup.sol +0 -43
  667. package/contracts/instance/module/ITreasury.sol +0 -23
  668. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  669. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  670. package/contracts/instance/service/IDistributionService.sol +0 -12
  671. package/contracts/instance/service/IPoolService.sol +0 -37
  672. package/contracts/instance/service/IProductService.sol +0 -107
  673. package/contracts/shared/ContractDeployerLib.sol +0 -72
  674. package/contracts/shared/ERC165.sol +0 -21
  675. package/contracts/shared/ProxyManager.sol +0 -94
  676. package/contracts/shared/Versionable.sol +0 -147
  677. package/contracts/test/TestFee.sol +0 -25
  678. package/contracts/test/TestRegisterable.sol +0 -18
  679. package/contracts/test/TestRoleId.sol +0 -14
  680. package/contracts/test/TestService.sol +0 -26
  681. package/contracts/test/TestToken.sol +0 -26
  682. package/contracts/test/TestVersion.sol +0 -44
  683. package/contracts/test/TestVersionable.sol +0 -17
  684. package/contracts/types/ChainId.sol +0 -38
  685. package/contracts/types/NftIdSet.sol +0 -60
  686. package/contracts/types/NumberId.sol +0 -52
  687. package/contracts/types/ObjectType.sol +0 -152
  688. package/contracts/types/RoleId.sol +0 -82
  689. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -3,41 +3,73 @@
3
3
  "contractName": "InstanceReader",
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
15
+ },
6
16
  {
7
17
  "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
18
  {
14
19
  "internalType": "NftId",
15
- "name": "instanceNftId",
20
+ "name": "poolNftId",
16
21
  "type": "uint96"
17
22
  }
18
23
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
24
+ "name": "activeBundles",
25
+ "outputs": [
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "bundles",
29
+ "type": "uint256"
30
+ }
31
+ ],
32
+ "stateMutability": "view",
33
+ "type": "function"
21
34
  },
22
35
  {
23
36
  "inputs": [
24
37
  {
25
- "internalType": "ReferralId",
26
- "name": "referralId",
27
- "type": "bytes8"
38
+ "internalType": "NftId",
39
+ "name": "policyNftId",
40
+ "type": "uint96"
28
41
  }
29
42
  ],
30
- "name": "getDiscountPercentage",
43
+ "name": "claims",
31
44
  "outputs": [
32
45
  {
33
- "internalType": "UFixed",
34
- "name": "discountPercentage",
35
- "type": "uint256"
46
+ "internalType": "uint16",
47
+ "name": "claims",
48
+ "type": "uint16"
49
+ }
50
+ ],
51
+ "stateMutability": "view",
52
+ "type": "function"
53
+ },
54
+ {
55
+ "inputs": [
56
+ {
57
+ "internalType": "NftId",
58
+ "name": "poolNftId",
59
+ "type": "uint96"
36
60
  },
37
61
  {
38
- "internalType": "ReferralStatus",
39
- "name": "status",
40
- "type": "uint8"
62
+ "internalType": "uint256",
63
+ "name": "idx",
64
+ "type": "uint256"
65
+ }
66
+ ],
67
+ "name": "getActiveBundleNftId",
68
+ "outputs": [
69
+ {
70
+ "internalType": "NftId",
71
+ "name": "bundleNftId",
72
+ "type": "uint96"
41
73
  }
42
74
  ],
43
75
  "stateMutability": "view",
@@ -47,24 +79,38 @@
47
79
  "inputs": [
48
80
  {
49
81
  "internalType": "NftId",
50
- "name": "distributionNftId",
82
+ "name": "targetNftId",
83
+ "type": "uint96"
84
+ }
85
+ ],
86
+ "name": "getBalanceAmount",
87
+ "outputs": [
88
+ {
89
+ "internalType": "Amount",
90
+ "name": "",
91
+ "type": "uint96"
92
+ }
93
+ ],
94
+ "stateMutability": "view",
95
+ "type": "function"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "NftId",
101
+ "name": "bundleNftId",
51
102
  "type": "uint96"
52
103
  }
53
104
  ],
54
- "name": "getDistributionSetupInfo",
105
+ "name": "getBundleInfo",
55
106
  "outputs": [
56
107
  {
57
108
  "components": [
58
109
  {
59
110
  "internalType": "NftId",
60
- "name": "productNftId",
111
+ "name": "poolNftId",
61
112
  "type": "uint96"
62
113
  },
63
- {
64
- "internalType": "contract TokenHandler",
65
- "name": "tokenHandler",
66
- "type": "address"
67
- },
68
114
  {
69
115
  "components": [
70
116
  {
@@ -79,21 +125,200 @@
79
125
  }
80
126
  ],
81
127
  "internalType": "struct Fee",
82
- "name": "distributionFee",
128
+ "name": "fee",
83
129
  "type": "tuple"
84
130
  },
85
131
  {
86
- "internalType": "bool",
87
- "name": "isIntercepting",
88
- "type": "bool"
132
+ "internalType": "bytes",
133
+ "name": "filter",
134
+ "type": "bytes"
135
+ },
136
+ {
137
+ "internalType": "Timestamp",
138
+ "name": "activatedAt",
139
+ "type": "uint40"
140
+ },
141
+ {
142
+ "internalType": "Timestamp",
143
+ "name": "expiredAt",
144
+ "type": "uint40"
145
+ },
146
+ {
147
+ "internalType": "Timestamp",
148
+ "name": "closedAt",
149
+ "type": "uint40"
150
+ }
151
+ ],
152
+ "internalType": "struct IBundle.BundleInfo",
153
+ "name": "info",
154
+ "type": "tuple"
155
+ }
156
+ ],
157
+ "stateMutability": "view",
158
+ "type": "function"
159
+ },
160
+ {
161
+ "inputs": [
162
+ {
163
+ "internalType": "NftId",
164
+ "name": "bundleNftId",
165
+ "type": "uint96"
166
+ }
167
+ ],
168
+ "name": "getBundleState",
169
+ "outputs": [
170
+ {
171
+ "internalType": "StateId",
172
+ "name": "state",
173
+ "type": "uint8"
174
+ }
175
+ ],
176
+ "stateMutability": "view",
177
+ "type": "function"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "internalType": "uint256",
183
+ "name": "idx",
184
+ "type": "uint256"
185
+ }
186
+ ],
187
+ "name": "getClaimId",
188
+ "outputs": [
189
+ {
190
+ "internalType": "ClaimId",
191
+ "name": "claimId",
192
+ "type": "uint16"
193
+ }
194
+ ],
195
+ "stateMutability": "view",
196
+ "type": "function"
197
+ },
198
+ {
199
+ "inputs": [
200
+ {
201
+ "internalType": "NftId",
202
+ "name": "policyNftId",
203
+ "type": "uint96"
204
+ },
205
+ {
206
+ "internalType": "ClaimId",
207
+ "name": "claimId",
208
+ "type": "uint16"
209
+ }
210
+ ],
211
+ "name": "getClaimInfo",
212
+ "outputs": [
213
+ {
214
+ "components": [
215
+ {
216
+ "internalType": "Amount",
217
+ "name": "claimAmount",
218
+ "type": "uint96"
219
+ },
220
+ {
221
+ "internalType": "Amount",
222
+ "name": "paidAmount",
223
+ "type": "uint96"
224
+ },
225
+ {
226
+ "internalType": "uint24",
227
+ "name": "payoutsCount",
228
+ "type": "uint24"
229
+ },
230
+ {
231
+ "internalType": "uint24",
232
+ "name": "openPayoutsCount",
233
+ "type": "uint24"
234
+ },
235
+ {
236
+ "internalType": "bytes",
237
+ "name": "submissionData",
238
+ "type": "bytes"
239
+ },
240
+ {
241
+ "internalType": "bytes",
242
+ "name": "processData",
243
+ "type": "bytes"
244
+ },
245
+ {
246
+ "internalType": "Timestamp",
247
+ "name": "closedAt",
248
+ "type": "uint40"
249
+ }
250
+ ],
251
+ "internalType": "struct IPolicy.ClaimInfo",
252
+ "name": "info",
253
+ "type": "tuple"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [
261
+ {
262
+ "internalType": "NftId",
263
+ "name": "policyNftId",
264
+ "type": "uint96"
265
+ },
266
+ {
267
+ "internalType": "ClaimId",
268
+ "name": "claimId",
269
+ "type": "uint16"
270
+ }
271
+ ],
272
+ "name": "getClaimState",
273
+ "outputs": [
274
+ {
275
+ "internalType": "StateId",
276
+ "name": "state",
277
+ "type": "uint8"
278
+ }
279
+ ],
280
+ "stateMutability": "view",
281
+ "type": "function"
282
+ },
283
+ {
284
+ "inputs": [
285
+ {
286
+ "internalType": "NftId",
287
+ "name": "componentNftId",
288
+ "type": "uint96"
289
+ }
290
+ ],
291
+ "name": "getComponentInfo",
292
+ "outputs": [
293
+ {
294
+ "components": [
295
+ {
296
+ "internalType": "string",
297
+ "name": "name",
298
+ "type": "string"
299
+ },
300
+ {
301
+ "internalType": "contract IERC20Metadata",
302
+ "name": "token",
303
+ "type": "address"
304
+ },
305
+ {
306
+ "internalType": "contract TokenHandler",
307
+ "name": "tokenHandler",
308
+ "type": "address"
89
309
  },
90
310
  {
91
311
  "internalType": "address",
92
312
  "name": "wallet",
93
313
  "type": "address"
314
+ },
315
+ {
316
+ "internalType": "bytes",
317
+ "name": "data",
318
+ "type": "bytes"
94
319
  }
95
320
  ],
96
- "internalType": "struct ISetup.DistributionSetupInfo",
321
+ "internalType": "struct IComponents.ComponentInfo",
97
322
  "name": "info",
98
323
  "type": "tuple"
99
324
  }
@@ -101,6 +326,30 @@
101
326
  "stateMutability": "view",
102
327
  "type": "function"
103
328
  },
329
+ {
330
+ "inputs": [
331
+ {
332
+ "internalType": "ReferralId",
333
+ "name": "referralId",
334
+ "type": "bytes8"
335
+ }
336
+ ],
337
+ "name": "getDiscountPercentage",
338
+ "outputs": [
339
+ {
340
+ "internalType": "UFixed",
341
+ "name": "discountPercentage",
342
+ "type": "uint256"
343
+ },
344
+ {
345
+ "internalType": "ReferralStatus",
346
+ "name": "status",
347
+ "type": "uint8"
348
+ }
349
+ ],
350
+ "stateMutability": "view",
351
+ "type": "function"
352
+ },
104
353
  {
105
354
  "inputs": [
106
355
  {
@@ -127,6 +376,11 @@
127
376
  "internalType": "bytes",
128
377
  "name": "data",
129
378
  "type": "bytes"
379
+ },
380
+ {
381
+ "internalType": "uint32",
382
+ "name": "numPoliciesSold",
383
+ "type": "uint32"
130
384
  }
131
385
  ],
132
386
  "internalType": "struct IDistribution.DistributorInfo",
@@ -203,6 +457,25 @@
203
457
  "stateMutability": "view",
204
458
  "type": "function"
205
459
  },
460
+ {
461
+ "inputs": [
462
+ {
463
+ "internalType": "NftId",
464
+ "name": "targetNftId",
465
+ "type": "uint96"
466
+ }
467
+ ],
468
+ "name": "getFeeAmount",
469
+ "outputs": [
470
+ {
471
+ "internalType": "Amount",
472
+ "name": "",
473
+ "type": "uint96"
474
+ }
475
+ ],
476
+ "stateMutability": "view",
477
+ "type": "function"
478
+ },
206
479
  {
207
480
  "inputs": [],
208
481
  "name": "getInstance",
@@ -217,26 +490,97 @@
217
490
  "type": "function"
218
491
  },
219
492
  {
220
- "inputs": [],
221
- "name": "getInstanceNftId",
222
- "outputs": [
493
+ "inputs": [],
494
+ "name": "getInstanceStore",
495
+ "outputs": [
496
+ {
497
+ "internalType": "contract IKeyValueStore",
498
+ "name": "store",
499
+ "type": "address"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [
507
+ {
508
+ "internalType": "NftId",
509
+ "name": "targetNftId",
510
+ "type": "uint96"
511
+ }
512
+ ],
513
+ "name": "getLockedAmount",
514
+ "outputs": [
515
+ {
516
+ "internalType": "Amount",
517
+ "name": "",
518
+ "type": "uint96"
519
+ }
520
+ ],
521
+ "stateMutability": "view",
522
+ "type": "function"
523
+ },
524
+ {
525
+ "inputs": [
526
+ {
527
+ "internalType": "Key32",
528
+ "name": "key",
529
+ "type": "bytes32"
530
+ }
531
+ ],
532
+ "name": "getMetadata",
533
+ "outputs": [
534
+ {
535
+ "components": [
536
+ {
537
+ "internalType": "ObjectType",
538
+ "name": "objectType",
539
+ "type": "uint8"
540
+ },
541
+ {
542
+ "internalType": "StateId",
543
+ "name": "state",
544
+ "type": "uint8"
545
+ },
546
+ {
547
+ "internalType": "Blocknumber",
548
+ "name": "updatedIn",
549
+ "type": "uint32"
550
+ },
551
+ {
552
+ "internalType": "Blocknumber",
553
+ "name": "createdIn",
554
+ "type": "uint32"
555
+ }
556
+ ],
557
+ "internalType": "struct IKeyValueStore.Metadata",
558
+ "name": "metadata",
559
+ "type": "tuple"
560
+ }
561
+ ],
562
+ "stateMutability": "view",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [
223
567
  {
224
- "internalType": "NftId",
225
- "name": "nftId",
226
- "type": "uint96"
568
+ "internalType": "ClaimId",
569
+ "name": "claimId",
570
+ "type": "uint16"
571
+ },
572
+ {
573
+ "internalType": "uint24",
574
+ "name": "idx",
575
+ "type": "uint24"
227
576
  }
228
577
  ],
229
- "stateMutability": "view",
230
- "type": "function"
231
- },
232
- {
233
- "inputs": [],
234
- "name": "getInstanceStore",
578
+ "name": "getPayoutId",
235
579
  "outputs": [
236
580
  {
237
- "internalType": "contract IKeyValueStore",
238
- "name": "store",
239
- "type": "address"
581
+ "internalType": "PayoutId",
582
+ "name": "payoutId",
583
+ "type": "uint40"
240
584
  }
241
585
  ],
242
586
  "stateMutability": "view",
@@ -245,49 +589,78 @@
245
589
  {
246
590
  "inputs": [
247
591
  {
248
- "internalType": "Key32",
249
- "name": "key",
250
- "type": "bytes32"
592
+ "internalType": "NftId",
593
+ "name": "policyNftId",
594
+ "type": "uint96"
595
+ },
596
+ {
597
+ "internalType": "PayoutId",
598
+ "name": "payoutId",
599
+ "type": "uint40"
251
600
  }
252
601
  ],
253
- "name": "getMetadata",
602
+ "name": "getPayoutInfo",
254
603
  "outputs": [
255
604
  {
256
605
  "components": [
257
606
  {
258
- "internalType": "ObjectType",
259
- "name": "objectType",
260
- "type": "uint8"
607
+ "internalType": "ClaimId",
608
+ "name": "claimId",
609
+ "type": "uint16"
261
610
  },
262
611
  {
263
- "internalType": "StateId",
264
- "name": "state",
265
- "type": "uint8"
612
+ "internalType": "Amount",
613
+ "name": "amount",
614
+ "type": "uint96"
266
615
  },
267
616
  {
268
617
  "internalType": "address",
269
- "name": "updatedBy",
618
+ "name": "beneficiary",
270
619
  "type": "address"
271
620
  },
272
621
  {
273
- "internalType": "Blocknumber",
274
- "name": "updatedIn",
275
- "type": "uint32"
622
+ "internalType": "bytes",
623
+ "name": "data",
624
+ "type": "bytes"
276
625
  },
277
626
  {
278
- "internalType": "Blocknumber",
279
- "name": "createdIn",
280
- "type": "uint32"
627
+ "internalType": "Timestamp",
628
+ "name": "paidAt",
629
+ "type": "uint40"
281
630
  }
282
631
  ],
283
- "internalType": "struct IKeyValueStore.Metadata",
284
- "name": "metadata",
632
+ "internalType": "struct IPolicy.PayoutInfo",
633
+ "name": "info",
285
634
  "type": "tuple"
286
635
  }
287
636
  ],
288
637
  "stateMutability": "view",
289
638
  "type": "function"
290
639
  },
640
+ {
641
+ "inputs": [
642
+ {
643
+ "internalType": "NftId",
644
+ "name": "policyNftId",
645
+ "type": "uint96"
646
+ },
647
+ {
648
+ "internalType": "PayoutId",
649
+ "name": "payoutId",
650
+ "type": "uint40"
651
+ }
652
+ ],
653
+ "name": "getPayoutState",
654
+ "outputs": [
655
+ {
656
+ "internalType": "StateId",
657
+ "name": "state",
658
+ "type": "uint8"
659
+ }
660
+ ],
661
+ "stateMutability": "view",
662
+ "type": "function"
663
+ },
291
664
  {
292
665
  "inputs": [
293
666
  {
@@ -321,24 +694,19 @@
321
694
  "type": "bytes8"
322
695
  },
323
696
  {
324
- "internalType": "uint256",
697
+ "internalType": "Amount",
325
698
  "name": "sumInsuredAmount",
326
- "type": "uint256"
699
+ "type": "uint96"
327
700
  },
328
701
  {
329
- "internalType": "uint256",
702
+ "internalType": "Amount",
330
703
  "name": "premiumAmount",
331
- "type": "uint256"
332
- },
333
- {
334
- "internalType": "uint256",
335
- "name": "premiumPaidAmount",
336
- "type": "uint256"
704
+ "type": "uint96"
337
705
  },
338
706
  {
339
- "internalType": "uint256",
707
+ "internalType": "Seconds",
340
708
  "name": "lifetime",
341
- "type": "uint256"
709
+ "type": "uint40"
342
710
  },
343
711
  {
344
712
  "internalType": "bytes",
@@ -347,7 +715,7 @@
347
715
  },
348
716
  {
349
717
  "internalType": "bytes",
350
- "name": "policyData",
718
+ "name": "processData",
351
719
  "type": "bytes"
352
720
  },
353
721
  {
@@ -361,9 +729,14 @@
361
729
  "type": "uint16"
362
730
  },
363
731
  {
364
- "internalType": "uint256",
732
+ "internalType": "Amount",
733
+ "name": "claimAmount",
734
+ "type": "uint96"
735
+ },
736
+ {
737
+ "internalType": "Amount",
365
738
  "name": "payoutAmount",
366
- "type": "uint256"
739
+ "type": "uint96"
367
740
  },
368
741
  {
369
742
  "internalType": "Timestamp",
@@ -389,6 +762,25 @@
389
762
  "stateMutability": "view",
390
763
  "type": "function"
391
764
  },
765
+ {
766
+ "inputs": [
767
+ {
768
+ "internalType": "NftId",
769
+ "name": "policyNftId",
770
+ "type": "uint96"
771
+ }
772
+ ],
773
+ "name": "getPolicyState",
774
+ "outputs": [
775
+ {
776
+ "internalType": "StateId",
777
+ "name": "state",
778
+ "type": "uint8"
779
+ }
780
+ ],
781
+ "stateMutability": "view",
782
+ "type": "function"
783
+ },
392
784
  {
393
785
  "inputs": [
394
786
  {
@@ -397,19 +789,34 @@
397
789
  "type": "uint96"
398
790
  }
399
791
  ],
400
- "name": "getPoolSetupInfo",
792
+ "name": "getPoolInfo",
401
793
  "outputs": [
402
794
  {
403
795
  "components": [
404
796
  {
405
- "internalType": "NftId",
406
- "name": "productNftId",
797
+ "internalType": "Amount",
798
+ "name": "maxBalanceAmount",
407
799
  "type": "uint96"
408
800
  },
409
801
  {
410
- "internalType": "contract TokenHandler",
411
- "name": "tokenHandler",
412
- "type": "address"
802
+ "internalType": "bool",
803
+ "name": "isInterceptingBundleTransfers",
804
+ "type": "bool"
805
+ },
806
+ {
807
+ "internalType": "bool",
808
+ "name": "isProcessingConfirmedClaims",
809
+ "type": "bool"
810
+ },
811
+ {
812
+ "internalType": "bool",
813
+ "name": "isExternallyManaged",
814
+ "type": "bool"
815
+ },
816
+ {
817
+ "internalType": "bool",
818
+ "name": "isVerifyingApplications",
819
+ "type": "bool"
413
820
  },
414
821
  {
415
822
  "internalType": "UFixed",
@@ -417,68 +824,123 @@
417
824
  "type": "uint256"
418
825
  },
419
826
  {
420
- "components": [
421
- {
422
- "internalType": "UFixed",
423
- "name": "fractionalFee",
424
- "type": "uint256"
425
- },
426
- {
427
- "internalType": "uint256",
428
- "name": "fixedFee",
429
- "type": "uint256"
430
- }
431
- ],
432
- "internalType": "struct Fee",
433
- "name": "poolFee",
434
- "type": "tuple"
827
+ "internalType": "UFixed",
828
+ "name": "retentionLevel",
829
+ "type": "uint256"
830
+ }
831
+ ],
832
+ "internalType": "struct IComponents.PoolInfo",
833
+ "name": "info",
834
+ "type": "tuple"
835
+ }
836
+ ],
837
+ "stateMutability": "view",
838
+ "type": "function"
839
+ },
840
+ {
841
+ "inputs": [
842
+ {
843
+ "internalType": "NftId",
844
+ "name": "policyNftId",
845
+ "type": "uint96"
846
+ }
847
+ ],
848
+ "name": "getPremiumInfo",
849
+ "outputs": [
850
+ {
851
+ "components": [
852
+ {
853
+ "internalType": "Amount",
854
+ "name": "productFeeAmount",
855
+ "type": "uint96"
435
856
  },
436
857
  {
437
- "components": [
438
- {
439
- "internalType": "UFixed",
440
- "name": "fractionalFee",
441
- "type": "uint256"
442
- },
443
- {
444
- "internalType": "uint256",
445
- "name": "fixedFee",
446
- "type": "uint256"
447
- }
448
- ],
449
- "internalType": "struct Fee",
450
- "name": "stakingFee",
451
- "type": "tuple"
858
+ "internalType": "Amount",
859
+ "name": "distributionFeeAndCommissionAmount",
860
+ "type": "uint96"
452
861
  },
453
862
  {
454
- "components": [
455
- {
456
- "internalType": "UFixed",
457
- "name": "fractionalFee",
458
- "type": "uint256"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "fixedFee",
463
- "type": "uint256"
464
- }
465
- ],
466
- "internalType": "struct Fee",
467
- "name": "performanceFee",
468
- "type": "tuple"
863
+ "internalType": "Amount",
864
+ "name": "poolPremiumAndFeeAmount",
865
+ "type": "uint96"
469
866
  },
470
867
  {
471
- "internalType": "bool",
472
- "name": "isIntercepting",
473
- "type": "bool"
868
+ "internalType": "Amount",
869
+ "name": "netPremiumAmount",
870
+ "type": "uint96"
474
871
  },
475
872
  {
476
- "internalType": "address",
477
- "name": "wallet",
478
- "type": "address"
873
+ "internalType": "Amount",
874
+ "name": "fullPremiumAmount",
875
+ "type": "uint96"
876
+ },
877
+ {
878
+ "internalType": "Amount",
879
+ "name": "premiumAmount",
880
+ "type": "uint96"
881
+ },
882
+ {
883
+ "internalType": "Amount",
884
+ "name": "productFeeFixAmount",
885
+ "type": "uint96"
886
+ },
887
+ {
888
+ "internalType": "Amount",
889
+ "name": "poolFeeFixAmount",
890
+ "type": "uint96"
891
+ },
892
+ {
893
+ "internalType": "Amount",
894
+ "name": "bundleFeeFixAmount",
895
+ "type": "uint96"
896
+ },
897
+ {
898
+ "internalType": "Amount",
899
+ "name": "distributionFeeFixAmount",
900
+ "type": "uint96"
901
+ },
902
+ {
903
+ "internalType": "Amount",
904
+ "name": "productFeeVarAmount",
905
+ "type": "uint96"
906
+ },
907
+ {
908
+ "internalType": "Amount",
909
+ "name": "poolFeeVarAmount",
910
+ "type": "uint96"
911
+ },
912
+ {
913
+ "internalType": "Amount",
914
+ "name": "bundleFeeVarAmount",
915
+ "type": "uint96"
916
+ },
917
+ {
918
+ "internalType": "Amount",
919
+ "name": "distributionFeeVarAmount",
920
+ "type": "uint96"
921
+ },
922
+ {
923
+ "internalType": "Amount",
924
+ "name": "distributionOwnerFeeFixAmount",
925
+ "type": "uint96"
926
+ },
927
+ {
928
+ "internalType": "Amount",
929
+ "name": "distributionOwnerFeeVarAmount",
930
+ "type": "uint96"
931
+ },
932
+ {
933
+ "internalType": "Amount",
934
+ "name": "commissionAmount",
935
+ "type": "uint96"
936
+ },
937
+ {
938
+ "internalType": "Amount",
939
+ "name": "discountAmount",
940
+ "type": "uint96"
479
941
  }
480
942
  ],
481
- "internalType": "struct ISetup.PoolSetupInfo",
943
+ "internalType": "struct IPolicy.PremiumInfo",
482
944
  "name": "info",
483
945
  "type": "tuple"
484
946
  }
@@ -486,6 +948,25 @@
486
948
  "stateMutability": "view",
487
949
  "type": "function"
488
950
  },
951
+ {
952
+ "inputs": [
953
+ {
954
+ "internalType": "NftId",
955
+ "name": "policyNftId",
956
+ "type": "uint96"
957
+ }
958
+ ],
959
+ "name": "getPremiumInfoState",
960
+ "outputs": [
961
+ {
962
+ "internalType": "StateId",
963
+ "name": "state",
964
+ "type": "uint8"
965
+ }
966
+ ],
967
+ "stateMutability": "view",
968
+ "type": "function"
969
+ },
489
970
  {
490
971
  "inputs": [
491
972
  {
@@ -494,30 +975,50 @@
494
975
  "type": "uint96"
495
976
  }
496
977
  ],
497
- "name": "getProductSetupInfo",
978
+ "name": "getProductInfo",
498
979
  "outputs": [
499
980
  {
500
981
  "components": [
501
982
  {
502
- "internalType": "contract IERC20Metadata",
503
- "name": "token",
504
- "type": "address"
983
+ "internalType": "bool",
984
+ "name": "isProcessingFundedClaims",
985
+ "type": "bool"
986
+ },
987
+ {
988
+ "internalType": "bool",
989
+ "name": "isInterceptingPolicyTransfers",
990
+ "type": "bool"
991
+ },
992
+ {
993
+ "internalType": "bool",
994
+ "name": "hasDistribution",
995
+ "type": "bool"
505
996
  },
506
997
  {
507
- "internalType": "contract TokenHandler",
508
- "name": "tokenHandler",
509
- "type": "address"
998
+ "internalType": "uint8",
999
+ "name": "expectedNumberOfOracles",
1000
+ "type": "uint8"
1001
+ },
1002
+ {
1003
+ "internalType": "uint8",
1004
+ "name": "numberOfOracles",
1005
+ "type": "uint8"
510
1006
  },
511
1007
  {
512
1008
  "internalType": "NftId",
513
- "name": "distributionNftId",
1009
+ "name": "poolNftId",
514
1010
  "type": "uint96"
515
1011
  },
516
1012
  {
517
1013
  "internalType": "NftId",
518
- "name": "poolNftId",
1014
+ "name": "distributionNftId",
519
1015
  "type": "uint96"
520
1016
  },
1017
+ {
1018
+ "internalType": "NftId[]",
1019
+ "name": "oracleNftId",
1020
+ "type": "uint96[]"
1021
+ },
521
1022
  {
522
1023
  "components": [
523
1024
  {
@@ -532,7 +1033,7 @@
532
1033
  }
533
1034
  ],
534
1035
  "internalType": "struct Fee",
535
- "name": "distributionFee",
1036
+ "name": "productFee",
536
1037
  "type": "tuple"
537
1038
  },
538
1039
  {
@@ -549,7 +1050,7 @@
549
1050
  }
550
1051
  ],
551
1052
  "internalType": "struct Fee",
552
- "name": "productFee",
1053
+ "name": "processingFee",
553
1054
  "type": "tuple"
554
1055
  },
555
1056
  {
@@ -566,7 +1067,24 @@
566
1067
  }
567
1068
  ],
568
1069
  "internalType": "struct Fee",
569
- "name": "processingFee",
1070
+ "name": "distributionFee",
1071
+ "type": "tuple"
1072
+ },
1073
+ {
1074
+ "components": [
1075
+ {
1076
+ "internalType": "UFixed",
1077
+ "name": "fractionalFee",
1078
+ "type": "uint256"
1079
+ },
1080
+ {
1081
+ "internalType": "uint256",
1082
+ "name": "fixedFee",
1083
+ "type": "uint256"
1084
+ }
1085
+ ],
1086
+ "internalType": "struct Fee",
1087
+ "name": "minDistributionOwnerFee",
570
1088
  "type": "tuple"
571
1089
  },
572
1090
  {
@@ -621,7 +1139,7 @@
621
1139
  "type": "tuple"
622
1140
  }
623
1141
  ],
624
- "internalType": "struct ISetup.ProductSetupInfo",
1142
+ "internalType": "struct IComponents.ProductInfo",
625
1143
  "name": "info",
626
1144
  "type": "tuple"
627
1145
  }
@@ -685,6 +1203,86 @@
685
1203
  "stateMutability": "view",
686
1204
  "type": "function"
687
1205
  },
1206
+ {
1207
+ "inputs": [
1208
+ {
1209
+ "internalType": "NftId",
1210
+ "name": "policyNftId",
1211
+ "type": "uint96"
1212
+ }
1213
+ ],
1214
+ "name": "getRemainingClaimableAmount",
1215
+ "outputs": [
1216
+ {
1217
+ "internalType": "Amount",
1218
+ "name": "remainingClaimableAmount",
1219
+ "type": "uint96"
1220
+ }
1221
+ ],
1222
+ "stateMutability": "view",
1223
+ "type": "function"
1224
+ },
1225
+ {
1226
+ "inputs": [
1227
+ {
1228
+ "internalType": "RequestId",
1229
+ "name": "requestId",
1230
+ "type": "uint64"
1231
+ }
1232
+ ],
1233
+ "name": "getRequestInfo",
1234
+ "outputs": [
1235
+ {
1236
+ "components": [
1237
+ {
1238
+ "internalType": "NftId",
1239
+ "name": "requesterNftId",
1240
+ "type": "uint96"
1241
+ },
1242
+ {
1243
+ "internalType": "string",
1244
+ "name": "callbackMethodName",
1245
+ "type": "string"
1246
+ },
1247
+ {
1248
+ "internalType": "NftId",
1249
+ "name": "oracleNftId",
1250
+ "type": "uint96"
1251
+ },
1252
+ {
1253
+ "internalType": "bytes",
1254
+ "name": "requestData",
1255
+ "type": "bytes"
1256
+ },
1257
+ {
1258
+ "internalType": "bytes",
1259
+ "name": "responseData",
1260
+ "type": "bytes"
1261
+ },
1262
+ {
1263
+ "internalType": "Timestamp",
1264
+ "name": "respondedAt",
1265
+ "type": "uint40"
1266
+ },
1267
+ {
1268
+ "internalType": "Timestamp",
1269
+ "name": "expiredAt",
1270
+ "type": "uint40"
1271
+ },
1272
+ {
1273
+ "internalType": "bool",
1274
+ "name": "isCancelled",
1275
+ "type": "bool"
1276
+ }
1277
+ ],
1278
+ "internalType": "struct IOracle.RequestInfo",
1279
+ "name": "requestInfo",
1280
+ "type": "tuple"
1281
+ }
1282
+ ],
1283
+ "stateMutability": "view",
1284
+ "type": "function"
1285
+ },
688
1286
  {
689
1287
  "inputs": [
690
1288
  {
@@ -716,11 +1314,30 @@
716
1314
  "stateMutability": "view",
717
1315
  "type": "function"
718
1316
  },
1317
+ {
1318
+ "inputs": [
1319
+ {
1320
+ "internalType": "Key32",
1321
+ "name": "key",
1322
+ "type": "bytes32"
1323
+ }
1324
+ ],
1325
+ "name": "getState",
1326
+ "outputs": [
1327
+ {
1328
+ "internalType": "StateId",
1329
+ "name": "state",
1330
+ "type": "uint8"
1331
+ }
1332
+ ],
1333
+ "stateMutability": "view",
1334
+ "type": "function"
1335
+ },
719
1336
  {
720
1337
  "inputs": [
721
1338
  {
722
1339
  "internalType": "NftId",
723
- "name": "productNftId",
1340
+ "name": "componentNftId",
724
1341
  "type": "uint96"
725
1342
  }
726
1343
  ],
@@ -739,145 +1356,189 @@
739
1356
  "inputs": [
740
1357
  {
741
1358
  "internalType": "NftId",
742
- "name": "productNftId",
1359
+ "name": "componentNftId",
743
1360
  "type": "uint96"
744
1361
  }
745
1362
  ],
746
- "name": "getTreasuryInfo",
1363
+ "name": "getWallet",
747
1364
  "outputs": [
748
1365
  {
749
- "components": [
750
- {
751
- "internalType": "contract IERC20Metadata",
752
- "name": "token",
753
- "type": "address"
754
- },
755
- {
756
- "internalType": "contract TokenHandler",
757
- "name": "tokenHandler",
758
- "type": "address"
759
- },
760
- {
761
- "internalType": "NftId",
762
- "name": "distributionNftId",
763
- "type": "uint96"
764
- },
765
- {
766
- "internalType": "NftId",
767
- "name": "poolNftId",
768
- "type": "uint96"
769
- },
770
- {
771
- "components": [
772
- {
773
- "internalType": "UFixed",
774
- "name": "fractionalFee",
775
- "type": "uint256"
776
- },
777
- {
778
- "internalType": "uint256",
779
- "name": "fixedFee",
780
- "type": "uint256"
781
- }
782
- ],
783
- "internalType": "struct Fee",
784
- "name": "distributionFee",
785
- "type": "tuple"
786
- },
787
- {
788
- "components": [
789
- {
790
- "internalType": "UFixed",
791
- "name": "fractionalFee",
792
- "type": "uint256"
793
- },
794
- {
795
- "internalType": "uint256",
796
- "name": "fixedFee",
797
- "type": "uint256"
798
- }
799
- ],
800
- "internalType": "struct Fee",
801
- "name": "productFee",
802
- "type": "tuple"
803
- },
804
- {
805
- "components": [
806
- {
807
- "internalType": "UFixed",
808
- "name": "fractionalFee",
809
- "type": "uint256"
810
- },
811
- {
812
- "internalType": "uint256",
813
- "name": "fixedFee",
814
- "type": "uint256"
815
- }
816
- ],
817
- "internalType": "struct Fee",
818
- "name": "processingFee",
819
- "type": "tuple"
820
- },
821
- {
822
- "components": [
823
- {
824
- "internalType": "UFixed",
825
- "name": "fractionalFee",
826
- "type": "uint256"
827
- },
828
- {
829
- "internalType": "uint256",
830
- "name": "fixedFee",
831
- "type": "uint256"
832
- }
833
- ],
834
- "internalType": "struct Fee",
835
- "name": "poolFee",
836
- "type": "tuple"
837
- },
838
- {
839
- "components": [
840
- {
841
- "internalType": "UFixed",
842
- "name": "fractionalFee",
843
- "type": "uint256"
844
- },
845
- {
846
- "internalType": "uint256",
847
- "name": "fixedFee",
848
- "type": "uint256"
849
- }
850
- ],
851
- "internalType": "struct Fee",
852
- "name": "stakingFee",
853
- "type": "tuple"
854
- },
855
- {
856
- "components": [
857
- {
858
- "internalType": "UFixed",
859
- "name": "fractionalFee",
860
- "type": "uint256"
861
- },
862
- {
863
- "internalType": "uint256",
864
- "name": "fixedFee",
865
- "type": "uint256"
866
- }
867
- ],
868
- "internalType": "struct Fee",
869
- "name": "performanceFee",
870
- "type": "tuple"
871
- }
872
- ],
873
- "internalType": "struct ITreasury.TreasuryInfo",
874
- "name": "info",
875
- "type": "tuple"
1366
+ "internalType": "address",
1367
+ "name": "tokenHandler",
1368
+ "type": "address"
1369
+ }
1370
+ ],
1371
+ "stateMutability": "view",
1372
+ "type": "function"
1373
+ },
1374
+ {
1375
+ "inputs": [
1376
+ {
1377
+ "internalType": "address",
1378
+ "name": "account",
1379
+ "type": "address"
1380
+ },
1381
+ {
1382
+ "internalType": "RoleId",
1383
+ "name": "roleId",
1384
+ "type": "uint64"
1385
+ }
1386
+ ],
1387
+ "name": "hasAdminRole",
1388
+ "outputs": [
1389
+ {
1390
+ "internalType": "bool",
1391
+ "name": "isMember",
1392
+ "type": "bool"
1393
+ }
1394
+ ],
1395
+ "stateMutability": "view",
1396
+ "type": "function"
1397
+ },
1398
+ {
1399
+ "inputs": [
1400
+ {
1401
+ "internalType": "address",
1402
+ "name": "account",
1403
+ "type": "address"
1404
+ },
1405
+ {
1406
+ "internalType": "RoleId",
1407
+ "name": "roleId",
1408
+ "type": "uint64"
1409
+ }
1410
+ ],
1411
+ "name": "hasRole",
1412
+ "outputs": [
1413
+ {
1414
+ "internalType": "bool",
1415
+ "name": "isMember",
1416
+ "type": "bool"
1417
+ }
1418
+ ],
1419
+ "stateMutability": "view",
1420
+ "type": "function"
1421
+ },
1422
+ {
1423
+ "inputs": [],
1424
+ "name": "initialize",
1425
+ "outputs": [],
1426
+ "stateMutability": "nonpayable",
1427
+ "type": "function"
1428
+ },
1429
+ {
1430
+ "inputs": [
1431
+ {
1432
+ "internalType": "address",
1433
+ "name": "instanceAddress",
1434
+ "type": "address"
1435
+ }
1436
+ ],
1437
+ "name": "initializeWithInstance",
1438
+ "outputs": [],
1439
+ "stateMutability": "nonpayable",
1440
+ "type": "function"
1441
+ },
1442
+ {
1443
+ "inputs": [
1444
+ {
1445
+ "internalType": "address",
1446
+ "name": "target",
1447
+ "type": "address"
1448
+ }
1449
+ ],
1450
+ "name": "isTargetLocked",
1451
+ "outputs": [
1452
+ {
1453
+ "internalType": "bool",
1454
+ "name": "",
1455
+ "type": "bool"
1456
+ }
1457
+ ],
1458
+ "stateMutability": "view",
1459
+ "type": "function"
1460
+ },
1461
+ {
1462
+ "inputs": [
1463
+ {
1464
+ "internalType": "NftId",
1465
+ "name": "policyNftId",
1466
+ "type": "uint96"
1467
+ },
1468
+ {
1469
+ "internalType": "ClaimId",
1470
+ "name": "claimId",
1471
+ "type": "uint16"
1472
+ }
1473
+ ],
1474
+ "name": "payouts",
1475
+ "outputs": [
1476
+ {
1477
+ "internalType": "uint24",
1478
+ "name": "payouts",
1479
+ "type": "uint24"
1480
+ }
1481
+ ],
1482
+ "stateMutability": "view",
1483
+ "type": "function"
1484
+ },
1485
+ {
1486
+ "inputs": [
1487
+ {
1488
+ "internalType": "NftId",
1489
+ "name": "policyNftId",
1490
+ "type": "uint96"
1491
+ }
1492
+ ],
1493
+ "name": "policyIsActive",
1494
+ "outputs": [
1495
+ {
1496
+ "internalType": "bool",
1497
+ "name": "isCloseable",
1498
+ "type": "bool"
876
1499
  }
877
1500
  ],
878
1501
  "stateMutability": "view",
879
1502
  "type": "function"
880
1503
  },
1504
+ {
1505
+ "inputs": [
1506
+ {
1507
+ "internalType": "NftId",
1508
+ "name": "poolNftId",
1509
+ "type": "uint96"
1510
+ }
1511
+ ],
1512
+ "name": "toBundleKey",
1513
+ "outputs": [
1514
+ {
1515
+ "internalType": "Key32",
1516
+ "name": "",
1517
+ "type": "bytes32"
1518
+ }
1519
+ ],
1520
+ "stateMutability": "pure",
1521
+ "type": "function"
1522
+ },
1523
+ {
1524
+ "inputs": [
1525
+ {
1526
+ "internalType": "NftId",
1527
+ "name": "componentNftId",
1528
+ "type": "uint96"
1529
+ }
1530
+ ],
1531
+ "name": "toComponentKey",
1532
+ "outputs": [
1533
+ {
1534
+ "internalType": "Key32",
1535
+ "name": "",
1536
+ "type": "bytes32"
1537
+ }
1538
+ ],
1539
+ "stateMutability": "pure",
1540
+ "type": "function"
1541
+ },
881
1542
  {
882
1543
  "inputs": [
883
1544
  {
@@ -977,11 +1638,11 @@
977
1638
  "inputs": [
978
1639
  {
979
1640
  "internalType": "NftId",
980
- "name": "productNftId",
1641
+ "name": "policyNftId",
981
1642
  "type": "uint96"
982
1643
  }
983
1644
  ],
984
- "name": "toProductKey",
1645
+ "name": "toPremiumKey",
985
1646
  "outputs": [
986
1647
  {
987
1648
  "internalType": "Key32",
@@ -996,21 +1657,16 @@
996
1657
  "inputs": [
997
1658
  {
998
1659
  "internalType": "NftId",
999
- "name": "distributionNftId",
1660
+ "name": "productNftId",
1000
1661
  "type": "uint96"
1001
- },
1002
- {
1003
- "internalType": "string",
1004
- "name": "referralCode",
1005
- "type": "string"
1006
1662
  }
1007
1663
  ],
1008
- "name": "toReferralId",
1664
+ "name": "toProductKey",
1009
1665
  "outputs": [
1010
1666
  {
1011
- "internalType": "ReferralId",
1012
- "name": "referralId",
1013
- "type": "bytes8"
1667
+ "internalType": "Key32",
1668
+ "name": "",
1669
+ "type": "bytes32"
1014
1670
  }
1015
1671
  ],
1016
1672
  "stateMutability": "pure",
@@ -1020,16 +1676,21 @@
1020
1676
  "inputs": [
1021
1677
  {
1022
1678
  "internalType": "NftId",
1023
- "name": "productNftId",
1679
+ "name": "distributionNftId",
1024
1680
  "type": "uint96"
1681
+ },
1682
+ {
1683
+ "internalType": "string",
1684
+ "name": "referralCode",
1685
+ "type": "string"
1025
1686
  }
1026
1687
  ],
1027
- "name": "toTreasuryKey",
1688
+ "name": "toReferralId",
1028
1689
  "outputs": [
1029
1690
  {
1030
- "internalType": "Key32",
1031
- "name": "",
1032
- "type": "bytes32"
1691
+ "internalType": "ReferralId",
1692
+ "name": "referralId",
1693
+ "type": "bytes8"
1033
1694
  }
1034
1695
  ],
1035
1696
  "stateMutability": "pure",
@@ -1060,196 +1721,336 @@
1060
1721
  "type": "function"
1061
1722
  }
1062
1723
  ],
1063
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002a9c38038062002a9c8339810160408190526200003491620002e0565b6001600160a01b038216620000905760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620000e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200010f919062000329565b6200015d5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640162000087565b6001600160601b03818116600160a01b9081026001600160a01b0385811682811760008181556040516305247a1760e51b81529590910490951660048501529116179063a48f42e090602401600060405180830381865afa158015620001c7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001f1919081019062000461565b90506200021781604001516200020c620002a660201b60201c565b60ff90811691161490565b6200026f5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840162000087565b60800151600180546001600160a01b039092166001600160a01b031992831681179091556002805490921617905550620005479050565b604690565b80516001600160a01b0381168114620002c357600080fd5b919050565b80516001600160601b0381168114620002c357600080fd5b60008060408385031215620002f457600080fd5b620002ff83620002ab565b91506200030f60208401620002c8565b90509250929050565b80518015158114620002c357600080fd5b6000602082840312156200033c57600080fd5b620003478262000318565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156200038957620003896200034e565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620003ba57620003ba6200034e565b604052919050565b805160ff81168114620002c357600080fd5b600082601f830112620003e657600080fd5b81516001600160401b038111156200040257620004026200034e565b602062000418601f8301601f191682016200038f565b82815285828487010111156200042d57600080fd5b60005b838110156200044d57858101830151828201840152820162000430565b506000928101909101919091529392505050565b6000602082840312156200047457600080fd5b81516001600160401b03808211156200048c57600080fd5b9083019060e08286031215620004a157600080fd5b620004ab62000364565b620004b683620002c8565b8152620004c660208401620002c8565b6020820152620004d960408401620003c2565b6040820152620004ec6060840162000318565b6060820152620004ff60808401620002ab565b60808201526200051260a08401620002ab565b60a082015260c0830151828111156200052a57600080fd5b6200053887828601620003d4565b60c08301525095945050505050565b61254580620005576000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063887b1fa9116100c3578063bd7d9d851161007c578063bd7d9d8514610420578063d06458c614610440578063d4cda0d814610460578063dd26287a14610471578063de7b5d1414610484578063f2b246c31461049557600080fd5b8063887b1fa9146102ac57806390af7064146102cc5780639ad69c67146102ec578063a310e2a31461035e578063a5961b4c14610389578063b82d7ef5146103f657600080fd5b806344aa68361161011557806344aa68361461021557806355e343a91461022857806364eb3a9b146102485780637bfd32171461025b5780637e54602a1461026e5780637e7986691461028157600080fd5b80631488c8451461015d5780631d3be4771461018357806325d03743146101a357806327b1d792146101b657806335898f5d146101d65780633f093cd6146101e9575b600080fd5b61017061016b366004611491565b6104a8565b6040519081526020015b60405180910390f35b6101966101913660046114e0565b610530565b60405161017a919061154d565b6101706101b13660046115fd565b610689565b6101c96101c43660046115fd565b610723565b60405161017a919061161a565b6101706101e43660046115fd565b6107dd565b6101fc6101f73660046117c4565b61080a565b6040516001600160c01b0319909116815260200161017a565b610170610223366004611856565b610887565b61023b6102363660046115fd565b6108c2565b60405161017a919061186f565b6101706102563660046115fd565b610968565b6101706102693660046115fd565b610995565b61017061027c3660046115fd565b6109c2565b600054600160a01b90046001600160601b03166040516001600160601b03909116815260200161017a565b6102bf6102ba3660046114e0565b6109ef565b60405161017a9190611914565b6102df6102da3660046115fd565b610b18565b60405161017a9190611a3f565b6102ff6102fa3660046115fd565b610bbe565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c00161017a565b61037161036c3660046115fd565b610c64565b6040516001600160a01b03909116815260200161017a565b61039c610397366004611856565b610d12565b60405161017a9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104096104043660046114e0565b610da6565b6040805192835260ff90911660208301520161017a565b61043361042e3660046115fd565b61104e565b60405161017a9190611a4e565b61045361044e3660046114e0565b61116c565b60405161017a9190611ba6565b6002546001600160a01b0316610371565b61017061047f3660046115fd565b6112df565b6001546001600160a01b0316610371565b6102df6104a33660046115fd565b61130c565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610503573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105279190611c56565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb9190611c56565b6040518263ffffffff1660e01b815260040161061991815260200190565b600060405180830381865afa158015610636573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261065e9190810190611cb4565b805190915015610683578080602001905181019061067c9190611d2a565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156106ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052a9190611c56565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f61075c856109c2565b6040518263ffffffff1660e01b815260040161077a91815260200190565b600060405180830381865afa158015610797573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107bf9190810190611cb4565b805190915015610683578080602001905181019061067c9190611e23565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106b2565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108469086908690600401611ec9565b602060405180830381865af4158015610863573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105279190611eeb565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016106e2565b6108ca611331565b6002546000906001600160a01b03166354f6127f6108e7856112df565b6040518263ffffffff1660e01b815260040161090591815260200190565b600060405180830381865afa158015610922573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261094a9190810190611cb4565b805190915015610683578080602001905181019061067c9190611f58565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106b2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106b2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106b2565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a979190611c56565b6040518263ffffffff1660e01b8152600401610ab591815260200190565b600060405180830381865afa158015610ad2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610afa9190810190611cb4565b805190915015610683578080602001905181019061067c9190611ffa565b610b206113a2565b6002546000906001600160a01b03166354f6127f610b3d85610995565b6040518263ffffffff1660e01b8152600401610b5b91815260200190565b600060405180830381865afa158015610b78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba09190810190611cb4565b805190915015610683578080602001905181019061067c919061214b565b610bc6611449565b6002546000906001600160a01b03166354f6127f610be3856107dd565b6040518263ffffffff1660e01b8152600401610c0191815260200190565b600060405180830381865afa158015610c1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c469190810190611cb4565b805190915015610683578080602001905181019061067c9190612168565b60025460009081906001600160a01b03166354f6127f610c8385610689565b6040518263ffffffff1660e01b8152600401610ca191815260200190565b600060405180830381865afa158015610cbe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce69190810190611cb4565b80519091501561068357600081806020019051810190610d06919061214b565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610d82573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052a91906121ee565b6000806000610db484610530565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e37919061225c565b15610eb65773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea99190611c56565b60645b9250925050915091565b610f3a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2b9190612277565b64ffffffffff90811691161090565b15610fb35773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fac9190611c56565b606e610eac565b806060015163ffffffff16816080015163ffffffff16106110425773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103b9190611c56565b6078610eac565b6040810151600a610eac565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6110eb85610968565b6040518263ffffffff1660e01b815260040161110991815260200190565b600060405180830381865afa158015611126573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261114e9190810190611cb4565b805190915015610683578080602001905181019061067c91906122a4565b6111cb60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af415801561123a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125e9190611c56565b6040518263ffffffff1660e01b815260040161127c91815260200190565b600060405180830381865afa158015611299573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112c19190810190611cb4565b805190915015610683578080602001905181019061067c9190612418565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106b2565b6113146113a2565b6002546000906001600160a01b03166354f6127f610b3d85610689565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161138e604051806040016040528060008152602001600081525090565b600080604083850312156114a457600080fd5b8235915060208301358060000b81146114bc57600080fd5b809150509250929050565b6001600160c01b0319811681146114dd57600080fd5b50565b6000602082840312156114f257600080fd5b813561067c816114c7565b60005b83811015611518578181015183820152602001611500565b50506000910152565b600081518084526115398160208601602086016114fd565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261157d610100840182611521565b90506040840151606084015263ffffffff606085015116608084015260808401516115b060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526115df8282611521565b95945050505050565b6001600160601b03811681146114dd57600080fd5b60006020828403121561160f57600080fd5b813561067c816115e8565b602081526001600160401b0360c01b8251166020820152602082015115156040820152600060408301516060808401526116576080840182611521565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156116975761169761165f565b60405290565b604080519081016001600160401b03811182821017156116975761169761165f565b60405161010081016001600160401b03811182821017156116975761169761165f565b60405161014081016001600160401b03811182821017156116975761169761165f565b60405160a081016001600160401b03811182821017156116975761169761165f565b60405161020081016001600160401b03811182821017156116975761169761165f565b60405161012081016001600160401b03811182821017156116975761169761165f565b604051601f8201601f191681016001600160401b03811182821017156117955761179561165f565b604052919050565b60006001600160401b038211156117b6576117b661165f565b50601f01601f191660200190565b600080604083850312156117d757600080fd5b82356117e2816115e8565b915060208301356001600160401b038111156117fd57600080fd5b8301601f8101851361180e57600080fd5b803561182161181c8261179d565b61176d565b81815286602083850101111561183657600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561186857600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916118bb9084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b038251166020820152600060208301516040808401526116576060840182611521565b80516001600160a01b03168252602081015161196960208401826001600160a01b03169052565b50604081015161198460408401826001600160601b03169052565b50606081015161199f60608401826001600160601b03169052565b5060808101516119bc608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c08101516101006119f28185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b610200810161052a8284611942565b60208152611a686020820183516001600160601b03169052565b60006020830151611a8460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611afc610220860184611521565b9250808601519050610140601f198685030181870152611b1c8483611521565b935080870151915050610160611b378187018361ffff169052565b8601519050610180611b4e8682018361ffff169052565b8601516101a08681019190915286015190506101c0611b758187018364ffffffffff169052565b86015190506101e0611b8f8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611bc5610140850183611521565b91506020850151604085015260408501516060850152606085015160808501526080850151611bfc60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611c328187018315159052565b860151858403601f1901838701529050611c4c8382611521565b9695505050505050565b600060208284031215611c6857600080fd5b5051919050565b600082601f830112611c8057600080fd5b8151611c8e61181c8261179d565b818152846020838601011115611ca357600080fd5b6116578260208301602087016114fd565b600060208284031215611cc657600080fd5b81516001600160401b03811115611cdc57600080fd5b61165784828501611c6f565b8051611cf3816115e8565b919050565b63ffffffff811681146114dd57600080fd5b8051611cf381611cf8565b805164ffffffffff81168114611cf357600080fd5b600060208284031215611d3c57600080fd5b81516001600160401b0380821115611d5357600080fd5b9083019060e08286031215611d6757600080fd5b611d6f611675565b611d7883611ce8565b8152602083015182811115611d8c57600080fd5b611d9887828601611c6f565b60208301525060408301516040820152611db460608401611d0a565b6060820152611dc560808401611d0a565b6080820152611dd660a08401611d15565b60a082015260c083015182811115611ded57600080fd5b611df987828601611c6f565b60c08301525095945050505050565b8051611cf3816114c7565b80518015158114611cf357600080fd5b600060208284031215611e3557600080fd5b81516001600160401b0380821115611e4c57600080fd5b9083019060608286031215611e6057600080fd5b604051606081018181108382111715611e7b57611e7b61165f565b6040528251611e89816114c7565b8152611e9760208401611e13565b6020820152604083015182811115611eae57600080fd5b611eba87828601611c6f565b60408301525095945050505050565b6001600160601b03831681526040602082015260006116576040830184611521565b600060208284031215611efd57600080fd5b815161067c816114c7565b6001600160a01b03811681146114dd57600080fd5b8051611cf381611f08565b600060408284031215611f3a57600080fd5b611f4261169d565b9050815181526020820151602082015292915050565b60006101608284031215611f6b57600080fd5b611f736116bf565b611f7c83611ce8565b8152611f8a60208401611f1d565b602082015260408301516040820152611fa68460608501611f28565b6060820152611fb88460a08501611f28565b6080820152611fca8460e08501611f28565b60a0820152611fdc6101208401611e13565b60c0820152611fee6101408401611f1d565b60e08201529392505050565b60006020828403121561200c57600080fd5b81516001600160401b038082111561202357600080fd5b908301906040828603121561203757600080fd5b61203f61169d565b825161204a816115e8565b815260208301518281111561205e57600080fd5b61206a87828601611c6f565b60208301525095945050505050565b6000610200828403121561208c57600080fd5b6120946116e2565b905061209f82611f1d565b81526120ad60208301611f1d565b60208201526120be60408301611ce8565b60408201526120cf60608301611ce8565b60608201526120e18360808401611f28565b60808201526120f38360c08401611f28565b60a082015261010061210784828501611f28565b60c083015261211a846101408501611f28565b60e083015261212d846101808501611f28565b9082015261213f836101c08401611f28565b61012082015292915050565b6000610200828403121561215e57600080fd5b6105278383612079565b600060c0828403121561217a57600080fd5b612182611705565b825161218d816115e8565b8152602083015161219d81611f08565b60208201526121af8460408501611f28565b60408201526121c060808401611e13565b606082015260a08301516121d381611f08565b60808201529392505050565b60ff811681146114dd57600080fd5b600060a0828403121561220057600080fd5b612208611705565b8251612213816121df565b81526020830151612223816121df565b6020820152604083015161223681611f08565b6040820152606083015161224981611cf8565b606082015260808301516121d381611cf8565b60006020828403121561226e57600080fd5b61052782611e13565b60006020828403121561228957600080fd5b61052782611d15565b805161ffff81168114611cf357600080fd5b6000602082840312156122b657600080fd5b81516001600160401b03808211156122cd57600080fd5b9083019061020082860312156122e257600080fd5b6122ea611727565b6122f383611ce8565b815261230160208401611ce8565b602082015261231260408401611e08565b604082015261232360608401611e08565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561236457600080fd5b61237088828701611c6f565b828401525050610120808401518381111561238a57600080fd5b61239688828701611c6f565b82840152505061014091506123ac828401612292565b8282015261016091506123c0828401612292565b82820152610180915081830151828201526101a091506123e1828401611d15565b828201526101c091506123f5828401611d15565b828201526101e09150612409828401611d15565b91810191909152949350505050565b60006020828403121561242a57600080fd5b81516001600160401b038082111561244157600080fd5b90830190610120828603121561245657600080fd5b61245e61174a565b82518281111561246d57600080fd5b61247987828601611c6f565b8252506020830151602082015260408301516040820152606083015160608201526124a660808401611d0a565b60808201526124b760a08401611d0a565b60a08201526124c860c08401611e13565b60c08201526124d960e08401611e13565b60e082015261010080840151838111156124f257600080fd5b6124fe88828701611c6f565b91830191909152509594505050505056fea2646970667358221220bd87238f4b997c0026f4fd1fcc2893a222e4ad2ff2d09ae0e7a176b6c6a5588e64736f6c63430008140033",
1064
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063887b1fa9116100c3578063bd7d9d851161007c578063bd7d9d8514610420578063d06458c614610440578063d4cda0d814610460578063dd26287a14610471578063de7b5d1414610484578063f2b246c31461049557600080fd5b8063887b1fa9146102ac57806390af7064146102cc5780639ad69c67146102ec578063a310e2a31461035e578063a5961b4c14610389578063b82d7ef5146103f657600080fd5b806344aa68361161011557806344aa68361461021557806355e343a91461022857806364eb3a9b146102485780637bfd32171461025b5780637e54602a1461026e5780637e7986691461028157600080fd5b80631488c8451461015d5780631d3be4771461018357806325d03743146101a357806327b1d792146101b657806335898f5d146101d65780633f093cd6146101e9575b600080fd5b61017061016b366004611491565b6104a8565b6040519081526020015b60405180910390f35b6101966101913660046114e0565b610530565b60405161017a919061154d565b6101706101b13660046115fd565b610689565b6101c96101c43660046115fd565b610723565b60405161017a919061161a565b6101706101e43660046115fd565b6107dd565b6101fc6101f73660046117c4565b61080a565b6040516001600160c01b0319909116815260200161017a565b610170610223366004611856565b610887565b61023b6102363660046115fd565b6108c2565b60405161017a919061186f565b6101706102563660046115fd565b610968565b6101706102693660046115fd565b610995565b61017061027c3660046115fd565b6109c2565b600054600160a01b90046001600160601b03166040516001600160601b03909116815260200161017a565b6102bf6102ba3660046114e0565b6109ef565b60405161017a9190611914565b6102df6102da3660046115fd565b610b18565b60405161017a9190611a3f565b6102ff6102fa3660046115fd565b610bbe565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c00161017a565b61037161036c3660046115fd565b610c64565b6040516001600160a01b03909116815260200161017a565b61039c610397366004611856565b610d12565b60405161017a9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b6104096104043660046114e0565b610da6565b6040805192835260ff90911660208301520161017a565b61043361042e3660046115fd565b61104e565b60405161017a9190611a4e565b61045361044e3660046114e0565b61116c565b60405161017a9190611ba6565b6002546001600160a01b0316610371565b61017061047f3660046115fd565b6112df565b6001546001600160a01b0316610371565b6102df6104a33660046115fd565b61130c565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af4158015610503573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105279190611c56565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105fb9190611c56565b6040518263ffffffff1660e01b815260040161061991815260200190565b600060405180830381865afa158015610636573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261065e9190810190611cb4565b805190915015610683578080602001905181019061067c9190611d2a565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156106ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052a9190611c56565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f61075c856109c2565b6040518263ffffffff1660e01b815260040161077a91815260200190565b600060405180830381865afa158015610797573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107bf9190810190611cb4565b805190915015610683578080602001905181019061067c9190611e23565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106b2565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd6906108469086908690600401611ec9565b602060405180830381865af4158015610863573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105279190611eeb565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa6836906024016106e2565b6108ca611331565b6002546000906001600160a01b03166354f6127f6108e7856112df565b6040518263ffffffff1660e01b815260040161090591815260200190565b600060405180830381865afa158015610922573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261094a9190810190611cb4565b805190915015610683578080602001905181019061067c9190611f58565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106b2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106b2565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106b2565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a979190611c56565b6040518263ffffffff1660e01b8152600401610ab591815260200190565b600060405180830381865afa158015610ad2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610afa9190810190611cb4565b805190915015610683578080602001905181019061067c9190611ffa565b610b206113a2565b6002546000906001600160a01b03166354f6127f610b3d85610995565b6040518263ffffffff1660e01b8152600401610b5b91815260200190565b600060405180830381865afa158015610b78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba09190810190611cb4565b805190915015610683578080602001905181019061067c919061214b565b610bc6611449565b6002546000906001600160a01b03166354f6127f610be3856107dd565b6040518263ffffffff1660e01b8152600401610c0191815260200190565b600060405180830381865afa158015610c1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c469190810190611cb4565b805190915015610683578080602001905181019061067c9190612168565b60025460009081906001600160a01b03166354f6127f610c8385610689565b6040518263ffffffff1660e01b8152600401610ca191815260200190565b600060405180830381865afa158015610cbe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ce69190810190611cb4565b80519091501561068357600081806020019051810190610d06919061214b565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610d82573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061052a91906121ee565b6000806000610db484610530565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e37919061225c565b15610eb65773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea99190611c56565b60645b9250925050915091565b610f3a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2b9190612277565b64ffffffffff90811691161090565b15610fb35773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fac9190611c56565b606e610eac565b806060015163ffffffff16816080015163ffffffff16106110425773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611017573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103b9190611c56565b6078610eac565b6040810151600a610eac565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6110eb85610968565b6040518263ffffffff1660e01b815260040161110991815260200190565b600060405180830381865afa158015611126573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261114e9190810190611cb4565b805190915015610683578080602001905181019061067c91906122a4565b6111cb60405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af415801561123a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125e9190611c56565b6040518263ffffffff1660e01b815260040161127c91815260200190565b600060405180830381865afa158015611299573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112c19190810190611cb4565b805190915015610683578080602001905181019061067c9190612418565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106b2565b6113146113a2565b6002546000906001600160a01b03166354f6127f610b3d85610689565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161138e604051806040016040528060008152602001600081525090565b600080604083850312156114a457600080fd5b8235915060208301358060000b81146114bc57600080fd5b809150509250929050565b6001600160c01b0319811681146114dd57600080fd5b50565b6000602082840312156114f257600080fd5b813561067c816114c7565b60005b83811015611518578181015183820152602001611500565b50506000910152565b600081518084526115398160208601602086016114fd565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261157d610100840182611521565b90506040840151606084015263ffffffff606085015116608084015260808401516115b060a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526115df8282611521565b95945050505050565b6001600160601b03811681146114dd57600080fd5b60006020828403121561160f57600080fd5b813561067c816115e8565b602081526001600160401b0360c01b8251166020820152602082015115156040820152600060408301516060808401526116576080840182611521565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156116975761169761165f565b60405290565b604080519081016001600160401b03811182821017156116975761169761165f565b60405161010081016001600160401b03811182821017156116975761169761165f565b60405161014081016001600160401b03811182821017156116975761169761165f565b60405160a081016001600160401b03811182821017156116975761169761165f565b60405161020081016001600160401b03811182821017156116975761169761165f565b60405161012081016001600160401b03811182821017156116975761169761165f565b604051601f8201601f191681016001600160401b03811182821017156117955761179561165f565b604052919050565b60006001600160401b038211156117b6576117b661165f565b50601f01601f191660200190565b600080604083850312156117d757600080fd5b82356117e2816115e8565b915060208301356001600160401b038111156117fd57600080fd5b8301601f8101851361180e57600080fd5b803561182161181c8261179d565b61176d565b81815286602083850101111561183657600080fd5b816020840160208301376000602083830101528093505050509250929050565b60006020828403121561186857600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916118bb9084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b038251166020820152600060208301516040808401526116576060840182611521565b80516001600160a01b03168252602081015161196960208401826001600160a01b03169052565b50604081015161198460408401826001600160601b03169052565b50606081015161199f60608401826001600160601b03169052565b5060808101516119bc608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c08101516101006119f28185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b610200810161052a8284611942565b60208152611a686020820183516001600160601b03169052565b60006020830151611a8460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611afc610220860184611521565b9250808601519050610140601f198685030181870152611b1c8483611521565b935080870151915050610160611b378187018361ffff169052565b8601519050610180611b4e8682018361ffff169052565b8601516101a08681019190915286015190506101c0611b758187018364ffffffffff169052565b86015190506101e0611b8f8682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611bc5610140850183611521565b91506020850151604085015260408501516060850152606085015160808501526080850151611bfc60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611c328187018315159052565b860151858403601f1901838701529050611c4c8382611521565b9695505050505050565b600060208284031215611c6857600080fd5b5051919050565b600082601f830112611c8057600080fd5b8151611c8e61181c8261179d565b818152846020838601011115611ca357600080fd5b6116578260208301602087016114fd565b600060208284031215611cc657600080fd5b81516001600160401b03811115611cdc57600080fd5b61165784828501611c6f565b8051611cf3816115e8565b919050565b63ffffffff811681146114dd57600080fd5b8051611cf381611cf8565b805164ffffffffff81168114611cf357600080fd5b600060208284031215611d3c57600080fd5b81516001600160401b0380821115611d5357600080fd5b9083019060e08286031215611d6757600080fd5b611d6f611675565b611d7883611ce8565b8152602083015182811115611d8c57600080fd5b611d9887828601611c6f565b60208301525060408301516040820152611db460608401611d0a565b6060820152611dc560808401611d0a565b6080820152611dd660a08401611d15565b60a082015260c083015182811115611ded57600080fd5b611df987828601611c6f565b60c08301525095945050505050565b8051611cf3816114c7565b80518015158114611cf357600080fd5b600060208284031215611e3557600080fd5b81516001600160401b0380821115611e4c57600080fd5b9083019060608286031215611e6057600080fd5b604051606081018181108382111715611e7b57611e7b61165f565b6040528251611e89816114c7565b8152611e9760208401611e13565b6020820152604083015182811115611eae57600080fd5b611eba87828601611c6f565b60408301525095945050505050565b6001600160601b03831681526040602082015260006116576040830184611521565b600060208284031215611efd57600080fd5b815161067c816114c7565b6001600160a01b03811681146114dd57600080fd5b8051611cf381611f08565b600060408284031215611f3a57600080fd5b611f4261169d565b9050815181526020820151602082015292915050565b60006101608284031215611f6b57600080fd5b611f736116bf565b611f7c83611ce8565b8152611f8a60208401611f1d565b602082015260408301516040820152611fa68460608501611f28565b6060820152611fb88460a08501611f28565b6080820152611fca8460e08501611f28565b60a0820152611fdc6101208401611e13565b60c0820152611fee6101408401611f1d565b60e08201529392505050565b60006020828403121561200c57600080fd5b81516001600160401b038082111561202357600080fd5b908301906040828603121561203757600080fd5b61203f61169d565b825161204a816115e8565b815260208301518281111561205e57600080fd5b61206a87828601611c6f565b60208301525095945050505050565b6000610200828403121561208c57600080fd5b6120946116e2565b905061209f82611f1d565b81526120ad60208301611f1d565b60208201526120be60408301611ce8565b60408201526120cf60608301611ce8565b60608201526120e18360808401611f28565b60808201526120f38360c08401611f28565b60a082015261010061210784828501611f28565b60c083015261211a846101408501611f28565b60e083015261212d846101808501611f28565b9082015261213f836101c08401611f28565b61012082015292915050565b6000610200828403121561215e57600080fd5b6105278383612079565b600060c0828403121561217a57600080fd5b612182611705565b825161218d816115e8565b8152602083015161219d81611f08565b60208201526121af8460408501611f28565b60408201526121c060808401611e13565b606082015260a08301516121d381611f08565b60808201529392505050565b60ff811681146114dd57600080fd5b600060a0828403121561220057600080fd5b612208611705565b8251612213816121df565b81526020830151612223816121df565b6020820152604083015161223681611f08565b6040820152606083015161224981611cf8565b606082015260808301516121d381611cf8565b60006020828403121561226e57600080fd5b61052782611e13565b60006020828403121561228957600080fd5b61052782611d15565b805161ffff81168114611cf357600080fd5b6000602082840312156122b657600080fd5b81516001600160401b03808211156122cd57600080fd5b9083019061020082860312156122e257600080fd5b6122ea611727565b6122f383611ce8565b815261230160208401611ce8565b602082015261231260408401611e08565b604082015261232360608401611e08565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e0820152610100808401518381111561236457600080fd5b61237088828701611c6f565b828401525050610120808401518381111561238a57600080fd5b61239688828701611c6f565b82840152505061014091506123ac828401612292565b8282015261016091506123c0828401612292565b82820152610180915081830151828201526101a091506123e1828401611d15565b828201526101c091506123f5828401611d15565b828201526101e09150612409828401611d15565b91810191909152949350505050565b60006020828403121561242a57600080fd5b81516001600160401b038082111561244157600080fd5b90830190610120828603121561245657600080fd5b61245e61174a565b82518281111561246d57600080fd5b61247987828601611c6f565b8252506020830151602082015260408301516040820152606083015160608201526124a660808401611d0a565b60808201526124b760a08401611d0a565b60a08201526124c860c08401611e13565b60c08201526124d960e08401611e13565b60e082015261010080840151838111156124f257600080fd5b6124fe88828701611c6f565b91830191909152509594505050505056fea2646970667358221220bd87238f4b997c0026f4fd1fcc2893a222e4ad2ff2d09ae0e7a176b6c6a5588e64736f6c63430008140033",
1724
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b5061498a806100255f395ff3fe608060405234801561000f575f80fd5b50600436106102ff575f3560e01c80637d8f1e8111610195578063cd55e51b116100e4578063e98413ff1161009e578063f7f318d311610079578063f7f318d31461088d578063fad77c3b146108a0578063fd802492146108b3578063febe92af146108d3575f80fd5b8063e98413ff14610831578063f0ea17c31461085a578063f3ed99191461087a575f80fd5b8063cd55e51b146107a5578063d06458c6146107b8578063d4cda0d8146107d8578063dd26287a146107e9578063de7b5d14146107fc578063e444c3df14610811575f80fd5b806394b9929b1161014f578063a7ef3d211161012a578063a7ef3d2114610728578063b82d7ef514610748578063ba579bdc14610772578063bd7d9d8514610785575f80fd5b806394b9929b146106a6578063a310e2a3146106b9578063a5961b4c146106cc575f80fd5b80637d8f1e81146106325780637e54602a146106455780638129fc1c14610658578063887b1fa9146106605780638eb9000d146106805780639096a1f314610693575f80fd5b80633b046f091161025157806357f80bbf1161020b5780636791f7ab116101e65780636791f7ab146105e45780636ebed908146105f957806378ae93501461060c5780637bfd32171461061f575f80fd5b806357f80bbf1461054557806364eb3a9b146105be57806364fc3142146105d1575f80fd5b80633b046f09146104825780633f093cd6146104a857806344aa6836146104d45780634793b4ab146104e75780634d21a63d146105075780634fb784f514610532575f80fd5b80631d3be477116102bc57806327b1d7921161029757806327b1d792146104295780632c0cd0601461044957806334bd5be31461045c57806335898f5d1461046f575f80fd5b80631d3be477146103d3578063228e42ec146103f357806326decd4014610406575f80fd5b80630232ca491461030357806309648a9d1461033357806309c5844f146103585780630b5d931c1461036b57806310bf267b1461038b5780631488c845146103b2575b5f80fd5b610316610311366004612ba7565b6108f3565b6040516001600160601b0390911681526020015b60405180910390f35b610346610341366004612bc2565b61096d565b60405160ff909116815260200161032a565b610346610366366004612ba7565b6109e2565b61037e610379366004612ba7565b610a5b565b60405161032a9190612c1c565b61039e610399366004612d86565b610bdf565b60405162ffffff909116815260200161032a565b6103c56103c0366004612dbd565b610bf5565b60405190815260200161032a565b6103e66103e1366004612dfa565b610c71565b60405161032a9190612e43565b610316610401366004612ba7565b610db5565b610419610414366004612ef1565b610dee565b604051901515815260200161032a565b61043c610437366004612ba7565b610ecc565b60405161032a9190612f0c565b610316610457366004612ba7565b610f89565b6103c561046a366004612ba7565b610fa9565b6103c561047d366004612ba7565b611040565b610495610490366004612ba7565b61106c565b60405161ffff909116815260200161032a565b6104bb6104b636600461312e565b611081565b6040516001600160c01b0319909116815260200161032a565b6103c56104e2366004612bc2565b6110fb565b6104fa6104f5366004612ba7565b611135565b60405161032a91906131ba565b61051a610515366004612ba7565b6111d6565b6040516001600160a01b03909116815260200161032a565b6103c5610540366004612ba7565b61127e565b610558610553366004612ba7565b6112aa565b60405161032a91905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b6103c56105cc366004612ba7565b61137b565b6104196105df366004613259565b6113a7565b6105f76105f2366004612ef1565b611496565b005b610316610607366004613285565b6115ed565b61034661061a366004612d86565b611667565b6103c561062d366004612ba7565b61175e565b610346610640366004612ba7565b61178a565b6103c5610653366004612ba7565b6117a6565b6105f76117d2565b61067361066e366004612dfa565b611800565b60405161032a91906132af565b61031661068e366004612ba7565b611921565b6103466106a1366004612ba7565b61195a565b6103c56106b4366004612ba7565b611976565b61051a6106c7366004612ba7565b6119c5565b6106df6106da366004612bc2565b611a6d565b60405161032a91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b61073b610736366004612d86565b611af7565b60405161032a91906132e4565b61075b610756366004612dfa565b611c53565b6040805192835260ff90911660208301520161032a565b610419610780366004612ba7565b611eef565b610798610793366004612ba7565b61213d565b60405161032a9190613386565b6104196107b3366004613259565b612255565b6107cb6107c6366004612dfa565b612309565b60405161032a91906134fe565b6001546001600160a01b031661051a565b6103c56107f7366004612ba7565b61246e565b5f5461010090046001600160a01b031661051a565b61082461081f366004612ba7565b61249a565b60405161032a919061359f565b61084461083f36600461379f565b6125c3565b60405164ffffffffff909116815260200161032a565b61086d610868366004612ba7565b612655565b60405161032a91906137cb565b610346610888366004613848565b612738565b6103c561089b366004612ba7565b61279a565b6104956108ae366004612bc2565b6127c6565b6108c66108c1366004613848565b612849565b60405161032a9190613874565b6108e66108e13660046138df565b61298b565b60405161032a91906138fa565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610943573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061096791906139d8565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156109b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d89190613a28565b6020015192915050565b6001545f906001600160a01b03166309648a9d6109fe84610fa9565b6040518263ffffffff1660e01b8152600401610a1c91815260200190565b602060405180830381865afa158015610a37573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109679190613a8f565b610b39604080516101e0810182525f808252602080830182905282840182905260608084018390526080840183905260a0840183905260c0840183905260e08401528351808501855282815280820183905261010084015283518085018552828152808201839052610120840152835180850185528281528082018390526101408401528351808501855282815280820183905261016084015283518085018552828152808201839052610180840152835180850185528281528082018390526101a08401528351808501909452818452830152906101c082015290565b6001545f906001600160a01b03166354f6127f610b558561175e565b6040518263ffffffff1660e01b8152600401610b7391815260200190565b5f60405180830381865afa158015610b8d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610bb49190810190613af9565b805190915015610bd95780806020019051810190610bd29190613bf0565b9392505050565b50919050565b5f610bea8383611af7565b604001519392505050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610c4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd29190613d5e565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d389190613d5e565b6040518263ffffffff1660e01b8152600401610d5691815260200190565b5f60405180830381865afa158015610d70573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d979190810190613af9565b805190915015610bd95780806020019051810190610bd29190613d80565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610928565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e639190613e62565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610ea8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109679190613e7d565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610f0c856117a6565b6040518263ffffffff1660e01b8152600401610f2a91815260200190565b5f60405180830381865afa158015610f44573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f6b9190810190613af9565b805190915015610bd95780806020019051810190610bd29190613ea1565b5f80610f948361213d565b9050610bd28160800151826101600151612ad9565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561101c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109679190613d5e565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610fd1565b5f6110768261213d565b610120015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906110bc9086908690600401613f46565b602060405180830381865af41580156110d7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd29190613f67565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401611001565b61113d612b39565b6001545f906001600160a01b03166354f6127f6111598561279a565b6040518263ffffffff1660e01b815260040161117791815260200190565b5f60405180830381865afa158015611191573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526111b89190810190613af9565b805190915015610bd95780806020019051810190610bd29190613f82565b6001545f9081906001600160a01b03166354f6127f6111f48561127e565b6040518263ffffffff1660e01b815260040161121291815260200190565b5f60405180830381865afa15801561122c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112539190810190613af9565b805190915015610bd9575f818060200190518101906112729190614051565b60600151949350505050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610fd1565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f6112fe8561246e565b6040518263ffffffff1660e01b815260040161131c91815260200190565b5f60405180830381865afa158015611336573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261135d9190810190613af9565b805190915015610bd95780806020019051810190610bd2919061411c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610fd1565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141c9190613e62565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611472573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd29190613e7d565b5f5460ff16156114b95760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611522573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115469190613e62565b600180546001600160a01b0319166001600160a01b039283161790555f5460408051631b776b6960e21b8152905161010090920490921691636dddada49160048083019260209291908290030181865afa1580156115a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115ca9190613e62565b600280546001600160a01b0319166001600160a01b039290921691909117905550565b600254604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401602060405180830381865afa158015611643573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd291906139d8565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af41580156116dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117019190613d5e565b6040518263ffffffff1660e01b815260040161171f91815260200190565b602060405180830381865afa15801561173a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd29190613a8f565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610fd1565b6001545f906001600160a01b03166309648a9d6109fe8461279a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610fd1565b5f5460ff16156117f55760405163ae9eff1b60e01b815260040160405180910390fd5b6117fe33611496565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611880573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a49190613d5e565b6040518263ffffffff1660e01b81526004016118c291815260200190565b5f60405180830381865afa1580156118dc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119039190810190613af9565b805190915015610bd95780806020019051810190610bd291906141a4565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610928565b6001545f906001600160a01b03166309648a9d6109fe8461137b565b6002546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401602060405180830381865afa15801561101c573d5f803e3d5ffd5b6001545f9081906001600160a01b03166354f6127f6119e38561127e565b6040518263ffffffff1660e01b8152600401611a0191815260200190565b5f60405180830381865afa158015611a1b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a429190810190613af9565b805190915015610bd9575f81806020019051810190611a619190614051565b60400151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611ad3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109679190613a28565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611ba3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc79190613d5e565b6040518263ffffffff1660e01b8152600401611be591815260200190565b5f60405180830381865afa158015611bff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c269190810190613af9565b805190915015611c4c5780806020019051810190611c44919061422c565b915050610967565b5092915050565b5f805f611c5f84610c71565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611cbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce09190613e7d565b15611d5d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d509190613d5e565b60645b9250925050915091565b611ddf8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd09190614315565b64ffffffffff90811691161090565b15611e565773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e4f9190613d5e565b606e611d53565b806060015163ffffffff16816080015163ffffffff1610611ee35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611eb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611edc9190613d5e565b6078611d53565b6040810151600a611d53565b5f80611efa8361213d565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611f56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7a9190613e7d565b15611f8757505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611fe2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120069190613e7d565b1561201357505f92915050565b612096816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612063573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120879190614315565b64ffffffffff90811691161190565b156120a357505f92915050565b612127816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156120f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121179190614315565b64ffffffffff9081169116111590565b1561213457505f92915050565b50600192915050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f6121d88561137b565b6040518263ffffffff1660e01b81526004016121f691815260200190565b5f60405180830381865afa158015612210573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122379190810190613af9565b805190915015610bd95780806020019051810190610bd2919061433b565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ca9190613e62565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611457565b612361604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af41580156123cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f19190613d5e565b6040518263ffffffff1660e01b815260040161240f91815260200190565b5f60405180830381865afa158015612429573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124509190810190613af9565b805190915015610bd95780806020019051810190610bd291906144ce565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610fd1565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61254685610fa9565b6040518263ffffffff1660e01b815260040161256491815260200190565b5f60405180830381865afa15801561257e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526125a59190810190613af9565b805190915015610bd95780806020019051810190610bd291906145c7565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca846125ea85600161473d565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612631573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd29190614315565b61269f6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6001545f906001600160a01b03166354f6127f6126bb8561127e565b6040518263ffffffff1660e01b81526004016126d991815260200190565b5f60405180830381865afa1580156126f3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261271a9190810190613af9565b805190915015610bd95780806020019051810190610bd29190614051565b600154604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd64906044016116c2565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610fd1565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a366127ec846001614758565b6040518263ffffffff1660e01b815260040161280a91815260200190565b602060405180830381865af4158015612825573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610967919061476b565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af41580156128ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061290e9190613d5e565b6040518263ffffffff1660e01b815260040161292c91815260200190565b5f60405180830381865afa158015612946573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261296d9190810190613af9565b805190915015611c4c5780806020019051810190611c449190614786565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a5c9190613d5e565b6040518263ffffffff1660e01b8152600401612a7a91815260200190565b5f60405180830381865afa158015612a94573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612abb9190810190613af9565b805190915015610bd95780806020019051810190610bd29190614840565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af4158015611643573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b03168152602001612b6e60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b0381168114612ba4575f80fd5b50565b5f60208284031215612bb7575f80fd5b8135610bd281612b90565b5f60208284031215612bd2575f80fd5b5035919050565b5f8151808452602084019350602083015f5b82811015612c125781516001600160601b0316865260209586019590910190600101612beb565b5093949350505050565b60208152612c2f60208201835115159052565b5f6020830151612c43604084018215159052565b506040830151801515606084015250606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516102c0610100840152612cb66102e0840182612bd9565b6101008501518051610120860152602081015161014086015290915050610120840151805161016085015260208101516101808501525061014084015180516101a085015260208101516101c08501525061016084015180516101e085015260208101516102008501525061018084015180516102208501526020810151610240850152506101a084015180516102608501526020810151610280850152506101c084015180516102a085015260208101516102c08501525b509392505050565b61ffff81168114612ba4575f80fd5b5f8060408385031215612d97575f80fd5b8235612da281612b90565b91506020830135612db281612d77565b809150509250929050565b5f8060408385031215612dce575f80fd5b8235915060208301355f81900b8114612db2575f80fd5b6001600160c01b031981168114612ba4575f80fd5b5f60208284031215612e0a575f80fd5b8135610bd281612de5565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e06040840152612e72610100840182612e15565b90506040840151606084015263ffffffff60608501511660808401526080840151612ea560a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152612ed48282612e15565b95945050505050565b6001600160a01b0381168114612ba4575f80fd5b5f60208284031215612f01575f80fd5b8135610bd281612edd565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f604083015160806060840152612f4960a0840182612e15565b905063ffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612f9b57612f9b612f65565b60405290565b604080519081016001600160401b0381118282101715612f9b57612f9b612f65565b6040516101e081016001600160401b0381118282101715612f9b57612f9b612f65565b60405160e081016001600160401b0381118282101715612f9b57612f9b612f65565b60405160c081016001600160401b0381118282101715612f9b57612f9b612f65565b60405160a081016001600160401b0381118282101715612f9b57612f9b612f65565b60405161020081016001600160401b0381118282101715612f9b57612f9b612f65565b60405161012081016001600160401b0381118282101715612f9b57612f9b612f65565b60405161024081016001600160401b0381118282101715612f9b57612f9b612f65565b60405161010081016001600160401b0381118282101715612f9b57612f9b612f65565b604051601f8201601f191681016001600160401b038111828210171561310057613100612f65565b604052919050565b5f6001600160401b0382111561312057613120612f65565b50601f01601f191660200190565b5f806040838503121561313f575f80fd5b823561314a81612b90565b915060208301356001600160401b03811115613164575f80fd5b8301601f81018513613174575f80fd5b803561318761318282613108565b6130d8565b81815286602083850101111561319b575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f60208301516131eb604084018280518252602090810151910152565b50604083015160e06080840152613206610100840182612e15565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160401b0381168114612ba4575f80fd5b5f806040838503121561326a575f80fd5b823561327581612edd565b91506020830135612db281613245565b5f8060408385031215613296575f80fd5b82356132a181612b90565b946020939093013593505050565b602081526001600160601b0382511660208201525f60208301516040808401526132dc6060840182612e15565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613322606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a084015261334e610100840182612e15565b905060a0840151601f198483030160c085015261336b8282612e15565b91505060c0840151612d6f60e085018264ffffffffff169052565b602081526133a06020820183516001600160601b03169052565b5f60208301516133bb60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613441610220840182612e15565b9050610100840151601f19848303016101208501526134608282612e15565b91505061012084015161347a61014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152612d6f565b602081525f8251610120602084015261351b610140840182612e15565b9050602084015160408401526040840151606084015260608401516080840152608084015161355260a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f1901610120850152612ed48282612e15565b81516001600160601b03168152610240810160208301516135cb60208401826001600160601b03169052565b5060408301516135e660408401826001600160601b03169052565b50606083015161360160608401826001600160601b03169052565b50608083015161361c60808401826001600160601b03169052565b5060a083015161363760a08401826001600160601b03169052565b5060c083015161365260c08401826001600160601b03169052565b5060e083015161366d60e08401826001600160601b03169052565b5061010083015161368a6101008401826001600160601b03169052565b506101208301516136a76101208401826001600160601b03169052565b506101408301516136c46101408401826001600160601b03169052565b506101608301516136e16101608401826001600160601b03169052565b506101808301516136fe6101808401826001600160601b03169052565b506101a083015161371b6101a08401826001600160601b03169052565b506101c08301516137386101c08401826001600160601b03169052565b506101e08301516137556101e08401826001600160601b03169052565b506102008301516137726102008401826001600160601b03169052565b50610220830151611c4c6102208401826001600160601b03169052565b62ffffff81168114612ba4575f80fd5b5f80604083850312156137b0575f80fd5b82356137bb81612d77565b91506020830135612db28161378f565b602081525f825160a060208401526137e660c0840182612e15565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a0860152909150612ed48282612e15565b64ffffffffff81168114612ba4575f80fd5b5f8060408385031215613859575f80fd5b823561386481612b90565b91506020830135612db281613836565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a060808401526138c260c0840182612e15565b905064ffffffffff60808501511660a08401528091505092915050565b5f602082840312156138ef575f80fd5b8135610bd281613245565b602081526139146020820183516001600160601b03169052565b5f60208301516101006040840152613930610120840182612e15565b9050604084015161394c60608501826001600160601b03169052565b506060840151838203601f190160808501526139688282612e15565b9150506080840151601f198483030160a08501526139868282612e15565b91505060a08401516139a160c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612d6f565b80516139d381612b90565b919050565b5f602082840312156139e8575f80fd5b8151610bd281612b90565b60ff81168114612ba4575f80fd5b80516139d3816139f3565b63ffffffff81168114612ba4575f80fd5b80516139d381613a0c565b5f6080828403128015613a39575f80fd5b50613a42612f79565b8251613a4d816139f3565b81526020830151613a5d816139f3565b60208201526040830151613a7081613a0c565b60408201526060830151613a8381613a0c565b60608201529392505050565b5f60208284031215613a9f575f80fd5b8151610bd2816139f3565b5f82601f830112613ab9575f80fd5b8151602083015f613acc61318284613108565b9050828152858383011115613adf575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613b09575f80fd5b81516001600160401b03811115613b1e575f80fd5b6132dc84828501613aaa565b805180151581146139d3575f80fd5b5f82601f830112613b48575f80fd5b81516001600160401b03811115613b6157613b61612f65565b8060051b613b71602082016130d8565b91825260208185018101929081019086841115613b8c575f80fd5b6020860192505b83831015613bb7578251613ba681612b90565b825260209283019290910190613b93565b9695505050505050565b5f60408284031215613bd1575f80fd5b613bd9612fa1565b825181526020928301519281019290925250919050565b5f60208284031215613c00575f80fd5b81516001600160401b03811115613c15575f80fd5b82016102c08185031215613c27575f80fd5b613c2f612fc3565b613c3882613b2a565b8152613c4660208301613b2a565b6020820152613c5760408301613b2a565b6040820152613c6860608301613a01565b6060820152613c7960808301613a01565b6080820152613c8a60a083016139c8565b60a0820152613c9b60c083016139c8565b60c082015260e08201516001600160401b03811115613cb8575f80fd5b613cc486828501613b39565b60e083015250613cd8856101008401613bc1565b610100820152613cec856101408401613bc1565b610120820152613d00856101808401613bc1565b610140820152613d14856101c08401613bc1565b610160820152613d28856102008401613bc1565b610180820152613d3c856102408401613bc1565b6101a0820152613d50856102808401613bc1565b6101c0820152949350505050565b5f60208284031215613d6e575f80fd5b5051919050565b80516139d381613836565b5f60208284031215613d90575f80fd5b81516001600160401b03811115613da5575f80fd5b820160e08185031215613db6575f80fd5b613dbe612fe6565b613dc7826139c8565b815260208201516001600160401b03811115613de1575f80fd5b613ded86828501613aaa565b60208301525060408281015190820152613e0960608301613a1d565b6060820152613e1a60808301613a1d565b6080820152613e2b60a08301613d75565b60a082015260c08201516001600160401b03811115613e48575f80fd5b613e5486828501613aaa565b60c083015250949350505050565b5f60208284031215613e72575f80fd5b8151610bd281612edd565b5f60208284031215613e8d575f80fd5b610bd282613b2a565b80516139d381612de5565b5f60208284031215613eb1575f80fd5b81516001600160401b03811115613ec6575f80fd5b820160808185031215613ed7575f80fd5b613edf612f79565b8151613eea81612de5565b8152613ef860208301613b2a565b602082015260408201516001600160401b03811115613f15575f80fd5b613f2186828501613aaa565b60408301525060608201519150613f3782613a0c565b60608101919091529392505050565b6001600160601b0383168152604060208201525f6132dc6040830184612e15565b5f60208284031215613f77575f80fd5b8151610bd281612de5565b5f60208284031215613f92575f80fd5b81516001600160401b03811115613fa7575f80fd5b820160e08185031215613fb8575f80fd5b613fc0613008565b8151613fcb81612b90565b8152613fda8560208401613bc1565b602082015260608201516001600160401b03811115613ff7575f80fd5b61400386828501613aaa565b604083015250608082015161401781613836565b606082015261402860a08301613d75565b608082015261403960c08301613d75565b60a0820152949350505050565b80516139d381612edd565b5f60208284031215614061575f80fd5b81516001600160401b03811115614076575f80fd5b820160a08185031215614087575f80fd5b61408f61302a565b81516001600160401b038111156140a4575f80fd5b6140b086828501613aaa565b82525060208201516140c181612edd565b602082015260408201516140d481612edd565b60408201526140e560608301614046565b606082015260808201516001600160401b03811115614102575f80fd5b61410e86828501613aaa565b608083015250949350505050565b5f60e082840312801561412d575f80fd5b50614136612fe6565b825161414181612b90565b815261414f60208401613b2a565b602082015261416060408401613b2a565b604082015261417160608401613b2a565b606082015261418260808401613b2a565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f602082840312156141b4575f80fd5b81516001600160401b038111156141c9575f80fd5b8201604081850312156141da575f80fd5b6141e2612fa1565b81516141ed81612b90565b815260208201516001600160401b03811115614207575f80fd5b61421386828501613aaa565b602083015250949350505050565b80516139d38161378f565b5f6020828403121561423c575f80fd5b81516001600160401b03811115614251575f80fd5b820160e08185031215614262575f80fd5b61426a612fe6565b614273826139c8565b8152614281602083016139c8565b602082015261429260408301614221565b60408201526142a360608301614221565b606082015260808201516001600160401b038111156142c0575f80fd5b6142cc86828501613aaa565b60808301525060a08201516001600160401b038111156142ea575f80fd5b6142f686828501613aaa565b60a08301525061430860c08301613d75565b60c0820152949350505050565b5f60208284031215614325575f80fd5b8151610bd281613836565b80516139d381612d77565b5f6020828403121561434b575f80fd5b81516001600160401b03811115614360575f80fd5b82016102008185031215614372575f80fd5b61437a61304c565b614383826139c8565b8152614391602083016139c8565b60208201526143a260408301613e96565b60408201526143b360608301613e96565b60608201526143c4608083016139c8565b60808201526143d560a083016139c8565b60a08201526143e660c08301613d75565b60c082015260e08201516001600160401b03811115614403575f80fd5b61440f86828501613aaa565b60e0830152506101008201516001600160401b0381111561442e575f80fd5b61443a86828501613aaa565b6101008301525061444e6101208301614330565b6101208201526144616101408301614330565b61014082015261447461016083016139c8565b61016082015261448761018083016139c8565b61018082015261449a6101a08301613d75565b6101a08201526144ad6101c08301613d75565b6101c08201526144c06101e08301613d75565b6101e0820152949350505050565b5f602082840312156144de575f80fd5b81516001600160401b038111156144f3575f80fd5b82016101208185031215614505575f80fd5b61450d61306f565b81516001600160401b03811115614522575f80fd5b61452e86828501613aaa565b82525060208281015190820152604080830151908201526060808301519082015261455b60808301613a1d565b608082015261456c60a08301613a1d565b60a082015261457d60c08301613b2a565b60c082015261458e60e08301613b2a565b60e08201526101008201516001600160401b038111156145ac575f80fd5b6145b886828501613aaa565b61010083015250949350505050565b5f6102408284031280156145d9575f80fd5b506145e2613092565b6145eb836139c8565b81526145f9602084016139c8565b602082015261460a604084016139c8565b604082015261461b606084016139c8565b606082015261462c608084016139c8565b608082015261463d60a084016139c8565b60a082015261464e60c084016139c8565b60c082015261465f60e084016139c8565b60e082015261467161010084016139c8565b61010082015261468461012084016139c8565b61012082015261469761014084016139c8565b6101408201526146aa61016084016139c8565b6101608201526146bd61018084016139c8565b6101808201526146d06101a084016139c8565b6101a08201526146e36101c084016139c8565b6101c08201526146f66101e084016139c8565b6101e082015261470961020084016139c8565b61020082015261471c61022084016139c8565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff818116838216019081111561096757610967614729565b8082018082111561096757610967614729565b5f6020828403121561477b575f80fd5b8151610bd281612d77565b5f60208284031215614796575f80fd5b81516001600160401b038111156147ab575f80fd5b820160a081850312156147bc575f80fd5b6147c461302a565b81516147cf81612d77565b815260208201516147df81612b90565b602082015260408201516147f281612edd565b604082015260608201516001600160401b0381111561480f575f80fd5b61481b86828501613aaa565b6060830152506080820151915061483182613836565b60808101919091529392505050565b5f60208284031215614850575f80fd5b81516001600160401b03811115614865575f80fd5b82016101008185031215614877575f80fd5b61487f6130b5565b614888826139c8565b815260208201516001600160401b038111156148a2575f80fd5b6148ae86828501613aaa565b6020830152506148c0604083016139c8565b604082015260608201516001600160401b038111156148dd575f80fd5b6148e986828501613aaa565b60608301525060808201516001600160401b03811115614907575f80fd5b61491386828501613aaa565b60808301525061492560a08301613d75565b60a082015261493660c08301613d75565b60c082015261494760e08301613b2a565b60e082015294935050505056fea2646970667358221220d8ea4f9b3f245d7f3f5b488d9e235ec01f2d3e2723746de91e1535ff4382718164736f6c634300081a0033",
1725
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106102ff575f3560e01c80637d8f1e8111610195578063cd55e51b116100e4578063e98413ff1161009e578063f7f318d311610079578063f7f318d31461088d578063fad77c3b146108a0578063fd802492146108b3578063febe92af146108d3575f80fd5b8063e98413ff14610831578063f0ea17c31461085a578063f3ed99191461087a575f80fd5b8063cd55e51b146107a5578063d06458c6146107b8578063d4cda0d8146107d8578063dd26287a146107e9578063de7b5d14146107fc578063e444c3df14610811575f80fd5b806394b9929b1161014f578063a7ef3d211161012a578063a7ef3d2114610728578063b82d7ef514610748578063ba579bdc14610772578063bd7d9d8514610785575f80fd5b806394b9929b146106a6578063a310e2a3146106b9578063a5961b4c146106cc575f80fd5b80637d8f1e81146106325780637e54602a146106455780638129fc1c14610658578063887b1fa9146106605780638eb9000d146106805780639096a1f314610693575f80fd5b80633b046f091161025157806357f80bbf1161020b5780636791f7ab116101e65780636791f7ab146105e45780636ebed908146105f957806378ae93501461060c5780637bfd32171461061f575f80fd5b806357f80bbf1461054557806364eb3a9b146105be57806364fc3142146105d1575f80fd5b80633b046f09146104825780633f093cd6146104a857806344aa6836146104d45780634793b4ab146104e75780634d21a63d146105075780634fb784f514610532575f80fd5b80631d3be477116102bc57806327b1d7921161029757806327b1d792146104295780632c0cd0601461044957806334bd5be31461045c57806335898f5d1461046f575f80fd5b80631d3be477146103d3578063228e42ec146103f357806326decd4014610406575f80fd5b80630232ca491461030357806309648a9d1461033357806309c5844f146103585780630b5d931c1461036b57806310bf267b1461038b5780631488c845146103b2575b5f80fd5b610316610311366004612ba7565b6108f3565b6040516001600160601b0390911681526020015b60405180910390f35b610346610341366004612bc2565b61096d565b60405160ff909116815260200161032a565b610346610366366004612ba7565b6109e2565b61037e610379366004612ba7565b610a5b565b60405161032a9190612c1c565b61039e610399366004612d86565b610bdf565b60405162ffffff909116815260200161032a565b6103c56103c0366004612dbd565b610bf5565b60405190815260200161032a565b6103e66103e1366004612dfa565b610c71565b60405161032a9190612e43565b610316610401366004612ba7565b610db5565b610419610414366004612ef1565b610dee565b604051901515815260200161032a565b61043c610437366004612ba7565b610ecc565b60405161032a9190612f0c565b610316610457366004612ba7565b610f89565b6103c561046a366004612ba7565b610fa9565b6103c561047d366004612ba7565b611040565b610495610490366004612ba7565b61106c565b60405161ffff909116815260200161032a565b6104bb6104b636600461312e565b611081565b6040516001600160c01b0319909116815260200161032a565b6103c56104e2366004612bc2565b6110fb565b6104fa6104f5366004612ba7565b611135565b60405161032a91906131ba565b61051a610515366004612ba7565b6111d6565b6040516001600160a01b03909116815260200161032a565b6103c5610540366004612ba7565b61127e565b610558610553366004612ba7565b6112aa565b60405161032a91905f60e0820190506001600160601b03835116825260208301511515602083015260408301511515604083015260608301511515606083015260808301511515608083015260a083015160a083015260c083015160c083015292915050565b6103c56105cc366004612ba7565b61137b565b6104196105df366004613259565b6113a7565b6105f76105f2366004612ef1565b611496565b005b610316610607366004613285565b6115ed565b61034661061a366004612d86565b611667565b6103c561062d366004612ba7565b61175e565b610346610640366004612ba7565b61178a565b6103c5610653366004612ba7565b6117a6565b6105f76117d2565b61067361066e366004612dfa565b611800565b60405161032a91906132af565b61031661068e366004612ba7565b611921565b6103466106a1366004612ba7565b61195a565b6103c56106b4366004612ba7565b611976565b61051a6106c7366004612ba7565b6119c5565b6106df6106da366004612bc2565b611a6d565b60405161032a91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b61073b610736366004612d86565b611af7565b60405161032a91906132e4565b61075b610756366004612dfa565b611c53565b6040805192835260ff90911660208301520161032a565b610419610780366004612ba7565b611eef565b610798610793366004612ba7565b61213d565b60405161032a9190613386565b6104196107b3366004613259565b612255565b6107cb6107c6366004612dfa565b612309565b60405161032a91906134fe565b6001546001600160a01b031661051a565b6103c56107f7366004612ba7565b61246e565b5f5461010090046001600160a01b031661051a565b61082461081f366004612ba7565b61249a565b60405161032a919061359f565b61084461083f36600461379f565b6125c3565b60405164ffffffffff909116815260200161032a565b61086d610868366004612ba7565b612655565b60405161032a91906137cb565b610346610888366004613848565b612738565b6103c561089b366004612ba7565b61279a565b6104956108ae366004612bc2565b6127c6565b6108c66108c1366004613848565b612849565b60405161032a9190613874565b6108e66108e13660046138df565b61298b565b60405161032a91906138fa565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610943573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061096791906139d8565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156109b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d89190613a28565b6020015192915050565b6001545f906001600160a01b03166309648a9d6109fe84610fa9565b6040518263ffffffff1660e01b8152600401610a1c91815260200190565b602060405180830381865afa158015610a37573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109679190613a8f565b610b39604080516101e0810182525f808252602080830182905282840182905260608084018390526080840183905260a0840183905260c0840183905260e08401528351808501855282815280820183905261010084015283518085018552828152808201839052610120840152835180850185528281528082018390526101408401528351808501855282815280820183905261016084015283518085018552828152808201839052610180840152835180850185528281528082018390526101a08401528351808501909452818452830152906101c082015290565b6001545f906001600160a01b03166354f6127f610b558561175e565b6040518263ffffffff1660e01b8152600401610b7391815260200190565b5f60405180830381865afa158015610b8d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610bb49190810190613af9565b805190915015610bd95780806020019051810190610bd29190613bf0565b9392505050565b50919050565b5f610bea8383611af7565b604001519392505050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610c4d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd29190613d5e565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610d14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d389190613d5e565b6040518263ffffffff1660e01b8152600401610d5691815260200190565b5f60405180830381865afa158015610d70573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d979190810190613af9565b805190915015610bd95780806020019051810190610bd29190613d80565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610928565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e3f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e639190613e62565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610ea8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109679190613e7d565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610f0c856117a6565b6040518263ffffffff1660e01b8152600401610f2a91815260200190565b5f60405180830381865afa158015610f44573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f6b9190810190613af9565b805190915015610bd95780806020019051810190610bd29190613ea1565b5f80610f948361213d565b9050610bd28160800151826101600151612ad9565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af415801561101c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109679190613d5e565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610fd1565b5f6110768261213d565b610120015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd6906110bc9086908690600401613f46565b602060405180830381865af41580156110d7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd29190613f67565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401611001565b61113d612b39565b6001545f906001600160a01b03166354f6127f6111598561279a565b6040518263ffffffff1660e01b815260040161117791815260200190565b5f60405180830381865afa158015611191573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526111b89190810190613af9565b805190915015610bd95780806020019051810190610bd29190613f82565b6001545f9081906001600160a01b03166354f6127f6111f48561127e565b6040518263ffffffff1660e01b815260040161121291815260200190565b5f60405180830381865afa15801561122c573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112539190810190613af9565b805190915015610bd9575f818060200190518101906112729190614051565b60600151949350505050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610fd1565b6040805160e0810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c08101919091526001545f906001600160a01b03166354f6127f6112fe8561246e565b6040518263ffffffff1660e01b815260040161131c91815260200190565b5f60405180830381865afa158015611336573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261135d9190810190613af9565b805190915015610bd95780806020019051810190610bd2919061411c565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610fd1565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061141c9190613e62565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa158015611472573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd29190613e7d565b5f5460ff16156114b95760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611522573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115469190613e62565b600180546001600160a01b0319166001600160a01b039283161790555f5460408051631b776b6960e21b8152905161010090920490921691636dddada49160048083019260209291908290030181865afa1580156115a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115ca9190613e62565b600280546001600160a01b0319166001600160a01b039290921691909117905550565b600254604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401602060405180830381865afa158015611643573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd291906139d8565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af41580156116dd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117019190613d5e565b6040518263ffffffff1660e01b815260040161171f91815260200190565b602060405180830381865afa15801561173a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd29190613a8f565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610fd1565b6001545f906001600160a01b03166309648a9d6109fe8461279a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610fd1565b5f5460ff16156117f55760405163ae9eff1b60e01b815260040160405180910390fd5b6117fe33611496565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611880573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a49190613d5e565b6040518263ffffffff1660e01b81526004016118c291815260200190565b5f60405180830381865afa1580156118dc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119039190810190613af9565b805190915015610bd95780806020019051810190610bd291906141a4565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610928565b6001545f906001600160a01b03166309648a9d6109fe8461137b565b6002546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401602060405180830381865afa15801561101c573d5f803e3d5ffd5b6001545f9081906001600160a01b03166354f6127f6119e38561127e565b6040518263ffffffff1660e01b8152600401611a0191815260200190565b5f60405180830381865afa158015611a1b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a429190810190613af9565b805190915015610bd9575f81806020019051810190611a619190614051565b60400151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611ad3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109679190613a28565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611ba3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bc79190613d5e565b6040518263ffffffff1660e01b8152600401611be591815260200190565b5f60405180830381865afa158015611bff573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c269190810190613af9565b805190915015611c4c5780806020019051810190611c44919061422c565b915050610967565b5092915050565b5f805f611c5f84610c71565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611cbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce09190613e7d565b15611d5d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d509190613d5e565b60645b9250925050915091565b611ddf8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd09190614315565b64ffffffffff90811691161090565b15611e565773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e4f9190613d5e565b606e611d53565b806060015163ffffffff16816080015163ffffffff1610611ee35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611eb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611edc9190613d5e565b6078611d53565b6040810151600a611d53565b5f80611efa8361213d565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611f56573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7a9190613e7d565b15611f8757505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611fe2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120069190613e7d565b1561201357505f92915050565b612096816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015612063573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120879190614315565b64ffffffffff90811691161190565b156120a357505f92915050565b612127816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af41580156120f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121179190614315565b64ffffffffff9081169116111590565b1561213457505f92915050565b50600192915050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f6121d88561137b565b6040518263ffffffff1660e01b81526004016121f691815260200190565b5f60405180830381865afa158015612210573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526122379190810190613af9565b805190915015610bd95780806020019051810190610bd2919061433b565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122ca9190613e62565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b90604401611457565b612361604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af41580156123cd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f19190613d5e565b6040518263ffffffff1660e01b815260040161240f91815260200190565b5f60405180830381865afa158015612429573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526124509190810190613af9565b805190915015610bd95780806020019051810190610bd291906144ce565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610fd1565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f61254685610fa9565b6040518263ffffffff1660e01b815260040161256491815260200190565b5f60405180830381865afa15801561257e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526125a59190810190613af9565b805190915015610bd95780806020019051810190610bd291906145c7565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca846125ea85600161473d565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af4158015612631573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bd29190614315565b61269f6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6001545f906001600160a01b03166354f6127f6126bb8561127e565b6040518263ffffffff1660e01b81526004016126d991815260200190565b5f60405180830381865afa1580156126f3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261271a9190810190613af9565b805190915015610bd95780806020019051810190610bd29190614051565b600154604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd64906044016116c2565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610fd1565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a366127ec846001614758565b6040518263ffffffff1660e01b815260040161280a91815260200190565b602060405180830381865af4158015612825573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610967919061476b565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af41580156128ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061290e9190613d5e565b6040518263ffffffff1660e01b815260040161292c91815260200190565b5f60405180830381865afa158015612946573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261296d9190810190613af9565b805190915015611c4c5780806020019051810190611c449190614786565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612a38573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a5c9190613d5e565b6040518263ffffffff1660e01b8152600401612a7a91815260200190565b5f60405180830381865afa158015612a94573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612abb9190810190613af9565b805190915015610bd95780806020019051810190610bd29190614840565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af4158015611643573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b03168152602001612b6e60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b0381168114612ba4575f80fd5b50565b5f60208284031215612bb7575f80fd5b8135610bd281612b90565b5f60208284031215612bd2575f80fd5b5035919050565b5f8151808452602084019350602083015f5b82811015612c125781516001600160601b0316865260209586019590910190600101612beb565b5093949350505050565b60208152612c2f60208201835115159052565b5f6020830151612c43604084018215159052565b506040830151801515606084015250606083015160ff8116608084015250608083015160ff811660a08401525060a08301516001600160601b03811660c08401525060c08301516001600160601b03811660e08401525060e08301516102c0610100840152612cb66102e0840182612bd9565b6101008501518051610120860152602081015161014086015290915050610120840151805161016085015260208101516101808501525061014084015180516101a085015260208101516101c08501525061016084015180516101e085015260208101516102008501525061018084015180516102208501526020810151610240850152506101a084015180516102608501526020810151610280850152506101c084015180516102a085015260208101516102c08501525b509392505050565b61ffff81168114612ba4575f80fd5b5f8060408385031215612d97575f80fd5b8235612da281612b90565b91506020830135612db281612d77565b809150509250929050565b5f8060408385031215612dce575f80fd5b8235915060208301355f81900b8114612db2575f80fd5b6001600160c01b031981168114612ba4575f80fd5b5f60208284031215612e0a575f80fd5b8135610bd281612de5565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e06040840152612e72610100840182612e15565b90506040840151606084015263ffffffff60608501511660808401526080840151612ea560a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152612ed48282612e15565b95945050505050565b6001600160a01b0381168114612ba4575f80fd5b5f60208284031215612f01575f80fd5b8135610bd281612edd565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f604083015160806060840152612f4960a0840182612e15565b905063ffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612f9b57612f9b612f65565b60405290565b604080519081016001600160401b0381118282101715612f9b57612f9b612f65565b6040516101e081016001600160401b0381118282101715612f9b57612f9b612f65565b60405160e081016001600160401b0381118282101715612f9b57612f9b612f65565b60405160c081016001600160401b0381118282101715612f9b57612f9b612f65565b60405160a081016001600160401b0381118282101715612f9b57612f9b612f65565b60405161020081016001600160401b0381118282101715612f9b57612f9b612f65565b60405161012081016001600160401b0381118282101715612f9b57612f9b612f65565b60405161024081016001600160401b0381118282101715612f9b57612f9b612f65565b60405161010081016001600160401b0381118282101715612f9b57612f9b612f65565b604051601f8201601f191681016001600160401b038111828210171561310057613100612f65565b604052919050565b5f6001600160401b0382111561312057613120612f65565b50601f01601f191660200190565b5f806040838503121561313f575f80fd5b823561314a81612b90565b915060208301356001600160401b03811115613164575f80fd5b8301601f81018513613174575f80fd5b803561318761318282613108565b6130d8565b81815286602083850101111561319b575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f60208301516131eb604084018280518252602090810151910152565b50604083015160e06080840152613206610100840182612e15565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b6001600160401b0381168114612ba4575f80fd5b5f806040838503121561326a575f80fd5b823561327581612edd565b91506020830135612db281613245565b5f8060408385031215613296575f80fd5b82356132a181612b90565b946020939093013593505050565b602081526001600160601b0382511660208201525f60208301516040808401526132dc6060840182612e15565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613322606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a084015261334e610100840182612e15565b905060a0840151601f198483030160c085015261336b8282612e15565b91505060c0840151612d6f60e085018264ffffffffff169052565b602081526133a06020820183516001600160601b03169052565b5f60208301516133bb60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152613441610220840182612e15565b9050610100840151601f19848303016101208501526134608282612e15565b91505061012084015161347a61014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152612d6f565b602081525f8251610120602084015261351b610140840182612e15565b9050602084015160408401526040840151606084015260608401516080840152608084015161355260a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f1901610120850152612ed48282612e15565b81516001600160601b03168152610240810160208301516135cb60208401826001600160601b03169052565b5060408301516135e660408401826001600160601b03169052565b50606083015161360160608401826001600160601b03169052565b50608083015161361c60808401826001600160601b03169052565b5060a083015161363760a08401826001600160601b03169052565b5060c083015161365260c08401826001600160601b03169052565b5060e083015161366d60e08401826001600160601b03169052565b5061010083015161368a6101008401826001600160601b03169052565b506101208301516136a76101208401826001600160601b03169052565b506101408301516136c46101408401826001600160601b03169052565b506101608301516136e16101608401826001600160601b03169052565b506101808301516136fe6101808401826001600160601b03169052565b506101a083015161371b6101a08401826001600160601b03169052565b506101c08301516137386101c08401826001600160601b03169052565b506101e08301516137556101e08401826001600160601b03169052565b506102008301516137726102008401826001600160601b03169052565b50610220830151611c4c6102208401826001600160601b03169052565b62ffffff81168114612ba4575f80fd5b5f80604083850312156137b0575f80fd5b82356137bb81612d77565b91506020830135612db28161378f565b602081525f825160a060208401526137e660c0840182612e15565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a0860152909150612ed48282612e15565b64ffffffffff81168114612ba4575f80fd5b5f8060408385031215613859575f80fd5b823561386481612b90565b91506020830135612db281613836565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a060808401526138c260c0840182612e15565b905064ffffffffff60808501511660a08401528091505092915050565b5f602082840312156138ef575f80fd5b8135610bd281613245565b602081526139146020820183516001600160601b03169052565b5f60208301516101006040840152613930610120840182612e15565b9050604084015161394c60608501826001600160601b03169052565b506060840151838203601f190160808501526139688282612e15565b9150506080840151601f198483030160a08501526139868282612e15565b91505060a08401516139a160c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612d6f565b80516139d381612b90565b919050565b5f602082840312156139e8575f80fd5b8151610bd281612b90565b60ff81168114612ba4575f80fd5b80516139d3816139f3565b63ffffffff81168114612ba4575f80fd5b80516139d381613a0c565b5f6080828403128015613a39575f80fd5b50613a42612f79565b8251613a4d816139f3565b81526020830151613a5d816139f3565b60208201526040830151613a7081613a0c565b60408201526060830151613a8381613a0c565b60608201529392505050565b5f60208284031215613a9f575f80fd5b8151610bd2816139f3565b5f82601f830112613ab9575f80fd5b8151602083015f613acc61318284613108565b9050828152858383011115613adf575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613b09575f80fd5b81516001600160401b03811115613b1e575f80fd5b6132dc84828501613aaa565b805180151581146139d3575f80fd5b5f82601f830112613b48575f80fd5b81516001600160401b03811115613b6157613b61612f65565b8060051b613b71602082016130d8565b91825260208185018101929081019086841115613b8c575f80fd5b6020860192505b83831015613bb7578251613ba681612b90565b825260209283019290910190613b93565b9695505050505050565b5f60408284031215613bd1575f80fd5b613bd9612fa1565b825181526020928301519281019290925250919050565b5f60208284031215613c00575f80fd5b81516001600160401b03811115613c15575f80fd5b82016102c08185031215613c27575f80fd5b613c2f612fc3565b613c3882613b2a565b8152613c4660208301613b2a565b6020820152613c5760408301613b2a565b6040820152613c6860608301613a01565b6060820152613c7960808301613a01565b6080820152613c8a60a083016139c8565b60a0820152613c9b60c083016139c8565b60c082015260e08201516001600160401b03811115613cb8575f80fd5b613cc486828501613b39565b60e083015250613cd8856101008401613bc1565b610100820152613cec856101408401613bc1565b610120820152613d00856101808401613bc1565b610140820152613d14856101c08401613bc1565b610160820152613d28856102008401613bc1565b610180820152613d3c856102408401613bc1565b6101a0820152613d50856102808401613bc1565b6101c0820152949350505050565b5f60208284031215613d6e575f80fd5b5051919050565b80516139d381613836565b5f60208284031215613d90575f80fd5b81516001600160401b03811115613da5575f80fd5b820160e08185031215613db6575f80fd5b613dbe612fe6565b613dc7826139c8565b815260208201516001600160401b03811115613de1575f80fd5b613ded86828501613aaa565b60208301525060408281015190820152613e0960608301613a1d565b6060820152613e1a60808301613a1d565b6080820152613e2b60a08301613d75565b60a082015260c08201516001600160401b03811115613e48575f80fd5b613e5486828501613aaa565b60c083015250949350505050565b5f60208284031215613e72575f80fd5b8151610bd281612edd565b5f60208284031215613e8d575f80fd5b610bd282613b2a565b80516139d381612de5565b5f60208284031215613eb1575f80fd5b81516001600160401b03811115613ec6575f80fd5b820160808185031215613ed7575f80fd5b613edf612f79565b8151613eea81612de5565b8152613ef860208301613b2a565b602082015260408201516001600160401b03811115613f15575f80fd5b613f2186828501613aaa565b60408301525060608201519150613f3782613a0c565b60608101919091529392505050565b6001600160601b0383168152604060208201525f6132dc6040830184612e15565b5f60208284031215613f77575f80fd5b8151610bd281612de5565b5f60208284031215613f92575f80fd5b81516001600160401b03811115613fa7575f80fd5b820160e08185031215613fb8575f80fd5b613fc0613008565b8151613fcb81612b90565b8152613fda8560208401613bc1565b602082015260608201516001600160401b03811115613ff7575f80fd5b61400386828501613aaa565b604083015250608082015161401781613836565b606082015261402860a08301613d75565b608082015261403960c08301613d75565b60a0820152949350505050565b80516139d381612edd565b5f60208284031215614061575f80fd5b81516001600160401b03811115614076575f80fd5b820160a08185031215614087575f80fd5b61408f61302a565b81516001600160401b038111156140a4575f80fd5b6140b086828501613aaa565b82525060208201516140c181612edd565b602082015260408201516140d481612edd565b60408201526140e560608301614046565b606082015260808201516001600160401b03811115614102575f80fd5b61410e86828501613aaa565b608083015250949350505050565b5f60e082840312801561412d575f80fd5b50614136612fe6565b825161414181612b90565b815261414f60208401613b2a565b602082015261416060408401613b2a565b604082015261417160608401613b2a565b606082015261418260808401613b2a565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f602082840312156141b4575f80fd5b81516001600160401b038111156141c9575f80fd5b8201604081850312156141da575f80fd5b6141e2612fa1565b81516141ed81612b90565b815260208201516001600160401b03811115614207575f80fd5b61421386828501613aaa565b602083015250949350505050565b80516139d38161378f565b5f6020828403121561423c575f80fd5b81516001600160401b03811115614251575f80fd5b820160e08185031215614262575f80fd5b61426a612fe6565b614273826139c8565b8152614281602083016139c8565b602082015261429260408301614221565b60408201526142a360608301614221565b606082015260808201516001600160401b038111156142c0575f80fd5b6142cc86828501613aaa565b60808301525060a08201516001600160401b038111156142ea575f80fd5b6142f686828501613aaa565b60a08301525061430860c08301613d75565b60c0820152949350505050565b5f60208284031215614325575f80fd5b8151610bd281613836565b80516139d381612d77565b5f6020828403121561434b575f80fd5b81516001600160401b03811115614360575f80fd5b82016102008185031215614372575f80fd5b61437a61304c565b614383826139c8565b8152614391602083016139c8565b60208201526143a260408301613e96565b60408201526143b360608301613e96565b60608201526143c4608083016139c8565b60808201526143d560a083016139c8565b60a08201526143e660c08301613d75565b60c082015260e08201516001600160401b03811115614403575f80fd5b61440f86828501613aaa565b60e0830152506101008201516001600160401b0381111561442e575f80fd5b61443a86828501613aaa565b6101008301525061444e6101208301614330565b6101208201526144616101408301614330565b61014082015261447461016083016139c8565b61016082015261448761018083016139c8565b61018082015261449a6101a08301613d75565b6101a08201526144ad6101c08301613d75565b6101c08201526144c06101e08301613d75565b6101e0820152949350505050565b5f602082840312156144de575f80fd5b81516001600160401b038111156144f3575f80fd5b82016101208185031215614505575f80fd5b61450d61306f565b81516001600160401b03811115614522575f80fd5b61452e86828501613aaa565b82525060208281015190820152604080830151908201526060808301519082015261455b60808301613a1d565b608082015261456c60a08301613a1d565b60a082015261457d60c08301613b2a565b60c082015261458e60e08301613b2a565b60e08201526101008201516001600160401b038111156145ac575f80fd5b6145b886828501613aaa565b61010083015250949350505050565b5f6102408284031280156145d9575f80fd5b506145e2613092565b6145eb836139c8565b81526145f9602084016139c8565b602082015261460a604084016139c8565b604082015261461b606084016139c8565b606082015261462c608084016139c8565b608082015261463d60a084016139c8565b60a082015261464e60c084016139c8565b60c082015261465f60e084016139c8565b60e082015261467161010084016139c8565b61010082015261468461012084016139c8565b61012082015261469761014084016139c8565b6101408201526146aa61016084016139c8565b6101608201526146bd61018084016139c8565b6101808201526146d06101a084016139c8565b6101a08201526146e36101c084016139c8565b6101c08201526146f66101e084016139c8565b6101e082015261470961020084016139c8565b61020082015261471c61022084016139c8565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff818116838216019081111561096757610967614729565b8082018082111561096757610967614729565b5f6020828403121561477b575f80fd5b8151610bd281612d77565b5f60208284031215614796575f80fd5b81516001600160401b038111156147ab575f80fd5b820160a081850312156147bc575f80fd5b6147c461302a565b81516147cf81612d77565b815260208201516147df81612b90565b602082015260408201516147f281612edd565b604082015260608201516001600160401b0381111561480f575f80fd5b61481b86828501613aaa565b6060830152506080820151915061483182613836565b60808101919091529392505050565b5f60208284031215614850575f80fd5b81516001600160401b03811115614865575f80fd5b82016101008185031215614877575f80fd5b61487f6130b5565b614888826139c8565b815260208201516001600160401b038111156148a2575f80fd5b6148ae86828501613aaa565b6020830152506148c0604083016139c8565b604082015260608201516001600160401b038111156148dd575f80fd5b6148e986828501613aaa565b60608301525060808201516001600160401b03811115614907575f80fd5b61491386828501613aaa565b60808301525061492560a08301613d75565b60a082015261493660c08301613d75565b60c082015261494760e08301613b2a565b60e082015294935050505056fea2646970667358221220d8ea4f9b3f245d7f3f5b488d9e235ec01f2d3e2723746de91e1535ff4382718164736f6c634300081a0033",
1065
1726
  "linkReferences": {
1066
- "contracts/types/DistributorType.sol": {
1727
+ "contracts/type/Amount.sol": {
1728
+ "AmountLib": [
1729
+ {
1730
+ "length": 20,
1731
+ "start": 11046
1732
+ }
1733
+ ]
1734
+ },
1735
+ "contracts/type/ClaimId.sol": {
1736
+ "ClaimIdLib": [
1737
+ {
1738
+ "length": 20,
1739
+ "start": 5833
1740
+ },
1741
+ {
1742
+ "length": 20,
1743
+ "start": 7056
1744
+ },
1745
+ {
1746
+ "length": 20,
1747
+ "start": 10222
1748
+ }
1749
+ ]
1750
+ },
1751
+ "contracts/type/DistributorType.sol": {
1067
1752
  "DistributorTypeLib": [
1068
1753
  {
1069
1754
  "length": 20,
1070
- "start": 5975
1755
+ "start": 9146
1071
1756
  }
1072
1757
  ]
1073
1758
  },
1074
- "contracts/types/NftId.sol": {
1759
+ "contracts/type/NftId.sol": {
1075
1760
  "NftIdLib": [
1076
1761
  {
1077
1762
  "length": 20,
1078
- "start": 174
1763
+ "start": 4049
1764
+ },
1765
+ {
1766
+ "length": 20,
1767
+ "start": 4200
1768
+ },
1769
+ {
1770
+ "length": 20,
1771
+ "start": 4774
1772
+ },
1773
+ {
1774
+ "length": 20,
1775
+ "start": 5027
1079
1776
  },
1080
1777
  {
1081
1778
  "length": 20,
1082
- "start": 3044
1779
+ "start": 6022
1083
1780
  },
1084
1781
  {
1085
1782
  "length": 20,
1086
- "start": 3384
1783
+ "start": 6094
1087
1784
  },
1088
1785
  {
1089
1786
  "length": 20,
1090
- "start": 3779
1787
+ "start": 8003
1091
1788
  },
1092
1789
  {
1093
1790
  "length": 20,
1094
- "start": 3824
1791
+ "start": 9366
1792
+ },
1793
+ {
1794
+ "length": 20,
1795
+ "start": 10178
1796
+ }
1797
+ ]
1798
+ },
1799
+ "contracts/type/PayoutId.sol": {
1800
+ "PayoutIdLib": [
1801
+ {
1802
+ "length": 20,
1803
+ "start": 9707
1095
1804
  },
1096
1805
  {
1097
1806
  "length": 20,
1098
- "start": 3869
1807
+ "start": 10141
1099
1808
  },
1100
1809
  {
1101
1810
  "length": 20,
1102
- "start": 6202
1811
+ "start": 10455
1103
1812
  }
1104
1813
  ]
1105
1814
  },
1106
- "contracts/types/Referral.sol": {
1815
+ "contracts/type/Referral.sol": {
1107
1816
  "ReferralLib": [
1108
1817
  {
1109
1818
  "length": 20,
1110
- "start": 2804
1819
+ "start": 3329
1111
1820
  },
1112
1821
  {
1113
1822
  "length": 20,
1114
- "start": 3443
1823
+ "start": 4279
1115
1824
  }
1116
1825
  ]
1117
1826
  },
1118
- "contracts/types/RiskId.sol": {
1827
+ "contracts/type/RequestId.sol": {
1828
+ "RequestIdLib": [
1829
+ {
1830
+ "length": 20,
1831
+ "start": 10789
1832
+ }
1833
+ ]
1834
+ },
1835
+ "contracts/type/RiskId.sol": {
1119
1836
  "RiskIdLib": [
1120
1837
  {
1121
1838
  "length": 20,
1122
- "start": 3984
1839
+ "start": 6253
1123
1840
  }
1124
1841
  ]
1125
1842
  },
1126
- "contracts/types/Timestamp.sol": {
1843
+ "contracts/type/Timestamp.sol": {
1127
1844
  "TimestampLib": [
1128
1845
  {
1129
1846
  "length": 20,
1130
- "start": 4912
1847
+ "start": 7337
1848
+ },
1849
+ {
1850
+ "length": 20,
1851
+ "start": 7564
1131
1852
  },
1132
1853
  {
1133
1854
  "length": 20,
1134
- "start": 5143
1855
+ "start": 8143
1856
+ },
1857
+ {
1858
+ "length": 20,
1859
+ "start": 8259
1860
+ },
1861
+ {
1862
+ "length": 20,
1863
+ "start": 8403
1135
1864
  }
1136
1865
  ]
1137
1866
  },
1138
- "contracts/types/UFixed.sol": {
1867
+ "contracts/type/UFixed.sol": {
1139
1868
  "UFixedLib": [
1140
1869
  {
1141
1870
  "length": 20,
1142
- "start": 2592
1871
+ "start": 3130
1143
1872
  },
1144
1873
  {
1145
1874
  "length": 20,
1146
- "start": 3575
1875
+ "start": 4408
1147
1876
  },
1148
1877
  {
1149
1878
  "length": 20,
1150
- "start": 5013
1879
+ "start": 7436
1151
1880
  },
1152
1881
  {
1153
1882
  "length": 20,
1154
- "start": 5272
1883
+ "start": 7691
1155
1884
  },
1156
1885
  {
1157
1886
  "length": 20,
1158
- "start": 5415
1887
+ "start": 7832
1159
1888
  }
1160
1889
  ]
1161
1890
  }
1162
1891
  },
1163
1892
  "deployedLinkReferences": {
1164
- "contracts/types/DistributorType.sol": {
1893
+ "contracts/type/Amount.sol": {
1894
+ "AmountLib": [
1895
+ {
1896
+ "length": 20,
1897
+ "start": 11009
1898
+ }
1899
+ ]
1900
+ },
1901
+ "contracts/type/ClaimId.sol": {
1902
+ "ClaimIdLib": [
1903
+ {
1904
+ "length": 20,
1905
+ "start": 5796
1906
+ },
1907
+ {
1908
+ "length": 20,
1909
+ "start": 7019
1910
+ },
1911
+ {
1912
+ "length": 20,
1913
+ "start": 10185
1914
+ }
1915
+ ]
1916
+ },
1917
+ "contracts/type/DistributorType.sol": {
1165
1918
  "DistributorTypeLib": [
1166
1919
  {
1167
1920
  "length": 20,
1168
- "start": 4608
1921
+ "start": 9109
1169
1922
  }
1170
1923
  ]
1171
1924
  },
1172
- "contracts/types/NftId.sol": {
1925
+ "contracts/type/NftId.sol": {
1173
1926
  "NftIdLib": [
1174
1927
  {
1175
1928
  "length": 20,
1176
- "start": 1677
1929
+ "start": 4012
1930
+ },
1931
+ {
1932
+ "length": 20,
1933
+ "start": 4163
1934
+ },
1935
+ {
1936
+ "length": 20,
1937
+ "start": 4737
1938
+ },
1939
+ {
1940
+ "length": 20,
1941
+ "start": 4990
1942
+ },
1943
+ {
1944
+ "length": 20,
1945
+ "start": 5985
1946
+ },
1947
+ {
1948
+ "length": 20,
1949
+ "start": 6057
1177
1950
  },
1178
1951
  {
1179
1952
  "length": 20,
1180
- "start": 2017
1953
+ "start": 7966
1181
1954
  },
1182
1955
  {
1183
1956
  "length": 20,
1184
- "start": 2412
1957
+ "start": 9329
1185
1958
  },
1186
1959
  {
1187
1960
  "length": 20,
1188
- "start": 2457
1961
+ "start": 10141
1962
+ }
1963
+ ]
1964
+ },
1965
+ "contracts/type/PayoutId.sol": {
1966
+ "PayoutIdLib": [
1967
+ {
1968
+ "length": 20,
1969
+ "start": 9670
1189
1970
  },
1190
1971
  {
1191
1972
  "length": 20,
1192
- "start": 2502
1973
+ "start": 10104
1193
1974
  },
1194
1975
  {
1195
1976
  "length": 20,
1196
- "start": 4835
1977
+ "start": 10418
1197
1978
  }
1198
1979
  ]
1199
1980
  },
1200
- "contracts/types/Referral.sol": {
1981
+ "contracts/type/Referral.sol": {
1201
1982
  "ReferralLib": [
1202
1983
  {
1203
1984
  "length": 20,
1204
- "start": 1437
1985
+ "start": 3292
1205
1986
  },
1206
1987
  {
1207
1988
  "length": 20,
1208
- "start": 2076
1989
+ "start": 4242
1990
+ }
1991
+ ]
1992
+ },
1993
+ "contracts/type/RequestId.sol": {
1994
+ "RequestIdLib": [
1995
+ {
1996
+ "length": 20,
1997
+ "start": 10752
1209
1998
  }
1210
1999
  ]
1211
2000
  },
1212
- "contracts/types/RiskId.sol": {
2001
+ "contracts/type/RiskId.sol": {
1213
2002
  "RiskIdLib": [
1214
2003
  {
1215
2004
  "length": 20,
1216
- "start": 2617
2005
+ "start": 6216
1217
2006
  }
1218
2007
  ]
1219
2008
  },
1220
- "contracts/types/Timestamp.sol": {
2009
+ "contracts/type/Timestamp.sol": {
1221
2010
  "TimestampLib": [
1222
2011
  {
1223
2012
  "length": 20,
1224
- "start": 3545
2013
+ "start": 7300
2014
+ },
2015
+ {
2016
+ "length": 20,
2017
+ "start": 7527
2018
+ },
2019
+ {
2020
+ "length": 20,
2021
+ "start": 8106
2022
+ },
2023
+ {
2024
+ "length": 20,
2025
+ "start": 8222
1225
2026
  },
1226
2027
  {
1227
2028
  "length": 20,
1228
- "start": 3776
2029
+ "start": 8366
1229
2030
  }
1230
2031
  ]
1231
2032
  },
1232
- "contracts/types/UFixed.sol": {
2033
+ "contracts/type/UFixed.sol": {
1233
2034
  "UFixedLib": [
1234
2035
  {
1235
2036
  "length": 20,
1236
- "start": 1225
2037
+ "start": 3093
1237
2038
  },
1238
2039
  {
1239
2040
  "length": 20,
1240
- "start": 2208
2041
+ "start": 4371
1241
2042
  },
1242
2043
  {
1243
2044
  "length": 20,
1244
- "start": 3646
2045
+ "start": 7399
1245
2046
  },
1246
2047
  {
1247
2048
  "length": 20,
1248
- "start": 3905
2049
+ "start": 7654
1249
2050
  },
1250
2051
  {
1251
2052
  "length": 20,
1252
- "start": 4048
2053
+ "start": 7795
1253
2054
  }
1254
2055
  ]
1255
2056
  }