@etherisc/gif-next 0.0.2-d086e6d-456 → 0.0.2-d13bb9e-069

Sign up to get free protection for your applications and to get access to all the features.
Files changed (675) hide show
  1. package/README.md +57 -93
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1234 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/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 +1013 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1342 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1012 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1405 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +198 -261
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +186 -357
  36. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  38. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1491 -0
  40. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  42. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1946 -0
  44. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  46. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1545 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1980 -0
  56. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  57. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  58. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +296 -2011
  60. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  61. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +195 -95
  62. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  63. package/artifacts/contracts/instance/Instance.sol/Instance.json +353 -2827
  64. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1623 -0
  66. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  68. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1062 -308
  70. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +246 -316
  72. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +132 -119
  74. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3607 -0
  76. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  78. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  79. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  80. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  82. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  84. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  85. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  86. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +10 -118
  88. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  91. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  92. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  93. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  94. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  95. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  96. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
  97. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  98. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  99. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  100. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  101. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  102. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
  103. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  104. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +254 -209
  105. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  106. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +236 -207
  107. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +927 -0
  109. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +710 -0
  111. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  112. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +299 -399
  113. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  114. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  115. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  116. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1431 -0
  117. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
  119. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  120. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +312 -64
  121. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  122. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +937 -0
  123. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  124. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1267 -0
  125. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  126. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +358 -360
  127. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  128. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1612 -0
  129. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  130. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +758 -0
  131. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  132. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +737 -0
  133. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  134. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +698 -0
  135. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  136. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +339 -408
  137. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  138. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  139. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  140. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1397 -0
  141. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  142. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +826 -0
  143. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  144. package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → product/IApplicationService.sol/IApplicationService.json} +129 -111
  145. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  146. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +913 -0
  147. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  148. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +896 -0
  149. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  150. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +110 -207
  151. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  152. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +319 -199
  153. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  154. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +12 -86
  155. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  156. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1268 -0
  157. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  158. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +770 -0
  159. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  160. package/artifacts/contracts/product/PricingService.sol/PricingService.json +865 -0
  161. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  162. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +746 -0
  163. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  164. package/artifacts/contracts/product/Product.sol/Product.json +1056 -0
  165. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  166. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  167. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  168. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  169. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  170. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  171. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  172. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +404 -31
  173. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  174. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +199 -149
  175. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  176. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  177. package/artifacts/contracts/registry/Registry.sol/Registry.json +802 -46
  178. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  179. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1858 -0
  180. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  181. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +264 -279
  182. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  183. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +126 -95
  184. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  185. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  186. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  187. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  188. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  190. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  191. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  192. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  193. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +265 -222
  194. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  195. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1573 -0
  196. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  197. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +794 -0
  198. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  199. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +432 -0
  200. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  201. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  202. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  203. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +107 -107
  204. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  205. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/IComponentService.sol/IComponentService.json} +482 -317
  206. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  207. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
  208. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  209. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  210. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  211. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  212. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  213. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  214. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  215. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  216. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  217. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  218. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  220. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IService.sol/IService.json +17 -30
  222. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  223. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  224. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  225. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  226. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  227. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +793 -0
  228. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  229. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  230. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  231. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  232. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  233. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  234. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +12 -70
  236. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  237. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  238. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +18 -106
  240. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  241. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  242. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  243. package/artifacts/contracts/shared/Service.sol/Service.json +20 -135
  244. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  245. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  246. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  247. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  248. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  249. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → staking/IStaking.sol/IStaking.json} +684 -575
  250. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  251. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -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 +1828 -0
  256. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  258. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  259. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +750 -0
  260. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  261. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  262. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1236 -0
  264. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  265. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  266. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  267. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -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/{types → type}/StateId.sol/StateIdLib.json +3 -3
  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/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  322. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  323. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +586 -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/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  328. package/contracts/authorization/AccessAdmin.sol +592 -0
  329. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  330. package/contracts/authorization/Authorization.sol +221 -0
  331. package/contracts/authorization/IAccess.sol +48 -0
  332. package/contracts/authorization/IAccessAdmin.sol +135 -0
  333. package/contracts/authorization/IAuthorization.sol +54 -0
  334. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  335. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  336. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  337. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  338. package/contracts/distribution/BasicDistribution.sol +138 -0
  339. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  340. package/contracts/{components → distribution}/Distribution.sol +178 -163
  341. package/contracts/distribution/DistributionService.sol +336 -0
  342. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  343. package/contracts/distribution/IDistributionComponent.sol +52 -0
  344. package/contracts/{instance/service → distribution}/IDistributionService.sol +41 -38
  345. package/contracts/examples/fire/DamageLevel.sol +59 -0
  346. package/contracts/examples/fire/FirePool.sol +75 -0
  347. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  348. package/contracts/examples/fire/FireProduct.sol +410 -0
  349. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  350. package/contracts/examples/fire/FireUSD.sol +26 -0
  351. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  352. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  353. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  354. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  355. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +30 -31
  356. package/contracts/instance/IInstance.sol +38 -73
  357. package/contracts/instance/IInstanceService.sol +50 -30
  358. package/contracts/instance/Instance.sol +147 -245
  359. package/contracts/instance/InstanceAdmin.sol +288 -0
  360. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  361. package/contracts/instance/InstanceReader.sol +264 -60
  362. package/contracts/instance/InstanceService.sol +305 -335
  363. package/contracts/instance/InstanceServiceManager.sol +14 -29
  364. package/contracts/instance/InstanceStore.sol +287 -0
  365. package/contracts/instance/base/BalanceStore.sol +123 -0
  366. package/contracts/instance/base/Cloneable.sol +28 -0
  367. package/contracts/instance/base/ObjectCounter.sol +21 -0
  368. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  369. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +18 -21
  370. package/contracts/instance/module/IAccess.sol +5 -13
  371. package/contracts/instance/module/IBundle.sol +6 -9
  372. package/contracts/instance/module/IComponents.sol +23 -16
  373. package/contracts/instance/module/IDistribution.sol +6 -6
  374. package/contracts/instance/module/IPolicy.sol +47 -35
  375. package/contracts/instance/module/IRisk.sol +1 -1
  376. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  377. package/contracts/oracle/BasicOracle.sol +48 -0
  378. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  379. package/contracts/oracle/IOracle.sol +36 -0
  380. package/contracts/oracle/IOracleComponent.sol +33 -0
  381. package/contracts/oracle/IOracleService.sol +65 -0
  382. package/contracts/oracle/Oracle.sol +167 -0
  383. package/contracts/oracle/OracleService.sol +281 -0
  384. package/contracts/oracle/OracleServiceManager.sol +39 -0
  385. package/contracts/pool/BasicPool.sol +166 -0
  386. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  387. package/contracts/pool/BundleService.sol +461 -0
  388. package/contracts/pool/BundleServiceManager.sol +39 -0
  389. package/contracts/pool/IBundleService.sol +143 -0
  390. package/contracts/pool/IPoolComponent.sol +68 -0
  391. package/contracts/pool/IPoolService.sol +171 -0
  392. package/contracts/pool/Pool.sol +353 -0
  393. package/contracts/pool/PoolService.sol +563 -0
  394. package/contracts/pool/PoolServiceManager.sol +39 -0
  395. package/contracts/product/ApplicationService.sol +251 -0
  396. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  397. package/contracts/product/BasicProduct.sol +53 -0
  398. package/contracts/product/BasicProductAuthorization.sol +43 -0
  399. package/contracts/product/ClaimService.sol +581 -0
  400. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  401. package/contracts/{instance/service → product}/IApplicationService.sol +16 -35
  402. package/contracts/product/IClaimService.sol +123 -0
  403. package/contracts/product/IPolicyService.sol +80 -0
  404. package/contracts/product/IPricingService.sol +39 -0
  405. package/contracts/product/IProductComponent.sol +53 -0
  406. package/contracts/product/IRiskService.sol +33 -0
  407. package/contracts/product/PolicyService.sol +686 -0
  408. package/contracts/product/PolicyServiceManager.sol +39 -0
  409. package/contracts/product/PricingService.sol +300 -0
  410. package/contracts/product/PricingServiceManager.sol +39 -0
  411. package/contracts/product/Product.sol +432 -0
  412. package/contracts/product/RiskService.sol +96 -0
  413. package/contracts/product/RiskServiceManager.sol +39 -0
  414. package/contracts/registry/ChainNft.sol +72 -32
  415. package/contracts/registry/IRegistry.sol +94 -25
  416. package/contracts/registry/IRegistryService.sol +35 -43
  417. package/contracts/registry/Registry.sol +432 -192
  418. package/contracts/registry/RegistryAdmin.sol +464 -0
  419. package/contracts/registry/RegistryService.sol +108 -134
  420. package/contracts/registry/RegistryServiceManager.sol +23 -32
  421. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  422. package/contracts/registry/ReleaseRegistry.sol +491 -0
  423. package/contracts/registry/ServiceAuthorizationV3.sol +198 -0
  424. package/contracts/registry/TokenRegistry.sol +261 -62
  425. package/contracts/shared/Component.sol +268 -0
  426. package/contracts/shared/ComponentService.sol +641 -0
  427. package/contracts/shared/ComponentServiceManager.sol +38 -0
  428. package/contracts/shared/ComponentVerifyingService.sol +116 -0
  429. package/contracts/shared/ContractLib.sol +38 -0
  430. package/contracts/shared/IComponent.sol +70 -0
  431. package/contracts/shared/IComponentService.sol +108 -0
  432. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  433. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  434. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  435. package/contracts/shared/INftOwnable.sol +2 -2
  436. package/contracts/shared/IPolicyHolder.sol +23 -14
  437. package/contracts/shared/IRegistryLinked.sol +0 -1
  438. package/contracts/shared/IService.sol +12 -8
  439. package/contracts/shared/InitializableCustom.sol +177 -0
  440. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  441. package/contracts/shared/InstanceLinkedComponent.sol +171 -0
  442. package/contracts/shared/KeyValueStore.sol +131 -0
  443. package/contracts/shared/Lifecycle.sol +77 -0
  444. package/contracts/shared/NftIdSet.sol +65 -0
  445. package/contracts/shared/NftOwnable.sol +10 -23
  446. package/contracts/shared/PolicyHolder.sol +22 -41
  447. package/contracts/shared/Registerable.sol +17 -16
  448. package/contracts/shared/RegistryLinked.sol +3 -7
  449. package/contracts/shared/Service.sol +53 -29
  450. package/contracts/shared/TokenHandler.sol +115 -9
  451. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  452. package/contracts/staking/IStaking.sol +168 -0
  453. package/contracts/staking/IStakingService.sol +160 -0
  454. package/contracts/staking/StakeManagerLib.sol +224 -0
  455. package/contracts/staking/Staking.sol +498 -0
  456. package/contracts/staking/StakingLifecycle.sol +23 -0
  457. package/contracts/staking/StakingManager.sol +52 -0
  458. package/contracts/staking/StakingReader.sol +183 -0
  459. package/contracts/staking/StakingService.sol +407 -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 +26 -3
  466. package/contracts/{types → type}/ClaimId.sol +31 -3
  467. package/contracts/{types → type}/Fee.sol +24 -22
  468. package/contracts/{types → type}/NftId.sol +15 -16
  469. package/contracts/{types → type}/NftIdSet.sol +2 -2
  470. package/contracts/type/ObjectType.sol +275 -0
  471. package/contracts/type/PayoutId.sol +82 -0
  472. package/contracts/{types → type}/Referral.sol +2 -1
  473. package/contracts/type/RequestId.sol +75 -0
  474. package/contracts/{types → type}/RiskId.sol +16 -2
  475. package/contracts/type/RoleId.sol +174 -0
  476. package/contracts/type/Seconds.sol +101 -0
  477. package/contracts/type/Selector.sol +102 -0
  478. package/contracts/{types → type}/StateId.sol +34 -4
  479. package/contracts/type/String.sol +53 -0
  480. package/contracts/{types → type}/Timestamp.sol +21 -2
  481. package/contracts/{types → type}/UFixed.sol +38 -9
  482. package/contracts/{types → type}/Version.sol +4 -2
  483. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  484. package/contracts/{shared → upgradeability}/ProxyManager.sol +92 -30
  485. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  486. package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
  487. package/package.json +8 -5
  488. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  489. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  490. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  491. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  492. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  493. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  494. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  495. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  496. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  497. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  498. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  499. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  500. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  501. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  502. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1311
  503. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  504. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  505. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  506. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  507. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  508. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  509. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  510. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  511. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  512. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  513. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  514. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  515. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  516. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1058
  517. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  518. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -665
  519. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  520. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1258
  521. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  522. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -717
  523. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  524. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -844
  525. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  526. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -637
  527. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  528. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1822
  529. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  530. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  531. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  532. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  533. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  534. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  535. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  536. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  537. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  538. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  539. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1111
  540. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  541. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -689
  542. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  543. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1264
  544. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  545. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -657
  546. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  547. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -867
  548. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -649
  550. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  551. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  552. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  553. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -547
  554. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  555. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  556. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  557. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  558. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  559. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  560. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  561. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  562. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  563. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  564. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  565. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  566. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  567. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  568. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  569. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  570. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  571. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -611
  572. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  573. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  574. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  575. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  576. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  577. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  578. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  579. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  580. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  581. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  582. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  583. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  584. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  585. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  586. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  587. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  588. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  589. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  590. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  591. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  592. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  593. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  594. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  595. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  596. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  597. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  598. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  599. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  600. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  601. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  602. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  603. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  604. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  605. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  606. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  607. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  608. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  609. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  610. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  611. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  612. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  613. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  614. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  615. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  616. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  617. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  618. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  619. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  620. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  621. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  622. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  623. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  624. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  625. package/contracts/components/Component.sol +0 -253
  626. package/contracts/components/IComponent.sol +0 -76
  627. package/contracts/components/IDistributionComponent.sol +0 -71
  628. package/contracts/components/IPoolComponent.sol +0 -113
  629. package/contracts/components/IProductComponent.sol +0 -40
  630. package/contracts/components/Pool.sol +0 -303
  631. package/contracts/components/Product.sol +0 -293
  632. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  633. package/contracts/instance/Cloneable.sol +0 -51
  634. package/contracts/instance/InstanceAccessManager.sol +0 -522
  635. package/contracts/instance/base/ComponentService.sol +0 -136
  636. package/contracts/instance/base/KeyValueStore.sol +0 -180
  637. package/contracts/instance/base/Lifecycle.sol +0 -109
  638. package/contracts/instance/module/ISetup.sol +0 -33
  639. package/contracts/instance/module/ITreasury.sol +0 -23
  640. package/contracts/instance/service/ApplicationService.sol +0 -350
  641. package/contracts/instance/service/BundleService.sol +0 -431
  642. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  643. package/contracts/instance/service/ClaimService.sol +0 -151
  644. package/contracts/instance/service/DistributionService.sol +0 -435
  645. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  646. package/contracts/instance/service/IBundleService.sol +0 -93
  647. package/contracts/instance/service/IClaimService.sol +0 -61
  648. package/contracts/instance/service/IPolicyService.sol +0 -72
  649. package/contracts/instance/service/IPoolService.sol +0 -99
  650. package/contracts/instance/service/IProductService.sol +0 -40
  651. package/contracts/instance/service/PolicyService.sol +0 -360
  652. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  653. package/contracts/instance/service/PoolService.sol +0 -343
  654. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  655. package/contracts/instance/service/ProductService.sol +0 -210
  656. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  657. package/contracts/registry/RegistryAccessManager.sol +0 -216
  658. package/contracts/registry/ReleaseManager.sol +0 -322
  659. package/contracts/shared/ContractDeployerLib.sol +0 -72
  660. package/contracts/test/TestFee.sol +0 -25
  661. package/contracts/test/TestRegisterable.sol +0 -18
  662. package/contracts/test/TestRoleId.sol +0 -14
  663. package/contracts/test/TestService.sol +0 -25
  664. package/contracts/test/TestToken.sol +0 -26
  665. package/contracts/test/TestVersion.sol +0 -44
  666. package/contracts/test/TestVersionable.sol +0 -17
  667. package/contracts/types/Amount.sol +0 -60
  668. package/contracts/types/ChainId.sol +0 -38
  669. package/contracts/types/NumberId.sol +0 -52
  670. package/contracts/types/ObjectType.sol +0 -157
  671. package/contracts/types/PayoutId.sol +0 -54
  672. package/contracts/types/RoleId.sol +0 -97
  673. package/contracts/types/Seconds.sol +0 -54
  674. /package/contracts/{types → type}/DistributorType.sol +0 -0
  675. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -3,6 +3,97 @@
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
+ },
16
+ {
17
+ "inputs": [
18
+ {
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"
60
+ },
61
+ {
62
+ "internalType": "uint256",
63
+ "name": "idx",
64
+ "type": "uint256"
65
+ }
66
+ ],
67
+ "name": "getActiveBundleNftId",
68
+ "outputs": [
69
+ {
70
+ "internalType": "NftId",
71
+ "name": "bundleNftId",
72
+ "type": "uint96"
73
+ }
74
+ ],
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"
96
+ },
6
97
  {
7
98
  "inputs": [
8
99
  {
@@ -43,23 +134,8 @@
43
134
  "type": "bytes"
44
135
  },
45
136
  {
46
- "internalType": "Amount",
47
- "name": "capitalAmount",
48
- "type": "uint96"
49
- },
50
- {
51
- "internalType": "Amount",
52
- "name": "lockedAmount",
53
- "type": "uint96"
54
- },
55
- {
56
- "internalType": "Amount",
57
- "name": "feeAmount",
58
- "type": "uint96"
59
- },
60
- {
61
- "internalType": "Seconds",
62
- "name": "lifetime",
137
+ "internalType": "Timestamp",
138
+ "name": "activatedAt",
63
139
  "type": "uint40"
64
140
  },
65
141
  {
@@ -85,51 +161,94 @@
85
161
  "inputs": [
86
162
  {
87
163
  "internalType": "NftId",
88
- "name": "poolNftId",
164
+ "name": "bundleNftId",
89
165
  "type": "uint96"
90
166
  }
91
167
  ],
92
- "name": "getComponentInfo",
168
+ "name": "getBundleState",
169
+ "outputs": [
170
+ {
171
+ "internalType": "StateId",
172
+ "name": "state",
173
+ "type": "uint8"
174
+ }
175
+ ],
176
+ "stateMutability": "view",
177
+ "type": "function"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "internalType": "uint256",
183
+ "name": "idx",
184
+ "type": "uint256"
185
+ }
186
+ ],
187
+ "name": "getClaimId",
188
+ "outputs": [
189
+ {
190
+ "internalType": "ClaimId",
191
+ "name": "claimId",
192
+ "type": "uint16"
193
+ }
194
+ ],
195
+ "stateMutability": "view",
196
+ "type": "function"
197
+ },
198
+ {
199
+ "inputs": [
200
+ {
201
+ "internalType": "NftId",
202
+ "name": "policyNftId",
203
+ "type": "uint96"
204
+ },
205
+ {
206
+ "internalType": "ClaimId",
207
+ "name": "claimId",
208
+ "type": "uint16"
209
+ }
210
+ ],
211
+ "name": "getClaimInfo",
93
212
  "outputs": [
94
213
  {
95
214
  "components": [
96
215
  {
97
- "internalType": "string",
98
- "name": "name",
99
- "type": "string"
100
- },
101
- {
102
- "internalType": "contract IERC20Metadata",
103
- "name": "token",
104
- "type": "address"
216
+ "internalType": "Amount",
217
+ "name": "claimAmount",
218
+ "type": "uint96"
105
219
  },
106
220
  {
107
- "internalType": "contract TokenHandler",
108
- "name": "tokenHandler",
109
- "type": "address"
221
+ "internalType": "Amount",
222
+ "name": "paidAmount",
223
+ "type": "uint96"
110
224
  },
111
225
  {
112
- "internalType": "address",
113
- "name": "wallet",
114
- "type": "address"
226
+ "internalType": "uint24",
227
+ "name": "payoutsCount",
228
+ "type": "uint24"
115
229
  },
116
230
  {
117
- "internalType": "Amount",
118
- "name": "balanceAmount",
119
- "type": "uint96"
231
+ "internalType": "uint24",
232
+ "name": "openPayoutsCount",
233
+ "type": "uint24"
120
234
  },
121
235
  {
122
- "internalType": "Amount",
123
- "name": "feeAmount",
124
- "type": "uint96"
236
+ "internalType": "bytes",
237
+ "name": "submissionData",
238
+ "type": "bytes"
125
239
  },
126
240
  {
127
241
  "internalType": "bytes",
128
- "name": "data",
242
+ "name": "processData",
129
243
  "type": "bytes"
244
+ },
245
+ {
246
+ "internalType": "Timestamp",
247
+ "name": "closedAt",
248
+ "type": "uint40"
130
249
  }
131
250
  ],
132
- "internalType": "struct IComponents.ComponentInfo",
251
+ "internalType": "struct IPolicy.ClaimInfo",
133
252
  "name": "info",
134
253
  "type": "tuple"
135
254
  }
@@ -140,21 +259,21 @@
140
259
  {
141
260
  "inputs": [
142
261
  {
143
- "internalType": "ReferralId",
144
- "name": "referralId",
145
- "type": "bytes8"
262
+ "internalType": "NftId",
263
+ "name": "policyNftId",
264
+ "type": "uint96"
265
+ },
266
+ {
267
+ "internalType": "ClaimId",
268
+ "name": "claimId",
269
+ "type": "uint16"
146
270
  }
147
271
  ],
148
- "name": "getDiscountPercentage",
272
+ "name": "getClaimState",
149
273
  "outputs": [
150
274
  {
151
- "internalType": "UFixed",
152
- "name": "discountPercentage",
153
- "type": "uint256"
154
- },
155
- {
156
- "internalType": "ReferralStatus",
157
- "name": "status",
275
+ "internalType": "StateId",
276
+ "name": "state",
158
277
  "type": "uint8"
159
278
  }
160
279
  ],
@@ -165,57 +284,33 @@
165
284
  "inputs": [
166
285
  {
167
286
  "internalType": "NftId",
168
- "name": "distributionNftId",
287
+ "name": "componentNftId",
169
288
  "type": "uint96"
170
289
  }
171
290
  ],
172
- "name": "getDistributionSetupInfo",
291
+ "name": "getComponentInfo",
173
292
  "outputs": [
174
293
  {
175
294
  "components": [
295
+ {
296
+ "internalType": "string",
297
+ "name": "name",
298
+ "type": "string"
299
+ },
176
300
  {
177
301
  "internalType": "NftId",
178
302
  "name": "productNftId",
179
303
  "type": "uint96"
180
304
  },
181
305
  {
182
- "internalType": "contract TokenHandler",
183
- "name": "tokenHandler",
306
+ "internalType": "contract IERC20Metadata",
307
+ "name": "token",
184
308
  "type": "address"
185
309
  },
186
310
  {
187
- "components": [
188
- {
189
- "internalType": "UFixed",
190
- "name": "fractionalFee",
191
- "type": "uint256"
192
- },
193
- {
194
- "internalType": "uint256",
195
- "name": "fixedFee",
196
- "type": "uint256"
197
- }
198
- ],
199
- "internalType": "struct Fee",
200
- "name": "minDistributionOwnerFee",
201
- "type": "tuple"
202
- },
203
- {
204
- "components": [
205
- {
206
- "internalType": "UFixed",
207
- "name": "fractionalFee",
208
- "type": "uint256"
209
- },
210
- {
211
- "internalType": "uint256",
212
- "name": "fixedFee",
213
- "type": "uint256"
214
- }
215
- ],
216
- "internalType": "struct Fee",
217
- "name": "distributionFee",
218
- "type": "tuple"
311
+ "internalType": "contract TokenHandler",
312
+ "name": "tokenHandler",
313
+ "type": "address"
219
314
  },
220
315
  {
221
316
  "internalType": "address",
@@ -223,12 +318,12 @@
223
318
  "type": "address"
224
319
  },
225
320
  {
226
- "internalType": "uint256",
227
- "name": "sumDistributionOwnerFees",
228
- "type": "uint256"
321
+ "internalType": "bytes",
322
+ "name": "data",
323
+ "type": "bytes"
229
324
  }
230
325
  ],
231
- "internalType": "struct ISetup.DistributionSetupInfo",
326
+ "internalType": "struct IComponents.ComponentInfo",
232
327
  "name": "info",
233
328
  "type": "tuple"
234
329
  }
@@ -236,6 +331,30 @@
236
331
  "stateMutability": "view",
237
332
  "type": "function"
238
333
  },
334
+ {
335
+ "inputs": [
336
+ {
337
+ "internalType": "ReferralId",
338
+ "name": "referralId",
339
+ "type": "bytes8"
340
+ }
341
+ ],
342
+ "name": "getDiscountPercentage",
343
+ "outputs": [
344
+ {
345
+ "internalType": "UFixed",
346
+ "name": "discountPercentage",
347
+ "type": "uint256"
348
+ },
349
+ {
350
+ "internalType": "ReferralStatus",
351
+ "name": "status",
352
+ "type": "uint8"
353
+ }
354
+ ],
355
+ "stateMutability": "view",
356
+ "type": "function"
357
+ },
239
358
  {
240
359
  "inputs": [
241
360
  {
@@ -264,14 +383,9 @@
264
383
  "type": "bytes"
265
384
  },
266
385
  {
267
- "internalType": "uint256",
268
- "name": "sumCommisions",
269
- "type": "uint256"
270
- },
271
- {
272
- "internalType": "uint256",
386
+ "internalType": "uint32",
273
387
  "name": "numPoliciesSold",
274
- "type": "uint256"
388
+ "type": "uint32"
275
389
  }
276
390
  ],
277
391
  "internalType": "struct IDistribution.DistributorInfo",
@@ -348,6 +462,25 @@
348
462
  "stateMutability": "view",
349
463
  "type": "function"
350
464
  },
465
+ {
466
+ "inputs": [
467
+ {
468
+ "internalType": "NftId",
469
+ "name": "targetNftId",
470
+ "type": "uint96"
471
+ }
472
+ ],
473
+ "name": "getFeeAmount",
474
+ "outputs": [
475
+ {
476
+ "internalType": "Amount",
477
+ "name": "",
478
+ "type": "uint96"
479
+ }
480
+ ],
481
+ "stateMutability": "view",
482
+ "type": "function"
483
+ },
351
484
  {
352
485
  "inputs": [],
353
486
  "name": "getInstance",
@@ -374,6 +507,25 @@
374
507
  "stateMutability": "view",
375
508
  "type": "function"
376
509
  },
510
+ {
511
+ "inputs": [
512
+ {
513
+ "internalType": "NftId",
514
+ "name": "targetNftId",
515
+ "type": "uint96"
516
+ }
517
+ ],
518
+ "name": "getLockedAmount",
519
+ "outputs": [
520
+ {
521
+ "internalType": "Amount",
522
+ "name": "",
523
+ "type": "uint96"
524
+ }
525
+ ],
526
+ "stateMutability": "view",
527
+ "type": "function"
528
+ },
377
529
  {
378
530
  "inputs": [
379
531
  {
@@ -396,11 +548,6 @@
396
548
  "name": "state",
397
549
  "type": "uint8"
398
550
  },
399
- {
400
- "internalType": "address",
401
- "name": "updatedBy",
402
- "type": "address"
403
- },
404
551
  {
405
552
  "internalType": "Blocknumber",
406
553
  "name": "updatedIn",
@@ -420,6 +567,105 @@
420
567
  "stateMutability": "view",
421
568
  "type": "function"
422
569
  },
570
+ {
571
+ "inputs": [
572
+ {
573
+ "internalType": "ClaimId",
574
+ "name": "claimId",
575
+ "type": "uint16"
576
+ },
577
+ {
578
+ "internalType": "uint24",
579
+ "name": "idx",
580
+ "type": "uint24"
581
+ }
582
+ ],
583
+ "name": "getPayoutId",
584
+ "outputs": [
585
+ {
586
+ "internalType": "PayoutId",
587
+ "name": "payoutId",
588
+ "type": "uint40"
589
+ }
590
+ ],
591
+ "stateMutability": "view",
592
+ "type": "function"
593
+ },
594
+ {
595
+ "inputs": [
596
+ {
597
+ "internalType": "NftId",
598
+ "name": "policyNftId",
599
+ "type": "uint96"
600
+ },
601
+ {
602
+ "internalType": "PayoutId",
603
+ "name": "payoutId",
604
+ "type": "uint40"
605
+ }
606
+ ],
607
+ "name": "getPayoutInfo",
608
+ "outputs": [
609
+ {
610
+ "components": [
611
+ {
612
+ "internalType": "ClaimId",
613
+ "name": "claimId",
614
+ "type": "uint16"
615
+ },
616
+ {
617
+ "internalType": "Amount",
618
+ "name": "amount",
619
+ "type": "uint96"
620
+ },
621
+ {
622
+ "internalType": "address",
623
+ "name": "beneficiary",
624
+ "type": "address"
625
+ },
626
+ {
627
+ "internalType": "bytes",
628
+ "name": "data",
629
+ "type": "bytes"
630
+ },
631
+ {
632
+ "internalType": "Timestamp",
633
+ "name": "paidAt",
634
+ "type": "uint40"
635
+ }
636
+ ],
637
+ "internalType": "struct IPolicy.PayoutInfo",
638
+ "name": "info",
639
+ "type": "tuple"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [
647
+ {
648
+ "internalType": "NftId",
649
+ "name": "policyNftId",
650
+ "type": "uint96"
651
+ },
652
+ {
653
+ "internalType": "PayoutId",
654
+ "name": "payoutId",
655
+ "type": "uint40"
656
+ }
657
+ ],
658
+ "name": "getPayoutState",
659
+ "outputs": [
660
+ {
661
+ "internalType": "StateId",
662
+ "name": "state",
663
+ "type": "uint8"
664
+ }
665
+ ],
666
+ "stateMutability": "view",
667
+ "type": "function"
668
+ },
423
669
  {
424
670
  "inputs": [
425
671
  {
@@ -453,19 +699,14 @@
453
699
  "type": "bytes8"
454
700
  },
455
701
  {
456
- "internalType": "uint256",
702
+ "internalType": "Amount",
457
703
  "name": "sumInsuredAmount",
458
- "type": "uint256"
704
+ "type": "uint96"
459
705
  },
460
706
  {
461
- "internalType": "uint256",
707
+ "internalType": "Amount",
462
708
  "name": "premiumAmount",
463
- "type": "uint256"
464
- },
465
- {
466
- "internalType": "uint256",
467
- "name": "premiumPaidAmount",
468
- "type": "uint256"
709
+ "type": "uint96"
469
710
  },
470
711
  {
471
712
  "internalType": "Seconds",
@@ -479,7 +720,7 @@
479
720
  },
480
721
  {
481
722
  "internalType": "bytes",
482
- "name": "policyData",
723
+ "name": "processData",
483
724
  "type": "bytes"
484
725
  },
485
726
  {
@@ -493,9 +734,14 @@
493
734
  "type": "uint16"
494
735
  },
495
736
  {
496
- "internalType": "uint256",
737
+ "internalType": "Amount",
738
+ "name": "claimAmount",
739
+ "type": "uint96"
740
+ },
741
+ {
742
+ "internalType": "Amount",
497
743
  "name": "payoutAmount",
498
- "type": "uint256"
744
+ "type": "uint96"
499
745
  },
500
746
  {
501
747
  "internalType": "Timestamp",
@@ -544,80 +790,56 @@
544
790
  "inputs": [
545
791
  {
546
792
  "internalType": "NftId",
547
- "name": "productNftId",
793
+ "name": "poolNftId",
548
794
  "type": "uint96"
549
795
  }
550
796
  ],
551
- "name": "getProductSetupInfo",
797
+ "name": "getPoolInfo",
552
798
  "outputs": [
553
799
  {
554
800
  "components": [
555
801
  {
556
- "internalType": "contract IERC20Metadata",
557
- "name": "token",
558
- "type": "address"
559
- },
560
- {
561
- "internalType": "contract TokenHandler",
562
- "name": "tokenHandler",
563
- "type": "address"
802
+ "internalType": "Amount",
803
+ "name": "maxBalanceAmount",
804
+ "type": "uint96"
564
805
  },
565
806
  {
566
- "internalType": "NftId",
567
- "name": "distributionNftId",
568
- "type": "uint96"
807
+ "internalType": "RoleId",
808
+ "name": "bundleOwnerRole",
809
+ "type": "uint64"
569
810
  },
570
811
  {
571
- "internalType": "NftId",
572
- "name": "poolNftId",
573
- "type": "uint96"
812
+ "internalType": "bool",
813
+ "name": "isInterceptingBundleTransfers",
814
+ "type": "bool"
574
815
  },
575
816
  {
576
- "components": [
577
- {
578
- "internalType": "UFixed",
579
- "name": "fractionalFee",
580
- "type": "uint256"
581
- },
582
- {
583
- "internalType": "uint256",
584
- "name": "fixedFee",
585
- "type": "uint256"
586
- }
587
- ],
588
- "internalType": "struct Fee",
589
- "name": "productFee",
590
- "type": "tuple"
817
+ "internalType": "bool",
818
+ "name": "isProcessingConfirmedClaims",
819
+ "type": "bool"
591
820
  },
592
821
  {
593
- "components": [
594
- {
595
- "internalType": "UFixed",
596
- "name": "fractionalFee",
597
- "type": "uint256"
598
- },
599
- {
600
- "internalType": "uint256",
601
- "name": "fixedFee",
602
- "type": "uint256"
603
- }
604
- ],
605
- "internalType": "struct Fee",
606
- "name": "processingFee",
607
- "type": "tuple"
822
+ "internalType": "bool",
823
+ "name": "isExternallyManaged",
824
+ "type": "bool"
608
825
  },
609
826
  {
610
827
  "internalType": "bool",
611
- "name": "isIntercepting",
828
+ "name": "isVerifyingApplications",
612
829
  "type": "bool"
613
830
  },
614
831
  {
615
- "internalType": "address",
616
- "name": "wallet",
617
- "type": "address"
832
+ "internalType": "UFixed",
833
+ "name": "collateralizationLevel",
834
+ "type": "uint256"
835
+ },
836
+ {
837
+ "internalType": "UFixed",
838
+ "name": "retentionLevel",
839
+ "type": "uint256"
618
840
  }
619
841
  ],
620
- "internalType": "struct ISetup.ProductSetupInfo",
842
+ "internalType": "struct IComponents.PoolInfo",
621
843
  "name": "info",
622
844
  "type": "tuple"
623
845
  }
@@ -628,83 +850,107 @@
628
850
  {
629
851
  "inputs": [
630
852
  {
631
- "internalType": "ReferralId",
632
- "name": "referralId",
633
- "type": "bytes8"
853
+ "internalType": "NftId",
854
+ "name": "policyNftId",
855
+ "type": "uint96"
634
856
  }
635
857
  ],
636
- "name": "getReferralInfo",
858
+ "name": "getPremiumInfo",
637
859
  "outputs": [
638
860
  {
639
861
  "components": [
640
862
  {
641
- "internalType": "NftId",
642
- "name": "distributorNftId",
863
+ "internalType": "Amount",
864
+ "name": "productFeeAmount",
643
865
  "type": "uint96"
644
866
  },
645
867
  {
646
- "internalType": "string",
647
- "name": "referralCode",
648
- "type": "string"
868
+ "internalType": "Amount",
869
+ "name": "distributionFeeAndCommissionAmount",
870
+ "type": "uint96"
649
871
  },
650
872
  {
651
- "internalType": "UFixed",
652
- "name": "discountPercentage",
653
- "type": "uint256"
873
+ "internalType": "Amount",
874
+ "name": "poolPremiumAndFeeAmount",
875
+ "type": "uint96"
654
876
  },
655
877
  {
656
- "internalType": "uint32",
657
- "name": "maxReferrals",
658
- "type": "uint32"
878
+ "internalType": "Amount",
879
+ "name": "netPremiumAmount",
880
+ "type": "uint96"
659
881
  },
660
882
  {
661
- "internalType": "uint32",
662
- "name": "usedReferrals",
663
- "type": "uint32"
883
+ "internalType": "Amount",
884
+ "name": "fullPremiumAmount",
885
+ "type": "uint96"
664
886
  },
665
887
  {
666
- "internalType": "Timestamp",
667
- "name": "expiryAt",
668
- "type": "uint40"
888
+ "internalType": "Amount",
889
+ "name": "premiumAmount",
890
+ "type": "uint96"
669
891
  },
670
892
  {
671
- "internalType": "bytes",
672
- "name": "data",
673
- "type": "bytes"
674
- }
675
- ],
676
- "internalType": "struct IDistribution.ReferralInfo",
677
- "name": "info",
678
- "type": "tuple"
679
- }
680
- ],
681
- "stateMutability": "view",
682
- "type": "function"
683
- },
684
- {
685
- "inputs": [
686
- {
687
- "internalType": "RiskId",
688
- "name": "riskId",
689
- "type": "bytes8"
690
- }
691
- ],
692
- "name": "getRiskInfo",
693
- "outputs": [
694
- {
695
- "components": [
696
- {
697
- "internalType": "NftId",
698
- "name": "productNftId",
893
+ "internalType": "Amount",
894
+ "name": "productFeeFixAmount",
699
895
  "type": "uint96"
700
896
  },
701
897
  {
702
- "internalType": "bytes",
703
- "name": "data",
704
- "type": "bytes"
898
+ "internalType": "Amount",
899
+ "name": "poolFeeFixAmount",
900
+ "type": "uint96"
901
+ },
902
+ {
903
+ "internalType": "Amount",
904
+ "name": "bundleFeeFixAmount",
905
+ "type": "uint96"
906
+ },
907
+ {
908
+ "internalType": "Amount",
909
+ "name": "distributionFeeFixAmount",
910
+ "type": "uint96"
911
+ },
912
+ {
913
+ "internalType": "Amount",
914
+ "name": "productFeeVarAmount",
915
+ "type": "uint96"
916
+ },
917
+ {
918
+ "internalType": "Amount",
919
+ "name": "poolFeeVarAmount",
920
+ "type": "uint96"
921
+ },
922
+ {
923
+ "internalType": "Amount",
924
+ "name": "bundleFeeVarAmount",
925
+ "type": "uint96"
926
+ },
927
+ {
928
+ "internalType": "Amount",
929
+ "name": "distributionFeeVarAmount",
930
+ "type": "uint96"
931
+ },
932
+ {
933
+ "internalType": "Amount",
934
+ "name": "distributionOwnerFeeFixAmount",
935
+ "type": "uint96"
936
+ },
937
+ {
938
+ "internalType": "Amount",
939
+ "name": "distributionOwnerFeeVarAmount",
940
+ "type": "uint96"
941
+ },
942
+ {
943
+ "internalType": "Amount",
944
+ "name": "commissionAmount",
945
+ "type": "uint96"
946
+ },
947
+ {
948
+ "internalType": "Amount",
949
+ "name": "discountAmount",
950
+ "type": "uint96"
705
951
  }
706
952
  ],
707
- "internalType": "struct IRisk.RiskInfo",
953
+ "internalType": "struct IPolicy.PremiumInfo",
708
954
  "name": "info",
709
955
  "type": "tuple"
710
956
  }
@@ -716,16 +962,16 @@
716
962
  "inputs": [
717
963
  {
718
964
  "internalType": "NftId",
719
- "name": "productNftId",
965
+ "name": "policyNftId",
720
966
  "type": "uint96"
721
967
  }
722
968
  ],
723
- "name": "getTokenHandler",
969
+ "name": "getPremiumInfoState",
724
970
  "outputs": [
725
971
  {
726
- "internalType": "address",
727
- "name": "tokenHandler",
728
- "type": "address"
972
+ "internalType": "StateId",
973
+ "name": "state",
974
+ "type": "uint8"
729
975
  }
730
976
  ],
731
977
  "stateMutability": "view",
@@ -739,20 +985,10 @@
739
985
  "type": "uint96"
740
986
  }
741
987
  ],
742
- "name": "getTreasuryInfo",
988
+ "name": "getProductInfo",
743
989
  "outputs": [
744
990
  {
745
991
  "components": [
746
- {
747
- "internalType": "contract IERC20Metadata",
748
- "name": "token",
749
- "type": "address"
750
- },
751
- {
752
- "internalType": "contract TokenHandler",
753
- "name": "tokenHandler",
754
- "type": "address"
755
- },
756
992
  {
757
993
  "internalType": "NftId",
758
994
  "name": "distributionNftId",
@@ -763,6 +999,11 @@
763
999
  "name": "poolNftId",
764
1000
  "type": "uint96"
765
1001
  },
1002
+ {
1003
+ "internalType": "bool",
1004
+ "name": "isProcessingFundedClaims",
1005
+ "type": "bool"
1006
+ },
766
1007
  {
767
1008
  "components": [
768
1009
  {
@@ -777,7 +1018,7 @@
777
1018
  }
778
1019
  ],
779
1020
  "internalType": "struct Fee",
780
- "name": "distributionFee",
1021
+ "name": "productFee",
781
1022
  "type": "tuple"
782
1023
  },
783
1024
  {
@@ -794,7 +1035,7 @@
794
1035
  }
795
1036
  ],
796
1037
  "internalType": "struct Fee",
797
- "name": "productFee",
1038
+ "name": "processingFee",
798
1039
  "type": "tuple"
799
1040
  },
800
1041
  {
@@ -811,7 +1052,24 @@
811
1052
  }
812
1053
  ],
813
1054
  "internalType": "struct Fee",
814
- "name": "processingFee",
1055
+ "name": "distributionFee",
1056
+ "type": "tuple"
1057
+ },
1058
+ {
1059
+ "components": [
1060
+ {
1061
+ "internalType": "UFixed",
1062
+ "name": "fractionalFee",
1063
+ "type": "uint256"
1064
+ },
1065
+ {
1066
+ "internalType": "uint256",
1067
+ "name": "fixedFee",
1068
+ "type": "uint256"
1069
+ }
1070
+ ],
1071
+ "internalType": "struct Fee",
1072
+ "name": "minDistributionOwnerFee",
815
1073
  "type": "tuple"
816
1074
  },
817
1075
  {
@@ -866,7 +1124,7 @@
866
1124
  "type": "tuple"
867
1125
  }
868
1126
  ],
869
- "internalType": "struct ITreasury.TreasuryInfo",
1127
+ "internalType": "struct IComponents.ProductInfo",
870
1128
  "name": "info",
871
1129
  "type": "tuple"
872
1130
  }
@@ -874,19 +1132,360 @@
874
1132
  "stateMutability": "view",
875
1133
  "type": "function"
876
1134
  },
1135
+ {
1136
+ "inputs": [
1137
+ {
1138
+ "internalType": "ReferralId",
1139
+ "name": "referralId",
1140
+ "type": "bytes8"
1141
+ }
1142
+ ],
1143
+ "name": "getReferralInfo",
1144
+ "outputs": [
1145
+ {
1146
+ "components": [
1147
+ {
1148
+ "internalType": "NftId",
1149
+ "name": "distributorNftId",
1150
+ "type": "uint96"
1151
+ },
1152
+ {
1153
+ "internalType": "string",
1154
+ "name": "referralCode",
1155
+ "type": "string"
1156
+ },
1157
+ {
1158
+ "internalType": "UFixed",
1159
+ "name": "discountPercentage",
1160
+ "type": "uint256"
1161
+ },
1162
+ {
1163
+ "internalType": "uint32",
1164
+ "name": "maxReferrals",
1165
+ "type": "uint32"
1166
+ },
1167
+ {
1168
+ "internalType": "uint32",
1169
+ "name": "usedReferrals",
1170
+ "type": "uint32"
1171
+ },
1172
+ {
1173
+ "internalType": "Timestamp",
1174
+ "name": "expiryAt",
1175
+ "type": "uint40"
1176
+ },
1177
+ {
1178
+ "internalType": "bytes",
1179
+ "name": "data",
1180
+ "type": "bytes"
1181
+ }
1182
+ ],
1183
+ "internalType": "struct IDistribution.ReferralInfo",
1184
+ "name": "info",
1185
+ "type": "tuple"
1186
+ }
1187
+ ],
1188
+ "stateMutability": "view",
1189
+ "type": "function"
1190
+ },
1191
+ {
1192
+ "inputs": [
1193
+ {
1194
+ "internalType": "NftId",
1195
+ "name": "policyNftId",
1196
+ "type": "uint96"
1197
+ }
1198
+ ],
1199
+ "name": "getRemainingClaimableAmount",
1200
+ "outputs": [
1201
+ {
1202
+ "internalType": "Amount",
1203
+ "name": "remainingClaimableAmount",
1204
+ "type": "uint96"
1205
+ }
1206
+ ],
1207
+ "stateMutability": "view",
1208
+ "type": "function"
1209
+ },
1210
+ {
1211
+ "inputs": [
1212
+ {
1213
+ "internalType": "RequestId",
1214
+ "name": "requestId",
1215
+ "type": "uint64"
1216
+ }
1217
+ ],
1218
+ "name": "getRequestInfo",
1219
+ "outputs": [
1220
+ {
1221
+ "components": [
1222
+ {
1223
+ "internalType": "NftId",
1224
+ "name": "requesterNftId",
1225
+ "type": "uint96"
1226
+ },
1227
+ {
1228
+ "internalType": "string",
1229
+ "name": "callbackMethodName",
1230
+ "type": "string"
1231
+ },
1232
+ {
1233
+ "internalType": "NftId",
1234
+ "name": "oracleNftId",
1235
+ "type": "uint96"
1236
+ },
1237
+ {
1238
+ "internalType": "bytes",
1239
+ "name": "requestData",
1240
+ "type": "bytes"
1241
+ },
1242
+ {
1243
+ "internalType": "bytes",
1244
+ "name": "responseData",
1245
+ "type": "bytes"
1246
+ },
1247
+ {
1248
+ "internalType": "Timestamp",
1249
+ "name": "respondedAt",
1250
+ "type": "uint40"
1251
+ },
1252
+ {
1253
+ "internalType": "Timestamp",
1254
+ "name": "expiredAt",
1255
+ "type": "uint40"
1256
+ },
1257
+ {
1258
+ "internalType": "bool",
1259
+ "name": "isCancelled",
1260
+ "type": "bool"
1261
+ }
1262
+ ],
1263
+ "internalType": "struct IOracle.RequestInfo",
1264
+ "name": "requestInfo",
1265
+ "type": "tuple"
1266
+ }
1267
+ ],
1268
+ "stateMutability": "view",
1269
+ "type": "function"
1270
+ },
1271
+ {
1272
+ "inputs": [
1273
+ {
1274
+ "internalType": "RiskId",
1275
+ "name": "riskId",
1276
+ "type": "bytes8"
1277
+ }
1278
+ ],
1279
+ "name": "getRiskInfo",
1280
+ "outputs": [
1281
+ {
1282
+ "components": [
1283
+ {
1284
+ "internalType": "NftId",
1285
+ "name": "productNftId",
1286
+ "type": "uint96"
1287
+ },
1288
+ {
1289
+ "internalType": "bytes",
1290
+ "name": "data",
1291
+ "type": "bytes"
1292
+ }
1293
+ ],
1294
+ "internalType": "struct IRisk.RiskInfo",
1295
+ "name": "info",
1296
+ "type": "tuple"
1297
+ }
1298
+ ],
1299
+ "stateMutability": "view",
1300
+ "type": "function"
1301
+ },
1302
+ {
1303
+ "inputs": [
1304
+ {
1305
+ "internalType": "Key32",
1306
+ "name": "key",
1307
+ "type": "bytes32"
1308
+ }
1309
+ ],
1310
+ "name": "getState",
1311
+ "outputs": [
1312
+ {
1313
+ "internalType": "StateId",
1314
+ "name": "state",
1315
+ "type": "uint8"
1316
+ }
1317
+ ],
1318
+ "stateMutability": "view",
1319
+ "type": "function"
1320
+ },
1321
+ {
1322
+ "inputs": [
1323
+ {
1324
+ "internalType": "NftId",
1325
+ "name": "componentNftId",
1326
+ "type": "uint96"
1327
+ }
1328
+ ],
1329
+ "name": "getTokenHandler",
1330
+ "outputs": [
1331
+ {
1332
+ "internalType": "address",
1333
+ "name": "tokenHandler",
1334
+ "type": "address"
1335
+ }
1336
+ ],
1337
+ "stateMutability": "view",
1338
+ "type": "function"
1339
+ },
1340
+ {
1341
+ "inputs": [
1342
+ {
1343
+ "internalType": "NftId",
1344
+ "name": "componentNftId",
1345
+ "type": "uint96"
1346
+ }
1347
+ ],
1348
+ "name": "getWallet",
1349
+ "outputs": [
1350
+ {
1351
+ "internalType": "address",
1352
+ "name": "tokenHandler",
1353
+ "type": "address"
1354
+ }
1355
+ ],
1356
+ "stateMutability": "view",
1357
+ "type": "function"
1358
+ },
877
1359
  {
878
1360
  "inputs": [
879
1361
  {
880
1362
  "internalType": "address",
881
- "name": "instance",
1363
+ "name": "account",
1364
+ "type": "address"
1365
+ },
1366
+ {
1367
+ "internalType": "RoleId",
1368
+ "name": "roleId",
1369
+ "type": "uint64"
1370
+ }
1371
+ ],
1372
+ "name": "hasAdminRole",
1373
+ "outputs": [
1374
+ {
1375
+ "internalType": "bool",
1376
+ "name": "isMember",
1377
+ "type": "bool"
1378
+ }
1379
+ ],
1380
+ "stateMutability": "view",
1381
+ "type": "function"
1382
+ },
1383
+ {
1384
+ "inputs": [
1385
+ {
1386
+ "internalType": "address",
1387
+ "name": "account",
882
1388
  "type": "address"
1389
+ },
1390
+ {
1391
+ "internalType": "RoleId",
1392
+ "name": "roleId",
1393
+ "type": "uint64"
1394
+ }
1395
+ ],
1396
+ "name": "hasRole",
1397
+ "outputs": [
1398
+ {
1399
+ "internalType": "bool",
1400
+ "name": "isMember",
1401
+ "type": "bool"
883
1402
  }
884
1403
  ],
1404
+ "stateMutability": "view",
1405
+ "type": "function"
1406
+ },
1407
+ {
1408
+ "inputs": [],
885
1409
  "name": "initialize",
886
1410
  "outputs": [],
887
1411
  "stateMutability": "nonpayable",
888
1412
  "type": "function"
889
1413
  },
1414
+ {
1415
+ "inputs": [
1416
+ {
1417
+ "internalType": "address",
1418
+ "name": "instanceAddress",
1419
+ "type": "address"
1420
+ }
1421
+ ],
1422
+ "name": "initializeWithInstance",
1423
+ "outputs": [],
1424
+ "stateMutability": "nonpayable",
1425
+ "type": "function"
1426
+ },
1427
+ {
1428
+ "inputs": [
1429
+ {
1430
+ "internalType": "address",
1431
+ "name": "target",
1432
+ "type": "address"
1433
+ }
1434
+ ],
1435
+ "name": "isTargetLocked",
1436
+ "outputs": [
1437
+ {
1438
+ "internalType": "bool",
1439
+ "name": "",
1440
+ "type": "bool"
1441
+ }
1442
+ ],
1443
+ "stateMutability": "view",
1444
+ "type": "function"
1445
+ },
1446
+ {
1447
+ "inputs": [
1448
+ {
1449
+ "internalType": "NftId",
1450
+ "name": "policyNftId",
1451
+ "type": "uint96"
1452
+ },
1453
+ {
1454
+ "internalType": "ClaimId",
1455
+ "name": "claimId",
1456
+ "type": "uint16"
1457
+ }
1458
+ ],
1459
+ "name": "payouts",
1460
+ "outputs": [
1461
+ {
1462
+ "internalType": "uint24",
1463
+ "name": "payouts",
1464
+ "type": "uint24"
1465
+ }
1466
+ ],
1467
+ "stateMutability": "view",
1468
+ "type": "function"
1469
+ },
1470
+ {
1471
+ "inputs": [
1472
+ {
1473
+ "internalType": "NftId",
1474
+ "name": "policyNftId",
1475
+ "type": "uint96"
1476
+ }
1477
+ ],
1478
+ "name": "policyIsActive",
1479
+ "outputs": [
1480
+ {
1481
+ "internalType": "bool",
1482
+ "name": "isCloseable",
1483
+ "type": "bool"
1484
+ }
1485
+ ],
1486
+ "stateMutability": "view",
1487
+ "type": "function"
1488
+ },
890
1489
  {
891
1490
  "inputs": [
892
1491
  {
@@ -906,6 +1505,25 @@
906
1505
  "stateMutability": "pure",
907
1506
  "type": "function"
908
1507
  },
1508
+ {
1509
+ "inputs": [
1510
+ {
1511
+ "internalType": "NftId",
1512
+ "name": "componentNftId",
1513
+ "type": "uint96"
1514
+ }
1515
+ ],
1516
+ "name": "toComponentKey",
1517
+ "outputs": [
1518
+ {
1519
+ "internalType": "Key32",
1520
+ "name": "",
1521
+ "type": "bytes32"
1522
+ }
1523
+ ],
1524
+ "stateMutability": "pure",
1525
+ "type": "function"
1526
+ },
909
1527
  {
910
1528
  "inputs": [
911
1529
  {
@@ -1005,11 +1623,11 @@
1005
1623
  "inputs": [
1006
1624
  {
1007
1625
  "internalType": "NftId",
1008
- "name": "productNftId",
1626
+ "name": "policyNftId",
1009
1627
  "type": "uint96"
1010
1628
  }
1011
1629
  ],
1012
- "name": "toProductKey",
1630
+ "name": "toPremiumKey",
1013
1631
  "outputs": [
1014
1632
  {
1015
1633
  "internalType": "Key32",
@@ -1024,21 +1642,16 @@
1024
1642
  "inputs": [
1025
1643
  {
1026
1644
  "internalType": "NftId",
1027
- "name": "distributionNftId",
1645
+ "name": "productNftId",
1028
1646
  "type": "uint96"
1029
- },
1030
- {
1031
- "internalType": "string",
1032
- "name": "referralCode",
1033
- "type": "string"
1034
1647
  }
1035
1648
  ],
1036
- "name": "toReferralId",
1649
+ "name": "toProductKey",
1037
1650
  "outputs": [
1038
1651
  {
1039
- "internalType": "ReferralId",
1040
- "name": "referralId",
1041
- "type": "bytes8"
1652
+ "internalType": "Key32",
1653
+ "name": "",
1654
+ "type": "bytes32"
1042
1655
  }
1043
1656
  ],
1044
1657
  "stateMutability": "pure",
@@ -1048,16 +1661,21 @@
1048
1661
  "inputs": [
1049
1662
  {
1050
1663
  "internalType": "NftId",
1051
- "name": "productNftId",
1664
+ "name": "distributionNftId",
1052
1665
  "type": "uint96"
1666
+ },
1667
+ {
1668
+ "internalType": "string",
1669
+ "name": "referralCode",
1670
+ "type": "string"
1053
1671
  }
1054
1672
  ],
1055
- "name": "toTreasuryKey",
1673
+ "name": "toReferralId",
1056
1674
  "outputs": [
1057
1675
  {
1058
- "internalType": "Key32",
1059
- "name": "",
1060
- "type": "bytes32"
1676
+ "internalType": "ReferralId",
1677
+ "name": "referralId",
1678
+ "type": "bytes8"
1061
1679
  }
1062
1680
  ],
1063
1681
  "stateMutability": "pure",
@@ -1088,200 +1706,336 @@
1088
1706
  "type": "function"
1089
1707
  }
1090
1708
  ],
1091
- "bytecode": "0x608060405234801561001057600080fd5b50612d17806100206000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc3660046118db565b61056a565b6040519081526020015b60405180910390f35b6101e76101e236600461192a565b6105f0565b6040516101cb9190611997565b6101c1610202366004611a48565b610742565b61021a610215366004611a48565b6107e2565b6040516101cb9190611a65565b6101c1610235366004611a48565b6108be565b61024d610248366004611c28565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611cba565b610968565b61028c610287366004611a48565b6109a3565b6040516101cb9190611cd3565b6101c16102a7366004611a48565b610a49565b6101c16102ba366004611a48565b610a76565b6101c16102cd366004611a48565b610aa3565b6102e56102e036600461192a565b610ad0565b6040516101cb9190611db6565b610305610300366004611a48565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a48565b610c78565b6040516101cb9190611dec565b61034a610345366004611a48565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a48565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611cba565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c36600461192a565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a48565b6111ae565b6040516101cb9190611e9c565b6104bb6104b6366004611fff565b6112cc565b005b6104d06104cb36600461192a565b6113c8565b6040516101cb919061201c565b6001546001600160a01b03166103d9565b6101c16104fc366004611a48565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a48565b611568565b6040516101cb91906120cc565b61054a610545366004611a48565b61163d565b6040516101cb919061214d565b6101c1610565366004611a48565b611785565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e9919061224f565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb919061224f565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e91908101906122ad565b80519091501561073c57808060200190518101906105e9919061232c565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061224f565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a091908101906122ad565b80519091501561073c57808060200190518101906105e99190612425565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124cc565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124ee565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117b2565b6001546000906001600160a01b03166354f6127f6109c885611785565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b91908101906122ad565b80519091501561073c57808060200190518101906105e9919061253b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b78919061224f565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb91908101906122ad565b80519091501561073c57808060200190518101906105e99190612637565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906126c5565b610c80611823565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0091908101906122ad565b80519091501561073c57808060200190518101906105e991906126ed565b610d26611893565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da691908101906122ad565b80519091501561073c57808060200190518101906105e99190612795565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e4691908101906122ad565b80519091501561073c57600081806020019051810190610e669190612836565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612907565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612981565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611009919061224f565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061299c565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c919061224f565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b919061224f565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae91908101906122ad565b80519091501561073c57808060200190518101906105e991906129cb565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba919061224f565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d91908101906122ad565b80519091501561073c57808060200190518101906105e99190612b37565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f6115bc8561153b565b6040518263ffffffff1660e01b81526004016115da91815260200190565b600060405180830381865afa1580156115f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261161f91908101906122ad565b80519091501561073c57808060200190518101906105e99190612c2e565b6116e7604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61170485610742565b6040518263ffffffff1660e01b815260040161172291815260200190565b600060405180830381865afa15801561173f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261176791908101906122ad565b80519091501561073c57808060200190518101906105e99190612836565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b031681526020016117eb604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161187f604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161185d604051806040016040528060008152602001600081525090565b600080604083850312156118ee57600080fd5b8235915060208301358060000b811461190657600080fd5b809150509250929050565b6001600160c01b03198116811461192757600080fd5b50565b60006020828403121561193c57600080fd5b81356105e981611911565b60005b8381101561196257818101518382015260200161194a565b50506000910152565b60008151808452611983816020860160208601611947565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119c761010084018261196b565b90506040840151606084015263ffffffff606085015116608084015260808401516119fa60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611a2a828261196b565b95945050505050565b6001600160601b038116811461192757600080fd5b600060208284031215611a5a57600080fd5b81356105e981611a33565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611aa360c084018261196b565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611afb57611afb611ac3565b60405290565b60405160a081016001600160401b0381118282101715611afb57611afb611ac3565b604080519081016001600160401b0381118282101715611afb57611afb611ac3565b60405161012081016001600160401b0381118282101715611afb57611afb611ac3565b60405161010081016001600160401b0381118282101715611afb57611afb611ac3565b60405161014081016001600160401b0381118282101715611afb57611afb611ac3565b60405161020081016001600160401b0381118282101715611afb57611afb611ac3565b604051601f8201601f191681016001600160401b0381118282101715611bf957611bf9611ac3565b604052919050565b60006001600160401b03821115611c1a57611c1a611ac3565b50601f01601f191660200190565b60008060408385031215611c3b57600080fd5b8235611c4681611a33565b915060208301356001600160401b03811115611c6157600080fd5b8301601f81018513611c7257600080fd5b8035611c85611c8082611c01565b611bd1565b818152866020838501011115611c9a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611ccc57600080fd5b5035919050565b60208152611ced6020820183516001600160601b03169052565b60006020830151611d0b604084018280518252602090810151910152565b506040830151610140806080850152611d2861016085018361196b565b91506060850151611d4460a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611d898187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de4606084018261196b565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3b908401826001600160601b03169052565b506080830151611e58608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb66020820183516001600160601b03169052565b60006020830151611ed260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f378185018364ffffffffff169052565b808501519150506102006101208181860152611f5761022086018461196b565b9250808601519050610140601f198685030181870152611f77848361196b565b935080870151915050610160611f928187018361ffff169052565b8601519050610180611fa98682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd08187018364ffffffffff169052565b86015190506101e0611d9f8682018364ffffffffff169052565b6001600160a01b038116811461192757600080fd5b60006020828403121561201157600080fd5b81356105e981611fea565b602081526000825161012080602085015261203b61014085018361196b565b9150602085015160408501526040850151606085015260608501516080850152608085015161207260a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120a88187018315159052565b860151858403601f19018387015290506120c2838261196b565b9695505050505050565b602081526000825160e060208401526120e961010084018261196b565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161213360a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a0e565b81516001600160a01b031681526102008101602083015161217960208401826001600160a01b03169052565b50604083015161219460408401826001600160601b03169052565b5060608301516121af60608401826001600160601b03169052565b5060808301516121cc608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122028185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e95565b60006020828403121561226157600080fd5b5051919050565b600082601f83011261227957600080fd5b8151612287611c8082611c01565b81815284602083860101111561229c57600080fd5b611de4826020830160208701611947565b6000602082840312156122bf57600080fd5b81516001600160401b038111156122d557600080fd5b611de484828501612268565b80516122ec81611a33565b919050565b63ffffffff8116811461192757600080fd5b80516122ec816122f1565b64ffffffffff8116811461192757600080fd5b80516122ec8161230e565b60006020828403121561233e57600080fd5b81516001600160401b038082111561235557600080fd5b9083019060e0828603121561236957600080fd5b612371611ad9565b61237a836122e1565b815260208301518281111561238e57600080fd5b61239a87828601612268565b602083015250604083015160408201526123b660608401612303565b60608201526123c760808401612303565b60808201526123d860a08401612321565b60a082015260c0830151828111156123ef57600080fd5b6123fb87828601612268565b60c08301525095945050505050565b80516122ec81611911565b805180151581146122ec57600080fd5b60006020828403121561243757600080fd5b81516001600160401b038082111561244e57600080fd5b9083019060a0828603121561246257600080fd5b61246a611b01565b825161247581611911565b815261248360208401612415565b602082015260408301518281111561249a57600080fd5b6124a687828601612268565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de4604083018461196b565b60006020828403121561250057600080fd5b81516105e981611911565b60006040828403121561251d57600080fd5b612525611b23565b9050815181526020820151602082015292915050565b60006020828403121561254d57600080fd5b81516001600160401b038082111561256457600080fd5b90830190610140828603121561257957600080fd5b612581611b45565b61258a836122e1565b8152612599866020850161250b565b60208201526060830151828111156125b057600080fd5b6125bc87828601612268565b6040830152506125ce608084016122e1565b60608201526125df60a084016122e1565b60808201526125f060c084016122e1565b60a082015261260160e08401612321565b60c08201526101009150612616828401612321565b60e08201526126286101208401612321565b91810191909152949350505050565b60006020828403121561264957600080fd5b81516001600160401b038082111561266057600080fd5b908301906040828603121561267457600080fd5b61267c611b23565b825161268781611a33565b815260208301518281111561269b57600080fd5b6126a787828601612268565b60208301525095945050505050565b60ff8116811461192757600080fd5b6000602082840312156126d757600080fd5b81516105e9816126b6565b80516122ec81611fea565b6000610140828403121561270057600080fd5b612708611b68565b612711836126e2565b815261271f602084016126e2565b6020820152612730604084016122e1565b6040820152612741606084016122e1565b6060820152612753846080850161250b565b60808201526127658460c0850161250b565b60a08201526127776101008401612415565b60c082015261278961012084016126e2565b60e08201529392505050565b600061010082840312156127a857600080fd5b60405160c081018181106001600160401b03821117156127ca576127ca611ac3565b60405282516127d881611a33565b815260208301516127e881611fea565b60208201526127fa846040850161250b565b604082015261280c846080850161250b565b606082015260c083015161281f81611fea565b608082015260e0929092015160a083015250919050565b6000610200828403121561284957600080fd5b612851611b8b565b61285a836126e2565b8152612868602084016126e2565b6020820152612879604084016122e1565b604082015261288a606084016122e1565b606082015261289c846080850161250b565b60808201526128ae8460c0850161250b565b60a08201526101006128c28582860161250b565b60c08301526128d585610140860161250b565b60e08301526128e885610180860161250b565b908201526128fa846101c0850161250b565b6101208201529392505050565b600060a0828403121561291957600080fd5b612921611b01565b825161292c816126b6565b8152602083015161293c816126b6565b6020820152604083015161294f81611fea565b60408201526060830151612962816122f1565b60608201526080830151612975816122f1565b60808201529392505050565b60006020828403121561299357600080fd5b6105e982612415565b6000602082840312156129ae57600080fd5b81516105e98161230e565b805161ffff811681146122ec57600080fd5b6000602082840312156129dd57600080fd5b81516001600160401b03808211156129f457600080fd5b908301906102008286031215612a0957600080fd5b612a11611bae565b612a1a836122e1565b8152612a28602084016122e1565b6020820152612a396040840161240a565b6040820152612a4a6060840161240a565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a7960e08401612321565b60e08201526101008084015183811115612a9257600080fd5b612a9e88828701612268565b8284015250506101208084015183811115612ab857600080fd5b612ac488828701612268565b8284015250506101409150612ada8284016129b9565b828201526101609150612aee8284016129b9565b82820152610180915081830151828201526101a09150612b0f828401612321565b828201526101c09150612b23828401612321565b828201526101e09150612628828401612321565b600060208284031215612b4957600080fd5b81516001600160401b0380821115612b6057600080fd5b908301906101208286031215612b7557600080fd5b612b7d611b45565b825182811115612b8c57600080fd5b612b9887828601612268565b825250602083015160208201526040830151604082015260608301516060820152612bc560808401612303565b6080820152612bd660a08401612303565b60a0820152612be760c08401612415565b60c0820152612bf860e08401612415565b60e08201526101008084015183811115612c1157600080fd5b612c1d88828701612268565b918301919091525095945050505050565b600060208284031215612c4057600080fd5b81516001600160401b0380821115612c5757600080fd5b9083019060e08286031215612c6b57600080fd5b612c73611ad9565b825182811115612c8257600080fd5b612c8e87828601612268565b825250612c9d602084016126e2565b6020820152612cae604084016126e2565b6040820152612cbf606084016126e2565b6060820152612cd0608084016122e1565b60808201526123d860a084016122e156fea2646970667358221220a12f2fde590db608d409e8808ef79c786d1d22be9fdfb621fb48ddcf3a3a5c6f64736f6c63430008140033",
1092
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806390af7064116100f9578063d06458c611610097578063de7b5d1411610071578063de7b5d1414610501578063f0ea17c314610517578063f2b246c314610537578063f7f318d31461055757600080fd5b8063d06458c6146104bd578063d4cda0d8146104dd578063dd26287a146104ee57600080fd5b8063a5961b4c116100d3578063a5961b4c146103f1578063b82d7ef51461045e578063bd7d9d8514610488578063c4d66de8146104a857600080fd5b806390af7064146103175780639ad69c6714610337578063a310e2a3146103c657600080fd5b806344aa6836116101665780637bfd3217116101405780637bfd3217146102ac5780637e54602a146102bf578063887b1fa9146102d25780639096a1f3146102f257600080fd5b806344aa6836146102665780634793b4ab1461027957806364eb3a9b1461029957600080fd5b80631488c845146101ae5780631d3be477146101d457806325d03743146101f457806327b1d7921461020757806335898f5d146102275780633f093cd61461023a575b600080fd5b6101c16101bc3660046118db565b61056a565b6040519081526020015b60405180910390f35b6101e76101e236600461192a565b6105f0565b6040516101cb9190611997565b6101c1610202366004611a48565b610742565b61021a610215366004611a48565b6107e2565b6040516101cb9190611a65565b6101c1610235366004611a48565b6108be565b61024d610248366004611c28565b6108eb565b6040516001600160c01b031990911681526020016101cb565b6101c1610274366004611cba565b610968565b61028c610287366004611a48565b6109a3565b6040516101cb9190611cd3565b6101c16102a7366004611a48565b610a49565b6101c16102ba366004611a48565b610a76565b6101c16102cd366004611a48565b610aa3565b6102e56102e036600461192a565b610ad0565b6040516101cb9190611db6565b610305610300366004611a48565b610bf9565b60405160ff90911681526020016101cb565b61032a610325366004611a48565b610c78565b6040516101cb9190611dec565b61034a610345366004611a48565b610d1e565b6040516101cb919081516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b6103d96103d4366004611a48565b610dc4565b6040516001600160a01b0390911681526020016101cb565b6104046103ff366004611cba565b610e72565b6040516101cb9190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61047161046c36600461192a565b610f06565b6040805192835260ff9091166020830152016101cb565b61049b610496366004611a48565b6111ae565b6040516101cb9190611e9c565b6104bb6104b6366004611fff565b6112cc565b005b6104d06104cb36600461192a565b6113c8565b6040516101cb919061201c565b6001546001600160a01b03166103d9565b6101c16104fc366004611a48565b61153b565b60005461010090046001600160a01b03166103d9565b61052a610525366004611a48565b611568565b6040516101cb91906120cc565b61054a610545366004611a48565b61163d565b6040516101cb919061214d565b6101c1610565366004611a48565b611785565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af41580156105c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e9919061224f565b9392505050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af4158015610697573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106bb919061224f565b6040518263ffffffff1660e01b81526004016106d991815260200190565b600060405180830381865afa1580156106f6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261071e91908101906122ad565b80519091501561073c57808060200190518101906105e9919061232c565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af41580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc919061224f565b92915050565b6108206040518060a0016040528060006001600160c01b03191681526020016000151581526020016060815260200160008152602001600081525090565b6001546000906001600160a01b03166354f6127f61083d85610aa3565b6040518263ffffffff1660e01b815260040161085b91815260200190565b600060405180830381865afa158015610878573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526108a091908101906122ad565b80519091501561073c57808060200190518101906105e99190612425565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861076b565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061092790869086906004016124cc565b602060405180830381865af4158015610944573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e991906124ee565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa68369060240161079b565b6109ab6117b2565b6001546000906001600160a01b03166354f6127f6109c885611785565b6040518263ffffffff1660e01b81526004016109e691815260200190565b600060405180830381865afa158015610a03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2b91908101906122ad565b80519091501561073c57808060200190518101906105e9919061253b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e61076b565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61076b565b6040805180820190915260008152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b78919061224f565b6040518263ffffffff1660e01b8152600401610b9691815260200190565b600060405180830381865afa158015610bb3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bdb91908101906122ad565b80519091501561073c57808060200190518101906105e99190612637565b6000805461010090046001600160a01b03166309648a9d610c1984610a49565b6040518263ffffffff1660e01b8152600401610c3791815260200190565b602060405180830381865afa158015610c54573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc91906126c5565b610c80611823565b6001546000906001600160a01b03166354f6127f610c9d85610a76565b6040518263ffffffff1660e01b8152600401610cbb91815260200190565b600060405180830381865afa158015610cd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0091908101906122ad565b80519091501561073c57808060200190518101906105e991906126ed565b610d26611893565b6001546000906001600160a01b03166354f6127f610d43856108be565b6040518263ffffffff1660e01b8152600401610d6191815260200190565b600060405180830381865afa158015610d7e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610da691908101906122ad565b80519091501561073c57808060200190518101906105e99190612795565b60015460009081906001600160a01b03166354f6127f610de385610742565b6040518263ffffffff1660e01b8152600401610e0191815260200190565b600060405180830381865afa158015610e1e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e4691908101906122ad565b80519091501561073c57600081806020019051810190610e669190612836565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610ee2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612907565b6000806000610f14846105f0565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610f73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f979190612981565b156110165773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fe5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611009919061224f565b60645b9250925050915091565b61109a8160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611067573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108b919061299c565b64ffffffffff90811691161090565b156111135773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156110e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110c919061224f565b606e61100c565b806060015163ffffffff16816080015163ffffffff16106111a25773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611177573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119b919061224f565b607861100c565b6040810151600a61100c565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001546000906001600160a01b03166354f6127f61124b85610a49565b6040518263ffffffff1660e01b815260040161126991815260200190565b600060405180830381865afa158015611286573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112ae91908101906122ad565b80519091501561073c57808060200190518101906105e991906129cb565b60005460ff161561132e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0381166113845760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a494e5354414e43455f5a45524f00000000006044820152606401611325565b60008054600180546001600160a01b0319166001600160a01b03909416938417815560ff1961010094909402939093166001600160a81b0319909116179091179055565b61142760405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611496573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ba919061224f565b6040518263ffffffff1660e01b81526004016114d891815260200190565b600060405180830381865afa1580156114f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151d91908101906122ad565b80519091501561073c57808060200190518101906105e99190612b37565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c61076b565b6040805160e08101825260608082526000602083018190529282018390528082018390526080820183905260a0820183905260c08201526001549091906001600160a01b03166354f6127f6115bc8561153b565b6040518263ffffffff1660e01b81526004016115da91815260200190565b600060405180830381865afa1580156115f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261161f91908101906122ad565b80519091501561073c57808060200190518101906105e99190612c2e565b6116e7604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546000906001600160a01b03166354f6127f61170485610742565b6040518263ffffffff1660e01b815260040161172291815260200190565b600060405180830381865afa15801561173f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261176791908101906122ad565b80519091501561073c57808060200190518101906105e99190612836565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61076b565b60405180610120016040528060006001600160601b031681526020016117eb604051806040016040528060008152602001600081525090565b81526060602082018190526000604083018190529082018190526080820181905260a0820181905260c0820181905260e09091015290565b6040805161010081018252600080825260208083018290528284018290526060830182905283518085019094528184528301529060808201905b815260200161187f604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6040518060c0016040528060006001600160601b0316815260200160006001600160a01b0316815260200161185d604051806040016040528060008152602001600081525090565b600080604083850312156118ee57600080fd5b8235915060208301358060000b811461190657600080fd5b809150509250929050565b6001600160c01b03198116811461192757600080fd5b50565b60006020828403121561193c57600080fd5b81356105e981611911565b60005b8381101561196257818101518382015260200161194a565b50506000910152565b60008151808452611983816020860160208601611947565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e060408401526119c761010084018261196b565b90506040840151606084015263ffffffff606085015116608084015260808401516119fa60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152611a2a828261196b565b95945050505050565b6001600160601b038116811461192757600080fd5b600060208284031215611a5a57600080fd5b81356105e981611a33565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152611aa360c084018261196b565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715611afb57611afb611ac3565b60405290565b60405160a081016001600160401b0381118282101715611afb57611afb611ac3565b604080519081016001600160401b0381118282101715611afb57611afb611ac3565b60405161012081016001600160401b0381118282101715611afb57611afb611ac3565b60405161010081016001600160401b0381118282101715611afb57611afb611ac3565b60405161014081016001600160401b0381118282101715611afb57611afb611ac3565b60405161020081016001600160401b0381118282101715611afb57611afb611ac3565b604051601f8201601f191681016001600160401b0381118282101715611bf957611bf9611ac3565b604052919050565b60006001600160401b03821115611c1a57611c1a611ac3565b50601f01601f191660200190565b60008060408385031215611c3b57600080fd5b8235611c4681611a33565b915060208301356001600160401b03811115611c6157600080fd5b8301601f81018513611c7257600080fd5b8035611c85611c8082611c01565b611bd1565b818152866020838501011115611c9a57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611ccc57600080fd5b5035919050565b60208152611ced6020820183516001600160601b03169052565b60006020830151611d0b604084018280518252602090810151910152565b506040830151610140806080850152611d2861016085018361196b565b91506060850151611d4460a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100611d898187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b602081526001600160601b03825116602082015260006020830151604080840152611de4606084018261196b565b949350505050565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191611e3b908401826001600160601b03169052565b506080830151611e58608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525b5092915050565b60208152611eb66020820183516001600160601b03169052565b60006020830151611ed260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100611f378185018364ffffffffff169052565b808501519150506102006101208181860152611f5761022086018461196b565b9250808601519050610140601f198685030181870152611f77848361196b565b935080870151915050610160611f928187018361ffff169052565b8601519050610180611fa98682018361ffff169052565b8601516101a08681019190915286015190506101c0611fd08187018364ffffffffff169052565b86015190506101e0611d9f8682018364ffffffffff169052565b6001600160a01b038116811461192757600080fd5b60006020828403121561201157600080fd5b81356105e981611fea565b602081526000825161012080602085015261203b61014085018361196b565b9150602085015160408501526040850151606085015260608501516080850152608085015161207260a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006120a88187018315159052565b860151858403601f19018387015290506120c2838261196b565b9695505050505050565b602081526000825160e060208401526120e961010084018261196b565b9050602084015160018060a01b0380821660408601528060408701511660608601528060608701511660808601525050608084015161213360a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152611a0e565b81516001600160a01b031681526102008101602083015161217960208401826001600160a01b03169052565b50604083015161219460408401826001600160601b03169052565b5060608301516121af60608401826001600160601b03169052565b5060808301516121cc608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006122028185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050611e95565b60006020828403121561226157600080fd5b5051919050565b600082601f83011261227957600080fd5b8151612287611c8082611c01565b81815284602083860101111561229c57600080fd5b611de4826020830160208701611947565b6000602082840312156122bf57600080fd5b81516001600160401b038111156122d557600080fd5b611de484828501612268565b80516122ec81611a33565b919050565b63ffffffff8116811461192757600080fd5b80516122ec816122f1565b64ffffffffff8116811461192757600080fd5b80516122ec8161230e565b60006020828403121561233e57600080fd5b81516001600160401b038082111561235557600080fd5b9083019060e0828603121561236957600080fd5b612371611ad9565b61237a836122e1565b815260208301518281111561238e57600080fd5b61239a87828601612268565b602083015250604083015160408201526123b660608401612303565b60608201526123c760808401612303565b60808201526123d860a08401612321565b60a082015260c0830151828111156123ef57600080fd5b6123fb87828601612268565b60c08301525095945050505050565b80516122ec81611911565b805180151581146122ec57600080fd5b60006020828403121561243757600080fd5b81516001600160401b038082111561244e57600080fd5b9083019060a0828603121561246257600080fd5b61246a611b01565b825161247581611911565b815261248360208401612415565b602082015260408301518281111561249a57600080fd5b6124a687828601612268565b604083015250606083015160608201526080830151608082015280935050505092915050565b6001600160601b0383168152604060208201526000611de4604083018461196b565b60006020828403121561250057600080fd5b81516105e981611911565b60006040828403121561251d57600080fd5b612525611b23565b9050815181526020820151602082015292915050565b60006020828403121561254d57600080fd5b81516001600160401b038082111561256457600080fd5b90830190610140828603121561257957600080fd5b612581611b45565b61258a836122e1565b8152612599866020850161250b565b60208201526060830151828111156125b057600080fd5b6125bc87828601612268565b6040830152506125ce608084016122e1565b60608201526125df60a084016122e1565b60808201526125f060c084016122e1565b60a082015261260160e08401612321565b60c08201526101009150612616828401612321565b60e08201526126286101208401612321565b91810191909152949350505050565b60006020828403121561264957600080fd5b81516001600160401b038082111561266057600080fd5b908301906040828603121561267457600080fd5b61267c611b23565b825161268781611a33565b815260208301518281111561269b57600080fd5b6126a787828601612268565b60208301525095945050505050565b60ff8116811461192757600080fd5b6000602082840312156126d757600080fd5b81516105e9816126b6565b80516122ec81611fea565b6000610140828403121561270057600080fd5b612708611b68565b612711836126e2565b815261271f602084016126e2565b6020820152612730604084016122e1565b6040820152612741606084016122e1565b6060820152612753846080850161250b565b60808201526127658460c0850161250b565b60a08201526127776101008401612415565b60c082015261278961012084016126e2565b60e08201529392505050565b600061010082840312156127a857600080fd5b60405160c081018181106001600160401b03821117156127ca576127ca611ac3565b60405282516127d881611a33565b815260208301516127e881611fea565b60208201526127fa846040850161250b565b604082015261280c846080850161250b565b606082015260c083015161281f81611fea565b608082015260e0929092015160a083015250919050565b6000610200828403121561284957600080fd5b612851611b8b565b61285a836126e2565b8152612868602084016126e2565b6020820152612879604084016122e1565b604082015261288a606084016122e1565b606082015261289c846080850161250b565b60808201526128ae8460c0850161250b565b60a08201526101006128c28582860161250b565b60c08301526128d585610140860161250b565b60e08301526128e885610180860161250b565b908201526128fa846101c0850161250b565b6101208201529392505050565b600060a0828403121561291957600080fd5b612921611b01565b825161292c816126b6565b8152602083015161293c816126b6565b6020820152604083015161294f81611fea565b60408201526060830151612962816122f1565b60608201526080830151612975816122f1565b60808201529392505050565b60006020828403121561299357600080fd5b6105e982612415565b6000602082840312156129ae57600080fd5b81516105e98161230e565b805161ffff811681146122ec57600080fd5b6000602082840312156129dd57600080fd5b81516001600160401b03808211156129f457600080fd5b908301906102008286031215612a0957600080fd5b612a11611bae565b612a1a836122e1565b8152612a28602084016122e1565b6020820152612a396040840161240a565b6040820152612a4a6060840161240a565b60608201526080830151608082015260a083015160a082015260c083015160c0820152612a7960e08401612321565b60e08201526101008084015183811115612a9257600080fd5b612a9e88828701612268565b8284015250506101208084015183811115612ab857600080fd5b612ac488828701612268565b8284015250506101409150612ada8284016129b9565b828201526101609150612aee8284016129b9565b82820152610180915081830151828201526101a09150612b0f828401612321565b828201526101c09150612b23828401612321565b828201526101e09150612628828401612321565b600060208284031215612b4957600080fd5b81516001600160401b0380821115612b6057600080fd5b908301906101208286031215612b7557600080fd5b612b7d611b45565b825182811115612b8c57600080fd5b612b9887828601612268565b825250602083015160208201526040830151604082015260608301516060820152612bc560808401612303565b6080820152612bd660a08401612303565b60a0820152612be760c08401612415565b60c0820152612bf860e08401612415565b60e08201526101008084015183811115612c1157600080fd5b612c1d88828701612268565b918301919091525095945050505050565b600060208284031215612c4057600080fd5b81516001600160401b0380821115612c5757600080fd5b9083019060e08286031215612c6b57600080fd5b612c73611ad9565b825182811115612c8257600080fd5b612c8e87828601612268565b825250612c9d602084016126e2565b6020820152612cae604084016126e2565b6040820152612cbf606084016126e2565b6060820152612cd0608084016122e1565b60808201526123d860a084016122e156fea2646970667358221220a12f2fde590db608d409e8808ef79c786d1d22be9fdfb621fb48ddcf3a3a5c6f64736f6c63430008140033",
1709
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b506147fe806100255f395ff3fe608060405234801561000f575f80fd5b50600436106102ff575f3560e01c80637d8f1e8111610195578063cd55e51b116100e4578063e98413ff1161009e578063f7f318d311610079578063f7f318d314610834578063fad77c3b14610847578063fd8024921461085a578063febe92af1461087a575f80fd5b8063e98413ff146107d8578063f0ea17c314610801578063f3ed991914610821575f80fd5b8063cd55e51b1461074c578063d06458c61461075f578063d4cda0d81461077f578063dd26287a14610790578063de7b5d14146107a3578063e444c3df146107b8575f80fd5b806394b9929b1161014f578063a7ef3d211161012a578063a7ef3d21146106cf578063b82d7ef5146106ef578063ba579bdc14610719578063bd7d9d851461072c575f80fd5b806394b9929b1461064d578063a310e2a314610660578063a5961b4c14610673575f80fd5b80637d8f1e81146105d95780637e54602a146105ec5780638129fc1c146105ff578063887b1fa9146106075780638eb9000d146106275780639096a1f31461063a575f80fd5b80633b046f091161025157806357f80bbf1161020b5780636791f7ab116101e65780636791f7ab1461058b5780636ebed908146105a057806378ae9350146105b35780637bfd3217146105c6575f80fd5b806357f80bbf1461054557806364eb3a9b1461056557806364fc314214610578575f80fd5b80633b046f09146104825780633f093cd6146104a857806344aa6836146104d45780634793b4ab146104e75780634d21a63d146105075780634fb784f514610532575f80fd5b80631d3be477116102bc57806327b1d7921161029757806327b1d792146104295780632c0cd0601461044957806334bd5be31461045c57806335898f5d1461046f575f80fd5b80631d3be477146103d3578063228e42ec146103f357806326decd4014610406575f80fd5b80630232ca491461030357806309648a9d1461033357806309c5844f146103585780630b5d931c1461036b57806310bf267b1461038b5780631488c845146103b2575b5f80fd5b610316610311366004612b15565b61089a565b6040516001600160601b0390911681526020015b60405180910390f35b610346610341366004612b30565b610914565b60405160ff909116815260200161032a565b610346610366366004612b15565b610989565b61037e610379366004612b15565b610a02565b60405161032a9190612b47565b61039e610399366004612c4d565b610b5f565b60405162ffffff909116815260200161032a565b6103c56103c0366004612c84565b610b75565b60405190815260200161032a565b6103e66103e1366004612cc1565b610bf1565b60405161032a9190612d0a565b610316610401366004612b15565b610d35565b610419610414366004612db8565b610d6e565b604051901515815260200161032a565b61043c610437366004612b15565b610e4c565b60405161032a9190612dd3565b610316610457366004612b15565b610f09565b6103c561046a366004612b15565b610f29565b6103c561047d366004612b15565b610fc0565b610495610490366004612b15565b610fec565b60405161ffff909116815260200161032a565b6104bb6104b6366004612ff5565b611001565b6040516001600160c01b0319909116815260200161032a565b6103c56104e2366004612b30565b61107b565b6104fa6104f5366004612b15565b6110b5565b60405161032a9190613081565b61051a610515366004612b15565b611156565b6040516001600160a01b03909116815260200161032a565b6103c5610540366004612b15565b6111fe565b610558610553366004612b15565b61122a565b60405161032a919061310c565b6103c5610573366004612b15565b611303565b6104196105863660046131aa565b61132f565b61059e610599366004612db8565b61141e565b005b6103166105ae3660046131d6565b611575565b6103466105c1366004612c4d565b6115ef565b6103c56105d4366004612b15565b6116e6565b6103466105e7366004612b15565b611712565b6103c56105fa366004612b15565b61172e565b61059e61175a565b61061a610615366004612cc1565b611788565b60405161032a9190613200565b610316610635366004612b15565b6118a9565b610346610648366004612b15565b6118e2565b6103c561065b366004612b15565b6118fe565b61051a61066e366004612b15565b61194d565b610686610681366004612b30565b6119f5565b60405161032a91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6106e26106dd366004612c4d565b611a7f565b60405161032a9190613235565b6107026106fd366004612cc1565b611bdb565b6040805192835260ff90911660208301520161032a565b610419610727366004612b15565b611e77565b61073f61073a366004612b15565b6120c5565b60405161032a91906132df565b61041961075a3660046131aa565b6121dd565b61077261076d366004612cc1565b612291565b60405161032a9190613457565b6001546001600160a01b031661051a565b6103c561079e366004612b15565b6123f6565b5f5461010090046001600160a01b031661051a565b6107cb6107c6366004612b15565b612422565b60405161032a91906134f8565b6107eb6107e63660046136f8565b61254b565b60405164ffffffffff909116815260200161032a565b61081461080f366004612b15565b6125dd565b60405161032a9190613724565b61034661082f3660046137c0565b6126a6565b6103c5610842366004612b15565b612708565b610495610855366004612b30565b612734565b61086d6108683660046137c0565b6127b7565b60405161032a91906137ec565b61088d610888366004613857565b6128f9565b60405161032a9190613872565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa1580156108ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e9190613950565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561095b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f9190613995565b6020015192915050565b6001545f906001600160a01b03166309648a9d6109a584610f29565b6040518263ffffffff1660e01b81526004016109c391815260200190565b602060405180830381865afa1580156109de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e91906139fc565b610ab960408051610140810182525f80825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001545f906001600160a01b03166354f6127f610ad5856116e6565b6040518263ffffffff1660e01b8152600401610af391815260200190565b5f60405180830381865afa158015610b0d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b349190810190613a66565b805190915015610b595780806020019051810190610b529190613ad5565b9392505050565b50919050565b5f610b6a8383611a7f565b604001519392505050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b529190613ba8565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610c94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb89190613ba8565b6040518263ffffffff1660e01b8152600401610cd691815260200190565b5f60405180830381865afa158015610cf0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d179190810190613a66565b805190915015610b595780806020019051810190610b529190613bca565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec906024016108cf565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dbf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de39190613cac565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610e28573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e9190613cc7565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610e8c8561172e565b6040518263ffffffff1660e01b8152600401610eaa91815260200190565b5f60405180830381865afa158015610ec4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610eeb9190810190613a66565b805190915015610b595780806020019051810190610b529190613ceb565b5f80610f14836120c5565b9050610b528160800151826101600151612a47565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610f9c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e9190613ba8565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610f51565b5f610ff6826120c5565b610120015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061103c9086908690600401613d90565b602060405180830381865af4158015611057573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b529190613db1565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610f81565b6110bd612aa7565b6001545f906001600160a01b03166354f6127f6110d985612708565b6040518263ffffffff1660e01b81526004016110f791815260200190565b5f60405180830381865afa158015611111573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526111389190810190613a66565b805190915015610b595780806020019051810190610b529190613dcc565b6001545f9081906001600160a01b03166354f6127f611174856111fe565b6040518263ffffffff1660e01b815260040161119291815260200190565b5f60405180830381865afa1580156111ac573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526111d39190810190613a66565b805190915015610b59575f818060200190518101906111f29190613e9b565b60800151949350505050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610f51565b60408051610100810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526001545f906001600160a01b03166354f6127f611286856123f6565b6040518263ffffffff1660e01b81526004016112a491815260200190565b5f60405180830381865afa1580156112be573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112e59190810190613a66565b805190915015610b595780806020019051810190610b529190613f7e565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610f51565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611380573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113a49190613cac565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156113fa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b529190613cc7565b5f5460ff16156114415760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156114aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ce9190613cac565b600180546001600160a01b0319166001600160a01b039283161790555f5460408051631b776b6960e21b8152905161010090920490921691636dddada49160048083019260209291908290030181865afa15801561152e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115529190613cac565b600280546001600160a01b0319166001600160a01b039290921691909117905550565b600254604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401602060405180830381865afa1580156115cb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b529190613950565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611665573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116899190613ba8565b6040518263ffffffff1660e01b81526004016116a791815260200190565b602060405180830381865afa1580156116c2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5291906139fc565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610f51565b6001545f906001600160a01b03166309648a9d6109a584612708565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610f51565b5f5460ff161561177d5760405163ae9eff1b60e01b815260040160405180910390fd5b6117863361141e565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611808573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061182c9190613ba8565b6040518263ffffffff1660e01b815260040161184a91815260200190565b5f60405180830381865afa158015611864573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261188b9190810190613a66565b805190915015610b595780806020019051810190610b529190614018565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d906024016108cf565b6001545f906001600160a01b03166309648a9d6109a584611303565b6002546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401602060405180830381865afa158015610f9c573d5f803e3d5ffd5b6001545f9081906001600160a01b03166354f6127f61196b856111fe565b6040518263ffffffff1660e01b815260040161198991815260200190565b5f60405180830381865afa1580156119a3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119ca9190810190613a66565b805190915015610b59575f818060200190518101906119e99190613e9b565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611a5b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e9190613995565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611b2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b4f9190613ba8565b6040518263ffffffff1660e01b8152600401611b6d91815260200190565b5f60405180830381865afa158015611b87573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bae9190810190613a66565b805190915015611bd45780806020019051810190611bcc91906140a0565b91505061090e565b5092915050565b5f805f611be784610bf1565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611c44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c689190613cc7565b15611ce55773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cb4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd89190613ba8565b60645b9250925050915091565b611d678160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d34573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d589190614189565b64ffffffffff90811691161090565b15611dde5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611db3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd79190613ba8565b606e611cdb565b806060015163ffffffff16816080015163ffffffff1610611e6b5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e649190613ba8565b6078611cdb565b6040810151600a611cdb565b5f80611e82836120c5565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611ede573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f029190613cc7565b15611f0f57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611f6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f8e9190613cc7565b15611f9b57505f92915050565b61201e816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611feb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200f9190614189565b64ffffffffff90811691161190565b1561202b57505f92915050565b6120af816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561207b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061209f9190614189565b64ffffffffff9081169116111590565b156120bc57505f92915050565b50600192915050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f61216085611303565b6040518263ffffffff1660e01b815260040161217e91815260200190565b5f60405180830381865afa158015612198573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526121bf9190810190613a66565b805190915015610b595780806020019051810190610b5291906141af565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561222e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122529190613cac565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016113df565b6122e9604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015612355573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123799190613ba8565b6040518263ffffffff1660e01b815260040161239791815260200190565b5f60405180830381865afa1580156123b1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123d89190810190613a66565b805190915015610b595780806020019051810190610b529190614342565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610f51565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f6124ce85610f29565b6040518263ffffffff1660e01b81526004016124ec91815260200190565b5f60405180830381865afa158015612506573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261252d9190810190613a66565b805190915015610b595780806020019051810190610b52919061443b565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca846125728560016145b1565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af41580156125b9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b529190614189565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f612629856111fe565b6040518263ffffffff1660e01b815260040161264791815260200190565b5f60405180830381865afa158015612661573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526126889190810190613a66565b805190915015610b595780806020019051810190610b529190613e9b565b600154604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd649060440161164a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610f51565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a3661275a8460016145cc565b6040518263ffffffff1660e01b815260040161277891815260200190565b602060405180830381865af4158015612793573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e91906145df565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015612858573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061287c9190613ba8565b6040518263ffffffff1660e01b815260040161289a91815260200190565b5f60405180830381865afa1580156128b4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128db9190810190613a66565b805190915015611bd45780806020019051810190611bcc91906145fa565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156129a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129ca9190613ba8565b6040518263ffffffff1660e01b81526004016129e891815260200190565b5f60405180830381865afa158015612a02573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a299190810190613a66565b805190915015610b595780806020019051810190610b5291906146b4565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156115cb573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b03168152602001612adc60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b0381168114612b12575f80fd5b50565b5f60208284031215612b25575f80fd5b8135610b5281612afe565b5f60208284031215612b40575f80fd5b5035919050565b81516001600160601b0316815261022081016020830151612b7360208401826001600160601b03169052565b506040830151612b87604084018215159052565b506060830151612ba4606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151805161012084015260208101516101408401525060e0830151805161016084015260208101516101808401525061010083015180516101a084015260208101516101c08401525061012083015180516101e08401526020810151610200840152611bd4565b61ffff81168114612b12575f80fd5b5f8060408385031215612c5e575f80fd5b8235612c6981612afe565b91506020830135612c7981612c3e565b809150509250929050565b5f8060408385031215612c95575f80fd5b8235915060208301355f81900b8114612c79575f80fd5b6001600160c01b031981168114612b12575f80fd5b5f60208284031215612cd1575f80fd5b8135610b5281612cac565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e06040840152612d39610100840182612cdc565b90506040840151606084015263ffffffff60608501511660808401526080840151612d6c60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152612d9b8282612cdc565b95945050505050565b6001600160a01b0381168114612b12575f80fd5b5f60208284031215612dc8575f80fd5b8135610b5281612da4565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f604083015160806060840152612e1060a0840182612cdc565b905063ffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612e6257612e62612e2c565b60405290565b604080519081016001600160401b0381118282101715612e6257612e62612e2c565b60405161014081016001600160401b0381118282101715612e6257612e62612e2c565b60405160e081016001600160401b0381118282101715612e6257612e62612e2c565b60405160c081016001600160401b0381118282101715612e6257612e62612e2c565b60405161010081016001600160401b0381118282101715612e6257612e62612e2c565b60405161020081016001600160401b0381118282101715612e6257612e62612e2c565b60405161012081016001600160401b0381118282101715612e6257612e62612e2c565b60405161024081016001600160401b0381118282101715612e6257612e62612e2c565b60405160a081016001600160401b0381118282101715612e6257612e62612e2c565b604051601f8201601f191681016001600160401b0381118282101715612fc757612fc7612e2c565b604052919050565b5f6001600160401b03821115612fe757612fe7612e2c565b50601f01601f191660200190565b5f8060408385031215613006575f80fd5b823561301181612afe565b915060208301356001600160401b0381111561302b575f80fd5b8301601f8101851361303b575f80fd5b803561304e61304982612fcf565b612f9f565b818152866020838501011115613062575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f60208301516130b2604084018280518252602090810151910152565b50604083015160e060808401526130cd610100840182612cdc565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f610100820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151613153606084018215159052565b506080830151613167608084018215159052565b5060a083015161317b60a084018215159052565b5060c083015160c083015260e083015160e083015292915050565b6001600160401b0381168114612b12575f80fd5b5f80604083850312156131bb575f80fd5b82356131c681612da4565b91506020830135612c7981613196565b5f80604083850312156131e7575f80fd5b82356131f281612afe565b946020939093013593505050565b602081526001600160601b0382511660208201525f602083015160408084015261322d6060840182612cdc565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613273606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a084015261329f610100840182612cdc565b905060a0840151601f198483030160c08501526132bc8282612cdc565b91505060c08401516132d760e085018264ffffffffff169052565b509392505050565b602081526132f96020820183516001600160601b03169052565b5f602083015161331460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e083015161020061010084015261339a610220840182612cdc565b9050610100840151601f19848303016101208501526133b98282612cdc565b9150506101208401516133d361014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501526132d7565b602081525f82516101206020840152613474610140840182612cdc565b905060208401516040840152604084015160608401526060840151608084015260808401516134ab60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f1901610120850152612d9b8282612cdc565b81516001600160601b031681526102408101602083015161352460208401826001600160601b03169052565b50604083015161353f60408401826001600160601b03169052565b50606083015161355a60608401826001600160601b03169052565b50608083015161357560808401826001600160601b03169052565b5060a083015161359060a08401826001600160601b03169052565b5060c08301516135ab60c08401826001600160601b03169052565b5060e08301516135c660e08401826001600160601b03169052565b506101008301516135e36101008401826001600160601b03169052565b506101208301516136006101208401826001600160601b03169052565b5061014083015161361d6101408401826001600160601b03169052565b5061016083015161363a6101608401826001600160601b03169052565b506101808301516136576101808401826001600160601b03169052565b506101a08301516136746101a08401826001600160601b03169052565b506101c08301516136916101c08401826001600160601b03169052565b506101e08301516136ae6101e08401826001600160601b03169052565b506102008301516136cb6102008401826001600160601b03169052565b50610220830151611bd46102208401826001600160601b03169052565b62ffffff81168114612b12575f80fd5b5f8060408385031215613709575f80fd5b823561371481612c3e565b91506020830135612c79816136e8565b602081525f825160c0602084015261373f60e0840182612cdc565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161379260a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612d9b8282612cdc565b64ffffffffff81168114612b12575f80fd5b5f80604083850312156137d1575f80fd5b82356137dc81612afe565b91506020830135612c79816137ae565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a0608084015261383a60c0840182612cdc565b905064ffffffffff60808501511660a08401528091505092915050565b5f60208284031215613867575f80fd5b8135610b5281613196565b6020815261388c6020820183516001600160601b03169052565b5f602083015161010060408401526138a8610120840182612cdc565b905060408401516138c460608501826001600160601b03169052565b506060840151838203601f190160808501526138e08282612cdc565b9150506080840151601f198483030160a08501526138fe8282612cdc565b91505060a084015161391960c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e08401518015156101008501526132d7565b805161394b81612afe565b919050565b5f60208284031215613960575f80fd5b8151610b5281612afe565b60ff81168114612b12575f80fd5b63ffffffff81168114612b12575f80fd5b805161394b81613979565b5f60808284031280156139a6575f80fd5b506139af612e40565b82516139ba8161396b565b815260208301516139ca8161396b565b602082015260408301516139dd81613979565b604082015260608301516139f081613979565b60608201529392505050565b5f60208284031215613a0c575f80fd5b8151610b528161396b565b5f82601f830112613a26575f80fd5b8151602083015f613a3961304984612fcf565b9050828152858383011115613a4c575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613a76575f80fd5b81516001600160401b03811115613a8b575f80fd5b61322d84828501613a17565b8051801515811461394b575f80fd5b5f60408284031215613ab6575f80fd5b613abe612e68565b825181526020928301519281019290925250919050565b5f610220828403128015613ae7575f80fd5b50613af0612e8a565b613af983613940565b8152613b0760208401613940565b6020820152613b1860408401613a97565b6040820152613b2a8460608501613aa6565b6060820152613b3c8460a08501613aa6565b6080820152613b4e8460e08501613aa6565b60a0820152613b61846101208501613aa6565b60c0820152613b74846101608501613aa6565b60e0820152613b87846101a08501613aa6565b610100820152613b9b846101e08501613aa6565b6101208201529392505050565b5f60208284031215613bb8575f80fd5b5051919050565b805161394b816137ae565b5f60208284031215613bda575f80fd5b81516001600160401b03811115613bef575f80fd5b820160e08185031215613c00575f80fd5b613c08612ead565b613c1182613940565b815260208201516001600160401b03811115613c2b575f80fd5b613c3786828501613a17565b60208301525060408281015190820152613c536060830161398a565b6060820152613c646080830161398a565b6080820152613c7560a08301613bbf565b60a082015260c08201516001600160401b03811115613c92575f80fd5b613c9e86828501613a17565b60c083015250949350505050565b5f60208284031215613cbc575f80fd5b8151610b5281612da4565b5f60208284031215613cd7575f80fd5b610b5282613a97565b805161394b81612cac565b5f60208284031215613cfb575f80fd5b81516001600160401b03811115613d10575f80fd5b820160808185031215613d21575f80fd5b613d29612e40565b8151613d3481612cac565b8152613d4260208301613a97565b602082015260408201516001600160401b03811115613d5f575f80fd5b613d6b86828501613a17565b60408301525060608201519150613d8182613979565b60608101919091529392505050565b6001600160601b0383168152604060208201525f61322d6040830184612cdc565b5f60208284031215613dc1575f80fd5b8151610b5281612cac565b5f60208284031215613ddc575f80fd5b81516001600160401b03811115613df1575f80fd5b820160e08185031215613e02575f80fd5b613e0a612ecf565b8151613e1581612afe565b8152613e248560208401613aa6565b602082015260608201516001600160401b03811115613e41575f80fd5b613e4d86828501613a17565b6040830152506080820151613e61816137ae565b6060820152613e7260a08301613bbf565b6080820152613e8360c08301613bbf565b60a0820152949350505050565b805161394b81612da4565b5f60208284031215613eab575f80fd5b81516001600160401b03811115613ec0575f80fd5b820160c08185031215613ed1575f80fd5b613ed9612ecf565b81516001600160401b03811115613eee575f80fd5b613efa86828501613a17565b825250613f0960208301613940565b6020820152613f1a60408301613e90565b6040820152613f2b60608301613e90565b6060820152613f3c60808301613e90565b608082015260a08201516001600160401b03811115613f59575f80fd5b613f6586828501613a17565b60a083015250949350505050565b805161394b81613196565b5f610100828403128015613f90575f80fd5b50613f99612ef1565b8251613fa481612afe565b8152613fb260208401613f73565b6020820152613fc360408401613a97565b6040820152613fd460608401613a97565b6060820152613fe560808401613a97565b6080820152613ff660a08401613a97565b60a082015260c0838101519082015260e0928301519281019290925250919050565b5f60208284031215614028575f80fd5b81516001600160401b0381111561403d575f80fd5b82016040818503121561404e575f80fd5b614056612e68565b815161406181612afe565b815260208201516001600160401b0381111561407b575f80fd5b61408786828501613a17565b602083015250949350505050565b805161394b816136e8565b5f602082840312156140b0575f80fd5b81516001600160401b038111156140c5575f80fd5b820160e081850312156140d6575f80fd5b6140de612ead565b6140e782613940565b81526140f560208301613940565b602082015261410660408301614095565b604082015261411760608301614095565b606082015260808201516001600160401b03811115614134575f80fd5b61414086828501613a17565b60808301525060a08201516001600160401b0381111561415e575f80fd5b61416a86828501613a17565b60a08301525061417c60c08301613bbf565b60c0820152949350505050565b5f60208284031215614199575f80fd5b8151610b52816137ae565b805161394b81612c3e565b5f602082840312156141bf575f80fd5b81516001600160401b038111156141d4575f80fd5b820161020081850312156141e6575f80fd5b6141ee612f14565b6141f782613940565b815261420560208301613940565b602082015261421660408301613ce0565b604082015261422760608301613ce0565b606082015261423860808301613940565b608082015261424960a08301613940565b60a082015261425a60c08301613bbf565b60c082015260e08201516001600160401b03811115614277575f80fd5b61428386828501613a17565b60e0830152506101008201516001600160401b038111156142a2575f80fd5b6142ae86828501613a17565b610100830152506142c261012083016141a4565b6101208201526142d561014083016141a4565b6101408201526142e86101608301613940565b6101608201526142fb6101808301613940565b61018082015261430e6101a08301613bbf565b6101a08201526143216101c08301613bbf565b6101c08201526143346101e08301613bbf565b6101e0820152949350505050565b5f60208284031215614352575f80fd5b81516001600160401b03811115614367575f80fd5b82016101208185031215614379575f80fd5b614381612f37565b81516001600160401b03811115614396575f80fd5b6143a286828501613a17565b8252506020828101519082015260408083015190820152606080830151908201526143cf6080830161398a565b60808201526143e060a0830161398a565b60a08201526143f160c08301613a97565b60c082015261440260e08301613a97565b60e08201526101008201516001600160401b03811115614420575f80fd5b61442c86828501613a17565b61010083015250949350505050565b5f61024082840312801561444d575f80fd5b50614456612f5a565b61445f83613940565b815261446d60208401613940565b602082015261447e60408401613940565b604082015261448f60608401613940565b60608201526144a060808401613940565b60808201526144b160a08401613940565b60a08201526144c260c08401613940565b60c08201526144d360e08401613940565b60e08201526144e56101008401613940565b6101008201526144f86101208401613940565b61012082015261450b6101408401613940565b61014082015261451e6101608401613940565b6101608201526145316101808401613940565b6101808201526145446101a08401613940565b6101a08201526145576101c08401613940565b6101c082015261456a6101e08401613940565b6101e082015261457d6102008401613940565b6102008201526145906102208401613940565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff818116838216019081111561090e5761090e61459d565b8082018082111561090e5761090e61459d565b5f602082840312156145ef575f80fd5b8151610b5281612c3e565b5f6020828403121561460a575f80fd5b81516001600160401b0381111561461f575f80fd5b820160a08185031215614630575f80fd5b614638612f7d565b815161464381612c3e565b8152602082015161465381612afe565b6020820152604082015161466681612da4565b604082015260608201516001600160401b03811115614683575f80fd5b61468f86828501613a17565b606083015250608082015191506146a5826137ae565b60808101919091529392505050565b5f602082840312156146c4575f80fd5b81516001600160401b038111156146d9575f80fd5b820161010081850312156146eb575f80fd5b6146f3612ef1565b6146fc82613940565b815260208201516001600160401b03811115614716575f80fd5b61472286828501613a17565b60208301525061473460408301613940565b604082015260608201516001600160401b03811115614751575f80fd5b61475d86828501613a17565b60608301525060808201516001600160401b0381111561477b575f80fd5b61478786828501613a17565b60808301525061479960a08301613bbf565b60a08201526147aa60c08301613bbf565b60c08201526147bb60e08301613a97565b60e082015294935050505056fea2646970667358221220bc08555fdc17f62d0721d05c75a5489835e3ba4534dd54b98ec02f438002f0a864736f6c634300081a0033",
1710
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106102ff575f3560e01c80637d8f1e8111610195578063cd55e51b116100e4578063e98413ff1161009e578063f7f318d311610079578063f7f318d314610834578063fad77c3b14610847578063fd8024921461085a578063febe92af1461087a575f80fd5b8063e98413ff146107d8578063f0ea17c314610801578063f3ed991914610821575f80fd5b8063cd55e51b1461074c578063d06458c61461075f578063d4cda0d81461077f578063dd26287a14610790578063de7b5d14146107a3578063e444c3df146107b8575f80fd5b806394b9929b1161014f578063a7ef3d211161012a578063a7ef3d21146106cf578063b82d7ef5146106ef578063ba579bdc14610719578063bd7d9d851461072c575f80fd5b806394b9929b1461064d578063a310e2a314610660578063a5961b4c14610673575f80fd5b80637d8f1e81146105d95780637e54602a146105ec5780638129fc1c146105ff578063887b1fa9146106075780638eb9000d146106275780639096a1f31461063a575f80fd5b80633b046f091161025157806357f80bbf1161020b5780636791f7ab116101e65780636791f7ab1461058b5780636ebed908146105a057806378ae9350146105b35780637bfd3217146105c6575f80fd5b806357f80bbf1461054557806364eb3a9b1461056557806364fc314214610578575f80fd5b80633b046f09146104825780633f093cd6146104a857806344aa6836146104d45780634793b4ab146104e75780634d21a63d146105075780634fb784f514610532575f80fd5b80631d3be477116102bc57806327b1d7921161029757806327b1d792146104295780632c0cd0601461044957806334bd5be31461045c57806335898f5d1461046f575f80fd5b80631d3be477146103d3578063228e42ec146103f357806326decd4014610406575f80fd5b80630232ca491461030357806309648a9d1461033357806309c5844f146103585780630b5d931c1461036b57806310bf267b1461038b5780631488c845146103b2575b5f80fd5b610316610311366004612b15565b61089a565b6040516001600160601b0390911681526020015b60405180910390f35b610346610341366004612b30565b610914565b60405160ff909116815260200161032a565b610346610366366004612b15565b610989565b61037e610379366004612b15565b610a02565b60405161032a9190612b47565b61039e610399366004612c4d565b610b5f565b60405162ffffff909116815260200161032a565b6103c56103c0366004612c84565b610b75565b60405190815260200161032a565b6103e66103e1366004612cc1565b610bf1565b60405161032a9190612d0a565b610316610401366004612b15565b610d35565b610419610414366004612db8565b610d6e565b604051901515815260200161032a565b61043c610437366004612b15565b610e4c565b60405161032a9190612dd3565b610316610457366004612b15565b610f09565b6103c561046a366004612b15565b610f29565b6103c561047d366004612b15565b610fc0565b610495610490366004612b15565b610fec565b60405161ffff909116815260200161032a565b6104bb6104b6366004612ff5565b611001565b6040516001600160c01b0319909116815260200161032a565b6103c56104e2366004612b30565b61107b565b6104fa6104f5366004612b15565b6110b5565b60405161032a9190613081565b61051a610515366004612b15565b611156565b6040516001600160a01b03909116815260200161032a565b6103c5610540366004612b15565b6111fe565b610558610553366004612b15565b61122a565b60405161032a919061310c565b6103c5610573366004612b15565b611303565b6104196105863660046131aa565b61132f565b61059e610599366004612db8565b61141e565b005b6103166105ae3660046131d6565b611575565b6103466105c1366004612c4d565b6115ef565b6103c56105d4366004612b15565b6116e6565b6103466105e7366004612b15565b611712565b6103c56105fa366004612b15565b61172e565b61059e61175a565b61061a610615366004612cc1565b611788565b60405161032a9190613200565b610316610635366004612b15565b6118a9565b610346610648366004612b15565b6118e2565b6103c561065b366004612b15565b6118fe565b61051a61066e366004612b15565b61194d565b610686610681366004612b30565b6119f5565b60405161032a91905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6106e26106dd366004612c4d565b611a7f565b60405161032a9190613235565b6107026106fd366004612cc1565b611bdb565b6040805192835260ff90911660208301520161032a565b610419610727366004612b15565b611e77565b61073f61073a366004612b15565b6120c5565b60405161032a91906132df565b61041961075a3660046131aa565b6121dd565b61077261076d366004612cc1565b612291565b60405161032a9190613457565b6001546001600160a01b031661051a565b6103c561079e366004612b15565b6123f6565b5f5461010090046001600160a01b031661051a565b6107cb6107c6366004612b15565b612422565b60405161032a91906134f8565b6107eb6107e63660046136f8565b61254b565b60405164ffffffffff909116815260200161032a565b61081461080f366004612b15565b6125dd565b60405161032a9190613724565b61034661082f3660046137c0565b6126a6565b6103c5610842366004612b15565b612708565b610495610855366004612b30565b612734565b61086d6108683660046137c0565b6127b7565b60405161032a91906137ec565b61088d610888366004613857565b6128f9565b60405161032a9190613872565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa1580156108ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e9190613950565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa15801561095b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097f9190613995565b6020015192915050565b6001545f906001600160a01b03166309648a9d6109a584610f29565b6040518263ffffffff1660e01b81526004016109c391815260200190565b602060405180830381865afa1580156109de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e91906139fc565b610ab960408051610140810182525f80825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001545f906001600160a01b03166354f6127f610ad5856116e6565b6040518263ffffffff1660e01b8152600401610af391815260200190565b5f60405180830381865afa158015610b0d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b349190810190613a66565b805190915015610b595780806020019051810190610b529190613ad5565b9392505050565b50919050565b5f610b6a8383611a7f565b604001519392505050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610bcd573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b529190613ba8565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610c94573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cb89190613ba8565b6040518263ffffffff1660e01b8152600401610cd691815260200190565b5f60405180830381865afa158015610cf0573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d179190810190613a66565b805190915015610b595780806020019051810190610b529190613bca565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec906024016108cf565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dbf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610de39190613cac565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610e28573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e9190613cc7565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610e8c8561172e565b6040518263ffffffff1660e01b8152600401610eaa91815260200190565b5f60405180830381865afa158015610ec4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610eeb9190810190613a66565b805190915015610b595780806020019051810190610b529190613ceb565b5f80610f14836120c5565b9050610b528160800151826101600151612a47565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610f9c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e9190613ba8565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610f51565b5f610ff6826120c5565b610120015192915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd69061103c9086908690600401613d90565b602060405180830381865af4158015611057573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b529190613db1565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610f81565b6110bd612aa7565b6001545f906001600160a01b03166354f6127f6110d985612708565b6040518263ffffffff1660e01b81526004016110f791815260200190565b5f60405180830381865afa158015611111573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526111389190810190613a66565b805190915015610b595780806020019051810190610b529190613dcc565b6001545f9081906001600160a01b03166354f6127f611174856111fe565b6040518263ffffffff1660e01b815260040161119291815260200190565b5f60405180830381865afa1580156111ac573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526111d39190810190613a66565b805190915015610b59575f818060200190518101906111f29190613e9b565b60800151949350505050565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610f51565b60408051610100810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526001545f906001600160a01b03166354f6127f611286856123f6565b6040518263ffffffff1660e01b81526004016112a491815260200190565b5f60405180830381865afa1580156112be573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526112e59190810190613a66565b805190915015610b595780806020019051810190610b529190613f7e565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610f51565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611380573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113a49190613cac565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156113fa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b529190613cc7565b5f5460ff16156114415760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa1580156114aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114ce9190613cac565b600180546001600160a01b0319166001600160a01b039283161790555f5460408051631b776b6960e21b8152905161010090920490921691636dddada49160048083019260209291908290030181865afa15801561152e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115529190613cac565b600280546001600160a01b0319166001600160a01b039290921691909117905550565b600254604051630dd7db2160e31b81526001600160601b0384166004820152602481018390525f916001600160a01b031690636ebed90890604401602060405180830381865afa1580156115cb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b529190613950565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b22906044015b602060405180830381865af4158015611665573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116899190613ba8565b6040518263ffffffff1660e01b81526004016116a791815260200190565b602060405180830381865afa1580156116c2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5291906139fc565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610f51565b6001545f906001600160a01b03166309648a9d6109a584612708565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610f51565b5f5460ff161561177d5760405163ae9eff1b60e01b815260040160405180910390fd5b6117863361141e565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af4158015611808573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061182c9190613ba8565b6040518263ffffffff1660e01b815260040161184a91815260200190565b5f60405180830381865afa158015611864573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261188b9190810190613a66565b805190915015610b595780806020019051810190610b529190614018565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d906024016108cf565b6001545f906001600160a01b03166309648a9d6109a584611303565b6002546040516394b9929b60e01b81526001600160601b03831660048201525f916001600160a01b0316906394b9929b90602401602060405180830381865afa158015610f9c573d5f803e3d5ffd5b6001545f9081906001600160a01b03166354f6127f61196b856111fe565b6040518263ffffffff1660e01b815260040161198991815260200190565b5f60405180830381865afa1580156119a3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526119ca9190810190613a66565b805190915015610b59575f818060200190518101906119e99190613e9b565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611a5b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e9190613995565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611b2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b4f9190613ba8565b6040518263ffffffff1660e01b8152600401611b6d91815260200190565b5f60405180830381865afa158015611b87573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611bae9190810190613a66565b805190915015611bd45780806020019051810190611bcc91906140a0565b91505061090e565b5092915050565b5f805f611be784610bf1565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611c44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c689190613cc7565b15611ce55773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611cb4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cd89190613ba8565b60645b9250925050915091565b611d678160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d34573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d589190614189565b64ffffffffff90811691161090565b15611dde5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611db3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd79190613ba8565b606e611cdb565b806060015163ffffffff16816080015163ffffffff1610611e6b5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e649190613ba8565b6078611cdb565b6040810151600a611cdb565b5f80611e82836120c5565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611ede573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f029190613cc7565b15611f0f57505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611f6a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f8e9190613cc7565b15611f9b57505f92915050565b61201e816101a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611feb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061200f9190614189565b64ffffffffff90811691161190565b1561202b57505f92915050565b6120af816101c0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561207b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061209f9190614189565b64ffffffffff9081169116111590565b156120bc57505f92915050565b50600192915050565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f61216085611303565b6040518263ffffffff1660e01b815260040161217e91815260200190565b5f60405180830381865afa158015612198573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526121bf9190810190613a66565b805190915015610b595780806020019051810190610b5291906141af565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561222e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122529190613cac565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016113df565b6122e9604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af4158015612355573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123799190613ba8565b6040518263ffffffff1660e01b815260040161239791815260200190565b5f60405180830381865afa1580156123b1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526123d89190810190613a66565b805190915015610b595780806020019051810190610b529190614342565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610f51565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f6124ce85610f29565b6040518263ffffffff1660e01b81526004016124ec91815260200190565b5f60405180830381865afa158015612506573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261252d9190810190613a66565b805190915015610b595780806020019051810190610b52919061443b565b5f73__$0f9396e6447a4be57af83e53f51d234633$__6359fad7ca846125728560016145b1565b6040516001600160e01b031960e085901b16815261ffff909216600483015262ffffff166024820152604401602060405180830381865af41580156125b9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b529190614189565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f612629856111fe565b6040518263ffffffff1660e01b815260040161264791815260200190565b5f60405180830381865afa158015612661573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526126889190810190613a66565b805190915015610b595780806020019051810190610b529190613e9b565b600154604051632867b75960e21b815264ffffffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd649060440161164a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610f51565b5f73__$9e81531fe4994e01e99541f86b55500b4b$__639cc45a3661275a8460016145cc565b6040518263ffffffff1660e01b815260040161277891815260200190565b602060405180830381865af4158015612793573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061090e91906145df565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051632867b75960e21b815264ffffffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__9063a19edd6490604401602060405180830381865af4158015612858573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061287c9190613ba8565b6040518263ffffffff1660e01b815260040161289a91815260200190565b5f60405180830381865afa1580156128b4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128db9190810190613a66565b805190915015611bd45780806020019051810190611bcc91906145fa565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af41580156129a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129ca9190613ba8565b6040518263ffffffff1660e01b81526004016129e891815260200190565b5f60405180830381865afa158015612a02573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612a299190810190613a66565b805190915015610b595780806020019051810190610b5291906146b4565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa2290604401602060405180830381865af41580156115cb573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b03168152602001612adc60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b0381168114612b12575f80fd5b50565b5f60208284031215612b25575f80fd5b8135610b5281612afe565b5f60208284031215612b40575f80fd5b5035919050565b81516001600160601b0316815261022081016020830151612b7360208401826001600160601b03169052565b506040830151612b87604084018215159052565b506060830151612ba4606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151805161012084015260208101516101408401525060e0830151805161016084015260208101516101808401525061010083015180516101a084015260208101516101c08401525061012083015180516101e08401526020810151610200840152611bd4565b61ffff81168114612b12575f80fd5b5f8060408385031215612c5e575f80fd5b8235612c6981612afe565b91506020830135612c7981612c3e565b809150509250929050565b5f8060408385031215612c95575f80fd5b8235915060208301355f81900b8114612c79575f80fd5b6001600160c01b031981168114612b12575f80fd5b5f60208284031215612cd1575f80fd5b8135610b5281612cac565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e06040840152612d39610100840182612cdc565b90506040840151606084015263ffffffff60608501511660808401526080840151612d6c60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e0850152612d9b8282612cdc565b95945050505050565b6001600160a01b0381168114612b12575f80fd5b5f60208284031215612dc8575f80fd5b8135610b5281612da4565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f604083015160806060840152612e1060a0840182612cdc565b905063ffffffff60608501511660808401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612e6257612e62612e2c565b60405290565b604080519081016001600160401b0381118282101715612e6257612e62612e2c565b60405161014081016001600160401b0381118282101715612e6257612e62612e2c565b60405160e081016001600160401b0381118282101715612e6257612e62612e2c565b60405160c081016001600160401b0381118282101715612e6257612e62612e2c565b60405161010081016001600160401b0381118282101715612e6257612e62612e2c565b60405161020081016001600160401b0381118282101715612e6257612e62612e2c565b60405161012081016001600160401b0381118282101715612e6257612e62612e2c565b60405161024081016001600160401b0381118282101715612e6257612e62612e2c565b60405160a081016001600160401b0381118282101715612e6257612e62612e2c565b604051601f8201601f191681016001600160401b0381118282101715612fc757612fc7612e2c565b604052919050565b5f6001600160401b03821115612fe757612fe7612e2c565b50601f01601f191660200190565b5f8060408385031215613006575f80fd5b823561301181612afe565b915060208301356001600160401b0381111561302b575f80fd5b8301601f8101851361303b575f80fd5b803561304e61304982612fcf565b612f9f565b818152866020838501011115613062575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f60208301516130b2604084018280518252602090810151910152565b50604083015160e060808401526130cd610100840182612cdc565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f610100820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151613153606084018215159052565b506080830151613167608084018215159052565b5060a083015161317b60a084018215159052565b5060c083015160c083015260e083015160e083015292915050565b6001600160401b0381168114612b12575f80fd5b5f80604083850312156131bb575f80fd5b82356131c681612da4565b91506020830135612c7981613196565b5f80604083850312156131e7575f80fd5b82356131f281612afe565b946020939093013593505050565b602081526001600160601b0382511660208201525f602083015160408084015261322d6060840182612cdc565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151613273606084018262ffffff169052565b50606083015162ffffff8116608084015250608083015160e060a084015261329f610100840182612cdc565b905060a0840151601f198483030160c08501526132bc8282612cdc565b91505060c08401516132d760e085018264ffffffffff169052565b509392505050565b602081526132f96020820183516001600160601b03169052565b5f602083015161331460408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e083015161020061010084015261339a610220840182612cdc565b9050610100840151601f19848303016101208501526133b98282612cdc565b9150506101208401516133d361014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff81166102008501526132d7565b602081525f82516101206020840152613474610140840182612cdc565b905060208401516040840152604084015160608401526060840151608084015260808401516134ab60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f1901610120850152612d9b8282612cdc565b81516001600160601b031681526102408101602083015161352460208401826001600160601b03169052565b50604083015161353f60408401826001600160601b03169052565b50606083015161355a60608401826001600160601b03169052565b50608083015161357560808401826001600160601b03169052565b5060a083015161359060a08401826001600160601b03169052565b5060c08301516135ab60c08401826001600160601b03169052565b5060e08301516135c660e08401826001600160601b03169052565b506101008301516135e36101008401826001600160601b03169052565b506101208301516136006101208401826001600160601b03169052565b5061014083015161361d6101408401826001600160601b03169052565b5061016083015161363a6101608401826001600160601b03169052565b506101808301516136576101808401826001600160601b03169052565b506101a08301516136746101a08401826001600160601b03169052565b506101c08301516136916101c08401826001600160601b03169052565b506101e08301516136ae6101e08401826001600160601b03169052565b506102008301516136cb6102008401826001600160601b03169052565b50610220830151611bd46102208401826001600160601b03169052565b62ffffff81168114612b12575f80fd5b5f8060408385031215613709575f80fd5b823561371481612c3e565b91506020830135612c79816136e8565b602081525f825160c0602084015261373f60e0840182612cdc565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161379260a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612d9b8282612cdc565b64ffffffffff81168114612b12575f80fd5b5f80604083850312156137d1575f80fd5b82356137dc81612afe565b91506020830135612c79816137ae565b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a0608084015261383a60c0840182612cdc565b905064ffffffffff60808501511660a08401528091505092915050565b5f60208284031215613867575f80fd5b8135610b5281613196565b6020815261388c6020820183516001600160601b03169052565b5f602083015161010060408401526138a8610120840182612cdc565b905060408401516138c460608501826001600160601b03169052565b506060840151838203601f190160808501526138e08282612cdc565b9150506080840151601f198483030160a08501526138fe8282612cdc565b91505060a084015161391960c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e08401518015156101008501526132d7565b805161394b81612afe565b919050565b5f60208284031215613960575f80fd5b8151610b5281612afe565b60ff81168114612b12575f80fd5b63ffffffff81168114612b12575f80fd5b805161394b81613979565b5f60808284031280156139a6575f80fd5b506139af612e40565b82516139ba8161396b565b815260208301516139ca8161396b565b602082015260408301516139dd81613979565b604082015260608301516139f081613979565b60608201529392505050565b5f60208284031215613a0c575f80fd5b8151610b528161396b565b5f82601f830112613a26575f80fd5b8151602083015f613a3961304984612fcf565b9050828152858383011115613a4c575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613a76575f80fd5b81516001600160401b03811115613a8b575f80fd5b61322d84828501613a17565b8051801515811461394b575f80fd5b5f60408284031215613ab6575f80fd5b613abe612e68565b825181526020928301519281019290925250919050565b5f610220828403128015613ae7575f80fd5b50613af0612e8a565b613af983613940565b8152613b0760208401613940565b6020820152613b1860408401613a97565b6040820152613b2a8460608501613aa6565b6060820152613b3c8460a08501613aa6565b6080820152613b4e8460e08501613aa6565b60a0820152613b61846101208501613aa6565b60c0820152613b74846101608501613aa6565b60e0820152613b87846101a08501613aa6565b610100820152613b9b846101e08501613aa6565b6101208201529392505050565b5f60208284031215613bb8575f80fd5b5051919050565b805161394b816137ae565b5f60208284031215613bda575f80fd5b81516001600160401b03811115613bef575f80fd5b820160e08185031215613c00575f80fd5b613c08612ead565b613c1182613940565b815260208201516001600160401b03811115613c2b575f80fd5b613c3786828501613a17565b60208301525060408281015190820152613c536060830161398a565b6060820152613c646080830161398a565b6080820152613c7560a08301613bbf565b60a082015260c08201516001600160401b03811115613c92575f80fd5b613c9e86828501613a17565b60c083015250949350505050565b5f60208284031215613cbc575f80fd5b8151610b5281612da4565b5f60208284031215613cd7575f80fd5b610b5282613a97565b805161394b81612cac565b5f60208284031215613cfb575f80fd5b81516001600160401b03811115613d10575f80fd5b820160808185031215613d21575f80fd5b613d29612e40565b8151613d3481612cac565b8152613d4260208301613a97565b602082015260408201516001600160401b03811115613d5f575f80fd5b613d6b86828501613a17565b60408301525060608201519150613d8182613979565b60608101919091529392505050565b6001600160601b0383168152604060208201525f61322d6040830184612cdc565b5f60208284031215613dc1575f80fd5b8151610b5281612cac565b5f60208284031215613ddc575f80fd5b81516001600160401b03811115613df1575f80fd5b820160e08185031215613e02575f80fd5b613e0a612ecf565b8151613e1581612afe565b8152613e248560208401613aa6565b602082015260608201516001600160401b03811115613e41575f80fd5b613e4d86828501613a17565b6040830152506080820151613e61816137ae565b6060820152613e7260a08301613bbf565b6080820152613e8360c08301613bbf565b60a0820152949350505050565b805161394b81612da4565b5f60208284031215613eab575f80fd5b81516001600160401b03811115613ec0575f80fd5b820160c08185031215613ed1575f80fd5b613ed9612ecf565b81516001600160401b03811115613eee575f80fd5b613efa86828501613a17565b825250613f0960208301613940565b6020820152613f1a60408301613e90565b6040820152613f2b60608301613e90565b6060820152613f3c60808301613e90565b608082015260a08201516001600160401b03811115613f59575f80fd5b613f6586828501613a17565b60a083015250949350505050565b805161394b81613196565b5f610100828403128015613f90575f80fd5b50613f99612ef1565b8251613fa481612afe565b8152613fb260208401613f73565b6020820152613fc360408401613a97565b6040820152613fd460608401613a97565b6060820152613fe560808401613a97565b6080820152613ff660a08401613a97565b60a082015260c0838101519082015260e0928301519281019290925250919050565b5f60208284031215614028575f80fd5b81516001600160401b0381111561403d575f80fd5b82016040818503121561404e575f80fd5b614056612e68565b815161406181612afe565b815260208201516001600160401b0381111561407b575f80fd5b61408786828501613a17565b602083015250949350505050565b805161394b816136e8565b5f602082840312156140b0575f80fd5b81516001600160401b038111156140c5575f80fd5b820160e081850312156140d6575f80fd5b6140de612ead565b6140e782613940565b81526140f560208301613940565b602082015261410660408301614095565b604082015261411760608301614095565b606082015260808201516001600160401b03811115614134575f80fd5b61414086828501613a17565b60808301525060a08201516001600160401b0381111561415e575f80fd5b61416a86828501613a17565b60a08301525061417c60c08301613bbf565b60c0820152949350505050565b5f60208284031215614199575f80fd5b8151610b52816137ae565b805161394b81612c3e565b5f602082840312156141bf575f80fd5b81516001600160401b038111156141d4575f80fd5b820161020081850312156141e6575f80fd5b6141ee612f14565b6141f782613940565b815261420560208301613940565b602082015261421660408301613ce0565b604082015261422760608301613ce0565b606082015261423860808301613940565b608082015261424960a08301613940565b60a082015261425a60c08301613bbf565b60c082015260e08201516001600160401b03811115614277575f80fd5b61428386828501613a17565b60e0830152506101008201516001600160401b038111156142a2575f80fd5b6142ae86828501613a17565b610100830152506142c261012083016141a4565b6101208201526142d561014083016141a4565b6101408201526142e86101608301613940565b6101608201526142fb6101808301613940565b61018082015261430e6101a08301613bbf565b6101a08201526143216101c08301613bbf565b6101c08201526143346101e08301613bbf565b6101e0820152949350505050565b5f60208284031215614352575f80fd5b81516001600160401b03811115614367575f80fd5b82016101208185031215614379575f80fd5b614381612f37565b81516001600160401b03811115614396575f80fd5b6143a286828501613a17565b8252506020828101519082015260408083015190820152606080830151908201526143cf6080830161398a565b60808201526143e060a0830161398a565b60a08201526143f160c08301613a97565b60c082015261440260e08301613a97565b60e08201526101008201516001600160401b03811115614420575f80fd5b61442c86828501613a17565b61010083015250949350505050565b5f61024082840312801561444d575f80fd5b50614456612f5a565b61445f83613940565b815261446d60208401613940565b602082015261447e60408401613940565b604082015261448f60608401613940565b60608201526144a060808401613940565b60808201526144b160a08401613940565b60a08201526144c260c08401613940565b60c08201526144d360e08401613940565b60e08201526144e56101008401613940565b6101008201526144f86101208401613940565b61012082015261450b6101408401613940565b61014082015261451e6101608401613940565b6101608201526145316101808401613940565b6101808201526145446101a08401613940565b6101a08201526145576101c08401613940565b6101c082015261456a6101e08401613940565b6101e082015261457d6102008401613940565b6102008201526145906102208401613940565b6102208201529392505050565b634e487b7160e01b5f52601160045260245ffd5b62ffffff818116838216019081111561090e5761090e61459d565b8082018082111561090e5761090e61459d565b5f602082840312156145ef575f80fd5b8151610b5281612c3e565b5f6020828403121561460a575f80fd5b81516001600160401b0381111561461f575f80fd5b820160a08185031215614630575f80fd5b614638612f7d565b815161464381612c3e565b8152602082015161465381612afe565b6020820152604082015161466681612da4565b604082015260608201516001600160401b03811115614683575f80fd5b61468f86828501613a17565b606083015250608082015191506146a5826137ae565b60808101919091529392505050565b5f602082840312156146c4575f80fd5b81516001600160401b038111156146d9575f80fd5b820161010081850312156146eb575f80fd5b6146f3612ef1565b6146fc82613940565b815260208201516001600160401b03811115614716575f80fd5b61472286828501613a17565b60208301525061473460408301613940565b604082015260608201516001600160401b03811115614751575f80fd5b61475d86828501613a17565b60608301525060808201516001600160401b0381111561477b575f80fd5b61478786828501613a17565b60808301525061479960a08301613bbf565b60a08201526147aa60c08301613bbf565b60c08201526147bb60e08301613a97565b60e082015294935050505056fea2646970667358221220bc08555fdc17f62d0721d05c75a5489835e3ba4534dd54b98ec02f438002f0a864736f6c634300081a0033",
1093
1711
  "linkReferences": {
1094
- "contracts/types/DistributorType.sol": {
1712
+ "contracts/type/Amount.sol": {
1713
+ "AmountLib": [
1714
+ {
1715
+ "length": 20,
1716
+ "start": 10900
1717
+ }
1718
+ ]
1719
+ },
1720
+ "contracts/type/ClaimId.sol": {
1721
+ "ClaimIdLib": [
1722
+ {
1723
+ "length": 20,
1724
+ "start": 5713
1725
+ },
1726
+ {
1727
+ "length": 20,
1728
+ "start": 6936
1729
+ },
1730
+ {
1731
+ "length": 20,
1732
+ "start": 10076
1733
+ }
1734
+ ]
1735
+ },
1736
+ "contracts/type/DistributorType.sol": {
1095
1737
  "DistributorTypeLib": [
1096
1738
  {
1097
1739
  "length": 20,
1098
- "start": 5244
1740
+ "start": 9026
1099
1741
  }
1100
1742
  ]
1101
1743
  },
1102
- "contracts/types/NftId.sol": {
1744
+ "contracts/type/NftId.sol": {
1103
1745
  "NftIdLib": [
1104
1746
  {
1105
1747
  "length": 20,
1106
- "start": 1894
1748
+ "start": 3921
1749
+ },
1750
+ {
1751
+ "length": 20,
1752
+ "start": 4072
1753
+ },
1754
+ {
1755
+ "length": 20,
1756
+ "start": 4646
1107
1757
  },
1108
1758
  {
1109
1759
  "length": 20,
1110
- "start": 2274
1760
+ "start": 4907
1111
1761
  },
1112
1762
  {
1113
1763
  "length": 20,
1114
- "start": 2669
1764
+ "start": 5902
1115
1765
  },
1116
1766
  {
1117
1767
  "length": 20,
1118
- "start": 2714
1768
+ "start": 5974
1119
1769
  },
1120
1770
  {
1121
1771
  "length": 20,
1122
- "start": 2759
1772
+ "start": 7883
1773
+ },
1774
+ {
1775
+ "length": 20,
1776
+ "start": 9246
1777
+ },
1778
+ {
1779
+ "length": 20,
1780
+ "start": 10032
1781
+ }
1782
+ ]
1783
+ },
1784
+ "contracts/type/PayoutId.sol": {
1785
+ "PayoutIdLib": [
1786
+ {
1787
+ "length": 20,
1788
+ "start": 9587
1123
1789
  },
1124
1790
  {
1125
1791
  "length": 20,
1126
- "start": 5471
1792
+ "start": 9995
1127
1793
  },
1128
1794
  {
1129
1795
  "length": 20,
1130
- "start": 6057
1796
+ "start": 10309
1131
1797
  }
1132
1798
  ]
1133
1799
  },
1134
- "contracts/types/Referral.sol": {
1800
+ "contracts/type/Referral.sol": {
1135
1801
  "ReferralLib": [
1136
1802
  {
1137
1803
  "length": 20,
1138
- "start": 1661
1804
+ "start": 3201
1139
1805
  },
1140
1806
  {
1141
1807
  "length": 20,
1142
- "start": 2333
1808
+ "start": 4151
1809
+ }
1810
+ ]
1811
+ },
1812
+ "contracts/type/RequestId.sol": {
1813
+ "RequestIdLib": [
1814
+ {
1815
+ "length": 20,
1816
+ "start": 10643
1143
1817
  }
1144
1818
  ]
1145
1819
  },
1146
- "contracts/types/RiskId.sol": {
1820
+ "contracts/type/RiskId.sol": {
1147
1821
  "RiskIdLib": [
1148
1822
  {
1149
1823
  "length": 20,
1150
- "start": 2874
1824
+ "start": 6133
1151
1825
  }
1152
1826
  ]
1153
1827
  },
1154
- "contracts/types/Timestamp.sol": {
1828
+ "contracts/type/Timestamp.sol": {
1155
1829
  "TimestampLib": [
1156
1830
  {
1157
1831
  "length": 20,
1158
- "start": 3929
1832
+ "start": 7217
1833
+ },
1834
+ {
1835
+ "length": 20,
1836
+ "start": 7444
1837
+ },
1838
+ {
1839
+ "length": 20,
1840
+ "start": 8023
1841
+ },
1842
+ {
1843
+ "length": 20,
1844
+ "start": 8139
1159
1845
  },
1160
1846
  {
1161
1847
  "length": 20,
1162
- "start": 4160
1848
+ "start": 8283
1163
1849
  }
1164
1850
  ]
1165
1851
  },
1166
- "contracts/types/UFixed.sol": {
1852
+ "contracts/type/UFixed.sol": {
1167
1853
  "UFixedLib": [
1168
1854
  {
1169
1855
  "length": 20,
1170
- "start": 1451
1856
+ "start": 3002
1171
1857
  },
1172
1858
  {
1173
1859
  "length": 20,
1174
- "start": 2465
1860
+ "start": 4280
1175
1861
  },
1176
1862
  {
1177
1863
  "length": 20,
1178
- "start": 4030
1864
+ "start": 7316
1179
1865
  },
1180
1866
  {
1181
1867
  "length": 20,
1182
- "start": 4289
1868
+ "start": 7571
1183
1869
  },
1184
1870
  {
1185
1871
  "length": 20,
1186
- "start": 4432
1872
+ "start": 7712
1187
1873
  }
1188
1874
  ]
1189
1875
  }
1190
1876
  },
1191
1877
  "deployedLinkReferences": {
1192
- "contracts/types/DistributorType.sol": {
1878
+ "contracts/type/Amount.sol": {
1879
+ "AmountLib": [
1880
+ {
1881
+ "length": 20,
1882
+ "start": 10863
1883
+ }
1884
+ ]
1885
+ },
1886
+ "contracts/type/ClaimId.sol": {
1887
+ "ClaimIdLib": [
1888
+ {
1889
+ "length": 20,
1890
+ "start": 5676
1891
+ },
1892
+ {
1893
+ "length": 20,
1894
+ "start": 6899
1895
+ },
1896
+ {
1897
+ "length": 20,
1898
+ "start": 10039
1899
+ }
1900
+ ]
1901
+ },
1902
+ "contracts/type/DistributorType.sol": {
1193
1903
  "DistributorTypeLib": [
1194
1904
  {
1195
1905
  "length": 20,
1196
- "start": 5212
1906
+ "start": 8989
1197
1907
  }
1198
1908
  ]
1199
1909
  },
1200
- "contracts/types/NftId.sol": {
1910
+ "contracts/type/NftId.sol": {
1201
1911
  "NftIdLib": [
1202
1912
  {
1203
1913
  "length": 20,
1204
- "start": 1862
1914
+ "start": 3884
1915
+ },
1916
+ {
1917
+ "length": 20,
1918
+ "start": 4035
1919
+ },
1920
+ {
1921
+ "length": 20,
1922
+ "start": 4609
1923
+ },
1924
+ {
1925
+ "length": 20,
1926
+ "start": 4870
1927
+ },
1928
+ {
1929
+ "length": 20,
1930
+ "start": 5865
1205
1931
  },
1206
1932
  {
1207
1933
  "length": 20,
1208
- "start": 2242
1934
+ "start": 5937
1209
1935
  },
1210
1936
  {
1211
1937
  "length": 20,
1212
- "start": 2637
1938
+ "start": 7846
1213
1939
  },
1214
1940
  {
1215
1941
  "length": 20,
1216
- "start": 2682
1942
+ "start": 9209
1217
1943
  },
1218
1944
  {
1219
1945
  "length": 20,
1220
- "start": 2727
1946
+ "start": 9995
1947
+ }
1948
+ ]
1949
+ },
1950
+ "contracts/type/PayoutId.sol": {
1951
+ "PayoutIdLib": [
1952
+ {
1953
+ "length": 20,
1954
+ "start": 9550
1221
1955
  },
1222
1956
  {
1223
1957
  "length": 20,
1224
- "start": 5439
1958
+ "start": 9958
1225
1959
  },
1226
1960
  {
1227
1961
  "length": 20,
1228
- "start": 6025
1962
+ "start": 10272
1229
1963
  }
1230
1964
  ]
1231
1965
  },
1232
- "contracts/types/Referral.sol": {
1966
+ "contracts/type/Referral.sol": {
1233
1967
  "ReferralLib": [
1234
1968
  {
1235
1969
  "length": 20,
1236
- "start": 1629
1970
+ "start": 3164
1237
1971
  },
1238
1972
  {
1239
1973
  "length": 20,
1240
- "start": 2301
1974
+ "start": 4114
1975
+ }
1976
+ ]
1977
+ },
1978
+ "contracts/type/RequestId.sol": {
1979
+ "RequestIdLib": [
1980
+ {
1981
+ "length": 20,
1982
+ "start": 10606
1241
1983
  }
1242
1984
  ]
1243
1985
  },
1244
- "contracts/types/RiskId.sol": {
1986
+ "contracts/type/RiskId.sol": {
1245
1987
  "RiskIdLib": [
1246
1988
  {
1247
1989
  "length": 20,
1248
- "start": 2842
1990
+ "start": 6096
1249
1991
  }
1250
1992
  ]
1251
1993
  },
1252
- "contracts/types/Timestamp.sol": {
1994
+ "contracts/type/Timestamp.sol": {
1253
1995
  "TimestampLib": [
1254
1996
  {
1255
1997
  "length": 20,
1256
- "start": 3897
1998
+ "start": 7180
1999
+ },
2000
+ {
2001
+ "length": 20,
2002
+ "start": 7407
2003
+ },
2004
+ {
2005
+ "length": 20,
2006
+ "start": 7986
2007
+ },
2008
+ {
2009
+ "length": 20,
2010
+ "start": 8102
1257
2011
  },
1258
2012
  {
1259
2013
  "length": 20,
1260
- "start": 4128
2014
+ "start": 8246
1261
2015
  }
1262
2016
  ]
1263
2017
  },
1264
- "contracts/types/UFixed.sol": {
2018
+ "contracts/type/UFixed.sol": {
1265
2019
  "UFixedLib": [
1266
2020
  {
1267
2021
  "length": 20,
1268
- "start": 1419
2022
+ "start": 2965
1269
2023
  },
1270
2024
  {
1271
2025
  "length": 20,
1272
- "start": 2433
2026
+ "start": 4243
1273
2027
  },
1274
2028
  {
1275
2029
  "length": 20,
1276
- "start": 3998
2030
+ "start": 7279
1277
2031
  },
1278
2032
  {
1279
2033
  "length": 20,
1280
- "start": 4257
2034
+ "start": 7534
1281
2035
  },
1282
2036
  {
1283
2037
  "length": 20,
1284
- "start": 4400
2038
+ "start": 7675
1285
2039
  }
1286
2040
  ]
1287
2041
  }