@etherisc/gif-next 0.0.2-e2d8c7d-942 → 0.0.2-e30eae1-836

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