@etherisc/gif-next 0.0.2-def25d4-556 → 0.0.2-df73b56-462

Sign up to get free protection for your applications and to get access to all the features.
Files changed (679) hide show
  1. package/README.md +121 -18
  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/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +483 -552
  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/distribution/IDistributionComponent.sol/IDistributionComponent.json +906 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +932 -0
  36. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  37. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1411 -0
  38. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  39. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  40. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  41. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1545 -0
  42. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1983 -0
  44. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  46. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +518 -310
  48. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +447 -170
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +345 -3046
  52. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  53. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1623 -0
  54. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +942 -365
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +517 -315
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +337 -95
  62. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3607 -0
  64. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  66. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +38 -2
  68. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  69. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  70. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  72. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  75. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  76. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  78. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  79. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  82. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  83. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  84. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  85. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
  86. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  87. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  88. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  89. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  90. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  91. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +384 -370
  92. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  93. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  94. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  95. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +871 -0
  96. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  97. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +927 -0
  98. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +710 -0
  100. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  101. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1276 -0
  102. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  103. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  104. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  105. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1367 -0
  106. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  107. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +802 -0
  108. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  109. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +907 -0
  110. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  111. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +937 -0
  112. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  113. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1198 -0
  114. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  115. package/artifacts/contracts/pool/Pool.sol/Pool.json +1062 -0
  116. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  117. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1474 -0
  118. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  119. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +726 -0
  120. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  121. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +737 -0
  122. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +698 -0
  124. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  125. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1101 -0
  126. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  128. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  129. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1346 -0
  130. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +814 -0
  132. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → product/IApplicationService.sol/IApplicationService.json} +220 -189
  134. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  135. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +886 -0
  136. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  137. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +867 -0
  138. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  139. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IPricingService.sol/IPricingService.json} +290 -187
  140. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  141. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +953 -0
  142. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  143. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +125 -191
  144. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  145. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1223 -0
  146. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  147. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +762 -0
  148. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  149. package/artifacts/contracts/product/PricingService.sol/PricingService.json +865 -0
  150. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  151. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +746 -0
  152. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  153. package/artifacts/contracts/product/Product.sol/Product.json +1059 -0
  154. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  155. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  156. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  158. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  159. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  160. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  161. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +541 -184
  162. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  163. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +356 -269
  164. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  165. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  166. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  167. package/artifacts/contracts/registry/Registry.sol/Registry.json +873 -225
  168. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  169. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1858 -0
  170. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  171. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +439 -331
  172. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  173. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +313 -137
  174. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  175. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  176. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  177. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  178. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  179. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  180. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  181. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
  182. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  183. package/artifacts/contracts/shared/Component.sol/Component.json +685 -0
  184. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  185. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1573 -0
  186. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  187. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +794 -0
  188. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  189. package/artifacts/contracts/shared/{RegisterableUpgradable.sol/RegisterableUpgradable.json → ComponentVerifyingService.sol/ComponentVerifyingService.json} +149 -159
  190. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  191. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  192. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  193. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → shared/IComponent.sol/IComponent.json} +300 -256
  194. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  195. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  196. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  197. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
  198. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  199. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  200. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  201. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  202. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  203. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  204. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  205. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  206. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  207. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
  208. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  209. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  210. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  211. package/artifacts/contracts/shared/IService.sol/IService.json +97 -172
  212. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  213. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  214. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  215. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  216. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  217. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +793 -0
  218. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  219. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  220. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  221. package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
  222. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  223. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  224. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  225. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +65 -30
  226. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  227. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  228. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  229. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +44 -54
  230. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  231. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  232. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  233. package/artifacts/contracts/shared/Service.sol/Service.json +115 -183
  234. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  235. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  236. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  237. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  238. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  239. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  240. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  241. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  242. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  243. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  244. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  245. package/artifacts/contracts/staking/Staking.sol/Staking.json +1828 -0
  246. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  247. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  248. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +750 -0
  250. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  252. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  253. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1236 -0
  254. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  255. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  256. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  258. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  259. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  260. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  261. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  262. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  264. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  266. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  268. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  270. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  272. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  273. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  274. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  276. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  277. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  278. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  280. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  282. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  284. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  286. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  288. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  290. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  292. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  294. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  296. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  297. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  298. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  300. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  302. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  304. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  306. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  308. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  310. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  311. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  312. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  313. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +586 -0
  314. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  315. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  316. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  317. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  318. package/contracts/authorization/AccessAdmin.sol +592 -0
  319. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  320. package/contracts/authorization/Authorization.sol +217 -0
  321. package/contracts/authorization/IAccess.sol +48 -0
  322. package/contracts/authorization/IAccessAdmin.sol +135 -0
  323. package/contracts/authorization/IAuthorization.sol +54 -0
  324. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  325. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  326. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  327. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  328. package/contracts/distribution/BasicDistribution.sol +138 -0
  329. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  330. package/contracts/distribution/Distribution.sol +295 -0
  331. package/contracts/distribution/DistributionService.sol +336 -0
  332. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  333. package/contracts/distribution/IDistributionComponent.sol +52 -0
  334. package/contracts/distribution/IDistributionService.sol +101 -0
  335. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  336. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  337. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  338. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  339. package/contracts/instance/BundleSet.sol +126 -0
  340. package/contracts/instance/IInstance.sol +56 -25
  341. package/contracts/instance/IInstanceService.sol +78 -16
  342. package/contracts/instance/Instance.sol +159 -373
  343. package/contracts/instance/InstanceAdmin.sol +285 -0
  344. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  345. package/contracts/instance/InstanceReader.sol +214 -74
  346. package/contracts/instance/InstanceService.sol +408 -112
  347. package/contracts/instance/InstanceServiceManager.sol +14 -31
  348. package/contracts/instance/InstanceStore.sol +287 -0
  349. package/contracts/instance/base/BalanceStore.sol +123 -0
  350. package/contracts/instance/base/Cloneable.sol +28 -0
  351. package/contracts/instance/base/ObjectCounter.sol +21 -0
  352. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  353. package/contracts/instance/base/ObjectSet.sol +79 -0
  354. package/contracts/instance/module/IAccess.sol +29 -21
  355. package/contracts/instance/module/IBundle.sol +8 -7
  356. package/contracts/instance/module/IComponents.sol +48 -0
  357. package/contracts/instance/module/IDistribution.sol +6 -4
  358. package/contracts/instance/module/IPolicy.sol +58 -19
  359. package/contracts/instance/module/IRisk.sol +1 -1
  360. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  361. package/contracts/oracle/BasicOracle.sol +48 -0
  362. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  363. package/contracts/oracle/IOracle.sol +36 -0
  364. package/contracts/oracle/IOracleComponent.sol +33 -0
  365. package/contracts/oracle/IOracleService.sol +65 -0
  366. package/contracts/oracle/Oracle.sol +167 -0
  367. package/contracts/oracle/OracleService.sol +281 -0
  368. package/contracts/oracle/OracleServiceManager.sol +39 -0
  369. package/contracts/pool/BasicPool.sol +166 -0
  370. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  371. package/contracts/pool/BundleService.sol +438 -0
  372. package/contracts/pool/BundleServiceManager.sol +39 -0
  373. package/contracts/pool/IBundleService.sol +134 -0
  374. package/contracts/pool/IPoolComponent.sol +68 -0
  375. package/contracts/pool/IPoolService.sol +160 -0
  376. package/contracts/pool/Pool.sol +342 -0
  377. package/contracts/pool/PoolService.sol +508 -0
  378. package/contracts/pool/PoolServiceManager.sol +39 -0
  379. package/contracts/product/ApplicationService.sol +247 -0
  380. package/contracts/product/ApplicationServiceManager.sol +38 -0
  381. package/contracts/product/BasicProduct.sol +53 -0
  382. package/contracts/product/BasicProductAuthorization.sol +43 -0
  383. package/contracts/product/ClaimService.sol +573 -0
  384. package/contracts/product/ClaimServiceManager.sol +38 -0
  385. package/contracts/product/IApplicationService.sol +63 -0
  386. package/contracts/product/IClaimService.sol +122 -0
  387. package/contracts/product/IPolicyService.sol +77 -0
  388. package/contracts/product/IPricingService.sol +39 -0
  389. package/contracts/product/IProductComponent.sol +39 -0
  390. package/contracts/product/IRiskService.sol +33 -0
  391. package/contracts/product/PolicyService.sol +646 -0
  392. package/contracts/product/PolicyServiceManager.sol +39 -0
  393. package/contracts/product/PricingService.sol +300 -0
  394. package/contracts/product/PricingServiceManager.sol +39 -0
  395. package/contracts/product/Product.sol +426 -0
  396. package/contracts/product/RiskService.sol +96 -0
  397. package/contracts/product/RiskServiceManager.sol +39 -0
  398. package/contracts/registry/ChainNft.sol +79 -31
  399. package/contracts/registry/IRegistry.sol +122 -48
  400. package/contracts/registry/IRegistryService.sol +52 -16
  401. package/contracts/registry/ITransferInterceptor.sol +1 -0
  402. package/contracts/registry/Registry.sol +517 -304
  403. package/contracts/registry/RegistryAdmin.sol +464 -0
  404. package/contracts/registry/RegistryService.sol +121 -268
  405. package/contracts/registry/RegistryServiceManager.sol +26 -53
  406. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  407. package/contracts/registry/ReleaseRegistry.sol +491 -0
  408. package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
  409. package/contracts/registry/TokenRegistry.sol +261 -57
  410. package/contracts/shared/Component.sol +268 -0
  411. package/contracts/shared/ComponentService.sol +641 -0
  412. package/contracts/shared/ComponentServiceManager.sol +38 -0
  413. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  414. package/contracts/shared/ContractLib.sol +38 -0
  415. package/contracts/shared/IComponent.sol +70 -0
  416. package/contracts/shared/IComponentService.sol +108 -0
  417. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  418. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  419. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  420. package/contracts/shared/INftOwnable.sol +13 -12
  421. package/contracts/shared/IPolicyHolder.sol +35 -0
  422. package/contracts/shared/IRegisterable.sol +4 -6
  423. package/contracts/shared/IRegistryLinked.sol +11 -0
  424. package/contracts/shared/IService.sol +16 -6
  425. package/contracts/shared/InitializableCustom.sol +177 -0
  426. package/contracts/shared/InitializableERC165.sol +27 -0
  427. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  428. package/contracts/shared/KeyValueStore.sol +131 -0
  429. package/contracts/shared/Lifecycle.sol +77 -0
  430. package/contracts/shared/NftIdSet.sol +65 -0
  431. package/contracts/shared/NftOwnable.sol +60 -89
  432. package/contracts/shared/PolicyHolder.sol +58 -0
  433. package/contracts/shared/Registerable.sol +23 -38
  434. package/contracts/shared/RegistryLinked.sol +44 -0
  435. package/contracts/shared/Service.sol +63 -30
  436. package/contracts/shared/TokenHandler.sol +122 -10
  437. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  438. package/contracts/staking/IStaking.sol +168 -0
  439. package/contracts/staking/IStakingService.sol +160 -0
  440. package/contracts/staking/StakeManagerLib.sol +224 -0
  441. package/contracts/staking/Staking.sol +498 -0
  442. package/contracts/staking/StakingLifecycle.sol +23 -0
  443. package/contracts/staking/StakingManager.sol +52 -0
  444. package/contracts/staking/StakingReader.sol +183 -0
  445. package/contracts/staking/StakingService.sol +407 -0
  446. package/contracts/staking/StakingServiceManager.sol +44 -0
  447. package/contracts/staking/StakingStore.sol +605 -0
  448. package/contracts/staking/TargetManagerLib.sol +211 -0
  449. package/contracts/{types → type}/AddressSet.sol +1 -1
  450. package/contracts/type/Amount.sol +135 -0
  451. package/contracts/{types → type}/Blocknumber.sol +27 -3
  452. package/contracts/type/ClaimId.sol +75 -0
  453. package/contracts/{types → type}/DistributorType.sol +2 -2
  454. package/contracts/{types → type}/Fee.sol +33 -23
  455. package/contracts/{types → type}/NftId.sol +21 -15
  456. package/contracts/type/NftIdSet.sol +62 -0
  457. package/contracts/type/ObjectType.sol +275 -0
  458. package/contracts/type/PayoutId.sol +82 -0
  459. package/contracts/{types → type}/Referral.sol +6 -1
  460. package/contracts/type/RequestId.sol +75 -0
  461. package/contracts/{types → type}/RiskId.sol +1 -1
  462. package/contracts/type/RoleId.sol +174 -0
  463. package/contracts/type/Seconds.sol +101 -0
  464. package/contracts/type/Selector.sol +102 -0
  465. package/contracts/{types → type}/StateId.sol +35 -4
  466. package/contracts/type/String.sol +53 -0
  467. package/contracts/{types → type}/Timestamp.sol +34 -15
  468. package/contracts/{types → type}/UFixed.sol +35 -9
  469. package/contracts/{types → type}/Version.sol +5 -2
  470. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  471. package/contracts/upgradeability/ProxyManager.sol +231 -0
  472. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  473. package/contracts/upgradeability/Versionable.sol +59 -0
  474. package/package.json +10 -7
  475. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  476. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  477. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  478. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -670
  479. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  480. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  481. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  482. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -204
  483. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  484. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  485. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  486. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  487. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  488. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -790
  489. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  490. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  491. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  492. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  493. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  494. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  495. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  496. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  497. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  498. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  499. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  500. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  501. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  502. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  503. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  504. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  505. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  506. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  507. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  508. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  509. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  510. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  511. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  512. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  513. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  514. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  515. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  516. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  517. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  518. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  519. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  520. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  521. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  522. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  523. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  524. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  525. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  526. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  527. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  528. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  529. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  530. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  531. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  532. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  533. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  534. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  535. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  536. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  537. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  538. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  539. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  540. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  541. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  542. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  543. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  544. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  545. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  546. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  547. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  548. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  549. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -657
  550. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  551. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -436
  552. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  553. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  554. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  555. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  556. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  557. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  558. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  559. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  560. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  561. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  562. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  563. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  564. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  565. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  566. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  567. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  568. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  569. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  570. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  571. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  572. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  573. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  574. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  575. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  576. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  577. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  578. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  579. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  580. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  581. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  582. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  583. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  584. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  585. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  586. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  587. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  588. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  589. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  590. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  591. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  592. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  593. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  594. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  595. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  596. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  597. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  598. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  599. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  600. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  601. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  602. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  603. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  604. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  605. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  606. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  607. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  608. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  609. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  610. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  611. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  612. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  613. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  614. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  615. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  616. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  617. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  618. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  619. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  620. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  621. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  622. package/contracts/components/BaseComponent.sol +0 -91
  623. package/contracts/components/Distribution.sol +0 -166
  624. package/contracts/components/IBaseComponent.sol +0 -25
  625. package/contracts/components/IDistributionComponent.sol +0 -46
  626. package/contracts/components/IPoolComponent.sol +0 -62
  627. package/contracts/components/IProductComponent.sol +0 -35
  628. package/contracts/components/Pool.sol +0 -258
  629. package/contracts/components/Product.sol +0 -297
  630. package/contracts/experiment/cloning/Cloner.sol +0 -47
  631. package/contracts/experiment/errors/Require.sol +0 -38
  632. package/contracts/experiment/errors/Revert.sol +0 -44
  633. package/contracts/experiment/inheritance/A.sol +0 -53
  634. package/contracts/experiment/inheritance/B.sol +0 -28
  635. package/contracts/experiment/inheritance/C.sol +0 -34
  636. package/contracts/experiment/inheritance/IA.sol +0 -13
  637. package/contracts/experiment/inheritance/IB.sol +0 -10
  638. package/contracts/experiment/inheritance/IC.sol +0 -12
  639. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  640. package/contracts/experiment/statemachine/ISM.sol +0 -25
  641. package/contracts/experiment/statemachine/SM.sol +0 -57
  642. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  643. package/contracts/experiment/types/TypeA.sol +0 -47
  644. package/contracts/experiment/types/TypeB.sol +0 -29
  645. package/contracts/instance/AccessManagedSimple.sol +0 -115
  646. package/contracts/instance/AccessManagerSimple.sol +0 -692
  647. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  648. package/contracts/instance/InstanceAccessManager.sol +0 -288
  649. package/contracts/instance/base/ComponentServiceBase.sol +0 -41
  650. package/contracts/instance/base/IInstanceBase.sol +0 -23
  651. package/contracts/instance/base/KeyValueStore.sol +0 -172
  652. package/contracts/instance/base/Lifecycle.sol +0 -100
  653. package/contracts/instance/module/ISetup.sol +0 -43
  654. package/contracts/instance/module/ITreasury.sol +0 -23
  655. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  656. package/contracts/instance/service/DistributionService.sol +0 -105
  657. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  658. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  659. package/contracts/instance/service/IDistributionService.sol +0 -12
  660. package/contracts/instance/service/IPoolService.sol +0 -37
  661. package/contracts/instance/service/IProductService.sol +0 -107
  662. package/contracts/shared/ContractDeployerLib.sol +0 -72
  663. package/contracts/shared/ERC165.sol +0 -25
  664. package/contracts/shared/ProxyManager.sol +0 -94
  665. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  666. package/contracts/shared/Versionable.sol +0 -147
  667. package/contracts/test/TestFee.sol +0 -25
  668. package/contracts/test/TestRegisterable.sol +0 -18
  669. package/contracts/test/TestRoleId.sol +0 -14
  670. package/contracts/test/TestService.sol +0 -24
  671. package/contracts/test/TestToken.sol +0 -26
  672. package/contracts/test/TestVersion.sol +0 -44
  673. package/contracts/test/TestVersionable.sol +0 -17
  674. package/contracts/types/ChainId.sol +0 -38
  675. package/contracts/types/NftIdSet.sol +0 -60
  676. package/contracts/types/NumberId.sol +0 -52
  677. package/contracts/types/ObjectType.sol +0 -152
  678. package/contracts/types/RoleId.sol +0 -88
  679. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -4,40 +4,29 @@
4
4
  "sourceName": "contracts/instance/InstanceReader.sol",
5
5
  "abi": [
6
6
  {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "registry",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "instanceNftId",
16
- "type": "uint96"
17
- }
18
- ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
7
+ "inputs": [],
8
+ "name": "ErrorInstanceReaderAlreadyInitialized",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorInstanceReaderInstanceAddressZero",
14
+ "type": "error"
21
15
  },
22
16
  {
23
17
  "inputs": [
24
18
  {
25
- "internalType": "ReferralId",
26
- "name": "referralId",
27
- "type": "bytes8"
19
+ "internalType": "NftId",
20
+ "name": "targetNftId",
21
+ "type": "uint96"
28
22
  }
29
23
  ],
30
- "name": "getDiscountPercentage",
24
+ "name": "getBalanceAmount",
31
25
  "outputs": [
32
26
  {
33
- "internalType": "UFixed",
34
- "name": "discountPercentage",
35
- "type": "uint256"
36
- },
37
- {
38
- "internalType": "ReferralStatus",
39
- "name": "status",
40
- "type": "uint8"
27
+ "internalType": "Amount",
28
+ "name": "",
29
+ "type": "uint96"
41
30
  }
42
31
  ],
43
32
  "stateMutability": "view",
@@ -47,24 +36,19 @@
47
36
  "inputs": [
48
37
  {
49
38
  "internalType": "NftId",
50
- "name": "distributionNftId",
39
+ "name": "bundleNftId",
51
40
  "type": "uint96"
52
41
  }
53
42
  ],
54
- "name": "getDistributionSetupInfo",
43
+ "name": "getBundleInfo",
55
44
  "outputs": [
56
45
  {
57
46
  "components": [
58
47
  {
59
48
  "internalType": "NftId",
60
- "name": "productNftId",
49
+ "name": "poolNftId",
61
50
  "type": "uint96"
62
51
  },
63
- {
64
- "internalType": "contract TokenHandler",
65
- "name": "tokenHandler",
66
- "type": "address"
67
- },
68
52
  {
69
53
  "components": [
70
54
  {
@@ -79,21 +63,186 @@
79
63
  }
80
64
  ],
81
65
  "internalType": "struct Fee",
82
- "name": "distributionFee",
66
+ "name": "fee",
83
67
  "type": "tuple"
84
68
  },
85
69
  {
86
- "internalType": "bool",
87
- "name": "isIntercepting",
88
- "type": "bool"
70
+ "internalType": "bytes",
71
+ "name": "filter",
72
+ "type": "bytes"
73
+ },
74
+ {
75
+ "internalType": "Timestamp",
76
+ "name": "activatedAt",
77
+ "type": "uint40"
78
+ },
79
+ {
80
+ "internalType": "Timestamp",
81
+ "name": "expiredAt",
82
+ "type": "uint40"
83
+ },
84
+ {
85
+ "internalType": "Timestamp",
86
+ "name": "closedAt",
87
+ "type": "uint40"
88
+ }
89
+ ],
90
+ "internalType": "struct IBundle.BundleInfo",
91
+ "name": "info",
92
+ "type": "tuple"
93
+ }
94
+ ],
95
+ "stateMutability": "view",
96
+ "type": "function"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "NftId",
102
+ "name": "bundleNftId",
103
+ "type": "uint96"
104
+ }
105
+ ],
106
+ "name": "getBundleState",
107
+ "outputs": [
108
+ {
109
+ "internalType": "StateId",
110
+ "name": "state",
111
+ "type": "uint8"
112
+ }
113
+ ],
114
+ "stateMutability": "view",
115
+ "type": "function"
116
+ },
117
+ {
118
+ "inputs": [
119
+ {
120
+ "internalType": "NftId",
121
+ "name": "policyNftId",
122
+ "type": "uint96"
123
+ },
124
+ {
125
+ "internalType": "ClaimId",
126
+ "name": "claimId",
127
+ "type": "uint16"
128
+ }
129
+ ],
130
+ "name": "getClaimInfo",
131
+ "outputs": [
132
+ {
133
+ "components": [
134
+ {
135
+ "internalType": "Amount",
136
+ "name": "claimAmount",
137
+ "type": "uint96"
138
+ },
139
+ {
140
+ "internalType": "Amount",
141
+ "name": "paidAmount",
142
+ "type": "uint96"
143
+ },
144
+ {
145
+ "internalType": "uint8",
146
+ "name": "payoutsCount",
147
+ "type": "uint8"
148
+ },
149
+ {
150
+ "internalType": "uint8",
151
+ "name": "openPayoutsCount",
152
+ "type": "uint8"
153
+ },
154
+ {
155
+ "internalType": "bytes",
156
+ "name": "submissionData",
157
+ "type": "bytes"
158
+ },
159
+ {
160
+ "internalType": "bytes",
161
+ "name": "processData",
162
+ "type": "bytes"
163
+ },
164
+ {
165
+ "internalType": "Timestamp",
166
+ "name": "closedAt",
167
+ "type": "uint40"
168
+ }
169
+ ],
170
+ "internalType": "struct IPolicy.ClaimInfo",
171
+ "name": "info",
172
+ "type": "tuple"
173
+ }
174
+ ],
175
+ "stateMutability": "view",
176
+ "type": "function"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "NftId",
182
+ "name": "policyNftId",
183
+ "type": "uint96"
184
+ },
185
+ {
186
+ "internalType": "ClaimId",
187
+ "name": "claimId",
188
+ "type": "uint16"
189
+ }
190
+ ],
191
+ "name": "getClaimState",
192
+ "outputs": [
193
+ {
194
+ "internalType": "StateId",
195
+ "name": "state",
196
+ "type": "uint8"
197
+ }
198
+ ],
199
+ "stateMutability": "view",
200
+ "type": "function"
201
+ },
202
+ {
203
+ "inputs": [
204
+ {
205
+ "internalType": "NftId",
206
+ "name": "componentNftId",
207
+ "type": "uint96"
208
+ }
209
+ ],
210
+ "name": "getComponentInfo",
211
+ "outputs": [
212
+ {
213
+ "components": [
214
+ {
215
+ "internalType": "string",
216
+ "name": "name",
217
+ "type": "string"
218
+ },
219
+ {
220
+ "internalType": "NftId",
221
+ "name": "productNftId",
222
+ "type": "uint96"
223
+ },
224
+ {
225
+ "internalType": "contract IERC20Metadata",
226
+ "name": "token",
227
+ "type": "address"
228
+ },
229
+ {
230
+ "internalType": "contract TokenHandler",
231
+ "name": "tokenHandler",
232
+ "type": "address"
89
233
  },
90
234
  {
91
235
  "internalType": "address",
92
236
  "name": "wallet",
93
237
  "type": "address"
238
+ },
239
+ {
240
+ "internalType": "bytes",
241
+ "name": "data",
242
+ "type": "bytes"
94
243
  }
95
244
  ],
96
- "internalType": "struct ISetup.DistributionSetupInfo",
245
+ "internalType": "struct IComponents.ComponentInfo",
97
246
  "name": "info",
98
247
  "type": "tuple"
99
248
  }
@@ -101,6 +250,30 @@
101
250
  "stateMutability": "view",
102
251
  "type": "function"
103
252
  },
253
+ {
254
+ "inputs": [
255
+ {
256
+ "internalType": "ReferralId",
257
+ "name": "referralId",
258
+ "type": "bytes8"
259
+ }
260
+ ],
261
+ "name": "getDiscountPercentage",
262
+ "outputs": [
263
+ {
264
+ "internalType": "UFixed",
265
+ "name": "discountPercentage",
266
+ "type": "uint256"
267
+ },
268
+ {
269
+ "internalType": "ReferralStatus",
270
+ "name": "status",
271
+ "type": "uint8"
272
+ }
273
+ ],
274
+ "stateMutability": "view",
275
+ "type": "function"
276
+ },
104
277
  {
105
278
  "inputs": [
106
279
  {
@@ -127,6 +300,11 @@
127
300
  "internalType": "bytes",
128
301
  "name": "data",
129
302
  "type": "bytes"
303
+ },
304
+ {
305
+ "internalType": "uint32",
306
+ "name": "numPoliciesSold",
307
+ "type": "uint32"
130
308
  }
131
309
  ],
132
310
  "internalType": "struct IDistribution.DistributorInfo",
@@ -204,13 +382,19 @@
204
382
  "type": "function"
205
383
  },
206
384
  {
207
- "inputs": [],
208
- "name": "getInstance",
385
+ "inputs": [
386
+ {
387
+ "internalType": "NftId",
388
+ "name": "targetNftId",
389
+ "type": "uint96"
390
+ }
391
+ ],
392
+ "name": "getFeeAmount",
209
393
  "outputs": [
210
394
  {
211
- "internalType": "contract IInstance",
212
- "name": "instance",
213
- "type": "address"
395
+ "internalType": "Amount",
396
+ "name": "",
397
+ "type": "uint96"
214
398
  }
215
399
  ],
216
400
  "stateMutability": "view",
@@ -218,12 +402,12 @@
218
402
  },
219
403
  {
220
404
  "inputs": [],
221
- "name": "getInstanceNftId",
405
+ "name": "getInstance",
222
406
  "outputs": [
223
407
  {
224
- "internalType": "NftId",
225
- "name": "nftId",
226
- "type": "uint96"
408
+ "internalType": "contract IInstance",
409
+ "name": "instance",
410
+ "type": "address"
227
411
  }
228
412
  ],
229
413
  "stateMutability": "view",
@@ -242,6 +426,25 @@
242
426
  "stateMutability": "view",
243
427
  "type": "function"
244
428
  },
429
+ {
430
+ "inputs": [
431
+ {
432
+ "internalType": "NftId",
433
+ "name": "targetNftId",
434
+ "type": "uint96"
435
+ }
436
+ ],
437
+ "name": "getLockedAmount",
438
+ "outputs": [
439
+ {
440
+ "internalType": "Amount",
441
+ "name": "",
442
+ "type": "uint96"
443
+ }
444
+ ],
445
+ "stateMutability": "view",
446
+ "type": "function"
447
+ },
245
448
  {
246
449
  "inputs": [
247
450
  {
@@ -264,11 +467,6 @@
264
467
  "name": "state",
265
468
  "type": "uint8"
266
469
  },
267
- {
268
- "internalType": "address",
269
- "name": "updatedBy",
270
- "type": "address"
271
- },
272
470
  {
273
471
  "internalType": "Blocknumber",
274
472
  "name": "updatedIn",
@@ -294,15 +492,90 @@
294
492
  "internalType": "NftId",
295
493
  "name": "policyNftId",
296
494
  "type": "uint96"
495
+ },
496
+ {
497
+ "internalType": "PayoutId",
498
+ "name": "payoutId",
499
+ "type": "uint24"
297
500
  }
298
501
  ],
299
- "name": "getPolicyInfo",
502
+ "name": "getPayoutInfo",
300
503
  "outputs": [
301
504
  {
302
505
  "components": [
303
506
  {
304
- "internalType": "NftId",
305
- "name": "productNftId",
507
+ "internalType": "ClaimId",
508
+ "name": "claimId",
509
+ "type": "uint16"
510
+ },
511
+ {
512
+ "internalType": "Amount",
513
+ "name": "amount",
514
+ "type": "uint96"
515
+ },
516
+ {
517
+ "internalType": "address",
518
+ "name": "beneficiary",
519
+ "type": "address"
520
+ },
521
+ {
522
+ "internalType": "bytes",
523
+ "name": "data",
524
+ "type": "bytes"
525
+ },
526
+ {
527
+ "internalType": "Timestamp",
528
+ "name": "paidAt",
529
+ "type": "uint40"
530
+ }
531
+ ],
532
+ "internalType": "struct IPolicy.PayoutInfo",
533
+ "name": "info",
534
+ "type": "tuple"
535
+ }
536
+ ],
537
+ "stateMutability": "view",
538
+ "type": "function"
539
+ },
540
+ {
541
+ "inputs": [
542
+ {
543
+ "internalType": "NftId",
544
+ "name": "policyNftId",
545
+ "type": "uint96"
546
+ },
547
+ {
548
+ "internalType": "PayoutId",
549
+ "name": "payoutId",
550
+ "type": "uint24"
551
+ }
552
+ ],
553
+ "name": "getPayoutState",
554
+ "outputs": [
555
+ {
556
+ "internalType": "StateId",
557
+ "name": "state",
558
+ "type": "uint8"
559
+ }
560
+ ],
561
+ "stateMutability": "view",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [
566
+ {
567
+ "internalType": "NftId",
568
+ "name": "policyNftId",
569
+ "type": "uint96"
570
+ }
571
+ ],
572
+ "name": "getPolicyInfo",
573
+ "outputs": [
574
+ {
575
+ "components": [
576
+ {
577
+ "internalType": "NftId",
578
+ "name": "productNftId",
306
579
  "type": "uint96"
307
580
  },
308
581
  {
@@ -321,24 +594,19 @@
321
594
  "type": "bytes8"
322
595
  },
323
596
  {
324
- "internalType": "uint256",
597
+ "internalType": "Amount",
325
598
  "name": "sumInsuredAmount",
326
- "type": "uint256"
599
+ "type": "uint96"
327
600
  },
328
601
  {
329
- "internalType": "uint256",
602
+ "internalType": "Amount",
330
603
  "name": "premiumAmount",
331
- "type": "uint256"
332
- },
333
- {
334
- "internalType": "uint256",
335
- "name": "premiumPaidAmount",
336
- "type": "uint256"
604
+ "type": "uint96"
337
605
  },
338
606
  {
339
- "internalType": "uint256",
607
+ "internalType": "Seconds",
340
608
  "name": "lifetime",
341
- "type": "uint256"
609
+ "type": "uint40"
342
610
  },
343
611
  {
344
612
  "internalType": "bytes",
@@ -347,7 +615,7 @@
347
615
  },
348
616
  {
349
617
  "internalType": "bytes",
350
- "name": "policyData",
618
+ "name": "processData",
351
619
  "type": "bytes"
352
620
  },
353
621
  {
@@ -361,9 +629,14 @@
361
629
  "type": "uint16"
362
630
  },
363
631
  {
364
- "internalType": "uint256",
632
+ "internalType": "Amount",
633
+ "name": "claimAmount",
634
+ "type": "uint96"
635
+ },
636
+ {
637
+ "internalType": "Amount",
365
638
  "name": "payoutAmount",
366
- "type": "uint256"
639
+ "type": "uint96"
367
640
  },
368
641
  {
369
642
  "internalType": "Timestamp",
@@ -389,6 +662,25 @@
389
662
  "stateMutability": "view",
390
663
  "type": "function"
391
664
  },
665
+ {
666
+ "inputs": [
667
+ {
668
+ "internalType": "NftId",
669
+ "name": "policyNftId",
670
+ "type": "uint96"
671
+ }
672
+ ],
673
+ "name": "getPolicyState",
674
+ "outputs": [
675
+ {
676
+ "internalType": "StateId",
677
+ "name": "state",
678
+ "type": "uint8"
679
+ }
680
+ ],
681
+ "stateMutability": "view",
682
+ "type": "function"
683
+ },
392
684
  {
393
685
  "inputs": [
394
686
  {
@@ -397,88 +689,52 @@
397
689
  "type": "uint96"
398
690
  }
399
691
  ],
400
- "name": "getPoolSetupInfo",
692
+ "name": "getPoolInfo",
401
693
  "outputs": [
402
694
  {
403
695
  "components": [
404
696
  {
405
- "internalType": "NftId",
406
- "name": "productNftId",
697
+ "internalType": "Amount",
698
+ "name": "maxBalanceAmount",
407
699
  "type": "uint96"
408
700
  },
409
701
  {
410
- "internalType": "contract TokenHandler",
411
- "name": "tokenHandler",
412
- "type": "address"
413
- },
414
- {
415
- "internalType": "UFixed",
416
- "name": "collateralizationLevel",
417
- "type": "uint256"
702
+ "internalType": "RoleId",
703
+ "name": "bundleOwnerRole",
704
+ "type": "uint64"
418
705
  },
419
706
  {
420
- "components": [
421
- {
422
- "internalType": "UFixed",
423
- "name": "fractionalFee",
424
- "type": "uint256"
425
- },
426
- {
427
- "internalType": "uint256",
428
- "name": "fixedFee",
429
- "type": "uint256"
430
- }
431
- ],
432
- "internalType": "struct Fee",
433
- "name": "poolFee",
434
- "type": "tuple"
707
+ "internalType": "bool",
708
+ "name": "isInterceptingBundleTransfers",
709
+ "type": "bool"
435
710
  },
436
711
  {
437
- "components": [
438
- {
439
- "internalType": "UFixed",
440
- "name": "fractionalFee",
441
- "type": "uint256"
442
- },
443
- {
444
- "internalType": "uint256",
445
- "name": "fixedFee",
446
- "type": "uint256"
447
- }
448
- ],
449
- "internalType": "struct Fee",
450
- "name": "stakingFee",
451
- "type": "tuple"
712
+ "internalType": "bool",
713
+ "name": "isProcessingConfirmedClaims",
714
+ "type": "bool"
452
715
  },
453
716
  {
454
- "components": [
455
- {
456
- "internalType": "UFixed",
457
- "name": "fractionalFee",
458
- "type": "uint256"
459
- },
460
- {
461
- "internalType": "uint256",
462
- "name": "fixedFee",
463
- "type": "uint256"
464
- }
465
- ],
466
- "internalType": "struct Fee",
467
- "name": "performanceFee",
468
- "type": "tuple"
717
+ "internalType": "bool",
718
+ "name": "isExternallyManaged",
719
+ "type": "bool"
469
720
  },
470
721
  {
471
722
  "internalType": "bool",
472
- "name": "isIntercepting",
723
+ "name": "isVerifyingApplications",
473
724
  "type": "bool"
474
725
  },
475
726
  {
476
- "internalType": "address",
477
- "name": "wallet",
478
- "type": "address"
727
+ "internalType": "UFixed",
728
+ "name": "collateralizationLevel",
729
+ "type": "uint256"
730
+ },
731
+ {
732
+ "internalType": "UFixed",
733
+ "name": "retentionLevel",
734
+ "type": "uint256"
479
735
  }
480
736
  ],
481
- "internalType": "struct ISetup.PoolSetupInfo",
737
+ "internalType": "struct IComponents.PoolInfo",
482
738
  "name": "info",
483
739
  "type": "tuple"
484
740
  }
@@ -490,24 +746,144 @@
490
746
  "inputs": [
491
747
  {
492
748
  "internalType": "NftId",
493
- "name": "productNftId",
749
+ "name": "policyNftId",
494
750
  "type": "uint96"
495
751
  }
496
752
  ],
497
- "name": "getProductSetupInfo",
753
+ "name": "getPremiumInfo",
498
754
  "outputs": [
499
755
  {
500
756
  "components": [
501
757
  {
502
- "internalType": "contract IERC20Metadata",
503
- "name": "token",
504
- "type": "address"
758
+ "internalType": "Amount",
759
+ "name": "productFeeAmount",
760
+ "type": "uint96"
505
761
  },
506
762
  {
507
- "internalType": "contract TokenHandler",
508
- "name": "tokenHandler",
509
- "type": "address"
763
+ "internalType": "Amount",
764
+ "name": "distributionFeeAndCommissionAmount",
765
+ "type": "uint96"
766
+ },
767
+ {
768
+ "internalType": "Amount",
769
+ "name": "poolPremiumAndFeeAmount",
770
+ "type": "uint96"
771
+ },
772
+ {
773
+ "internalType": "Amount",
774
+ "name": "netPremiumAmount",
775
+ "type": "uint96"
776
+ },
777
+ {
778
+ "internalType": "Amount",
779
+ "name": "fullPremiumAmount",
780
+ "type": "uint96"
781
+ },
782
+ {
783
+ "internalType": "Amount",
784
+ "name": "premiumAmount",
785
+ "type": "uint96"
786
+ },
787
+ {
788
+ "internalType": "Amount",
789
+ "name": "productFeeFixAmount",
790
+ "type": "uint96"
791
+ },
792
+ {
793
+ "internalType": "Amount",
794
+ "name": "poolFeeFixAmount",
795
+ "type": "uint96"
510
796
  },
797
+ {
798
+ "internalType": "Amount",
799
+ "name": "bundleFeeFixAmount",
800
+ "type": "uint96"
801
+ },
802
+ {
803
+ "internalType": "Amount",
804
+ "name": "distributionFeeFixAmount",
805
+ "type": "uint96"
806
+ },
807
+ {
808
+ "internalType": "Amount",
809
+ "name": "productFeeVarAmount",
810
+ "type": "uint96"
811
+ },
812
+ {
813
+ "internalType": "Amount",
814
+ "name": "poolFeeVarAmount",
815
+ "type": "uint96"
816
+ },
817
+ {
818
+ "internalType": "Amount",
819
+ "name": "bundleFeeVarAmount",
820
+ "type": "uint96"
821
+ },
822
+ {
823
+ "internalType": "Amount",
824
+ "name": "distributionFeeVarAmount",
825
+ "type": "uint96"
826
+ },
827
+ {
828
+ "internalType": "Amount",
829
+ "name": "distributionOwnerFeeFixAmount",
830
+ "type": "uint96"
831
+ },
832
+ {
833
+ "internalType": "Amount",
834
+ "name": "distributionOwnerFeeVarAmount",
835
+ "type": "uint96"
836
+ },
837
+ {
838
+ "internalType": "Amount",
839
+ "name": "commissionAmount",
840
+ "type": "uint96"
841
+ },
842
+ {
843
+ "internalType": "Amount",
844
+ "name": "discountAmount",
845
+ "type": "uint96"
846
+ }
847
+ ],
848
+ "internalType": "struct IPolicy.PremiumInfo",
849
+ "name": "info",
850
+ "type": "tuple"
851
+ }
852
+ ],
853
+ "stateMutability": "view",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [
858
+ {
859
+ "internalType": "NftId",
860
+ "name": "policyNftId",
861
+ "type": "uint96"
862
+ }
863
+ ],
864
+ "name": "getPremiumInfoState",
865
+ "outputs": [
866
+ {
867
+ "internalType": "StateId",
868
+ "name": "state",
869
+ "type": "uint8"
870
+ }
871
+ ],
872
+ "stateMutability": "view",
873
+ "type": "function"
874
+ },
875
+ {
876
+ "inputs": [
877
+ {
878
+ "internalType": "NftId",
879
+ "name": "productNftId",
880
+ "type": "uint96"
881
+ }
882
+ ],
883
+ "name": "getProductInfo",
884
+ "outputs": [
885
+ {
886
+ "components": [
511
887
  {
512
888
  "internalType": "NftId",
513
889
  "name": "distributionNftId",
@@ -518,6 +894,11 @@
518
894
  "name": "poolNftId",
519
895
  "type": "uint96"
520
896
  },
897
+ {
898
+ "internalType": "bool",
899
+ "name": "isProcessingFundedClaims",
900
+ "type": "bool"
901
+ },
521
902
  {
522
903
  "components": [
523
904
  {
@@ -532,7 +913,7 @@
532
913
  }
533
914
  ],
534
915
  "internalType": "struct Fee",
535
- "name": "distributionFee",
916
+ "name": "productFee",
536
917
  "type": "tuple"
537
918
  },
538
919
  {
@@ -549,7 +930,7 @@
549
930
  }
550
931
  ],
551
932
  "internalType": "struct Fee",
552
- "name": "productFee",
933
+ "name": "processingFee",
553
934
  "type": "tuple"
554
935
  },
555
936
  {
@@ -566,7 +947,24 @@
566
947
  }
567
948
  ],
568
949
  "internalType": "struct Fee",
569
- "name": "processingFee",
950
+ "name": "distributionFee",
951
+ "type": "tuple"
952
+ },
953
+ {
954
+ "components": [
955
+ {
956
+ "internalType": "UFixed",
957
+ "name": "fractionalFee",
958
+ "type": "uint256"
959
+ },
960
+ {
961
+ "internalType": "uint256",
962
+ "name": "fixedFee",
963
+ "type": "uint256"
964
+ }
965
+ ],
966
+ "internalType": "struct Fee",
967
+ "name": "minDistributionOwnerFee",
570
968
  "type": "tuple"
571
969
  },
572
970
  {
@@ -621,7 +1019,7 @@
621
1019
  "type": "tuple"
622
1020
  }
623
1021
  ],
624
- "internalType": "struct ISetup.ProductSetupInfo",
1022
+ "internalType": "struct IComponents.ProductInfo",
625
1023
  "name": "info",
626
1024
  "type": "tuple"
627
1025
  }
@@ -688,28 +1086,58 @@
688
1086
  {
689
1087
  "inputs": [
690
1088
  {
691
- "internalType": "RiskId",
692
- "name": "riskId",
693
- "type": "bytes8"
1089
+ "internalType": "RequestId",
1090
+ "name": "requestId",
1091
+ "type": "uint64"
694
1092
  }
695
1093
  ],
696
- "name": "getRiskInfo",
1094
+ "name": "getRequestInfo",
697
1095
  "outputs": [
698
1096
  {
699
1097
  "components": [
700
1098
  {
701
1099
  "internalType": "NftId",
702
- "name": "productNftId",
1100
+ "name": "requesterNftId",
1101
+ "type": "uint96"
1102
+ },
1103
+ {
1104
+ "internalType": "string",
1105
+ "name": "callbackMethodName",
1106
+ "type": "string"
1107
+ },
1108
+ {
1109
+ "internalType": "NftId",
1110
+ "name": "oracleNftId",
703
1111
  "type": "uint96"
704
1112
  },
705
1113
  {
706
1114
  "internalType": "bytes",
707
- "name": "data",
1115
+ "name": "requestData",
708
1116
  "type": "bytes"
1117
+ },
1118
+ {
1119
+ "internalType": "bytes",
1120
+ "name": "responseData",
1121
+ "type": "bytes"
1122
+ },
1123
+ {
1124
+ "internalType": "Timestamp",
1125
+ "name": "respondedAt",
1126
+ "type": "uint40"
1127
+ },
1128
+ {
1129
+ "internalType": "Timestamp",
1130
+ "name": "expiredAt",
1131
+ "type": "uint40"
1132
+ },
1133
+ {
1134
+ "internalType": "bool",
1135
+ "name": "isCancelled",
1136
+ "type": "bool"
709
1137
  }
710
1138
  ],
711
- "internalType": "struct IRisk.RiskInfo",
712
- "name": "info",
1139
+ "internalType": "struct IOracle.RequestInfo",
1140
+ "name": "requestInfo",
713
1141
  "type": "tuple"
714
1142
  }
715
1143
  ],
@@ -719,158 +1147,27 @@
719
1147
  {
720
1148
  "inputs": [
721
1149
  {
722
- "internalType": "NftId",
723
- "name": "productNftId",
724
- "type": "uint96"
725
- }
726
- ],
727
- "name": "getTokenHandler",
728
- "outputs": [
729
- {
730
- "internalType": "address",
731
- "name": "tokenHandler",
732
- "type": "address"
733
- }
734
- ],
735
- "stateMutability": "view",
736
- "type": "function"
737
- },
738
- {
739
- "inputs": [
740
- {
741
- "internalType": "NftId",
742
- "name": "productNftId",
743
- "type": "uint96"
1150
+ "internalType": "RiskId",
1151
+ "name": "riskId",
1152
+ "type": "bytes8"
744
1153
  }
745
1154
  ],
746
- "name": "getTreasuryInfo",
1155
+ "name": "getRiskInfo",
747
1156
  "outputs": [
748
1157
  {
749
1158
  "components": [
750
- {
751
- "internalType": "contract IERC20Metadata",
752
- "name": "token",
753
- "type": "address"
754
- },
755
- {
756
- "internalType": "contract TokenHandler",
757
- "name": "tokenHandler",
758
- "type": "address"
759
- },
760
1159
  {
761
1160
  "internalType": "NftId",
762
- "name": "distributionNftId",
763
- "type": "uint96"
764
- },
765
- {
766
- "internalType": "NftId",
767
- "name": "poolNftId",
1161
+ "name": "productNftId",
768
1162
  "type": "uint96"
769
- },
770
- {
771
- "components": [
772
- {
773
- "internalType": "UFixed",
774
- "name": "fractionalFee",
775
- "type": "uint256"
776
- },
777
- {
778
- "internalType": "uint256",
779
- "name": "fixedFee",
780
- "type": "uint256"
781
- }
782
- ],
783
- "internalType": "struct Fee",
784
- "name": "distributionFee",
785
- "type": "tuple"
786
- },
787
- {
788
- "components": [
789
- {
790
- "internalType": "UFixed",
791
- "name": "fractionalFee",
792
- "type": "uint256"
793
- },
794
- {
795
- "internalType": "uint256",
796
- "name": "fixedFee",
797
- "type": "uint256"
798
- }
799
- ],
800
- "internalType": "struct Fee",
801
- "name": "productFee",
802
- "type": "tuple"
803
- },
804
- {
805
- "components": [
806
- {
807
- "internalType": "UFixed",
808
- "name": "fractionalFee",
809
- "type": "uint256"
810
- },
811
- {
812
- "internalType": "uint256",
813
- "name": "fixedFee",
814
- "type": "uint256"
815
- }
816
- ],
817
- "internalType": "struct Fee",
818
- "name": "processingFee",
819
- "type": "tuple"
820
- },
821
- {
822
- "components": [
823
- {
824
- "internalType": "UFixed",
825
- "name": "fractionalFee",
826
- "type": "uint256"
827
- },
828
- {
829
- "internalType": "uint256",
830
- "name": "fixedFee",
831
- "type": "uint256"
832
- }
833
- ],
834
- "internalType": "struct Fee",
835
- "name": "poolFee",
836
- "type": "tuple"
837
- },
838
- {
839
- "components": [
840
- {
841
- "internalType": "UFixed",
842
- "name": "fractionalFee",
843
- "type": "uint256"
844
- },
845
- {
846
- "internalType": "uint256",
847
- "name": "fixedFee",
848
- "type": "uint256"
849
- }
850
- ],
851
- "internalType": "struct Fee",
852
- "name": "stakingFee",
853
- "type": "tuple"
854
- },
855
- {
856
- "components": [
857
- {
858
- "internalType": "UFixed",
859
- "name": "fractionalFee",
860
- "type": "uint256"
861
- },
862
- {
863
- "internalType": "uint256",
864
- "name": "fixedFee",
865
- "type": "uint256"
866
- }
867
- ],
868
- "internalType": "struct Fee",
869
- "name": "performanceFee",
870
- "type": "tuple"
1163
+ },
1164
+ {
1165
+ "internalType": "bytes",
1166
+ "name": "data",
1167
+ "type": "bytes"
871
1168
  }
872
1169
  ],
873
- "internalType": "struct ITreasury.TreasuryInfo",
1170
+ "internalType": "struct IRisk.RiskInfo",
874
1171
  "name": "info",
875
1172
  "type": "tuple"
876
1173
  }
@@ -878,24 +1175,188 @@
878
1175
  "stateMutability": "view",
879
1176
  "type": "function"
880
1177
  },
1178
+ {
1179
+ "inputs": [
1180
+ {
1181
+ "internalType": "Key32",
1182
+ "name": "key",
1183
+ "type": "bytes32"
1184
+ }
1185
+ ],
1186
+ "name": "getState",
1187
+ "outputs": [
1188
+ {
1189
+ "internalType": "StateId",
1190
+ "name": "state",
1191
+ "type": "uint8"
1192
+ }
1193
+ ],
1194
+ "stateMutability": "view",
1195
+ "type": "function"
1196
+ },
1197
+ {
1198
+ "inputs": [
1199
+ {
1200
+ "internalType": "NftId",
1201
+ "name": "componentNftId",
1202
+ "type": "uint96"
1203
+ }
1204
+ ],
1205
+ "name": "getTokenHandler",
1206
+ "outputs": [
1207
+ {
1208
+ "internalType": "address",
1209
+ "name": "tokenHandler",
1210
+ "type": "address"
1211
+ }
1212
+ ],
1213
+ "stateMutability": "view",
1214
+ "type": "function"
1215
+ },
881
1216
  {
882
1217
  "inputs": [
883
1218
  {
884
1219
  "internalType": "address",
885
- "name": "registry",
1220
+ "name": "account",
886
1221
  "type": "address"
887
1222
  },
888
1223
  {
889
- "internalType": "NftId",
890
- "name": "instanceNftId",
891
- "type": "uint96"
1224
+ "internalType": "RoleId",
1225
+ "name": "roleId",
1226
+ "type": "uint64"
1227
+ }
1228
+ ],
1229
+ "name": "hasAdminRole",
1230
+ "outputs": [
1231
+ {
1232
+ "internalType": "bool",
1233
+ "name": "isMember",
1234
+ "type": "bool"
1235
+ }
1236
+ ],
1237
+ "stateMutability": "view",
1238
+ "type": "function"
1239
+ },
1240
+ {
1241
+ "inputs": [
1242
+ {
1243
+ "internalType": "address",
1244
+ "name": "account",
1245
+ "type": "address"
1246
+ },
1247
+ {
1248
+ "internalType": "RoleId",
1249
+ "name": "roleId",
1250
+ "type": "uint64"
1251
+ }
1252
+ ],
1253
+ "name": "hasRole",
1254
+ "outputs": [
1255
+ {
1256
+ "internalType": "bool",
1257
+ "name": "isMember",
1258
+ "type": "bool"
892
1259
  }
893
1260
  ],
1261
+ "stateMutability": "view",
1262
+ "type": "function"
1263
+ },
1264
+ {
1265
+ "inputs": [],
894
1266
  "name": "initialize",
895
1267
  "outputs": [],
896
1268
  "stateMutability": "nonpayable",
897
1269
  "type": "function"
898
1270
  },
1271
+ {
1272
+ "inputs": [
1273
+ {
1274
+ "internalType": "address",
1275
+ "name": "instanceAddress",
1276
+ "type": "address"
1277
+ }
1278
+ ],
1279
+ "name": "initializeWithInstance",
1280
+ "outputs": [],
1281
+ "stateMutability": "nonpayable",
1282
+ "type": "function"
1283
+ },
1284
+ {
1285
+ "inputs": [
1286
+ {
1287
+ "internalType": "address",
1288
+ "name": "target",
1289
+ "type": "address"
1290
+ }
1291
+ ],
1292
+ "name": "isTargetLocked",
1293
+ "outputs": [
1294
+ {
1295
+ "internalType": "bool",
1296
+ "name": "",
1297
+ "type": "bool"
1298
+ }
1299
+ ],
1300
+ "stateMutability": "view",
1301
+ "type": "function"
1302
+ },
1303
+ {
1304
+ "inputs": [
1305
+ {
1306
+ "internalType": "NftId",
1307
+ "name": "policyNftId",
1308
+ "type": "uint96"
1309
+ }
1310
+ ],
1311
+ "name": "policyIsCloseable",
1312
+ "outputs": [
1313
+ {
1314
+ "internalType": "bool",
1315
+ "name": "isCloseable",
1316
+ "type": "bool"
1317
+ }
1318
+ ],
1319
+ "stateMutability": "view",
1320
+ "type": "function"
1321
+ },
1322
+ {
1323
+ "inputs": [
1324
+ {
1325
+ "internalType": "NftId",
1326
+ "name": "poolNftId",
1327
+ "type": "uint96"
1328
+ }
1329
+ ],
1330
+ "name": "toBundleKey",
1331
+ "outputs": [
1332
+ {
1333
+ "internalType": "Key32",
1334
+ "name": "",
1335
+ "type": "bytes32"
1336
+ }
1337
+ ],
1338
+ "stateMutability": "pure",
1339
+ "type": "function"
1340
+ },
1341
+ {
1342
+ "inputs": [
1343
+ {
1344
+ "internalType": "NftId",
1345
+ "name": "componentNftId",
1346
+ "type": "uint96"
1347
+ }
1348
+ ],
1349
+ "name": "toComponentKey",
1350
+ "outputs": [
1351
+ {
1352
+ "internalType": "Key32",
1353
+ "name": "",
1354
+ "type": "bytes32"
1355
+ }
1356
+ ],
1357
+ "stateMutability": "pure",
1358
+ "type": "function"
1359
+ },
899
1360
  {
900
1361
  "inputs": [
901
1362
  {
@@ -995,11 +1456,11 @@
995
1456
  "inputs": [
996
1457
  {
997
1458
  "internalType": "NftId",
998
- "name": "productNftId",
1459
+ "name": "policyNftId",
999
1460
  "type": "uint96"
1000
1461
  }
1001
1462
  ],
1002
- "name": "toProductKey",
1463
+ "name": "toPremiumKey",
1003
1464
  "outputs": [
1004
1465
  {
1005
1466
  "internalType": "Key32",
@@ -1014,21 +1475,16 @@
1014
1475
  "inputs": [
1015
1476
  {
1016
1477
  "internalType": "NftId",
1017
- "name": "distributionNftId",
1478
+ "name": "productNftId",
1018
1479
  "type": "uint96"
1019
- },
1020
- {
1021
- "internalType": "string",
1022
- "name": "referralCode",
1023
- "type": "string"
1024
1480
  }
1025
1481
  ],
1026
- "name": "toReferralId",
1482
+ "name": "toProductKey",
1027
1483
  "outputs": [
1028
1484
  {
1029
- "internalType": "ReferralId",
1030
- "name": "referralId",
1031
- "type": "bytes8"
1485
+ "internalType": "Key32",
1486
+ "name": "",
1487
+ "type": "bytes32"
1032
1488
  }
1033
1489
  ],
1034
1490
  "stateMutability": "pure",
@@ -1038,16 +1494,21 @@
1038
1494
  "inputs": [
1039
1495
  {
1040
1496
  "internalType": "NftId",
1041
- "name": "productNftId",
1497
+ "name": "distributionNftId",
1042
1498
  "type": "uint96"
1499
+ },
1500
+ {
1501
+ "internalType": "string",
1502
+ "name": "referralCode",
1503
+ "type": "string"
1043
1504
  }
1044
1505
  ],
1045
- "name": "toTreasuryKey",
1506
+ "name": "toReferralId",
1046
1507
  "outputs": [
1047
1508
  {
1048
- "internalType": "Key32",
1049
- "name": "",
1050
- "type": "bytes32"
1509
+ "internalType": "ReferralId",
1510
+ "name": "referralId",
1511
+ "type": "bytes8"
1051
1512
  }
1052
1513
  ],
1053
1514
  "stateMutability": "pure",
@@ -1078,204 +1539,320 @@
1078
1539
  "type": "function"
1079
1540
  }
1080
1541
  ],
1081
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002f3c38038062002f3c83398101604081905262000034916200038e565b62000040828262000048565b5050620005f5565b60005460ff1615620000ab5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b038216620001035760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f00000000006044820152606401620000a2565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156200015c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001829190620003d7565b620001d05760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f000000000000006044820152606401620000a2565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546001600160601b0319166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801562000257573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200028191908101906200050f565b9050620002a781604001516200029c6200035460201b60201c565b60ff90811691161490565b620002ff5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b6064820152608401620000a2565b60800151600180546001600160601b03166c010000000000000000000000006001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b604690565b80516001600160a01b03811681146200037157600080fd5b919050565b80516001600160601b03811681146200037157600080fd5b60008060408385031215620003a257600080fd5b620003ad8362000359565b9150620003bd6020840162000376565b90509250929050565b805180151581146200037157600080fd5b600060208284031215620003ea57600080fd5b620003f582620003c6565b9392505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620004375762000437620003fc565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620004685762000468620003fc565b604052919050565b805160ff811681146200037157600080fd5b600082601f8301126200049457600080fd5b81516001600160401b03811115620004b057620004b0620003fc565b6020620004c6601f8301601f191682016200043d565b8281528582848701011115620004db57600080fd5b60005b83811015620004fb578581018301518282018401528201620004de565b506000928101909101919091529392505050565b6000602082840312156200052257600080fd5b81516001600160401b03808211156200053a57600080fd5b9083019060e082860312156200054f57600080fd5b6200055962000412565b620005648362000376565b8152620005746020840162000376565b6020820152620005876040840162000470565b60408201526200059a60608401620003c6565b6060820152620005ad6080840162000359565b6080820152620005c060a0840162000359565b60a082015260c083015182811115620005d857600080fd5b620005e68782860162000482565b60c08301525095945050505050565b61293780620006056000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220fb99cf3698a1a84fc6003043af82b8b5055affdb6c8d904075fa2d53746af96864736f6c63430008140033",
1082
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101735760003560e01c8063887b1fa9116100de578063bd7d9d8511610097578063dd26287a11610071578063dd26287a1461047c578063de7b5d141461048f578063f2a41374146104a7578063f2b246c3146104bc57600080fd5b8063bd7d9d851461042b578063d06458c61461044b578063d4cda0d81461046b57600080fd5b8063887b1fa9146102b757806390af7064146102d75780639ad69c67146102f7578063a310e2a314610369578063a5961b4c14610394578063b82d7ef51461040157600080fd5b806344aa68361161013057806344aa68361461023057806355e343a91461024357806364eb3a9b146102635780637bfd3217146102765780637e54602a146102895780637e7986691461029c57600080fd5b80631488c845146101785780631d3be4771461019e57806325d03743146101be57806327b1d792146101d157806335898f5d146101f15780633f093cd614610204575b600080fd5b61018b6101863660046117aa565b6104cf565b6040519081526020015b60405180910390f35b6101b16101ac3660046117f9565b610557565b6040516101959190611866565b61018b6101cc366004611916565b6106b0565b6101e46101df366004611916565b61074a565b6040516101959190611933565b61018b6101ff366004611916565b610804565b610217610212366004611add565b610831565b6040516001600160c01b03199091168152602001610195565b61018b61023e366004611b6f565b6108ae565b610256610251366004611916565b6108e9565b6040516101959190611b88565b61018b610271366004611916565b61098f565b61018b610284366004611916565b6109bc565b61018b610297366004611916565b6109e9565b6001546040516001600160601b039091168152602001610195565b6102ca6102c53660046117f9565b610a16565b6040516101959190611c2d565b6102ea6102e5366004611916565b610b3f565b6040516101959190611d58565b61030a610305366004611916565b610be5565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610195565b61037c610377366004611916565b610c8b565b6040516001600160a01b039091168152602001610195565b6103a76103a2366004611b6f565b610d39565b6040516101959190815160ff9081168252602080840151909116908201526040808301516001600160a01b03169082015260608083015163ffffffff90811691830191909152608092830151169181019190915260a00190565b61041461040f3660046117f9565b610dcd565b6040805192835260ff909116602083015201610195565b61043e610439366004611916565b611075565b6040516101959190611d67565b61045e6104593660046117f9565b611193565b6040516101959190611ebf565b6002546001600160a01b031661037c565b61018b61048a366004611916565b611306565b600154600160601b90046001600160a01b031661037c565b6104ba6104b5366004611f84565b611333565b005b6102ea6104ca366004611916565b611625565b604051631488c84560e01b815260048101839052600082810b60248301529073__$5ac3274b8cf1e01ea223bf093142af05b0$__90631488c84590604401602060405180830381865af415801561052a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190611fb2565b90505b92915050565b6040805160e08101825260008082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee627590602401602060405180830381865af41580156105fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106229190611fb2565b6040518263ffffffff1660e01b815260040161064091815260200190565b600060405180830381865afa15801561065d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106859190810190612010565b8051909150156106aa57808060200190518101906106a39190612086565b9392505050565b50919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660655b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610726573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190611fb2565b604080516060808201835260008083526020830152918101919091526002546000906001600160a01b03166354f6127f610783856109e9565b6040518263ffffffff1660e01b81526004016107a191815260200190565b600060405180830381865afa1580156107be573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107e69190810190612010565b8051909150156106aa57808060200190518101906106a3919061217f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660786106d9565b604051631f849e6b60e11b815260009073__$9f290d768183857d0249ab5bb54619c5ab$__90633f093cd69061086d9086908690600401612225565b602060405180830381865af415801561088a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061054e9190612247565b604051632255341b60e11b81526004810182905260009073__$5ac3274b8cf1e01ea223bf093142af05b0$__906344aa683690602401610709565b6108f161164a565b6002546000906001600160a01b03166354f6127f61090e85611306565b6040518263ffffffff1660e01b815260040161092c91815260200190565b600060405180830381865afa158015610949573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109719190810190612010565b8051909150156106aa57808060200190518101906106a3919061229f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d26106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416606e6106d9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a6106d9565b6040805180820190915260008152606060208201526002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611fb2565b6040518263ffffffff1660e01b8152600401610adc91815260200190565b600060405180830381865afa158015610af9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b219190810190612010565b8051909150156106aa57808060200190518101906106a39190612341565b610b476116bb565b6002546000906001600160a01b03166354f6127f610b64856109bc565b6040518263ffffffff1660e01b8152600401610b8291815260200190565b600060405180830381865afa158015610b9f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc79190810190612010565b8051909150156106aa57808060200190518101906106a39190612492565b610bed611762565b6002546000906001600160a01b03166354f6127f610c0a85610804565b6040518263ffffffff1660e01b8152600401610c2891815260200190565b600060405180830381865afa158015610c45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c6d9190810190612010565b8051909150156106aa57808060200190518101906106a391906124af565b60025460009081906001600160a01b03166354f6127f610caa856106b0565b6040518263ffffffff1660e01b8152600401610cc891815260200190565b600060405180830381865afa158015610ce5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d0d9190810190612010565b8051909150156106aa57600081806020019051810190610d2d9190612492565b60200151949350505050565b6040805160a081018252600080825260208201819052818301819052606082018190526080820152600254915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c9060240160a060405180830381865afa158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105519190612540565b6000806000610ddb84610557565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$d53880c81dc91c20799140d711e5ab8718$__9063790a38ad90602401602060405180830381865af4158015610e3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5e91906125ae565b15610edd5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611fb2565b60645b9250925050915091565b610f618160a0015173__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610f2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5291906125c9565b64ffffffffff90811691161090565b15610fda5773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd39190611fb2565b606e610ed3565b806060015163ffffffff16816080015163ffffffff16106110695773__$5ac3274b8cf1e01ea223bf093142af05b0$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110629190611fb2565b6078610ed3565b6040810151600a610ed3565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018190526101208201526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526002546000906001600160a01b03166354f6127f6111128561098f565b6040518263ffffffff1660e01b815260040161113091815260200190565b600060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111759190810190612010565b8051909150156106aa57808060200190518101906106a391906125f6565b6111f260405180610120016040528060608152602001600081526020016000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600015158152602001600015158152602001606081525090565b6002546040516355ee627560e01b81526001600160c01b0319841660048201526000916001600160a01b0316906354f6127f9073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee627590602401602060405180830381865af4158015611261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112859190611fb2565b6040518263ffffffff1660e01b81526004016112a391815260200190565b600060405180830381865afa1580156112c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112e89190810190612010565b8051909150156106aa57808060200190518101906106a3919061276a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416608c6106d9565b60005460ff16156113955760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030303a414c52454144595f494e495449414c495a456044820152601160fa1b60648201526084015b60405180910390fd5b6001600160a01b0382166113eb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030313a52454749535452595f5a45524f0000000000604482015260640161138c565b6040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146791906125ae565b6114b35760405162461bcd60e51b815260206004820152601960248201527f4552524f523a4352442d3030323a4e46545f49445f5a45524f00000000000000604482015260640161138c565b60008054610100600160a81b0319166101006001600160a01b03858116820292909217808455600180546bffffffffffffffffffffffff19166001600160601b0387169081179091556040516305247a1760e51b815260048101919091529190049091169063a48f42e090602401600060405180830381865afa15801561153e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115669190810190612861565b90506115838160400151611578604690565b60ff90811691161490565b6115d95760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030333a504152454e545f4e4f545f494e5354414e436044820152604560f81b606482015260840161138c565b60800151600180546001600160601b0316600160601b6001600160a01b03909316928302178155600280546001600160a01b0319169092179091556000805460ff191690911790555050565b61162d6116bb565b6002546000906001600160a01b03166354f6127f610b64856106b0565b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a08201905b815260006020820181905260409091015290565b604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016116a7604051806040016040528060008152602001600081525090565b600080604083850312156117bd57600080fd5b8235915060208301358060000b81146117d557600080fd5b809150509250929050565b6001600160c01b0319811681146117f657600080fd5b50565b60006020828403121561180b57600080fd5b81356106a3816117e0565b60005b83811015611831578181015183820152602001611819565b50506000910152565b60008151808452611852816020860160208601611816565b601f01601f19169290920160200192915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261189661010084018261183a565b90506040840151606084015263ffffffff606085015116608084015260808401516118c960a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526118f8828261183a565b95945050505050565b6001600160601b03811681146117f657600080fd5b60006020828403121561192857600080fd5b81356106a381611901565b602081526001600160401b0360c01b825116602082015260208201511515604082015260006040830151606080840152611970608084018261183a565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156119b0576119b0611978565b60405290565b604080519081016001600160401b03811182821017156119b0576119b0611978565b60405161010081016001600160401b03811182821017156119b0576119b0611978565b60405161014081016001600160401b03811182821017156119b0576119b0611978565b60405160a081016001600160401b03811182821017156119b0576119b0611978565b60405161020081016001600160401b03811182821017156119b0576119b0611978565b60405161012081016001600160401b03811182821017156119b0576119b0611978565b604051601f8201601f191681016001600160401b0381118282101715611aae57611aae611978565b604052919050565b60006001600160401b03821115611acf57611acf611978565b50601f01601f191660200190565b60008060408385031215611af057600080fd5b8235611afb81611901565b915060208301356001600160401b03811115611b1657600080fd5b8301601f81018513611b2757600080fd5b8035611b3a611b3582611ab6565b611a86565b818152866020838501011115611b4f57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215611b8157600080fd5b5035919050565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191611bd49084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b602081526001600160601b03825116602082015260006020830151604080840152611970606084018261183a565b80516001600160a01b031682526020810151611c8260208401826001600160a01b03169052565b506040810151611c9d60408401826001600160601b03169052565b506060810151611cb860608401826001600160601b03169052565b506080810151611cd5608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151610100611d0b8185018380518252602090810151910152565b60e0830151805161014086015260208101516101608601529150820151805161018085015260208101516101a0850152905050610120015180516101c0830152602001516101e090910152565b61020081016105518284611c5b565b60208152611d816020820183516001600160601b03169052565b60006020830151611d9d60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152611e1561022086018461183a565b9250808601519050610140601f198685030181870152611e35848361183a565b935080870151915050610160611e508187018361ffff169052565b8601519050610180611e678682018361ffff169052565b8601516101a08681019190915286015190506101c0611e8e8187018364ffffffffff169052565b86015190506101e0611ea88682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6020815260008251610120806020850152611ede61014085018361183a565b91506020850151604085015260408501516060850152606085015160808501526080850151611f1560a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100611f4b8187018315159052565b860151858403601f1901838701529050611f65838261183a565b9695505050505050565b6001600160a01b03811681146117f657600080fd5b60008060408385031215611f9757600080fd5b8235611fa281611f6f565b915060208301356117d581611901565b600060208284031215611fc457600080fd5b5051919050565b600082601f830112611fdc57600080fd5b8151611fea611b3582611ab6565b818152846020838601011115611fff57600080fd5b611970826020830160208701611816565b60006020828403121561202257600080fd5b81516001600160401b0381111561203857600080fd5b61197084828501611fcb565b805161204f81611901565b919050565b63ffffffff811681146117f657600080fd5b805161204f81612054565b805164ffffffffff8116811461204f57600080fd5b60006020828403121561209857600080fd5b81516001600160401b03808211156120af57600080fd5b9083019060e082860312156120c357600080fd5b6120cb61198e565b6120d483612044565b81526020830151828111156120e857600080fd5b6120f487828601611fcb565b6020830152506040830151604082015261211060608401612066565b606082015261212160808401612066565b608082015261213260a08401612071565b60a082015260c08301518281111561214957600080fd5b61215587828601611fcb565b60c08301525095945050505050565b805161204f816117e0565b8051801515811461204f57600080fd5b60006020828403121561219157600080fd5b81516001600160401b03808211156121a857600080fd5b90830190606082860312156121bc57600080fd5b6040516060810181811083821117156121d7576121d7611978565b60405282516121e5816117e0565b81526121f36020840161216f565b602082015260408301518281111561220a57600080fd5b61221687828601611fcb565b60408301525095945050505050565b6001600160601b0383168152604060208201526000611970604083018461183a565b60006020828403121561225957600080fd5b81516106a3816117e0565b805161204f81611f6f565b60006040828403121561228157600080fd5b6122896119b6565b9050815181526020820151602082015292915050565b600061016082840312156122b257600080fd5b6122ba6119d8565b6122c383612044565b81526122d160208401612264565b6020820152604083015160408201526122ed846060850161226f565b60608201526122ff8460a0850161226f565b60808201526123118460e0850161226f565b60a0820152612323610120840161216f565b60c08201526123356101408401612264565b60e08201529392505050565b60006020828403121561235357600080fd5b81516001600160401b038082111561236a57600080fd5b908301906040828603121561237e57600080fd5b6123866119b6565b825161239181611901565b81526020830151828111156123a557600080fd5b6123b187828601611fcb565b60208301525095945050505050565b600061020082840312156123d357600080fd5b6123db6119fb565b90506123e682612264565b81526123f460208301612264565b602082015261240560408301612044565b604082015261241660608301612044565b6060820152612428836080840161226f565b608082015261243a8360c0840161226f565b60a082015261010061244e8482850161226f565b60c083015261246184610140850161226f565b60e083015261247484610180850161226f565b90820152612486836101c0840161226f565b61012082015292915050565b600061020082840312156124a557600080fd5b61054e83836123c0565b600060c082840312156124c157600080fd5b6124c9611a1e565b82516124d481611901565b815260208301516124e481611f6f565b60208201526124f6846040850161226f565b60408201526125076080840161216f565b606082015260a083015161251a81611f6f565b60808201529392505050565b60ff811681146117f657600080fd5b805161204f81612526565b600060a0828403121561255257600080fd5b61255a611a1e565b825161256581612526565b8152602083015161257581612526565b6020820152604083015161258881611f6f565b6040820152606083015161259b81612054565b6060820152608083015161251a81612054565b6000602082840312156125c057600080fd5b61054e8261216f565b6000602082840312156125db57600080fd5b61054e82612071565b805161ffff8116811461204f57600080fd5b60006020828403121561260857600080fd5b81516001600160401b038082111561261f57600080fd5b90830190610200828603121561263457600080fd5b61263c611a40565b61264583612044565b815261265360208401612044565b602082015261266460408401612164565b604082015261267560608401612164565b60608201526080830151608082015260a083015160a082015260c083015160c082015260e083015160e082015261010080840151838111156126b657600080fd5b6126c288828701611fcb565b82840152505061012080840151838111156126dc57600080fd5b6126e888828701611fcb565b82840152505061014091506126fe8284016125e4565b8282015261016091506127128284016125e4565b82820152610180915081830151828201526101a09150612733828401612071565b828201526101c09150612747828401612071565b828201526101e0915061275b828401612071565b91810191909152949350505050565b60006020828403121561277c57600080fd5b81516001600160401b038082111561279357600080fd5b9083019061012082860312156127a857600080fd5b6127b0611a63565b8251828111156127bf57600080fd5b6127cb87828601611fcb565b8252506020830151602082015260408301516040820152606083015160608201526127f860808401612066565b608082015261280960a08401612066565b60a082015261281a60c0840161216f565b60c082015261282b60e0840161216f565b60e0820152610100808401518381111561284457600080fd5b61285088828701611fcb565b918301919091525095945050505050565b60006020828403121561287357600080fd5b81516001600160401b038082111561288a57600080fd5b9083019060e0828603121561289e57600080fd5b6128a661198e565b6128af83612044565b81526128bd60208401612044565b60208201526128ce60408401612535565b60408201526128df6060840161216f565b60608201526128f060808401612264565b608082015261213260a0840161226456fea2646970667358221220fb99cf3698a1a84fc6003043af82b8b5055affdb6c8d904075fa2d53746af96864736f6c63430008140033",
1542
+ "bytecode": "0x60806040525f805460ff191690553480156017575f80fd5b506142af806100255f395ff3fe608060405234801561000f575f80fd5b506004361061026b575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610696578063de7b5d14146106a9578063e444c3df146106be578063f0ea17c3146106de578063f7f318d3146106fe578063febe92af14610711575f80fd5b8063b82d7ef514610608578063bd7d9d8514610632578063cd55e51b14610652578063d06458c614610665578063d4cda0d814610685575f80fd5b8063887b1fa911610110578063887b1fa91461051b5780638eb9000d1461053b5780639096a1f31461054e578063a310e2a314610561578063a5961b4c1461058c578063a7ef3d21146105e8575f80fd5b806378ae9350146104c75780637bfd3217146104da5780637d8f1e81146104ed5780637e54602a146105005780638129fc1c14610513575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104465780635da894021461046657806364eb3a9b1461047957806364fc31421461048c5780636791f7ab1461049f57806375d357df146104b4575f80fd5b806339bb60cd146103b45780633f093cd6146103d457806344aa6836146104005780634793b4ab146104135780634fb784f514610433575f80fd5b80631d3be477116102335780631d3be47714610318578063228e42ec1461033857806326decd401461034b57806327b1d7921461036e57806334bd5be31461038e57806335898f5d146103a1575f80fd5b80630232ca491461026f57806309648a9d1461029f57806309c5844f146102c45780630b5d931c146102d75780631488c845146102f7575b5f80fd5b61028261027d366004612686565b610731565b6040516001600160601b0390911681526020015b60405180910390f35b6102b26102ad3660046126a1565b6107ab565b60405160ff9091168152602001610296565b6102b26102d2366004612686565b610820565b6102ea6102e5366004612686565b610899565b60405161029691906126b8565b61030a6103053660046127af565b6109f6565b604051908152602001610296565b61032b6103263660046127f7565b610a72565b6040516102969190612840565b610282610346366004612686565b610bb6565b61035e6103593660046128ee565b610bef565b6040519015158152602001610296565b61038161037c366004612686565b610ccd565b6040516102969190612909565b61030a61039c366004612686565b610d8a565b61030a6103af366004612686565b610e21565b6103c76103c2366004612962565b610e4d565b6040516102969190612995565b6103e76103e2366004612bc9565b610f9c565b6040516001600160c01b03199091168152602001610296565b61030a61040e3660046126a1565b611016565b610426610421366004612686565b611050565b6040516102969190612c55565b61030a610441366004612686565b6110f1565b610459610454366004612686565b61111d565b6040516102969190612ce0565b6102b2610474366004612962565b6111f6565b61030a610487366004612686565b6112ee565b61035e61049a366004612d7e565b61131a565b6104b26104ad3660046128ee565b611409565b005b61035e6104c2366004612686565b6114dc565b6102b26104d5366004612db9565b61175d565b61030a6104e8366004612686565b6117bc565b6102b26104fb366004612686565b6117e8565b61030a61050e366004612686565b611804565b6104b2611830565b61052e6105293660046127f7565b61185e565b6040516102969190612de5565b610282610549366004612686565b61197f565b6102b261055c366004612686565b6119b8565b61057461056f366004612686565b6119d4565b6040516001600160a01b039091168152602001610296565b61059f61059a3660046126a1565b611a7c565b60405161029691905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105fb6105f6366004612db9565b611b06565b6040516102969190612e1a565b61061b6106163660046127f7565b611c53565b6040805192835260ff909116602083015201610296565b610645610640366004612686565b611eef565b6040516102969190612ec0565b61035e610660366004612d7e565b612007565b6106786106733660046127f7565b6120bb565b6040516102969190613038565b6001546001600160a01b0316610574565b61030a6106a4366004612686565b612220565b5f5461010090046001600160a01b0316610574565b6106d16106cc366004612686565b61224c565b60405161029691906130d9565b6106f16106ec366004612686565b612375565b60405161029691906132c9565b61030a61070c366004612686565b61243e565b61072461071f366004613353565b61246a565b604051610296919061336e565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a5919061344c565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610816919061349c565b6020015192915050565b6001545f906001600160a01b03166309648a9d61083c84610d8a565b6040518263ffffffff1660e01b815260040161085a91815260200190565b602060405180830381865afa158015610875573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a59190613503565b61095060408051610140810182525f80825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001545f906001600160a01b03166354f6127f61096c856117bc565b6040518263ffffffff1660e01b815260040161098a91815260200190565b5f60405180830381865afa1580156109a4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109cb919081019061356d565b8051909150156109f057808060200190518101906109e991906135dc565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610a4e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e991906136af565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610b15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3991906136af565b6040518263ffffffff1660e01b8152600401610b5791815260200190565b5f60405180830381865afa158015610b71573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b98919081019061356d565b8051909150156109f057808060200190518101906109e991906136e3565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610766565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906137c5565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610ca9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906137e0565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610d0d85611804565b6040518263ffffffff1660e01b8152600401610d2b91815260200190565b5f60405180830381865afa158015610d45573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d6c919081019061356d565b8051909150156109f057808060200190518101906109e99190613804565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610dfd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906136af565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610db2565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610eec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f1091906136af565b6040518263ffffffff1660e01b8152600401610f2e91815260200190565b5f60405180830381865afa158015610f48573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f6f919081019061356d565b805190915015610f955780806020019051810190610f8d91906138bf565b9150506107a5565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610fd79086908690600401613979565b602060405180830381865af4158015610ff2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e9919061399a565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610de2565b611058612618565b6001545f906001600160a01b03166354f6127f6110748561243e565b6040518263ffffffff1660e01b815260040161109291815260200190565b5f60405180830381865afa1580156110ac573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110d3919081019061356d565b8051909150156109f057808060200190518101906109e991906139b5565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610db2565b60408051610100810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526001545f906001600160a01b03166354f6127f61117985612220565b6040518263ffffffff1660e01b815260040161119791815260200190565b5f60405180830381865afa1580156111b1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526111d8919081019061356d565b8051909150156109f057808060200190518101906109e99190613a84565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af415801561126d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061129191906136af565b6040518263ffffffff1660e01b81526004016112af91815260200190565b602060405180830381865afa1580156112ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e99190613503565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610db2565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561136b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061138f91906137c5565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156113e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e991906137e0565b5f5460ff161561142c5760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611495573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b991906137c5565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f806114e783611eef565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611543573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156791906137e0565b1561157457505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156115cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f391906137e0565b1561160057505f92915050565b6101e0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af415801561165b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167f91906137e0565b1561168c57505f92915050565b61014081015161ffff16156116a357505f92915050565b6116b681610160015182608001516125b8565b156116c45750600192915050565b61174773__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561170e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117329190613b1e565b826101c0015164ffffffffff90811691161090565b1561175457505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611252565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610db2565b6001545f906001600160a01b03166309648a9d61083c8461243e565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610db2565b5f5460ff16156118535760405163ae9eff1b60e01b815260040160405180910390fd5b61185c33611409565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af41580156118de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061190291906136af565b6040518263ffffffff1660e01b815260040161192091815260200190565b5f60405180830381865afa15801561193a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611961919081019061356d565b8051909150156109f057808060200190518101906109e99190613b39565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610766565b6001545f906001600160a01b03166309648a9d61083c846112ee565b6001545f9081906001600160a01b03166354f6127f6119f2856110f1565b6040518263ffffffff1660e01b8152600401611a1091815260200190565b5f60405180830381865afa158015611a2a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a51919081019061356d565b8051909150156109f0575f81806020019051810190611a709190613bb6565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611ae2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a5919061349c565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611bb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd691906136af565b6040518263ffffffff1660e01b8152600401611bf491815260200190565b5f60405180830381865afa158015611c0e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c35919081019061356d565b805190915015610f955780806020019051810190610f8d9190613c8e565b5f805f611c5f84610a72565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611cbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce091906137e0565b15611d5d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5091906136af565b60645b9250925050915091565b611ddf8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd09190613b1e565b64ffffffffff90811691161090565b15611e565773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e4f91906136af565b606e611d53565b806060015163ffffffff16816080015163ffffffff1610611ee35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611eb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611edc91906136af565b6078611d53565b6040810151600a611d53565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f611f8a856112ee565b6040518263ffffffff1660e01b8152600401611fa891815260200190565b5f60405180830381865afa158015611fc2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611fe9919081019061356d565b8051909150156109f057808060200190518101906109e99190613d77565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612058573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061207c91906137c5565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016113ca565b612113604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af415801561217f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121a391906136af565b6040518263ffffffff1660e01b81526004016121c191815260200190565b5f60405180830381865afa1580156121db573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612202919081019061356d565b8051909150156109f057808060200190518101906109e99190613f0a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610db2565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f6122f885610d8a565b6040518263ffffffff1660e01b815260040161231691815260200190565b5f60405180830381865afa158015612330573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612357919081019061356d565b8051909150156109f057808060200190518101906109e99190614003565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f6123c1856110f1565b6040518263ffffffff1660e01b81526004016123df91815260200190565b5f60405180830381865afa1580156123f9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612420919081019061356d565b8051909150156109f057808060200190518101906109e99190613bb6565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610db2565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612517573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253b91906136af565b6040518263ffffffff1660e01b815260040161255991815260200190565b5f60405180830381865afa158015612573573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261259a919081019061356d565b8051909150156109f057808060200190518101906109e99190614165565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af41580156113e5573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b0316815260200161264d60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b0381168114612683575f80fd5b50565b5f60208284031215612696575f80fd5b81356109e98161266f565b5f602082840312156126b1575f80fd5b5035919050565b81516001600160601b03168152610220810160208301516126e460208401826001600160601b03169052565b5060408301516126f8604084018215159052565b506060830151612715606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151805161012084015260208101516101408401525060e0830151805161016084015260208101516101808401525061010083015180516101a084015260208101516101c08401525061012083015180516101e08401526020810151610200840152610f95565b5f80604083850312156127c0575f80fd5b8235915060208301355f81900b81146127d7575f80fd5b809150509250929050565b6001600160c01b031981168114612683575f80fd5b5f60208284031215612807575f80fd5b81356109e9816127e2565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e0604084015261286f610100840182612812565b90506040840151606084015263ffffffff606085015116608084015260808401516128a260a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128d18282612812565b95945050505050565b6001600160a01b0381168114612683575f80fd5b5f602082840312156128fe575f80fd5b81356109e9816128da565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261294660a0840182612812565b905063ffffffff60608501511660808401528091505092915050565b5f8060408385031215612973575f80fd5b823561297e8161266f565b9150602083013562ffffff811681146127d7575f80fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a060808401526129e360c0840182612812565b905064ffffffffff60808501511660a08401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a3657612a36612a00565b60405290565b604080519081016001600160401b0381118282101715612a3657612a36612a00565b60405161014081016001600160401b0381118282101715612a3657612a36612a00565b60405160e081016001600160401b0381118282101715612a3657612a36612a00565b60405160a081016001600160401b0381118282101715612a3657612a36612a00565b60405160c081016001600160401b0381118282101715612a3657612a36612a00565b60405161010081016001600160401b0381118282101715612a3657612a36612a00565b60405161020081016001600160401b0381118282101715612a3657612a36612a00565b60405161012081016001600160401b0381118282101715612a3657612a36612a00565b60405161024081016001600160401b0381118282101715612a3657612a36612a00565b604051601f8201601f191681016001600160401b0381118282101715612b9b57612b9b612a00565b604052919050565b5f6001600160401b03821115612bbb57612bbb612a00565b50601f01601f191660200190565b5f8060408385031215612bda575f80fd5b8235612be58161266f565b915060208301356001600160401b03811115612bff575f80fd5b8301601f81018513612c0f575f80fd5b8035612c22612c1d82612ba3565b612b73565b818152866020838501011115612c36575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612c86604084018280518252602090810151910152565b50604083015160e06080840152612ca1610100840182612812565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f610100820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151612d27606084018215159052565b506080830151612d3b608084018215159052565b5060a0830151612d4f60a084018215159052565b5060c083015160c083015260e083015160e083015292915050565b6001600160401b0381168114612683575f80fd5b5f8060408385031215612d8f575f80fd5b8235612d9a816128da565b915060208301356127d781612d6a565b61ffff81168114612683575f80fd5b5f8060408385031215612dca575f80fd5b8235612dd58161266f565b915060208301356127d781612daa565b602081526001600160601b0382511660208201525f6020830151604080840152612e126060840182612812565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612e56606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e80610100840182612812565b905060a0840151601f198483030160c0850152612e9d8282612812565b91505060c0840151612eb860e085018264ffffffffff169052565b509392505050565b60208152612eda6020820183516001600160601b03169052565b5f6020830151612ef560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152612f7b610220840182612812565b9050610100840151601f1984830301610120850152612f9a8282612812565b915050610120840151612fb461014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152612eb8565b602081525f82516101206020840152613055610140840182612812565b9050602084015160408401526040840151606084015260608401516080840152608084015161308c60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526128d18282612812565b81516001600160601b031681526102408101602083015161310560208401826001600160601b03169052565b50604083015161312060408401826001600160601b03169052565b50606083015161313b60608401826001600160601b03169052565b50608083015161315660808401826001600160601b03169052565b5060a083015161317160a08401826001600160601b03169052565b5060c083015161318c60c08401826001600160601b03169052565b5060e08301516131a760e08401826001600160601b03169052565b506101008301516131c46101008401826001600160601b03169052565b506101208301516131e16101208401826001600160601b03169052565b506101408301516131fe6101408401826001600160601b03169052565b5061016083015161321b6101608401826001600160601b03169052565b506101808301516132386101808401826001600160601b03169052565b506101a08301516132556101a08401826001600160601b03169052565b506101c08301516132726101c08401826001600160601b03169052565b506101e083015161328f6101e08401826001600160601b03169052565b506102008301516132ac6102008401826001600160601b03169052565b50610220830151610f956102208401826001600160601b03169052565b602081525f825160c060208401526132e460e0840182612812565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161333760a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526128d18282612812565b5f60208284031215613363575f80fd5b81356109e981612d6a565b602081526133886020820183516001600160601b03169052565b5f602083015161010060408401526133a4610120840182612812565b905060408401516133c060608501826001600160601b03169052565b506060840151838203601f190160808501526133dc8282612812565b9150506080840151601f198483030160a08501526133fa8282612812565b91505060a084015161341560c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612eb8565b80516134478161266f565b919050565b5f6020828403121561345c575f80fd5b81516109e98161266f565b60ff81168114612683575f80fd5b805161344781613467565b63ffffffff81168114612683575f80fd5b805161344781613480565b5f60808284031280156134ad575f80fd5b506134b6612a14565b82516134c181613467565b815260208301516134d181613467565b602082015260408301516134e481613480565b604082015260608301516134f781613480565b60608201529392505050565b5f60208284031215613513575f80fd5b81516109e981613467565b5f82601f83011261352d575f80fd5b8151602083015f613540612c1d84612ba3565b9050828152858383011115613553575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561357d575f80fd5b81516001600160401b03811115613592575f80fd5b612e128482850161351e565b80518015158114613447575f80fd5b5f604082840312156135bd575f80fd5b6135c5612a3c565b825181526020928301519281019290925250919050565b5f6102208284031280156135ee575f80fd5b506135f7612a5e565b6136008361343c565b815261360e6020840161343c565b602082015261361f6040840161359e565b604082015261363184606085016135ad565b60608201526136438460a085016135ad565b60808201526136558460e085016135ad565b60a08201526136688461012085016135ad565b60c082015261367b8461016085016135ad565b60e082015261368e846101a085016135ad565b6101008201526136a2846101e085016135ad565b6101208201529392505050565b5f602082840312156136bf575f80fd5b5051919050565b64ffffffffff81168114612683575f80fd5b8051613447816136c6565b5f602082840312156136f3575f80fd5b81516001600160401b03811115613708575f80fd5b820160e08185031215613719575f80fd5b613721612a81565b61372a8261343c565b815260208201516001600160401b03811115613744575f80fd5b6137508682850161351e565b6020830152506040828101519082015261376c60608301613491565b606082015261377d60808301613491565b608082015261378e60a083016136d8565b60a082015260c08201516001600160401b038111156137ab575f80fd5b6137b78682850161351e565b60c083015250949350505050565b5f602082840312156137d5575f80fd5b81516109e9816128da565b5f602082840312156137f0575f80fd5b6109e98261359e565b8051613447816127e2565b5f60208284031215613814575f80fd5b81516001600160401b03811115613829575f80fd5b82016080818503121561383a575f80fd5b613842612a14565b815161384d816127e2565b815261385b6020830161359e565b602082015260408201516001600160401b03811115613878575f80fd5b6138848682850161351e565b6040830152506060820151915061389a82613480565b60608101919091529392505050565b805161344781612daa565b8051613447816128da565b5f602082840312156138cf575f80fd5b81516001600160401b038111156138e4575f80fd5b820160a081850312156138f5575f80fd5b6138fd612aa3565b815161390881612daa565b815260208201516139188161266f565b6020820152604082015161392b816128da565b604082015260608201516001600160401b03811115613948575f80fd5b6139548682850161351e565b6060830152506080820151915061396a826136c6565b60808101919091529392505050565b6001600160601b0383168152604060208201525f612e126040830184612812565b5f602082840312156139aa575f80fd5b81516109e9816127e2565b5f602082840312156139c5575f80fd5b81516001600160401b038111156139da575f80fd5b820160e081850312156139eb575f80fd5b6139f3612ac5565b81516139fe8161266f565b8152613a0d85602084016135ad565b602082015260608201516001600160401b03811115613a2a575f80fd5b613a368682850161351e565b6040830152506080820151613a4a816136c6565b6060820152613a5b60a083016136d8565b6080820152613a6c60c083016136d8565b60a0820152949350505050565b805161344781612d6a565b5f610100828403128015613a96575f80fd5b50613a9f612ae7565b8251613aaa8161266f565b8152613ab860208401613a79565b6020820152613ac96040840161359e565b6040820152613ada6060840161359e565b6060820152613aeb6080840161359e565b6080820152613afc60a0840161359e565b60a082015260c0838101519082015260e0928301519281019290925250919050565b5f60208284031215613b2e575f80fd5b81516109e9816136c6565b5f60208284031215613b49575f80fd5b81516001600160401b03811115613b5e575f80fd5b820160408185031215613b6f575f80fd5b613b77612a3c565b8151613b828161266f565b815260208201516001600160401b03811115613b9c575f80fd5b613ba88682850161351e565b602083015250949350505050565b5f60208284031215613bc6575f80fd5b81516001600160401b03811115613bdb575f80fd5b820160c08185031215613bec575f80fd5b613bf4612ac5565b81516001600160401b03811115613c09575f80fd5b613c158682850161351e565b825250613c246020830161343c565b6020820152613c35604083016138b4565b6040820152613c46606083016138b4565b6060820152613c57608083016138b4565b608082015260a08201516001600160401b03811115613c74575f80fd5b613c808682850161351e565b60a083015250949350505050565b5f60208284031215613c9e575f80fd5b81516001600160401b03811115613cb3575f80fd5b820160e08185031215613cc4575f80fd5b613ccc612a81565b613cd58261343c565b8152613ce36020830161343c565b6020820152613cf460408301613475565b6040820152613d0560608301613475565b606082015260808201516001600160401b03811115613d22575f80fd5b613d2e8682850161351e565b60808301525060a08201516001600160401b03811115613d4c575f80fd5b613d588682850161351e565b60a083015250613d6a60c083016136d8565b60c0820152949350505050565b5f60208284031215613d87575f80fd5b81516001600160401b03811115613d9c575f80fd5b82016102008185031215613dae575f80fd5b613db6612b0a565b613dbf8261343c565b8152613dcd6020830161343c565b6020820152613dde604083016137f9565b6040820152613def606083016137f9565b6060820152613e006080830161343c565b6080820152613e1160a0830161343c565b60a0820152613e2260c083016136d8565b60c082015260e08201516001600160401b03811115613e3f575f80fd5b613e4b8682850161351e565b60e0830152506101008201516001600160401b03811115613e6a575f80fd5b613e768682850161351e565b61010083015250613e8a61012083016138a9565b610120820152613e9d61014083016138a9565b610140820152613eb0610160830161343c565b610160820152613ec3610180830161343c565b610180820152613ed66101a083016136d8565b6101a0820152613ee96101c083016136d8565b6101c0820152613efc6101e083016136d8565b6101e0820152949350505050565b5f60208284031215613f1a575f80fd5b81516001600160401b03811115613f2f575f80fd5b82016101208185031215613f41575f80fd5b613f49612b2d565b81516001600160401b03811115613f5e575f80fd5b613f6a8682850161351e565b825250602082810151908201526040808301519082015260608083015190820152613f9760808301613491565b6080820152613fa860a08301613491565b60a0820152613fb960c0830161359e565b60c0820152613fca60e0830161359e565b60e08201526101008201516001600160401b03811115613fe8575f80fd5b613ff48682850161351e565b61010083015250949350505050565b5f610240828403128015614015575f80fd5b5061401e612b50565b6140278361343c565b81526140356020840161343c565b60208201526140466040840161343c565b60408201526140576060840161343c565b60608201526140686080840161343c565b608082015261407960a0840161343c565b60a082015261408a60c0840161343c565b60c082015261409b60e0840161343c565b60e08201526140ad610100840161343c565b6101008201526140c0610120840161343c565b6101208201526140d3610140840161343c565b6101408201526140e6610160840161343c565b6101608201526140f9610180840161343c565b61018082015261410c6101a0840161343c565b6101a082015261411f6101c0840161343c565b6101c08201526141326101e0840161343c565b6101e0820152614145610200840161343c565b610200820152614158610220840161343c565b6102208201529392505050565b5f60208284031215614175575f80fd5b81516001600160401b0381111561418a575f80fd5b8201610100818503121561419c575f80fd5b6141a4612ae7565b6141ad8261343c565b815260208201516001600160401b038111156141c7575f80fd5b6141d38682850161351e565b6020830152506141e56040830161343c565b604082015260608201516001600160401b03811115614202575f80fd5b61420e8682850161351e565b60608301525060808201516001600160401b0381111561422c575f80fd5b6142388682850161351e565b60808301525061424a60a083016136d8565b60a082015261425b60c083016136d8565b60c082015261426c60e0830161359e565b60e082015294935050505056fea2646970667358221220539330d81e50b849eb1f9470a498d9e18bda5257688dec73c2b95f2e4787fe9364736f6c634300081a0033",
1543
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061026b575f3560e01c806378ae93501161014b578063b82d7ef5116100bf578063dd26287a11610084578063dd26287a14610696578063de7b5d14146106a9578063e444c3df146106be578063f0ea17c3146106de578063f7f318d3146106fe578063febe92af14610711575f80fd5b8063b82d7ef514610608578063bd7d9d8514610632578063cd55e51b14610652578063d06458c614610665578063d4cda0d814610685575f80fd5b8063887b1fa911610110578063887b1fa91461051b5780638eb9000d1461053b5780639096a1f31461054e578063a310e2a314610561578063a5961b4c1461058c578063a7ef3d21146105e8575f80fd5b806378ae9350146104c75780637bfd3217146104da5780637d8f1e81146104ed5780637e54602a146105005780638129fc1c14610513575f80fd5b806339bb60cd116101e257806357f80bbf116101a757806357f80bbf146104465780635da894021461046657806364eb3a9b1461047957806364fc31421461048c5780636791f7ab1461049f57806375d357df146104b4575f80fd5b806339bb60cd146103b45780633f093cd6146103d457806344aa6836146104005780634793b4ab146104135780634fb784f514610433575f80fd5b80631d3be477116102335780631d3be47714610318578063228e42ec1461033857806326decd401461034b57806327b1d7921461036e57806334bd5be31461038e57806335898f5d146103a1575f80fd5b80630232ca491461026f57806309648a9d1461029f57806309c5844f146102c45780630b5d931c146102d75780631488c845146102f7575b5f80fd5b61028261027d366004612686565b610731565b6040516001600160601b0390911681526020015b60405180910390f35b6102b26102ad3660046126a1565b6107ab565b60405160ff9091168152602001610296565b6102b26102d2366004612686565b610820565b6102ea6102e5366004612686565b610899565b60405161029691906126b8565b61030a6103053660046127af565b6109f6565b604051908152602001610296565b61032b6103263660046127f7565b610a72565b6040516102969190612840565b610282610346366004612686565b610bb6565b61035e6103593660046128ee565b610bef565b6040519015158152602001610296565b61038161037c366004612686565b610ccd565b6040516102969190612909565b61030a61039c366004612686565b610d8a565b61030a6103af366004612686565b610e21565b6103c76103c2366004612962565b610e4d565b6040516102969190612995565b6103e76103e2366004612bc9565b610f9c565b6040516001600160c01b03199091168152602001610296565b61030a61040e3660046126a1565b611016565b610426610421366004612686565b611050565b6040516102969190612c55565b61030a610441366004612686565b6110f1565b610459610454366004612686565b61111d565b6040516102969190612ce0565b6102b2610474366004612962565b6111f6565b61030a610487366004612686565b6112ee565b61035e61049a366004612d7e565b61131a565b6104b26104ad3660046128ee565b611409565b005b61035e6104c2366004612686565b6114dc565b6102b26104d5366004612db9565b61175d565b61030a6104e8366004612686565b6117bc565b6102b26104fb366004612686565b6117e8565b61030a61050e366004612686565b611804565b6104b2611830565b61052e6105293660046127f7565b61185e565b6040516102969190612de5565b610282610549366004612686565b61197f565b6102b261055c366004612686565b6119b8565b61057461056f366004612686565b6119d4565b6040516001600160a01b039091168152602001610296565b61059f61059a3660046126a1565b611a7c565b60405161029691905f60808201905060ff835116825260ff602084015116602083015263ffffffff604084015116604083015263ffffffff606084015116606083015292915050565b6105fb6105f6366004612db9565b611b06565b6040516102969190612e1a565b61061b6106163660046127f7565b611c53565b6040805192835260ff909116602083015201610296565b610645610640366004612686565b611eef565b6040516102969190612ec0565b61035e610660366004612d7e565b612007565b6106786106733660046127f7565b6120bb565b6040516102969190613038565b6001546001600160a01b0316610574565b61030a6106a4366004612686565b612220565b5f5461010090046001600160a01b0316610574565b6106d16106cc366004612686565b61224c565b60405161029691906130d9565b6106f16106ec366004612686565b612375565b60405161029691906132c9565b61030a61070c366004612686565b61243e565b61072461071f366004613353565b61246a565b604051610296919061336e565b600154604051630232ca4960e01b81526001600160601b03831660048201525f916001600160a01b031690630232ca49906024015b602060405180830381865afa158015610781573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a5919061344c565b92915050565b60015460405163296586d360e21b8152600481018390525f916001600160a01b03169063a5961b4c90602401608060405180830381865afa1580156107f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610816919061349c565b6020015192915050565b6001545f906001600160a01b03166309648a9d61083c84610d8a565b6040518263ffffffff1660e01b815260040161085a91815260200190565b602060405180830381865afa158015610875573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a59190613503565b61095060408051610140810182525f80825260208083018290528284018290528351808501855282815280820183905260608401528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001545f906001600160a01b03166354f6127f61096c856117bc565b6040518263ffffffff1660e01b815260040161098a91815260200190565b5f60405180830381865afa1580156109a4573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526109cb919081019061356d565b8051909150156109f057808060200190518101906109e991906135dc565b9392505050565b50919050565b604051631488c84560e01b8152600481018390525f82810b60248301529073__$bf7bc340cbb9229ef1de2c568356e67902$__90631488c84590604401602060405180830381865af4158015610a4e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e991906136af565b6040805160e0810182525f8082526060602083018190529282018190528282018190526080820181905260a082015260c08101919091526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$05887d5853069c88bcd4c0a2107db45f29$__906355ee627590602401602060405180830381865af4158015610b15573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b3991906136af565b6040518263ffffffff1660e01b8152600401610b5791815260200190565b5f60405180830381865afa158015610b71573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b98919081019061356d565b8051909150156109f057808060200190518101906109e991906136e3565b6001546040516308a390bb60e21b81526001600160601b03831660048201525f916001600160a01b03169063228e42ec90602401610766565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c40573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6491906137c5565b604051629b7b3560e61b81526001600160a01b03848116600483015291909116906326decd4090602401602060405180830381865afa158015610ca9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906137e0565b604080516080810182525f808252602082018190526060928201839052918101919091526001545f906001600160a01b03166354f6127f610d0d85611804565b6040518263ffffffff1660e01b8152600401610d2b91815260200190565b5f60405180830381865afa158015610d45573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610d6c919081019061356d565b8051909150156109f057808060200190518101906109e99190613804565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b03841660165b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044015b602060405180830381865af4158015610dfd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a591906136af565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600e610db2565b6040805160a0810182525f808252602082018190529181018290526060808201526080810191909152600154604051635927341160e01b815262ffffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$0f9396e6447a4be57af83e53f51d234633$__90635927341190604401602060405180830381865af4158015610eec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f1091906136af565b6040518263ffffffff1660e01b8152600401610f2e91815260200190565b5f60405180830381865afa158015610f48573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610f6f919081019061356d565b805190915015610f955780806020019051810190610f8d91906138bf565b9150506107a5565b5092915050565b604051631f849e6b60e11b81525f9073__$05887d5853069c88bcd4c0a2107db45f29$__90633f093cd690610fd79086908690600401613979565b602060405180830381865af4158015610ff2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e9919061399a565b604051632255341b60e11b8152600481018290525f9073__$bf7bc340cbb9229ef1de2c568356e67902$__906344aa683690602401610de2565b611058612618565b6001545f906001600160a01b03166354f6127f6110748561243e565b6040518263ffffffff1660e01b815260040161109291815260200190565b5f60405180830381865afa1580156110ac573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526110d3919081019061356d565b8051909150156109f057808060200190518101906109e991906139b5565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600b610db2565b60408051610100810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526001545f906001600160a01b03166354f6127f61117985612220565b6040518263ffffffff1660e01b815260040161119791815260200190565b5f60405180830381865afa1580156111b1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526111d8919081019061356d565b8051909150156109f057808060200190518101906109e99190613a84565b600154604051635927341160e01b815262ffffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$0f9396e6447a4be57af83e53f51d234633$__906359273411906044015b602060405180830381865af415801561126d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061129191906136af565b6040518263ffffffff1660e01b81526004016112af91815260200190565b602060405180830381865afa1580156112ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e99190613503565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b0384166015610db2565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa15801561136b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061138f91906137c5565b60405163327e18a160e11b81526001600160a01b0385811660048301526001600160401b038516602483015291909116906364fc3142906044015b602060405180830381865afa1580156113e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e991906137e0565b5f5460ff161561142c5760405163ae9eff1b60e01b815260040160405180910390fd5b5f80546001600160a01b038084166101009081026001600160a81b0319909316929092176001179283905560408051631a99b41b60e31b8152905192909304169163d4cda0d89160048083019260209291908290030181865afa158015611495573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114b991906137c5565b600180546001600160a01b0319166001600160a01b039290921691909117905550565b5f806114e783611eef565b8051604051630a4d29dd60e31b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611543573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156791906137e0565b1561157457505f92915050565b6101a081015160405163790a38ad60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af41580156115cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115f391906137e0565b1561160057505f92915050565b6101e0810151604051638d38cd4b60e01b815264ffffffffff909116600482015273__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__90638d38cd4b90602401602060405180830381865af415801561165b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061167f91906137e0565b1561168c57505f92915050565b61014081015161ffff16156116a357505f92915050565b6116b681610160015182608001516125b8565b156116c45750600192915050565b61174773__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af415801561170e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117329190613b1e565b826101c0015164ffffffffff90811691161090565b1561175457505f92915050565b50600192915050565b600154604051637d56159160e11b815261ffff831660048201526001600160601b03841660248201525f916001600160a01b0316906309648a9d9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401611252565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600c610db2565b6001545f906001600160a01b03166309648a9d61083c8461243e565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601d610db2565b5f5460ff16156118535760405163ae9eff1b60e01b815260040160405180910390fd5b61185c33611409565b565b604080518082019091525f8152606060208201526001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$32e9ecefef68cb354d118e0496fdd3f4bc$__906355ee627590602401602060405180830381865af41580156118de573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061190291906136af565b6040518263ffffffff1660e01b815260040161192091815260200190565b5f60405180830381865afa15801561193a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611961919081019061356d565b8051909150156109f057808060200190518101906109e99190613b39565b600154604051638eb9000d60e01b81526001600160601b03831660048201525f916001600160a01b031690638eb9000d90602401610766565b6001545f906001600160a01b03166309648a9d61083c846112ee565b6001545f9081906001600160a01b03166354f6127f6119f2856110f1565b6040518263ffffffff1660e01b8152600401611a1091815260200190565b5f60405180830381865afa158015611a2a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611a51919081019061356d565b8051909150156109f0575f81806020019051810190611a709190613bb6565b60600151949350505050565b604080516080810182525f808252602082018190528183018190526060820152600154915163296586d360e21b81526004810184905290916001600160a01b03169063a5961b4c90602401608060405180830381865afa158015611ae2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107a5919061349c565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820181905260a082015260c0810191909152600154604051637d56159160e11b815261ffff841660048201526001600160601b03851660248201525f916001600160a01b0316906354f6127f9073__$9e81531fe4994e01e99541f86b55500b4b$__9063faac2b2290604401602060405180830381865af4158015611bb2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bd691906136af565b6040518263ffffffff1660e01b8152600401611bf491815260200190565b5f60405180830381865afa158015611c0e573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611c35919081019061356d565b805190915015610f955780806020019051810190610f8d9190613c8e565b5f805f611c5f84610a72565b60a081015160405163790a38ad60e01b815264ffffffffff909116600482015290915073__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__9063790a38ad90602401602060405180830381865af4158015611cbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce091906137e0565b15611d5d5773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611d2c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d5091906136af565b60645b9250925050915091565b611ddf8160a0015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611dac573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dd09190613b1e565b64ffffffffff90811691161090565b15611e565773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611e2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e4f91906136af565b606e611d53565b806060015163ffffffff16816080015163ffffffff1610611ee35773__$bf7bc340cbb9229ef1de2c568356e67902$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611eb8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611edc91906136af565b6078611d53565b6040810151600a611d53565b60408051610200810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820181905261010082015261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001545f906001600160a01b03166354f6127f611f8a856112ee565b6040518263ffffffff1660e01b8152600401611fa891815260200190565b5f60405180830381865afa158015611fc2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611fe9919081019061356d565b8051909150156109f057808060200190518101906109e99190613d77565b5f8060019054906101000a90046001600160a01b03166001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612058573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061207c91906137c5565b60405163cd55e51b60e01b81526001600160a01b0385811660048301526001600160401b0385166024830152919091169063cd55e51b906044016113ca565b612113604051806101200160405280606081526020015f81526020015f81526020015f81526020015f63ffffffff1681526020015f63ffffffff1681526020015f151581526020015f15158152602001606081525090565b6001546040516355ee627560e01b81526001600160c01b0319841660048201525f916001600160a01b0316906354f6127f9073__$1919c6d2c69d787ccb2653a371d7e5737d$__906355ee627590602401602060405180830381865af415801561217f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121a391906136af565b6040518263ffffffff1660e01b81526004016121c191815260200190565b5f60405180830381865afa1580156121db573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612202919081019061356d565b8051909150156109f057808060200190518101906109e99190613f0a565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416600f610db2565b60408051610240810182525f80825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810182905261018081018290526101a081018290526101c081018290526101e0810182905261020081018290526102208101919091526001545f906001600160a01b03166354f6127f6122f885610d8a565b6040518263ffffffff1660e01b815260040161231691815260200190565b5f60405180830381865afa158015612330573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612357919081019061356d565b8051909150156109f057808060200190518101906109e99190614003565b6040805160c08101825260608082525f602083018190529282018390528082018390526080820183905260a08201526001549091906001600160a01b03166354f6127f6123c1856110f1565b6040518263ffffffff1660e01b81526004016123df91815260200190565b5f60405180830381865afa1580156123f9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612420919081019061356d565b8051909150156109f057808060200190518101906109e99190613bb6565b5f73__$94a2c899be079b00d952d0d84fffaa5c34$__633889a4c86001600160601b038416601f610db2565b60408051610100810182525f808252606060208301819052928201819052828201839052608082019290925260a0810182905260c0810182905260e0810191909152600154604051630f37f38f60e41b81526001600160401b03841660048201525f916001600160a01b0316906354f6127f9073__$b4c16f233b92c2c4124fb22a521f86c95b$__9063f37f38f090602401602060405180830381865af4158015612517573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061253b91906136af565b6040518263ffffffff1660e01b815260040161255991815260200190565b5f60405180830381865afa158015612573573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261259a919081019061356d565b8051909150156109f057808060200190518101906109e99190614165565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af41580156113e5573d5f803e3d5ffd5b6040518060c001604052805f6001600160601b0316815260200161264d60405180604001604052805f81526020015f81525090565b81526060602082018190525f6040830181905290820181905260809091015290565b6001600160601b0381168114612683575f80fd5b50565b5f60208284031215612696575f80fd5b81356109e98161266f565b5f602082840312156126b1575f80fd5b5035919050565b81516001600160601b03168152610220810160208301516126e460208401826001600160601b03169052565b5060408301516126f8604084018215159052565b506060830151612715606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151805161012084015260208101516101408401525060e0830151805161016084015260208101516101808401525061010083015180516101a084015260208101516101c08401525061012083015180516101e08401526020810151610200840152610f95565b5f80604083850312156127c0575f80fd5b8235915060208301355f81900b81146127d7575f80fd5b809150509250929050565b6001600160c01b031981168114612683575f80fd5b5f60208284031215612807575f80fd5b81356109e9816127e2565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201525f602083015160e0604084015261286f610100840182612812565b90506040840151606084015263ffffffff606085015116608084015260808401516128a260a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526128d18282612812565b95945050505050565b6001600160a01b0381168114612683575f80fd5b5f602082840312156128fe575f80fd5b81356109e9816128da565b602081526001600160401b0360c01b82511660208201526020820151151560408201525f60408301516080606084015261294660a0840182612812565b905063ffffffff60608501511660808401528091505092915050565b5f8060408385031215612973575f80fd5b823561297e8161266f565b9150602083013562ffffff811681146127d7575f80fd5b6020815261ffff82511660208201526001600160601b03602083015116604082015260018060a01b0360408301511660608201525f606083015160a060808401526129e360c0840182612812565b905064ffffffffff60808501511660a08401528091505092915050565b634e487b7160e01b5f52604160045260245ffd5b604051608081016001600160401b0381118282101715612a3657612a36612a00565b60405290565b604080519081016001600160401b0381118282101715612a3657612a36612a00565b60405161014081016001600160401b0381118282101715612a3657612a36612a00565b60405160e081016001600160401b0381118282101715612a3657612a36612a00565b60405160a081016001600160401b0381118282101715612a3657612a36612a00565b60405160c081016001600160401b0381118282101715612a3657612a36612a00565b60405161010081016001600160401b0381118282101715612a3657612a36612a00565b60405161020081016001600160401b0381118282101715612a3657612a36612a00565b60405161012081016001600160401b0381118282101715612a3657612a36612a00565b60405161024081016001600160401b0381118282101715612a3657612a36612a00565b604051601f8201601f191681016001600160401b0381118282101715612b9b57612b9b612a00565b604052919050565b5f6001600160401b03821115612bbb57612bbb612a00565b50601f01601f191660200190565b5f8060408385031215612bda575f80fd5b8235612be58161266f565b915060208301356001600160401b03811115612bff575f80fd5b8301601f81018513612c0f575f80fd5b8035612c22612c1d82612ba3565b612b73565b818152866020838501011115612c36575f80fd5b816020840160208301375f602083830101528093505050509250929050565b602081526001600160601b0382511660208201525f6020830151612c86604084018280518252602090810151910152565b50604083015160e06080840152612ca1610100840182612812565b905064ffffffffff60608501511660a084015264ffffffffff60808501511660c084015264ffffffffff60a08501511660e08401528091505092915050565b5f610100820190506001600160601b0383511682526001600160401b0360208401511660208301526040830151151560408301526060830151612d27606084018215159052565b506080830151612d3b608084018215159052565b5060a0830151612d4f60a084018215159052565b5060c083015160c083015260e083015160e083015292915050565b6001600160401b0381168114612683575f80fd5b5f8060408385031215612d8f575f80fd5b8235612d9a816128da565b915060208301356127d781612d6a565b61ffff81168114612683575f80fd5b5f8060408385031215612dca575f80fd5b8235612dd58161266f565b915060208301356127d781612daa565b602081526001600160601b0382511660208201525f6020830151604080840152612e126060840182612812565b949350505050565b602081526001600160601b0382511660208201526001600160601b0360208301511660408201525f6040830151612e56606084018260ff169052565b50606083015160ff8116608084015250608083015160e060a0840152612e80610100840182612812565b905060a0840151601f198483030160c0850152612e9d8282612812565b91505060c0840151612eb860e085018264ffffffffff169052565b509392505050565b60208152612eda6020820183516001600160601b03169052565b5f6020830151612ef560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b0319811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c083015164ffffffffff811660e08401525060e0830151610200610100840152612f7b610220840182612812565b9050610100840151601f1984830301610120850152612f9a8282612812565b915050610120840151612fb461014085018261ffff169052565b5061014084015161ffff8116610160850152506101608401516001600160601b038116610180850152506101808401516001600160601b0381166101a0850152506101a084015164ffffffffff81166101c0850152506101c084015164ffffffffff81166101e0850152506101e084015164ffffffffff8116610200850152612eb8565b602081525f82516101206020840152613055610140840182612812565b9050602084015160408401526040840151606084015260608401516080840152608084015161308c60a085018263ffffffff169052565b5060a084015163ffffffff811660c08501525060c084015180151560e08501525060e084015180151561010085015250610100840151838203601f19016101208501526128d18282612812565b81516001600160601b031681526102408101602083015161310560208401826001600160601b03169052565b50604083015161312060408401826001600160601b03169052565b50606083015161313b60608401826001600160601b03169052565b50608083015161315660808401826001600160601b03169052565b5060a083015161317160a08401826001600160601b03169052565b5060c083015161318c60c08401826001600160601b03169052565b5060e08301516131a760e08401826001600160601b03169052565b506101008301516131c46101008401826001600160601b03169052565b506101208301516131e16101208401826001600160601b03169052565b506101408301516131fe6101408401826001600160601b03169052565b5061016083015161321b6101608401826001600160601b03169052565b506101808301516132386101808401826001600160601b03169052565b506101a08301516132556101a08401826001600160601b03169052565b506101c08301516132726101c08401826001600160601b03169052565b506101e083015161328f6101e08401826001600160601b03169052565b506102008301516132ac6102008401826001600160601b03169052565b50610220830151610f956102208401826001600160601b03169052565b602081525f825160c060208401526132e460e0840182612812565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b036060850151166080840152608084015161333760a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526128d18282612812565b5f60208284031215613363575f80fd5b81356109e981612d6a565b602081526133886020820183516001600160601b03169052565b5f602083015161010060408401526133a4610120840182612812565b905060408401516133c060608501826001600160601b03169052565b506060840151838203601f190160808501526133dc8282612812565b9150506080840151601f198483030160a08501526133fa8282612812565b91505060a084015161341560c085018264ffffffffff169052565b5060c084015164ffffffffff811660e08501525060e0840151801515610100850152612eb8565b80516134478161266f565b919050565b5f6020828403121561345c575f80fd5b81516109e98161266f565b60ff81168114612683575f80fd5b805161344781613467565b63ffffffff81168114612683575f80fd5b805161344781613480565b5f60808284031280156134ad575f80fd5b506134b6612a14565b82516134c181613467565b815260208301516134d181613467565b602082015260408301516134e481613480565b604082015260608301516134f781613480565b60608201529392505050565b5f60208284031215613513575f80fd5b81516109e981613467565b5f82601f83011261352d575f80fd5b8151602083015f613540612c1d84612ba3565b9050828152858383011115613553575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f6020828403121561357d575f80fd5b81516001600160401b03811115613592575f80fd5b612e128482850161351e565b80518015158114613447575f80fd5b5f604082840312156135bd575f80fd5b6135c5612a3c565b825181526020928301519281019290925250919050565b5f6102208284031280156135ee575f80fd5b506135f7612a5e565b6136008361343c565b815261360e6020840161343c565b602082015261361f6040840161359e565b604082015261363184606085016135ad565b60608201526136438460a085016135ad565b60808201526136558460e085016135ad565b60a08201526136688461012085016135ad565b60c082015261367b8461016085016135ad565b60e082015261368e846101a085016135ad565b6101008201526136a2846101e085016135ad565b6101208201529392505050565b5f602082840312156136bf575f80fd5b5051919050565b64ffffffffff81168114612683575f80fd5b8051613447816136c6565b5f602082840312156136f3575f80fd5b81516001600160401b03811115613708575f80fd5b820160e08185031215613719575f80fd5b613721612a81565b61372a8261343c565b815260208201516001600160401b03811115613744575f80fd5b6137508682850161351e565b6020830152506040828101519082015261376c60608301613491565b606082015261377d60808301613491565b608082015261378e60a083016136d8565b60a082015260c08201516001600160401b038111156137ab575f80fd5b6137b78682850161351e565b60c083015250949350505050565b5f602082840312156137d5575f80fd5b81516109e9816128da565b5f602082840312156137f0575f80fd5b6109e98261359e565b8051613447816127e2565b5f60208284031215613814575f80fd5b81516001600160401b03811115613829575f80fd5b82016080818503121561383a575f80fd5b613842612a14565b815161384d816127e2565b815261385b6020830161359e565b602082015260408201516001600160401b03811115613878575f80fd5b6138848682850161351e565b6040830152506060820151915061389a82613480565b60608101919091529392505050565b805161344781612daa565b8051613447816128da565b5f602082840312156138cf575f80fd5b81516001600160401b038111156138e4575f80fd5b820160a081850312156138f5575f80fd5b6138fd612aa3565b815161390881612daa565b815260208201516139188161266f565b6020820152604082015161392b816128da565b604082015260608201516001600160401b03811115613948575f80fd5b6139548682850161351e565b6060830152506080820151915061396a826136c6565b60808101919091529392505050565b6001600160601b0383168152604060208201525f612e126040830184612812565b5f602082840312156139aa575f80fd5b81516109e9816127e2565b5f602082840312156139c5575f80fd5b81516001600160401b038111156139da575f80fd5b820160e081850312156139eb575f80fd5b6139f3612ac5565b81516139fe8161266f565b8152613a0d85602084016135ad565b602082015260608201516001600160401b03811115613a2a575f80fd5b613a368682850161351e565b6040830152506080820151613a4a816136c6565b6060820152613a5b60a083016136d8565b6080820152613a6c60c083016136d8565b60a0820152949350505050565b805161344781612d6a565b5f610100828403128015613a96575f80fd5b50613a9f612ae7565b8251613aaa8161266f565b8152613ab860208401613a79565b6020820152613ac96040840161359e565b6040820152613ada6060840161359e565b6060820152613aeb6080840161359e565b6080820152613afc60a0840161359e565b60a082015260c0838101519082015260e0928301519281019290925250919050565b5f60208284031215613b2e575f80fd5b81516109e9816136c6565b5f60208284031215613b49575f80fd5b81516001600160401b03811115613b5e575f80fd5b820160408185031215613b6f575f80fd5b613b77612a3c565b8151613b828161266f565b815260208201516001600160401b03811115613b9c575f80fd5b613ba88682850161351e565b602083015250949350505050565b5f60208284031215613bc6575f80fd5b81516001600160401b03811115613bdb575f80fd5b820160c08185031215613bec575f80fd5b613bf4612ac5565b81516001600160401b03811115613c09575f80fd5b613c158682850161351e565b825250613c246020830161343c565b6020820152613c35604083016138b4565b6040820152613c46606083016138b4565b6060820152613c57608083016138b4565b608082015260a08201516001600160401b03811115613c74575f80fd5b613c808682850161351e565b60a083015250949350505050565b5f60208284031215613c9e575f80fd5b81516001600160401b03811115613cb3575f80fd5b820160e08185031215613cc4575f80fd5b613ccc612a81565b613cd58261343c565b8152613ce36020830161343c565b6020820152613cf460408301613475565b6040820152613d0560608301613475565b606082015260808201516001600160401b03811115613d22575f80fd5b613d2e8682850161351e565b60808301525060a08201516001600160401b03811115613d4c575f80fd5b613d588682850161351e565b60a083015250613d6a60c083016136d8565b60c0820152949350505050565b5f60208284031215613d87575f80fd5b81516001600160401b03811115613d9c575f80fd5b82016102008185031215613dae575f80fd5b613db6612b0a565b613dbf8261343c565b8152613dcd6020830161343c565b6020820152613dde604083016137f9565b6040820152613def606083016137f9565b6060820152613e006080830161343c565b6080820152613e1160a0830161343c565b60a0820152613e2260c083016136d8565b60c082015260e08201516001600160401b03811115613e3f575f80fd5b613e4b8682850161351e565b60e0830152506101008201516001600160401b03811115613e6a575f80fd5b613e768682850161351e565b61010083015250613e8a61012083016138a9565b610120820152613e9d61014083016138a9565b610140820152613eb0610160830161343c565b610160820152613ec3610180830161343c565b610180820152613ed66101a083016136d8565b6101a0820152613ee96101c083016136d8565b6101c0820152613efc6101e083016136d8565b6101e0820152949350505050565b5f60208284031215613f1a575f80fd5b81516001600160401b03811115613f2f575f80fd5b82016101208185031215613f41575f80fd5b613f49612b2d565b81516001600160401b03811115613f5e575f80fd5b613f6a8682850161351e565b825250602082810151908201526040808301519082015260608083015190820152613f9760808301613491565b6080820152613fa860a08301613491565b60a0820152613fb960c0830161359e565b60c0820152613fca60e0830161359e565b60e08201526101008201516001600160401b03811115613fe8575f80fd5b613ff48682850161351e565b61010083015250949350505050565b5f610240828403128015614015575f80fd5b5061401e612b50565b6140278361343c565b81526140356020840161343c565b60208201526140466040840161343c565b60408201526140576060840161343c565b60608201526140686080840161343c565b608082015261407960a0840161343c565b60a082015261408a60c0840161343c565b60c082015261409b60e0840161343c565b60e08201526140ad610100840161343c565b6101008201526140c0610120840161343c565b6101208201526140d3610140840161343c565b6101408201526140e6610160840161343c565b6101608201526140f9610180840161343c565b61018082015261410c6101a0840161343c565b6101a082015261411f6101c0840161343c565b6101c08201526141326101e0840161343c565b6101e0820152614145610200840161343c565b610200820152614158610220840161343c565b6102208201529392505050565b5f60208284031215614175575f80fd5b81516001600160401b0381111561418a575f80fd5b8201610100818503121561419c575f80fd5b6141a4612ae7565b6141ad8261343c565b815260208201516001600160401b038111156141c7575f80fd5b6141d38682850161351e565b6020830152506141e56040830161343c565b604082015260608201516001600160401b03811115614202575f80fd5b61420e8682850161351e565b60608301525060808201516001600160401b0381111561422c575f80fd5b6142388682850161351e565b60808301525061424a60a083016136d8565b60a082015261425b60c083016136d8565b60c082015261426c60e0830161359e565b60e082015294935050505056fea2646970667358221220539330d81e50b849eb1f9470a498d9e18bda5257688dec73c2b95f2e4787fe9364736f6c634300081a0033",
1083
1544
  "linkReferences": {
1084
- "contracts/types/DistributorType.sol": {
1545
+ "contracts/type/Amount.sol": {
1546
+ "AmountLib": [
1547
+ {
1548
+ "length": 20,
1549
+ "start": 9733
1550
+ }
1551
+ ]
1552
+ },
1553
+ "contracts/type/ClaimId.sol": {
1554
+ "ClaimIdLib": [
1555
+ {
1556
+ "length": 20,
1557
+ "start": 6079
1558
+ },
1559
+ {
1560
+ "length": 20,
1561
+ "start": 7071
1562
+ }
1563
+ ]
1564
+ },
1565
+ "contracts/type/DistributorType.sol": {
1085
1566
  "DistributorTypeLib": [
1086
1567
  {
1087
1568
  "length": 20,
1088
- "start": 6188
1569
+ "start": 8556
1089
1570
  }
1090
1571
  ]
1091
1572
  },
1092
- "contracts/types/NftId.sol": {
1573
+ "contracts/type/NftId.sol": {
1093
1574
  "NftIdLib": [
1094
1575
  {
1095
1576
  "length": 20,
1096
- "start": 289
1577
+ "start": 3506
1578
+ },
1579
+ {
1580
+ "length": 20,
1581
+ "start": 3657
1097
1582
  },
1098
1583
  {
1099
1584
  "length": 20,
1100
- "start": 3257
1585
+ "start": 4377
1101
1586
  },
1102
1587
  {
1103
1588
  "length": 20,
1104
- "start": 3597
1589
+ "start": 4886
1105
1590
  },
1106
1591
  {
1107
1592
  "length": 20,
1108
- "start": 3992
1593
+ "start": 5424
1109
1594
  },
1110
1595
  {
1111
1596
  "length": 20,
1112
- "start": 4037
1597
+ "start": 6116
1113
1598
  },
1114
1599
  {
1115
1600
  "length": 20,
1116
- "start": 4082
1601
+ "start": 6188
1602
+ },
1603
+ {
1604
+ "length": 20,
1605
+ "start": 8776
1117
1606
  },
1118
1607
  {
1119
1608
  "length": 20,
1120
- "start": 6415
1609
+ "start": 9318
1610
+ }
1611
+ ]
1612
+ },
1613
+ "contracts/type/PayoutId.sol": {
1614
+ "PayoutIdLib": [
1615
+ {
1616
+ "length": 20,
1617
+ "start": 3801
1121
1618
  },
1122
1619
  {
1123
1620
  "length": 20,
1124
- "start": 6670
1621
+ "start": 4697
1125
1622
  }
1126
1623
  ]
1127
1624
  },
1128
- "contracts/types/Referral.sol": {
1625
+ "contracts/type/Referral.sol": {
1129
1626
  "ReferralLib": [
1130
1627
  {
1131
1628
  "length": 20,
1132
- "start": 3017
1629
+ "start": 2818
1133
1630
  },
1134
1631
  {
1135
1632
  "length": 20,
1136
- "start": 3656
1633
+ "start": 4050
1634
+ }
1635
+ ]
1636
+ },
1637
+ "contracts/type/RequestId.sol": {
1638
+ "RequestIdLib": [
1639
+ {
1640
+ "length": 20,
1641
+ "start": 9476
1137
1642
  }
1138
1643
  ]
1139
1644
  },
1140
- "contracts/types/RiskId.sol": {
1645
+ "contracts/type/RiskId.sol": {
1141
1646
  "RiskIdLib": [
1142
1647
  {
1143
1648
  "length": 20,
1144
- "start": 4197
1649
+ "start": 6347
1145
1650
  }
1146
1651
  ]
1147
1652
  },
1148
- "contracts/types/Timestamp.sol": {
1653
+ "contracts/type/Timestamp.sol": {
1149
1654
  "TimestampLib": [
1150
1655
  {
1151
1656
  "length": 20,
1152
- "start": 5125
1657
+ "start": 5564
1658
+ },
1659
+ {
1660
+ "length": 20,
1661
+ "start": 5704
1662
+ },
1663
+ {
1664
+ "length": 20,
1665
+ "start": 5870
1153
1666
  },
1154
1667
  {
1155
1668
  "length": 20,
1156
- "start": 5356
1669
+ "start": 7337
1670
+ },
1671
+ {
1672
+ "length": 20,
1673
+ "start": 7564
1157
1674
  }
1158
1675
  ]
1159
1676
  },
1160
- "contracts/types/UFixed.sol": {
1677
+ "contracts/type/UFixed.sol": {
1161
1678
  "UFixedLib": [
1162
1679
  {
1163
1680
  "length": 20,
1164
- "start": 2805
1681
+ "start": 2619
1165
1682
  },
1166
1683
  {
1167
1684
  "length": 20,
1168
- "start": 3788
1685
+ "start": 4179
1169
1686
  },
1170
1687
  {
1171
1688
  "length": 20,
1172
- "start": 5226
1689
+ "start": 7436
1173
1690
  },
1174
1691
  {
1175
1692
  "length": 20,
1176
- "start": 5485
1693
+ "start": 7691
1177
1694
  },
1178
1695
  {
1179
1696
  "length": 20,
1180
- "start": 5628
1697
+ "start": 7832
1181
1698
  }
1182
1699
  ]
1183
1700
  }
1184
1701
  },
1185
1702
  "deployedLinkReferences": {
1186
- "contracts/types/DistributorType.sol": {
1703
+ "contracts/type/Amount.sol": {
1704
+ "AmountLib": [
1705
+ {
1706
+ "length": 20,
1707
+ "start": 9696
1708
+ }
1709
+ ]
1710
+ },
1711
+ "contracts/type/ClaimId.sol": {
1712
+ "ClaimIdLib": [
1713
+ {
1714
+ "length": 20,
1715
+ "start": 6042
1716
+ },
1717
+ {
1718
+ "length": 20,
1719
+ "start": 7034
1720
+ }
1721
+ ]
1722
+ },
1723
+ "contracts/type/DistributorType.sol": {
1187
1724
  "DistributorTypeLib": [
1188
1725
  {
1189
1726
  "length": 20,
1190
- "start": 4647
1727
+ "start": 8519
1191
1728
  }
1192
1729
  ]
1193
1730
  },
1194
- "contracts/types/NftId.sol": {
1731
+ "contracts/type/NftId.sol": {
1195
1732
  "NftIdLib": [
1196
1733
  {
1197
1734
  "length": 20,
1198
- "start": 1716
1735
+ "start": 3469
1736
+ },
1737
+ {
1738
+ "length": 20,
1739
+ "start": 3620
1740
+ },
1741
+ {
1742
+ "length": 20,
1743
+ "start": 4340
1744
+ },
1745
+ {
1746
+ "length": 20,
1747
+ "start": 4849
1199
1748
  },
1200
1749
  {
1201
1750
  "length": 20,
1202
- "start": 2056
1751
+ "start": 5387
1203
1752
  },
1204
1753
  {
1205
1754
  "length": 20,
1206
- "start": 2451
1755
+ "start": 6079
1207
1756
  },
1208
1757
  {
1209
1758
  "length": 20,
1210
- "start": 2496
1759
+ "start": 6151
1211
1760
  },
1212
1761
  {
1213
1762
  "length": 20,
1214
- "start": 2541
1763
+ "start": 8739
1215
1764
  },
1216
1765
  {
1217
1766
  "length": 20,
1218
- "start": 4874
1767
+ "start": 9281
1768
+ }
1769
+ ]
1770
+ },
1771
+ "contracts/type/PayoutId.sol": {
1772
+ "PayoutIdLib": [
1773
+ {
1774
+ "length": 20,
1775
+ "start": 3764
1219
1776
  },
1220
1777
  {
1221
1778
  "length": 20,
1222
- "start": 5129
1779
+ "start": 4660
1223
1780
  }
1224
1781
  ]
1225
1782
  },
1226
- "contracts/types/Referral.sol": {
1783
+ "contracts/type/Referral.sol": {
1227
1784
  "ReferralLib": [
1228
1785
  {
1229
1786
  "length": 20,
1230
- "start": 1476
1787
+ "start": 2781
1231
1788
  },
1232
1789
  {
1233
1790
  "length": 20,
1234
- "start": 2115
1791
+ "start": 4013
1792
+ }
1793
+ ]
1794
+ },
1795
+ "contracts/type/RequestId.sol": {
1796
+ "RequestIdLib": [
1797
+ {
1798
+ "length": 20,
1799
+ "start": 9439
1235
1800
  }
1236
1801
  ]
1237
1802
  },
1238
- "contracts/types/RiskId.sol": {
1803
+ "contracts/type/RiskId.sol": {
1239
1804
  "RiskIdLib": [
1240
1805
  {
1241
1806
  "length": 20,
1242
- "start": 2656
1807
+ "start": 6310
1243
1808
  }
1244
1809
  ]
1245
1810
  },
1246
- "contracts/types/Timestamp.sol": {
1811
+ "contracts/type/Timestamp.sol": {
1247
1812
  "TimestampLib": [
1248
1813
  {
1249
1814
  "length": 20,
1250
- "start": 3584
1815
+ "start": 5527
1816
+ },
1817
+ {
1818
+ "length": 20,
1819
+ "start": 5667
1820
+ },
1821
+ {
1822
+ "length": 20,
1823
+ "start": 5833
1824
+ },
1825
+ {
1826
+ "length": 20,
1827
+ "start": 7300
1251
1828
  },
1252
1829
  {
1253
1830
  "length": 20,
1254
- "start": 3815
1831
+ "start": 7527
1255
1832
  }
1256
1833
  ]
1257
1834
  },
1258
- "contracts/types/UFixed.sol": {
1835
+ "contracts/type/UFixed.sol": {
1259
1836
  "UFixedLib": [
1260
1837
  {
1261
1838
  "length": 20,
1262
- "start": 1264
1839
+ "start": 2582
1263
1840
  },
1264
1841
  {
1265
1842
  "length": 20,
1266
- "start": 2247
1843
+ "start": 4142
1267
1844
  },
1268
1845
  {
1269
1846
  "length": 20,
1270
- "start": 3685
1847
+ "start": 7399
1271
1848
  },
1272
1849
  {
1273
1850
  "length": 20,
1274
- "start": 3944
1851
+ "start": 7654
1275
1852
  },
1276
1853
  {
1277
1854
  "length": 20,
1278
- "start": 4087
1855
+ "start": 7795
1279
1856
  }
1280
1857
  ]
1281
1858
  }