@etherisc/gif-next 0.0.2-c5c9395-682 → 0.0.2-c637cfc-718

Sign up to get free protection for your applications and to get access to all the features.
Files changed (656) hide show
  1. package/README.md +51 -5
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1234 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1013 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1342 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1012 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1405 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +198 -261
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +178 -336
  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 +1517 -0
  42. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +1978 -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 +296 -2011
  48. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +198 -74
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +353 -2827
  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 +898 -337
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +246 -372
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +129 -156
  62. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3587 -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/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  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 +8 -116
  76. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  81. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  82. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  83. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  84. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +979 -0
  85. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  86. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  87. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  88. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  89. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  90. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +765 -0
  91. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  92. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +255 -186
  93. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  94. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +236 -207
  95. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  96. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +927 -0
  97. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +710 -0
  99. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  100. package/artifacts/contracts/{components/Pool.sol/Pool.json → pool/BasicPool.sol/BasicPool.json} +275 -403
  101. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  102. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  103. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  104. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1367 -0
  105. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  106. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +802 -0
  107. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  108. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +295 -47
  109. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  110. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +909 -0
  111. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  112. package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +476 -122
  113. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  114. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/Pool.sol/Pool.json} +346 -376
  115. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  116. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1474 -0
  117. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +726 -0
  119. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  120. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +737 -0
  121. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +698 -0
  123. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  124. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +336 -407
  125. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  126. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  127. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  128. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1346 -0
  129. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  130. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +814 -0
  131. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  132. package/artifacts/contracts/{instance/service/IClaimService.sol/IClaimService.json → product/IApplicationService.sol/IApplicationService.json} +136 -94
  133. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  134. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +886 -0
  135. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  136. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +867 -0
  137. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  138. package/artifacts/contracts/{instance/service/IApplicationService.sol/IApplicationService.json → product/IPricingService.sol/IPricingService.json} +117 -190
  139. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  140. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +309 -191
  141. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  142. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +12 -62
  143. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  144. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1223 -0
  145. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  146. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +762 -0
  147. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  148. package/artifacts/contracts/product/PricingService.sol/PricingService.json +865 -0
  149. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  150. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +746 -0
  151. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  152. package/artifacts/contracts/product/Product.sol/Product.json +1054 -0
  153. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  154. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  155. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  156. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  157. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  158. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  159. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  160. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +385 -31
  161. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  162. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +199 -125
  163. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  164. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  165. package/artifacts/contracts/registry/Registry.sol/Registry.json +783 -46
  166. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  167. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1858 -0
  168. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  169. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +372 -185
  170. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  171. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +126 -95
  172. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  173. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  174. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  175. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  176. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  177. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  178. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  179. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +316 -153
  180. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  181. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/Component.sol/Component.json} +268 -190
  182. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  183. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1573 -0
  184. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +794 -0
  186. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  187. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +432 -0
  188. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  189. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  190. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  191. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +107 -107
  192. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  193. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  194. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  195. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +700 -0
  196. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  197. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  198. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  199. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  200. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  201. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +3 -10
  202. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  203. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +59 -13
  204. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  205. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +3 -10
  206. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  207. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -13
  208. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  209. package/artifacts/contracts/shared/IService.sol/IService.json +17 -6
  210. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  211. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  212. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  213. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  214. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  215. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +793 -0
  216. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  217. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  218. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  219. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +133 -0
  220. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  221. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  222. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  223. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +12 -70
  224. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  225. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +35 -85
  226. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  227. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +18 -106
  228. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  229. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -28
  230. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  231. package/artifacts/contracts/shared/Service.sol/Service.json +19 -115
  232. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  233. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  234. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  235. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  236. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  237. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → staking/IStaking.sol/IStaking.json} +684 -575
  238. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  239. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  240. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  241. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  242. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  243. package/artifacts/contracts/staking/Staking.sol/Staking.json +1828 -0
  244. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  245. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  246. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  247. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +750 -0
  248. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  250. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  251. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1236 -0
  252. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  253. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  254. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  255. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  256. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  257. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  258. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  259. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  260. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/Amount.sol/AmountLib.json +374 -0
  262. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  263. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  264. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  266. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  268. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  270. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  271. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  272. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  274. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  275. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  276. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  278. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  280. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  282. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  283. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  284. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  286. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  287. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  288. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  290. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  292. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  294. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  295. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  296. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  298. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  300. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  302. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +535 -0
  304. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  306. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  308. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  309. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  310. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  311. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +586 -0
  312. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  313. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  314. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  315. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  316. package/contracts/authorization/AccessAdmin.sol +592 -0
  317. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  318. package/contracts/authorization/Authorization.sol +217 -0
  319. package/contracts/authorization/IAccess.sol +48 -0
  320. package/contracts/authorization/IAccessAdmin.sol +135 -0
  321. package/contracts/authorization/IAuthorization.sol +54 -0
  322. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  323. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  324. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  325. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  326. package/contracts/distribution/BasicDistribution.sol +138 -0
  327. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  328. package/contracts/{components → distribution}/Distribution.sol +178 -163
  329. package/contracts/distribution/DistributionService.sol +336 -0
  330. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  331. package/contracts/distribution/IDistributionComponent.sol +52 -0
  332. package/contracts/{instance/service → distribution}/IDistributionService.sol +40 -38
  333. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  334. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  335. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  336. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  337. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +30 -31
  338. package/contracts/instance/IInstance.sol +38 -73
  339. package/contracts/instance/IInstanceService.sol +50 -30
  340. package/contracts/instance/Instance.sol +147 -245
  341. package/contracts/instance/InstanceAdmin.sol +285 -0
  342. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  343. package/contracts/instance/InstanceReader.sol +202 -63
  344. package/contracts/instance/InstanceService.sol +305 -334
  345. package/contracts/instance/InstanceServiceManager.sol +14 -29
  346. package/contracts/instance/InstanceStore.sol +287 -0
  347. package/contracts/instance/base/BalanceStore.sol +123 -0
  348. package/contracts/instance/base/Cloneable.sol +28 -0
  349. package/contracts/instance/base/ObjectCounter.sol +21 -0
  350. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  351. package/contracts/instance/{ObjectManager.sol → base/ObjectSet.sol} +18 -21
  352. package/contracts/instance/module/IAccess.sol +4 -12
  353. package/contracts/instance/module/IBundle.sol +6 -9
  354. package/contracts/instance/module/IComponents.sol +20 -15
  355. package/contracts/instance/module/IDistribution.sol +6 -6
  356. package/contracts/instance/module/IPolicy.sol +47 -35
  357. package/contracts/instance/module/IRisk.sol +1 -1
  358. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  359. package/contracts/oracle/BasicOracle.sol +48 -0
  360. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  361. package/contracts/oracle/IOracle.sol +36 -0
  362. package/contracts/oracle/IOracleComponent.sol +33 -0
  363. package/contracts/oracle/IOracleService.sol +65 -0
  364. package/contracts/oracle/Oracle.sol +167 -0
  365. package/contracts/oracle/OracleService.sol +281 -0
  366. package/contracts/oracle/OracleServiceManager.sol +39 -0
  367. package/contracts/pool/BasicPool.sol +166 -0
  368. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  369. package/contracts/pool/BundleService.sol +438 -0
  370. package/contracts/pool/BundleServiceManager.sol +39 -0
  371. package/contracts/pool/IBundleService.sol +134 -0
  372. package/contracts/pool/IPoolComponent.sol +58 -0
  373. package/contracts/pool/IPoolService.sol +160 -0
  374. package/contracts/pool/Pool.sol +326 -0
  375. package/contracts/pool/PoolService.sol +508 -0
  376. package/contracts/pool/PoolServiceManager.sol +39 -0
  377. package/contracts/product/ApplicationService.sol +247 -0
  378. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  379. package/contracts/product/BasicProduct.sol +53 -0
  380. package/contracts/product/BasicProductAuthorization.sol +43 -0
  381. package/contracts/product/ClaimService.sol +536 -0
  382. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  383. package/contracts/{instance/service → product}/IApplicationService.sol +16 -35
  384. package/contracts/product/IClaimService.sol +122 -0
  385. package/contracts/product/IPolicyService.sol +77 -0
  386. package/contracts/product/IPricingService.sol +39 -0
  387. package/contracts/product/IProductComponent.sol +39 -0
  388. package/contracts/product/IRiskService.sol +33 -0
  389. package/contracts/product/PolicyService.sol +646 -0
  390. package/contracts/product/PolicyServiceManager.sol +39 -0
  391. package/contracts/product/PricingService.sol +300 -0
  392. package/contracts/product/PricingServiceManager.sol +39 -0
  393. package/contracts/product/Product.sol +425 -0
  394. package/contracts/product/RiskService.sol +96 -0
  395. package/contracts/product/RiskServiceManager.sol +39 -0
  396. package/contracts/registry/ChainNft.sol +72 -32
  397. package/contracts/registry/IRegistry.sol +92 -25
  398. package/contracts/registry/IRegistryService.sol +42 -41
  399. package/contracts/registry/Registry.sol +427 -192
  400. package/contracts/registry/RegistryAdmin.sol +464 -0
  401. package/contracts/registry/RegistryService.sol +70 -100
  402. package/contracts/registry/RegistryServiceManager.sol +23 -32
  403. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  404. package/contracts/registry/ReleaseRegistry.sol +491 -0
  405. package/contracts/registry/ServiceAuthorizationV3.sol +199 -0
  406. package/contracts/registry/TokenRegistry.sol +261 -62
  407. package/contracts/shared/Component.sol +268 -0
  408. package/contracts/shared/ComponentService.sol +641 -0
  409. package/contracts/shared/ComponentServiceManager.sol +38 -0
  410. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  411. package/contracts/shared/ContractLib.sol +38 -0
  412. package/contracts/shared/IComponent.sol +70 -0
  413. package/contracts/shared/IComponentService.sol +108 -0
  414. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  415. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  416. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  417. package/contracts/shared/INftOwnable.sol +2 -2
  418. package/contracts/shared/IPolicyHolder.sol +23 -14
  419. package/contracts/shared/IRegistryLinked.sol +0 -1
  420. package/contracts/shared/IService.sol +12 -3
  421. package/contracts/shared/InitializableCustom.sol +177 -0
  422. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  423. package/contracts/shared/InstanceLinkedComponent.sol +172 -0
  424. package/contracts/shared/KeyValueStore.sol +131 -0
  425. package/contracts/shared/Lifecycle.sol +77 -0
  426. package/contracts/shared/NftIdSet.sol +65 -0
  427. package/contracts/shared/NftOwnable.sol +10 -23
  428. package/contracts/shared/PolicyHolder.sol +19 -42
  429. package/contracts/shared/Registerable.sol +17 -16
  430. package/contracts/shared/RegistryLinked.sol +3 -7
  431. package/contracts/shared/Service.sol +48 -33
  432. package/contracts/shared/TokenHandler.sol +115 -9
  433. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  434. package/contracts/staking/IStaking.sol +168 -0
  435. package/contracts/staking/IStakingService.sol +160 -0
  436. package/contracts/staking/StakeManagerLib.sol +224 -0
  437. package/contracts/staking/Staking.sol +498 -0
  438. package/contracts/staking/StakingLifecycle.sol +23 -0
  439. package/contracts/staking/StakingManager.sol +52 -0
  440. package/contracts/staking/StakingReader.sol +183 -0
  441. package/contracts/staking/StakingService.sol +407 -0
  442. package/contracts/staking/StakingServiceManager.sol +44 -0
  443. package/contracts/staking/StakingStore.sol +605 -0
  444. package/contracts/staking/TargetManagerLib.sol +211 -0
  445. package/contracts/{types → type}/AddressSet.sol +1 -1
  446. package/contracts/type/Amount.sol +135 -0
  447. package/contracts/{types → type}/Blocknumber.sol +26 -3
  448. package/contracts/{types → type}/ClaimId.sol +25 -2
  449. package/contracts/{types → type}/Fee.sol +24 -22
  450. package/contracts/{types → type}/NftId.sol +14 -16
  451. package/contracts/{types → type}/NftIdSet.sol +2 -2
  452. package/contracts/type/ObjectType.sol +275 -0
  453. package/contracts/{types → type}/PayoutId.sol +33 -5
  454. package/contracts/{types → type}/Referral.sol +2 -1
  455. package/contracts/type/RequestId.sol +75 -0
  456. package/contracts/{types → type}/RiskId.sol +1 -1
  457. package/contracts/type/RoleId.sol +174 -0
  458. package/contracts/type/Seconds.sol +101 -0
  459. package/contracts/type/Selector.sol +102 -0
  460. package/contracts/{types → type}/StateId.sol +34 -4
  461. package/contracts/type/String.sol +53 -0
  462. package/contracts/{types → type}/Timestamp.sol +21 -2
  463. package/contracts/{types → type}/UFixed.sol +34 -9
  464. package/contracts/{types → type}/Version.sol +4 -2
  465. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  466. package/contracts/{shared → upgradeability}/ProxyManager.sol +92 -30
  467. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  468. package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
  469. package/package.json +8 -5
  470. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  471. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  472. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  473. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  474. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  475. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  476. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  477. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  478. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  479. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  480. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  481. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  482. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  483. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  484. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  485. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  486. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  487. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  488. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  489. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  490. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  491. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  492. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  493. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  494. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  495. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  496. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  497. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  498. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1039
  499. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  500. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -673
  501. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  502. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1231
  503. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  504. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -721
  505. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  506. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -817
  507. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  508. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -641
  509. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  510. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1798
  511. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  512. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -805
  513. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  514. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  515. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  516. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  517. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  518. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  519. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  520. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  521. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1092
  522. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  523. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -697
  524. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  525. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1237
  526. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  527. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -661
  528. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  529. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -840
  530. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  531. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -653
  532. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  533. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  534. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  535. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  536. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  537. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  538. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  539. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  540. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  541. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  542. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -582
  543. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  544. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  545. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  546. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  547. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  548. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  549. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -383
  550. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  551. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  552. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  553. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -596
  554. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  555. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  556. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  557. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  558. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  559. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  560. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  561. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  562. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  563. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  564. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  565. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -161
  566. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  567. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  568. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  569. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  570. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  571. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -100
  572. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  573. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  574. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  575. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -288
  576. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  577. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  578. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  579. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  580. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  581. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  582. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  583. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  584. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  585. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  586. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  587. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -100
  588. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  589. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  590. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  591. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  592. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  593. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  594. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  595. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  596. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  597. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  598. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -267
  599. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  600. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  601. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  602. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  603. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  604. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  605. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  606. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  607. package/contracts/components/Component.sol +0 -253
  608. package/contracts/components/IComponent.sol +0 -76
  609. package/contracts/components/IDistributionComponent.sol +0 -71
  610. package/contracts/components/IPoolComponent.sol +0 -113
  611. package/contracts/components/IProductComponent.sol +0 -40
  612. package/contracts/components/Pool.sol +0 -303
  613. package/contracts/components/Product.sol +0 -293
  614. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  615. package/contracts/instance/Cloneable.sol +0 -51
  616. package/contracts/instance/InstanceAccessManager.sol +0 -527
  617. package/contracts/instance/base/ComponentService.sol +0 -121
  618. package/contracts/instance/base/KeyValueStore.sol +0 -180
  619. package/contracts/instance/base/Lifecycle.sol +0 -109
  620. package/contracts/instance/module/ISetup.sol +0 -33
  621. package/contracts/instance/module/ITreasury.sol +0 -23
  622. package/contracts/instance/service/ApplicationService.sol +0 -350
  623. package/contracts/instance/service/BundleService.sol +0 -431
  624. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  625. package/contracts/instance/service/ClaimService.sol +0 -151
  626. package/contracts/instance/service/DistributionService.sol +0 -435
  627. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  628. package/contracts/instance/service/IBundleService.sol +0 -93
  629. package/contracts/instance/service/IClaimService.sol +0 -61
  630. package/contracts/instance/service/IPolicyService.sol +0 -72
  631. package/contracts/instance/service/IPoolService.sol +0 -99
  632. package/contracts/instance/service/IProductService.sol +0 -40
  633. package/contracts/instance/service/PolicyService.sol +0 -362
  634. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  635. package/contracts/instance/service/PoolService.sol +0 -303
  636. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  637. package/contracts/instance/service/ProductService.sol +0 -210
  638. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  639. package/contracts/registry/RegistryAccessManager.sol +0 -216
  640. package/contracts/registry/ReleaseManager.sol +0 -324
  641. package/contracts/shared/ContractDeployerLib.sol +0 -72
  642. package/contracts/test/TestFee.sol +0 -25
  643. package/contracts/test/TestRegisterable.sol +0 -18
  644. package/contracts/test/TestRoleId.sol +0 -14
  645. package/contracts/test/TestService.sol +0 -25
  646. package/contracts/test/TestToken.sol +0 -26
  647. package/contracts/test/TestVersion.sol +0 -44
  648. package/contracts/test/TestVersionable.sol +0 -17
  649. package/contracts/types/Amount.sol +0 -60
  650. package/contracts/types/ChainId.sol +0 -38
  651. package/contracts/types/NumberId.sol +0 -52
  652. package/contracts/types/ObjectType.sol +0 -157
  653. package/contracts/types/RoleId.sol +0 -97
  654. package/contracts/types/Seconds.sol +0 -54
  655. /package/contracts/{types → type}/DistributorType.sol +0 -0
  656. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,1474 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PoolService",
4
+ "sourceName": "contracts/pool/PoolService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "NftId",
48
+ "name": "componentNftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentVerifyingServiceComponentIsLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "componentNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "actualType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentVerifyingServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "nftId",
81
+ "type": "uint96"
82
+ }
83
+ ],
84
+ "name": "ErrorNftOwnableAlreadyLinked",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "contractAddress",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorNftOwnableContractNotRegistered",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [],
100
+ "name": "ErrorNftOwnableInitialOwnerZero",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [
105
+ {
106
+ "internalType": "address",
107
+ "name": "account",
108
+ "type": "address"
109
+ }
110
+ ],
111
+ "name": "ErrorNftOwnableNotOwner",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "registryAddress",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "ErrorNotRegistry",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "NftId",
129
+ "name": "poolNftId",
130
+ "type": "uint96"
131
+ }
132
+ ],
133
+ "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "NftId",
140
+ "name": "bundleNftId",
141
+ "type": "uint96"
142
+ },
143
+ {
144
+ "internalType": "NftId",
145
+ "name": "poolNftId",
146
+ "type": "uint96"
147
+ }
148
+ ],
149
+ "name": "ErrorPoolServiceBundlePoolMismatch",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [
154
+ {
155
+ "internalType": "Amount",
156
+ "name": "expectedAmount",
157
+ "type": "uint96"
158
+ },
159
+ {
160
+ "internalType": "Amount",
161
+ "name": "actualAmount",
162
+ "type": "uint96"
163
+ }
164
+ ],
165
+ "name": "ErrorPoolServiceInvalidTransferAmount",
166
+ "type": "error"
167
+ },
168
+ {
169
+ "inputs": [
170
+ {
171
+ "internalType": "NftId",
172
+ "name": "poolNftId",
173
+ "type": "uint96"
174
+ },
175
+ {
176
+ "internalType": "Amount",
177
+ "name": "maxBalanceAmount",
178
+ "type": "uint96"
179
+ },
180
+ {
181
+ "internalType": "Amount",
182
+ "name": "currentBalanceAmount",
183
+ "type": "uint96"
184
+ },
185
+ {
186
+ "internalType": "Amount",
187
+ "name": "transferAmount",
188
+ "type": "uint96"
189
+ }
190
+ ],
191
+ "name": "ErrorPoolServiceMaxBalanceAmountExceeded",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "ErrorServiceNotImplemented",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [],
201
+ "name": "InvalidInitialization",
202
+ "type": "error"
203
+ },
204
+ {
205
+ "inputs": [],
206
+ "name": "NotInitializing",
207
+ "type": "error"
208
+ },
209
+ {
210
+ "inputs": [],
211
+ "name": "ReentrancyGuardReentrantCall",
212
+ "type": "error"
213
+ },
214
+ {
215
+ "anonymous": false,
216
+ "inputs": [
217
+ {
218
+ "indexed": false,
219
+ "internalType": "address",
220
+ "name": "authority",
221
+ "type": "address"
222
+ }
223
+ ],
224
+ "name": "AuthorityUpdated",
225
+ "type": "event"
226
+ },
227
+ {
228
+ "anonymous": false,
229
+ "inputs": [
230
+ {
231
+ "indexed": false,
232
+ "internalType": "uint64",
233
+ "name": "version",
234
+ "type": "uint64"
235
+ }
236
+ ],
237
+ "name": "Initialized",
238
+ "type": "event"
239
+ },
240
+ {
241
+ "anonymous": false,
242
+ "inputs": [
243
+ {
244
+ "indexed": false,
245
+ "internalType": "NftId",
246
+ "name": "instanceNftId",
247
+ "type": "uint96"
248
+ },
249
+ {
250
+ "indexed": false,
251
+ "internalType": "NftId",
252
+ "name": "poolNftId",
253
+ "type": "uint96"
254
+ },
255
+ {
256
+ "indexed": false,
257
+ "internalType": "NftId",
258
+ "name": "bundleNftId",
259
+ "type": "uint96"
260
+ }
261
+ ],
262
+ "name": "LogPoolServiceBundleClosed",
263
+ "type": "event"
264
+ },
265
+ {
266
+ "anonymous": false,
267
+ "inputs": [
268
+ {
269
+ "indexed": false,
270
+ "internalType": "NftId",
271
+ "name": "instanceNftId",
272
+ "type": "uint96"
273
+ },
274
+ {
275
+ "indexed": false,
276
+ "internalType": "NftId",
277
+ "name": "poolNftId",
278
+ "type": "uint96"
279
+ },
280
+ {
281
+ "indexed": false,
282
+ "internalType": "NftId",
283
+ "name": "bundleNftId",
284
+ "type": "uint96"
285
+ }
286
+ ],
287
+ "name": "LogPoolServiceBundleCreated",
288
+ "type": "event"
289
+ },
290
+ {
291
+ "anonymous": false,
292
+ "inputs": [
293
+ {
294
+ "indexed": false,
295
+ "internalType": "NftId",
296
+ "name": "poolNftId",
297
+ "type": "uint96"
298
+ },
299
+ {
300
+ "indexed": false,
301
+ "internalType": "RoleId",
302
+ "name": "bundleOwnerRole",
303
+ "type": "uint64"
304
+ }
305
+ ],
306
+ "name": "LogPoolServiceBundleOwnerRoleSet",
307
+ "type": "event"
308
+ },
309
+ {
310
+ "anonymous": false,
311
+ "inputs": [
312
+ {
313
+ "indexed": false,
314
+ "internalType": "NftId",
315
+ "name": "instanceNftId",
316
+ "type": "uint96"
317
+ },
318
+ {
319
+ "indexed": false,
320
+ "internalType": "NftId",
321
+ "name": "poolNftId",
322
+ "type": "uint96"
323
+ },
324
+ {
325
+ "indexed": false,
326
+ "internalType": "NftId",
327
+ "name": "bundleNftId",
328
+ "type": "uint96"
329
+ },
330
+ {
331
+ "indexed": false,
332
+ "internalType": "Amount",
333
+ "name": "amount",
334
+ "type": "uint96"
335
+ },
336
+ {
337
+ "indexed": false,
338
+ "internalType": "Amount",
339
+ "name": "netAmount",
340
+ "type": "uint96"
341
+ }
342
+ ],
343
+ "name": "LogPoolServiceBundleStaked",
344
+ "type": "event"
345
+ },
346
+ {
347
+ "anonymous": false,
348
+ "inputs": [
349
+ {
350
+ "indexed": false,
351
+ "internalType": "NftId",
352
+ "name": "instanceNftId",
353
+ "type": "uint96"
354
+ },
355
+ {
356
+ "indexed": false,
357
+ "internalType": "NftId",
358
+ "name": "poolNftId",
359
+ "type": "uint96"
360
+ },
361
+ {
362
+ "indexed": false,
363
+ "internalType": "NftId",
364
+ "name": "bundleNftId",
365
+ "type": "uint96"
366
+ },
367
+ {
368
+ "indexed": false,
369
+ "internalType": "Amount",
370
+ "name": "amount",
371
+ "type": "uint96"
372
+ }
373
+ ],
374
+ "name": "LogPoolServiceBundleUnstaked",
375
+ "type": "event"
376
+ },
377
+ {
378
+ "anonymous": false,
379
+ "inputs": [
380
+ {
381
+ "indexed": false,
382
+ "internalType": "NftId",
383
+ "name": "poolNftId",
384
+ "type": "uint96"
385
+ },
386
+ {
387
+ "indexed": false,
388
+ "internalType": "Amount",
389
+ "name": "previousMaxCapitalAmount",
390
+ "type": "uint96"
391
+ },
392
+ {
393
+ "indexed": false,
394
+ "internalType": "Amount",
395
+ "name": "currentMaxCapitalAmount",
396
+ "type": "uint96"
397
+ }
398
+ ],
399
+ "name": "LogPoolServiceMaxBalanceAmountUpdated",
400
+ "type": "event"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
405
+ "outputs": [
406
+ {
407
+ "internalType": "bytes32",
408
+ "name": "",
409
+ "type": "bytes32"
410
+ }
411
+ ],
412
+ "stateMutability": "view",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [],
417
+ "name": "REGISTERABLE_LOCATION_V1",
418
+ "outputs": [
419
+ {
420
+ "internalType": "bytes32",
421
+ "name": "",
422
+ "type": "bytes32"
423
+ }
424
+ ],
425
+ "stateMutability": "view",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [],
430
+ "name": "authority",
431
+ "outputs": [
432
+ {
433
+ "internalType": "address",
434
+ "name": "",
435
+ "type": "address"
436
+ }
437
+ ],
438
+ "stateMutability": "view",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [
443
+ {
444
+ "internalType": "UFixed",
445
+ "name": "collateralizationLevel",
446
+ "type": "uint256"
447
+ },
448
+ {
449
+ "internalType": "UFixed",
450
+ "name": "retentionLevel",
451
+ "type": "uint256"
452
+ },
453
+ {
454
+ "internalType": "Amount",
455
+ "name": "sumInsuredAmount",
456
+ "type": "uint96"
457
+ }
458
+ ],
459
+ "name": "calculateRequiredCollateral",
460
+ "outputs": [
461
+ {
462
+ "internalType": "Amount",
463
+ "name": "localCollateralAmount",
464
+ "type": "uint96"
465
+ },
466
+ {
467
+ "internalType": "Amount",
468
+ "name": "totalCollateralAmount",
469
+ "type": "uint96"
470
+ }
471
+ ],
472
+ "stateMutability": "pure",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [
477
+ {
478
+ "internalType": "contract InstanceReader",
479
+ "name": "instanceReader",
480
+ "type": "address"
481
+ },
482
+ {
483
+ "internalType": "NftId",
484
+ "name": "productNftId",
485
+ "type": "uint96"
486
+ },
487
+ {
488
+ "internalType": "Amount",
489
+ "name": "sumInsuredAmount",
490
+ "type": "uint96"
491
+ }
492
+ ],
493
+ "name": "calculateRequiredCollateral",
494
+ "outputs": [
495
+ {
496
+ "internalType": "Amount",
497
+ "name": "localCollateralAmount",
498
+ "type": "uint96"
499
+ },
500
+ {
501
+ "internalType": "Amount",
502
+ "name": "totalCollateralAmount",
503
+ "type": "uint96"
504
+ }
505
+ ],
506
+ "stateMutability": "view",
507
+ "type": "function"
508
+ },
509
+ {
510
+ "inputs": [
511
+ {
512
+ "internalType": "NftId",
513
+ "name": "bundleNftId",
514
+ "type": "uint96"
515
+ }
516
+ ],
517
+ "name": "closeBundle",
518
+ "outputs": [],
519
+ "stateMutability": "nonpayable",
520
+ "type": "function"
521
+ },
522
+ {
523
+ "inputs": [
524
+ {
525
+ "internalType": "address",
526
+ "name": "bundleOwner",
527
+ "type": "address"
528
+ },
529
+ {
530
+ "components": [
531
+ {
532
+ "internalType": "UFixed",
533
+ "name": "fractionalFee",
534
+ "type": "uint256"
535
+ },
536
+ {
537
+ "internalType": "uint256",
538
+ "name": "fixedFee",
539
+ "type": "uint256"
540
+ }
541
+ ],
542
+ "internalType": "struct Fee",
543
+ "name": "fee",
544
+ "type": "tuple"
545
+ },
546
+ {
547
+ "internalType": "Seconds",
548
+ "name": "lifetime",
549
+ "type": "uint40"
550
+ },
551
+ {
552
+ "internalType": "bytes",
553
+ "name": "filter",
554
+ "type": "bytes"
555
+ }
556
+ ],
557
+ "name": "createBundle",
558
+ "outputs": [
559
+ {
560
+ "internalType": "NftId",
561
+ "name": "bundleNftId",
562
+ "type": "uint96"
563
+ }
564
+ ],
565
+ "stateMutability": "nonpayable",
566
+ "type": "function"
567
+ },
568
+ {
569
+ "inputs": [
570
+ {
571
+ "internalType": "NftId",
572
+ "name": "poolNftId",
573
+ "type": "uint96"
574
+ },
575
+ {
576
+ "internalType": "Amount",
577
+ "name": "amount",
578
+ "type": "uint96"
579
+ }
580
+ ],
581
+ "name": "defundPoolWallet",
582
+ "outputs": [],
583
+ "stateMutability": "nonpayable",
584
+ "type": "function"
585
+ },
586
+ {
587
+ "inputs": [
588
+ {
589
+ "internalType": "NftId",
590
+ "name": "poolNftId",
591
+ "type": "uint96"
592
+ },
593
+ {
594
+ "internalType": "Amount",
595
+ "name": "amount",
596
+ "type": "uint96"
597
+ }
598
+ ],
599
+ "name": "fundPoolWallet",
600
+ "outputs": [],
601
+ "stateMutability": "nonpayable",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [],
606
+ "name": "getDomain",
607
+ "outputs": [
608
+ {
609
+ "internalType": "ObjectType",
610
+ "name": "serviceDomain",
611
+ "type": "uint8"
612
+ }
613
+ ],
614
+ "stateMutability": "pure",
615
+ "type": "function"
616
+ },
617
+ {
618
+ "inputs": [],
619
+ "name": "getInitialInfo",
620
+ "outputs": [
621
+ {
622
+ "components": [
623
+ {
624
+ "internalType": "NftId",
625
+ "name": "nftId",
626
+ "type": "uint96"
627
+ },
628
+ {
629
+ "internalType": "NftId",
630
+ "name": "parentNftId",
631
+ "type": "uint96"
632
+ },
633
+ {
634
+ "internalType": "ObjectType",
635
+ "name": "objectType",
636
+ "type": "uint8"
637
+ },
638
+ {
639
+ "internalType": "bool",
640
+ "name": "isInterceptor",
641
+ "type": "bool"
642
+ },
643
+ {
644
+ "internalType": "address",
645
+ "name": "objectAddress",
646
+ "type": "address"
647
+ },
648
+ {
649
+ "internalType": "address",
650
+ "name": "initialOwner",
651
+ "type": "address"
652
+ },
653
+ {
654
+ "internalType": "bytes",
655
+ "name": "data",
656
+ "type": "bytes"
657
+ }
658
+ ],
659
+ "internalType": "struct IRegistry.ObjectInfo",
660
+ "name": "info",
661
+ "type": "tuple"
662
+ }
663
+ ],
664
+ "stateMutability": "view",
665
+ "type": "function"
666
+ },
667
+ {
668
+ "inputs": [],
669
+ "name": "getNftId",
670
+ "outputs": [
671
+ {
672
+ "internalType": "NftId",
673
+ "name": "",
674
+ "type": "uint96"
675
+ }
676
+ ],
677
+ "stateMutability": "view",
678
+ "type": "function"
679
+ },
680
+ {
681
+ "inputs": [],
682
+ "name": "getOwner",
683
+ "outputs": [
684
+ {
685
+ "internalType": "address",
686
+ "name": "",
687
+ "type": "address"
688
+ }
689
+ ],
690
+ "stateMutability": "view",
691
+ "type": "function"
692
+ },
693
+ {
694
+ "inputs": [],
695
+ "name": "getRegistry",
696
+ "outputs": [
697
+ {
698
+ "internalType": "contract IRegistry",
699
+ "name": "",
700
+ "type": "address"
701
+ }
702
+ ],
703
+ "stateMutability": "view",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [],
708
+ "name": "getRoleId",
709
+ "outputs": [
710
+ {
711
+ "internalType": "RoleId",
712
+ "name": "serviceRoleId",
713
+ "type": "uint64"
714
+ }
715
+ ],
716
+ "stateMutability": "pure",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [],
721
+ "name": "getVersion",
722
+ "outputs": [
723
+ {
724
+ "internalType": "Version",
725
+ "name": "",
726
+ "type": "uint24"
727
+ }
728
+ ],
729
+ "stateMutability": "pure",
730
+ "type": "function"
731
+ },
732
+ {
733
+ "inputs": [
734
+ {
735
+ "internalType": "address",
736
+ "name": "activatedBy",
737
+ "type": "address"
738
+ },
739
+ {
740
+ "internalType": "bytes",
741
+ "name": "data",
742
+ "type": "bytes"
743
+ }
744
+ ],
745
+ "name": "initializeVersionable",
746
+ "outputs": [],
747
+ "stateMutability": "nonpayable",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [],
752
+ "name": "isConsumingScheduledOp",
753
+ "outputs": [
754
+ {
755
+ "internalType": "bytes4",
756
+ "name": "",
757
+ "type": "bytes4"
758
+ }
759
+ ],
760
+ "stateMutability": "view",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [],
765
+ "name": "linkToRegisteredNftId",
766
+ "outputs": [
767
+ {
768
+ "internalType": "NftId",
769
+ "name": "nftId",
770
+ "type": "uint96"
771
+ }
772
+ ],
773
+ "stateMutability": "nonpayable",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [
778
+ {
779
+ "internalType": "contract IInstance",
780
+ "name": "instance",
781
+ "type": "address"
782
+ },
783
+ {
784
+ "internalType": "address",
785
+ "name": "token",
786
+ "type": "address"
787
+ },
788
+ {
789
+ "internalType": "NftId",
790
+ "name": "productNftId",
791
+ "type": "uint96"
792
+ },
793
+ {
794
+ "internalType": "NftId",
795
+ "name": "applicationNftId",
796
+ "type": "uint96"
797
+ },
798
+ {
799
+ "internalType": "NftId",
800
+ "name": "bundleNftId",
801
+ "type": "uint96"
802
+ },
803
+ {
804
+ "internalType": "Amount",
805
+ "name": "sumInsuredAmount",
806
+ "type": "uint96"
807
+ }
808
+ ],
809
+ "name": "lockCollateral",
810
+ "outputs": [
811
+ {
812
+ "internalType": "Amount",
813
+ "name": "localCollateralAmount",
814
+ "type": "uint96"
815
+ },
816
+ {
817
+ "internalType": "Amount",
818
+ "name": "totalCollateralAmount",
819
+ "type": "uint96"
820
+ }
821
+ ],
822
+ "stateMutability": "nonpayable",
823
+ "type": "function"
824
+ },
825
+ {
826
+ "inputs": [
827
+ {
828
+ "internalType": "NftId",
829
+ "name": "bundleNftId",
830
+ "type": "uint96"
831
+ },
832
+ {
833
+ "components": [
834
+ {
835
+ "internalType": "Amount",
836
+ "name": "productFeeAmount",
837
+ "type": "uint96"
838
+ },
839
+ {
840
+ "internalType": "Amount",
841
+ "name": "distributionFeeAndCommissionAmount",
842
+ "type": "uint96"
843
+ },
844
+ {
845
+ "internalType": "Amount",
846
+ "name": "poolPremiumAndFeeAmount",
847
+ "type": "uint96"
848
+ },
849
+ {
850
+ "internalType": "Amount",
851
+ "name": "netPremiumAmount",
852
+ "type": "uint96"
853
+ },
854
+ {
855
+ "internalType": "Amount",
856
+ "name": "fullPremiumAmount",
857
+ "type": "uint96"
858
+ },
859
+ {
860
+ "internalType": "Amount",
861
+ "name": "premiumAmount",
862
+ "type": "uint96"
863
+ },
864
+ {
865
+ "internalType": "Amount",
866
+ "name": "productFeeFixAmount",
867
+ "type": "uint96"
868
+ },
869
+ {
870
+ "internalType": "Amount",
871
+ "name": "poolFeeFixAmount",
872
+ "type": "uint96"
873
+ },
874
+ {
875
+ "internalType": "Amount",
876
+ "name": "bundleFeeFixAmount",
877
+ "type": "uint96"
878
+ },
879
+ {
880
+ "internalType": "Amount",
881
+ "name": "distributionFeeFixAmount",
882
+ "type": "uint96"
883
+ },
884
+ {
885
+ "internalType": "Amount",
886
+ "name": "productFeeVarAmount",
887
+ "type": "uint96"
888
+ },
889
+ {
890
+ "internalType": "Amount",
891
+ "name": "poolFeeVarAmount",
892
+ "type": "uint96"
893
+ },
894
+ {
895
+ "internalType": "Amount",
896
+ "name": "bundleFeeVarAmount",
897
+ "type": "uint96"
898
+ },
899
+ {
900
+ "internalType": "Amount",
901
+ "name": "distributionFeeVarAmount",
902
+ "type": "uint96"
903
+ },
904
+ {
905
+ "internalType": "Amount",
906
+ "name": "distributionOwnerFeeFixAmount",
907
+ "type": "uint96"
908
+ },
909
+ {
910
+ "internalType": "Amount",
911
+ "name": "distributionOwnerFeeVarAmount",
912
+ "type": "uint96"
913
+ },
914
+ {
915
+ "internalType": "Amount",
916
+ "name": "commissionAmount",
917
+ "type": "uint96"
918
+ },
919
+ {
920
+ "internalType": "Amount",
921
+ "name": "discountAmount",
922
+ "type": "uint96"
923
+ }
924
+ ],
925
+ "internalType": "struct IPolicy.PremiumInfo",
926
+ "name": "premium",
927
+ "type": "tuple"
928
+ }
929
+ ],
930
+ "name": "processSale",
931
+ "outputs": [],
932
+ "stateMutability": "nonpayable",
933
+ "type": "function"
934
+ },
935
+ {
936
+ "inputs": [
937
+ {
938
+ "internalType": "contract IInstance",
939
+ "name": "instance",
940
+ "type": "address"
941
+ },
942
+ {
943
+ "internalType": "address",
944
+ "name": "token",
945
+ "type": "address"
946
+ },
947
+ {
948
+ "internalType": "NftId",
949
+ "name": "policyNftId",
950
+ "type": "uint96"
951
+ },
952
+ {
953
+ "components": [
954
+ {
955
+ "internalType": "NftId",
956
+ "name": "productNftId",
957
+ "type": "uint96"
958
+ },
959
+ {
960
+ "internalType": "NftId",
961
+ "name": "bundleNftId",
962
+ "type": "uint96"
963
+ },
964
+ {
965
+ "internalType": "ReferralId",
966
+ "name": "referralId",
967
+ "type": "bytes8"
968
+ },
969
+ {
970
+ "internalType": "RiskId",
971
+ "name": "riskId",
972
+ "type": "bytes8"
973
+ },
974
+ {
975
+ "internalType": "Amount",
976
+ "name": "sumInsuredAmount",
977
+ "type": "uint96"
978
+ },
979
+ {
980
+ "internalType": "Amount",
981
+ "name": "premiumAmount",
982
+ "type": "uint96"
983
+ },
984
+ {
985
+ "internalType": "Seconds",
986
+ "name": "lifetime",
987
+ "type": "uint40"
988
+ },
989
+ {
990
+ "internalType": "bytes",
991
+ "name": "applicationData",
992
+ "type": "bytes"
993
+ },
994
+ {
995
+ "internalType": "bytes",
996
+ "name": "processData",
997
+ "type": "bytes"
998
+ },
999
+ {
1000
+ "internalType": "uint16",
1001
+ "name": "claimsCount",
1002
+ "type": "uint16"
1003
+ },
1004
+ {
1005
+ "internalType": "uint16",
1006
+ "name": "openClaimsCount",
1007
+ "type": "uint16"
1008
+ },
1009
+ {
1010
+ "internalType": "Amount",
1011
+ "name": "claimAmount",
1012
+ "type": "uint96"
1013
+ },
1014
+ {
1015
+ "internalType": "Amount",
1016
+ "name": "payoutAmount",
1017
+ "type": "uint96"
1018
+ },
1019
+ {
1020
+ "internalType": "Timestamp",
1021
+ "name": "activatedAt",
1022
+ "type": "uint40"
1023
+ },
1024
+ {
1025
+ "internalType": "Timestamp",
1026
+ "name": "expiredAt",
1027
+ "type": "uint40"
1028
+ },
1029
+ {
1030
+ "internalType": "Timestamp",
1031
+ "name": "closedAt",
1032
+ "type": "uint40"
1033
+ }
1034
+ ],
1035
+ "internalType": "struct IPolicy.PolicyInfo",
1036
+ "name": "policyInfo",
1037
+ "type": "tuple"
1038
+ },
1039
+ {
1040
+ "internalType": "Amount",
1041
+ "name": "payoutAmount",
1042
+ "type": "uint96"
1043
+ }
1044
+ ],
1045
+ "name": "reduceCollateral",
1046
+ "outputs": [],
1047
+ "stateMutability": "nonpayable",
1048
+ "type": "function"
1049
+ },
1050
+ {
1051
+ "inputs": [
1052
+ {
1053
+ "internalType": "contract IInstance",
1054
+ "name": "instance",
1055
+ "type": "address"
1056
+ },
1057
+ {
1058
+ "internalType": "address",
1059
+ "name": "token",
1060
+ "type": "address"
1061
+ },
1062
+ {
1063
+ "internalType": "NftId",
1064
+ "name": "policyNftId",
1065
+ "type": "uint96"
1066
+ },
1067
+ {
1068
+ "components": [
1069
+ {
1070
+ "internalType": "NftId",
1071
+ "name": "productNftId",
1072
+ "type": "uint96"
1073
+ },
1074
+ {
1075
+ "internalType": "NftId",
1076
+ "name": "bundleNftId",
1077
+ "type": "uint96"
1078
+ },
1079
+ {
1080
+ "internalType": "ReferralId",
1081
+ "name": "referralId",
1082
+ "type": "bytes8"
1083
+ },
1084
+ {
1085
+ "internalType": "RiskId",
1086
+ "name": "riskId",
1087
+ "type": "bytes8"
1088
+ },
1089
+ {
1090
+ "internalType": "Amount",
1091
+ "name": "sumInsuredAmount",
1092
+ "type": "uint96"
1093
+ },
1094
+ {
1095
+ "internalType": "Amount",
1096
+ "name": "premiumAmount",
1097
+ "type": "uint96"
1098
+ },
1099
+ {
1100
+ "internalType": "Seconds",
1101
+ "name": "lifetime",
1102
+ "type": "uint40"
1103
+ },
1104
+ {
1105
+ "internalType": "bytes",
1106
+ "name": "applicationData",
1107
+ "type": "bytes"
1108
+ },
1109
+ {
1110
+ "internalType": "bytes",
1111
+ "name": "processData",
1112
+ "type": "bytes"
1113
+ },
1114
+ {
1115
+ "internalType": "uint16",
1116
+ "name": "claimsCount",
1117
+ "type": "uint16"
1118
+ },
1119
+ {
1120
+ "internalType": "uint16",
1121
+ "name": "openClaimsCount",
1122
+ "type": "uint16"
1123
+ },
1124
+ {
1125
+ "internalType": "Amount",
1126
+ "name": "claimAmount",
1127
+ "type": "uint96"
1128
+ },
1129
+ {
1130
+ "internalType": "Amount",
1131
+ "name": "payoutAmount",
1132
+ "type": "uint96"
1133
+ },
1134
+ {
1135
+ "internalType": "Timestamp",
1136
+ "name": "activatedAt",
1137
+ "type": "uint40"
1138
+ },
1139
+ {
1140
+ "internalType": "Timestamp",
1141
+ "name": "expiredAt",
1142
+ "type": "uint40"
1143
+ },
1144
+ {
1145
+ "internalType": "Timestamp",
1146
+ "name": "closedAt",
1147
+ "type": "uint40"
1148
+ }
1149
+ ],
1150
+ "internalType": "struct IPolicy.PolicyInfo",
1151
+ "name": "policyInfo",
1152
+ "type": "tuple"
1153
+ }
1154
+ ],
1155
+ "name": "releaseCollateral",
1156
+ "outputs": [],
1157
+ "stateMutability": "nonpayable",
1158
+ "type": "function"
1159
+ },
1160
+ {
1161
+ "inputs": [
1162
+ {
1163
+ "internalType": "address",
1164
+ "name": "newAuthority",
1165
+ "type": "address"
1166
+ }
1167
+ ],
1168
+ "name": "setAuthority",
1169
+ "outputs": [],
1170
+ "stateMutability": "nonpayable",
1171
+ "type": "function"
1172
+ },
1173
+ {
1174
+ "inputs": [
1175
+ {
1176
+ "internalType": "RoleId",
1177
+ "name": "bundleOwnerRole",
1178
+ "type": "uint64"
1179
+ }
1180
+ ],
1181
+ "name": "setBundleOwnerRole",
1182
+ "outputs": [],
1183
+ "stateMutability": "nonpayable",
1184
+ "type": "function"
1185
+ },
1186
+ {
1187
+ "inputs": [
1188
+ {
1189
+ "internalType": "Amount",
1190
+ "name": "maxBalanceAmount",
1191
+ "type": "uint96"
1192
+ }
1193
+ ],
1194
+ "name": "setMaxBalanceAmount",
1195
+ "outputs": [],
1196
+ "stateMutability": "nonpayable",
1197
+ "type": "function"
1198
+ },
1199
+ {
1200
+ "inputs": [
1201
+ {
1202
+ "internalType": "NftId",
1203
+ "name": "bundleNftId",
1204
+ "type": "uint96"
1205
+ },
1206
+ {
1207
+ "internalType": "Amount",
1208
+ "name": "amount",
1209
+ "type": "uint96"
1210
+ }
1211
+ ],
1212
+ "name": "stake",
1213
+ "outputs": [
1214
+ {
1215
+ "internalType": "Amount",
1216
+ "name": "netAmount",
1217
+ "type": "uint96"
1218
+ }
1219
+ ],
1220
+ "stateMutability": "nonpayable",
1221
+ "type": "function"
1222
+ },
1223
+ {
1224
+ "inputs": [
1225
+ {
1226
+ "internalType": "bytes4",
1227
+ "name": "interfaceId",
1228
+ "type": "bytes4"
1229
+ }
1230
+ ],
1231
+ "name": "supportsInterface",
1232
+ "outputs": [
1233
+ {
1234
+ "internalType": "bool",
1235
+ "name": "",
1236
+ "type": "bool"
1237
+ }
1238
+ ],
1239
+ "stateMutability": "view",
1240
+ "type": "function"
1241
+ },
1242
+ {
1243
+ "inputs": [
1244
+ {
1245
+ "internalType": "NftId",
1246
+ "name": "bundleNftId",
1247
+ "type": "uint96"
1248
+ },
1249
+ {
1250
+ "internalType": "Amount",
1251
+ "name": "amount",
1252
+ "type": "uint96"
1253
+ }
1254
+ ],
1255
+ "name": "unstake",
1256
+ "outputs": [
1257
+ {
1258
+ "internalType": "Amount",
1259
+ "name": "netAmount",
1260
+ "type": "uint96"
1261
+ }
1262
+ ],
1263
+ "stateMutability": "nonpayable",
1264
+ "type": "function"
1265
+ },
1266
+ {
1267
+ "inputs": [
1268
+ {
1269
+ "internalType": "bytes",
1270
+ "name": "data",
1271
+ "type": "bytes"
1272
+ }
1273
+ ],
1274
+ "name": "upgradeVersionable",
1275
+ "outputs": [],
1276
+ "stateMutability": "nonpayable",
1277
+ "type": "function"
1278
+ }
1279
+ ],
1280
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615151806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101d1575f3560e01c80637225ed01116100fe578063a3c260521161009e578063bf7e214f1161006e578063bf7e214f14610479578063ca510bf614610216578063d0d63b0914610481578063fb3bcd1f14610494575f80fd5b8063a3c2605214610430578063ada9652e14610443578063b68d180914610457578063bca99e3914610466575f80fd5b806384d1f7cf116100d957806384d1f7cf146103e1578063893d20e8146103f45780638fb36037146103fc57806396fa19e81461041d575f80fd5b80637225ed01146103855780637a9e5e4b146103bb57806384a710fa146103ce575f80fd5b8063329d6e7411610174578063644c45e011610144578063644c45e0146103225780636c1e9dff1461033f5780636c741e781461035257806371504a3214610372575f80fd5b8063329d6e74146102c457806332f9f3df146102d757806349bb9e4b146102ea5780635ab1bd53146102fd575f80fd5b80630fec111c116101af5780630fec111c14610247578063138461e01461025c5780631eff4b221461027c57806326889b09146102b1575f80fd5b806301ffc9a7146101d557806306625783146102165780630d8e6e2c1461022b575b5f80fd5b6102016101e3366004613dff565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610224366004613e4a565b6104a7565b005b6102336104b7565b60405162ffffff909116815260200161020d565b61024f61053e565b60405161020d9190613eaf565b6102646106ca565b6040516001600160601b03909116815260200161020d565b6102a37f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6102646102bf366004613e4a565b6106d4565b6102296102d23660046140d4565b610bfc565b6102296102e53660046142cb565b610d46565b6102296102f836600461433b565b610f3f565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b5f805160206150bc833981519152546001600160601b0316610264565b61026461034d366004613e4a565b61103b565b61035a6115e4565b6040516001600160401b03909116815260200161020d565b610264610380366004614387565b6116db565b61039b610393366004614445565b928392509050565b604080516001600160601b0393841681529290911660208301520161020d565b6102296103c936600461447b565b61189e565b61039b6103dc366004614496565b611920565b61039b6103ef3660046144d3565b611a1c565b61030a611c10565b610404611d41565b6040516001600160e01b0319909116815260200161020d565b61022961042b366004614551565b611d76565b61022961043e3660046145e9565b611db8565b6102a35f805160206150bc83398151915281565b604051600f815260200161020d565b610229610474366004614604565b61202f565b61030a612239565b61022961048f366004614604565b612254565b6102296104a236600461461f565b612732565b6104b3335b5f36612a3e565b5050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610515573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053991906147a9565b905090565b610546613dc2565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e091906147d6565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610628611c10565b6001600160a01b03168152602001826001018054610645906147f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610671906147f1565b80156106bc5780601f10610693576101008083540402835291602001916106bc565b820191905f5260205f20905b81548152906001019060200180831161069f57829003601f168201915b505050505081525091505090565b5f61053930612b34565b5f80806106e1600f612d2d565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610723573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107479190614829565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610786573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107aa9190614829565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa1580156107f9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261082091908101906148cd565b905061082f815f015186612dc9565b1561086557604051630a49ea2360e01b81526001600160601b03808a166004830152861660248201526044015b60405180910390fd5b600254604051631696791160e11b81526001600160a01b0386811660048301526001600160601b03808c1660248401528a1660448301525f921690632d2cf222906064016020604051808303815f875af11580156108c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e991906147d6565b905060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a284888473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610958573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097c91906147d6565b6040518563ffffffff1660e01b815260040161099b9493929190614991565b5f604051808303815f87803b1580156109b2575f80fd5b505af11580156109c4573d5f803e3d5ffd5b505060405163f0ea17c360e01b81526001600160601b03891660048201525f92506001600160a01b038716915063f0ea17c3906024015f60405180830381865afa158015610a14573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a3b91908101906149ce565b60808101519091505f610a566001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038e1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610aa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac79190614829565b90507fa9e4ee5628423184bfcde002aae428406aeac6b337e1acf560282b155e358527886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a91906147d6565b8a8e87604051610b8394939291906001600160601b03948516815292841660208401529083166040830152909116606082015260800190565b60405180910390a182606001516001600160a01b03166354f0d84c8383876040518463ffffffff1660e01b8152600401610bbf93929190614aa6565b5f604051808303815f87803b158015610bd6575f80fd5b505af1158015610be8573d5f803e3d5ffd5b50959e9d5050505050505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c1e6104b7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c809190614ad2565b5f805160206150fc8339815191528054600160401b900460ff1680610cb2575080546001600160401b03808416911610155b15610cd05760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610cfa83612e55565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610d4f336104ac565b5f610d638260800151836101600151612e5d565b600254602084015160405163ad328d9f60e01b81529293506001600160a01b039091169163ad328d9f91610d9f91899188918790600401614991565b5f604051808303815f87803b158015610db6575f80fd5b505af1158015610dc8573d5f803e3d5ffd5b50506002546040516301d90a6f60e61b81526001600160a01b0389811660048301526001600160601b038816602483015290911692506376429bc091506044015b5f604051808303815f87803b158015610e20575f80fd5b505af1158015610e32573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e95573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb991906147d6565b6040516001600160e01b031960e084901b1681526001600160601b0391821660048201526001600160a01b038816602482015290841660448201526064016020604051808303815f875af1158015610f13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3791906147d6565b505050505050565b5f805160206150fc8339815191528054600160401b810460ff1615906001600160401b03165f81158015610f705750825b90505f826001600160401b03166001148015610f8b5750303b155b905081158015610f99575080155b15610fb75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610fe157845460ff60401b1916600160401b1785555b610feb8787612ee2565b831561103257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f8080611048600f612d2d565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561108a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ae9190614829565b604051634793b4ab60e01b81526001600160601b03881660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa1580156110fd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261112491908101906148cd565b6040516357f80bbf60e01b81526001600160601b03861660048201529091505f906001600160a01b038416906357f80bbf9060240160e060405180830381865afa158015611174573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111989190614afc565b90506111a7825f015186612dc9565b156111d857604051630a49ea2360e01b81526001600160601b03808a1660048301528616602482015260440161085c565b6040516308a390bb60e21b81526001600160601b03861660048201525f906001600160a01b0385169063228e42ec90602401602060405180830381865afa158015611225573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124991906147d6565b905061125f611258828a613124565b835161316e565b156112a357815160405163b806175d60e01b81526001600160601b03808916600483015291821660248201528183166044820152908916606482015260840161085c565b505f73__$58e11c6004c5796aaa8c56e718245e69a2$__639ed246ea6112c986896131b8565b6040516001600160e01b031960e084901b1681528151600482015260209091015160248201526001600160601b038b1660448201526064016040805180830381865af415801561131b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061133f9190614b86565b809850819250505060035f9054906101000a90046001600160a01b03166001600160a01b031663d56cd3d5866001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113ca9190614829565b888a856040518563ffffffff1660e01b81526004016113ec9493929190614991565b5f604051808303815f87803b158015611403575f80fd5b505af1158015611415573d5f803e3d5ffd5b50506002546040516325fa796b60e01b81526001600160a01b0389811660048301526001600160601b03808f1660248401528c16604483015290911692506325fa796b91506064015f604051808303815f87803b158015611474575f80fd5b505af1158015611486573d5f803e3d5ffd5b505050505f61149d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038c1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061150e9190614829565b90507fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b4145866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561156d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061159191906147d6565b604080516001600160601b0392831681528a831660208201528d8316818301528c83166060820152918b166080830152519081900360a00190a16115d78588838c6132c1565b5050505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600f604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561164f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116739190614bcc565b6040516001600160e01b031960e085901b16815260ff9283166004820152911660248201526044015b602060405180830381865af41580156116b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105399190614ad2565b5f80806116e8600f612d2d565b925050915060025f9054906101000a90046001600160a01b03166001600160a01b031663e283b4a982848b8b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561175b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177f91906147d6565b8c8c8c6040518963ffffffff1660e01b81526004016117a5989796959493929190614c0f565b6020604051808303815f875af11580156117c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117e591906147d6565b92507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611844573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061186891906147d6565b604080516001600160601b03928316815282861660208201529186169082015260600160405180910390a1505095945050505050565b336118a7612239565b6001600160a01b0316816001600160a01b0316146118e25760405162d1953b60e31b81526001600160a01b038216600482015260240161085c565b816001600160a01b03163b5f03611917576040516361798f2f60e11b81526001600160a01b038316600482015260240161085c565b6104b382613372565b6040516302d764c760e21b81526001600160601b03831660048201525f90819081906001600160a01b03871690630b5d931c9060240161020060405180830381865afa158015611972573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119969190614c8b565b602001516040516357f80bbf60e01b81526001600160601b03821660048201529091505f906001600160a01b038816906357f80bbf9060240160e060405180830381865afa1580156119ea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a0e9190614afc565b509396879650945050505050565b5f80611a27336104ac565b611a91886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a8a9190614829565b8785611920565b600254604051634adcf90960e01b81529294509092506001600160a01b031690634adcf90990611acb908b90899089908890600401614991565b5f604051808303815f87803b158015611ae2575f80fd5b505af1158015611af4573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7b91906147d6565b6040516001600160e01b031960e084901b1681526001600160601b0391821660048201526001600160a01b038b16602482015290841660448201526064016020604051808303815f875af1158015611bd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf991906147d6565b50611c04818361316e565b50965096945050505050565b5f805f805160206150bc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca09190614d4c565b15611d2b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d259190614829565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206150dc83398151915280545f9190600160a01b900460ff16611d68575f611d25565b638fb3603760e01b91505090565b611d7f336104ac565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f91610e0991899188918790600401614991565b5f80611dc4600f612d2d565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e2a9190614829565b60405163f0ea17c360e01b81526001600160601b03851660048201529091505f906001600160a01b0383169063f0ea17c3906024015f60405180830381865afa158015611e79573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ea091908101906149ce565b90505f8160a00151806020019051810190611ebb9190614afc565b9050611edf8160200151611ecd6133d2565b6001600160401b039081169116141590565b15611f085760405163eff765ff60e01b81526001600160601b038616600482015260240161085c565b6001600160401b03861660208083019190915260408051631a99b41b60e31b815290516001600160a01b0387169263d4cda0d892600480820193918290030181865afa158015611f5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7e9190614829565b6001600160a01b0316637e3d91e8868360ff6040518463ffffffff1660e01b8152600401611fae93929190614d65565b5f604051808303815f87803b158015611fc5575f80fd5b505af1158015611fd7573d5f803e3d5ffd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e93500190505b60405180910390a1505050505050565b5f8061203b600f612d2d565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561207d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120a19190614829565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240160e060405180830381865afa1580156120f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121159190614afc565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa15801561216b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061218f9190614829565b6001600160a01b0316637e3d91e8868460ff6040518463ffffffff1660e01b81526004016121bf93929190614d65565b5f604051808303815f87803b1580156121d6575f80fd5b505af11580156121e8573d5f803e3d5ffd5b5050604080516001600160601b03808a16825280861660208301528a16918101919091527f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9250606001905061201f565b5f805160206150dc833981519152546001600160a01b031690565b5f80612260600f612d2d565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b03891660248301529496509194505f93849350169063aa9acb2c9060440160408051808303815f875af11580156122c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122e49190614b86565b9150915060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612347573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061236b9190614829565b866123768686613124565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156123bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123e191906147d6565b6040518563ffffffff1660e01b81526004016124009493929190614991565b5f604051808303815f87803b158015612417575f80fd5b505af1158015612429573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561248a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124ae91906147d6565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a16124e38282613124565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801561253a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255e9190614d4c565b1561272b575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c49190614829565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa158015612610573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261263791908101906149ce565b905080606001516001600160a01b03166354f0d84c82608001516126636001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156126b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126d49190614829565b6126de8787613124565b6040518463ffffffff1660e01b81526004016126fc93929190614aa6565b5f604051808303815f87803b158015612713575f80fd5b505af1158015612725573d5f803e3d5ffd5b50505050505b5050505050565b61273b336104ac565b5f61274e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561279d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526127c49190810190614dec565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091505f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa158015612819573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128409190810190614dec565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091505f906001600160a01b0385169063a48f42e0906024015f60405180830381865afa158015612895573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128bc9190810190614dec565b90505f816080015190505f6128da8760e00151886101600151613124565b90505f6128f1886101000151896101800151613124565b90505f886060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612938573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061295c9190614829565b60035488519192506001600160a01b03169063d56cd3d59083906129808688613124565b886040518563ffffffff1660e01b81526004016129a09493929190614991565b5f604051808303815f87803b1580156129b7575f80fd5b505af11580156129c9573d5f803e3d5ffd5b50506003548a516040516325e451d360e01b81526001600160a01b0390921693506325e451d39250612a049185919087908990600401614991565b5f604051808303815f87803b158015612a1b575f80fd5b505af1158015612a2d573d5f803e3d5ffd5b505050505050505050505050505050565b5f805160206150dc8339815191525f80612a76612a59612239565b8730612a6860045f8a8c614ebc565b612a7191614ee3565b613412565b9150915081610f375763ffffffff811615612b1157825460ff60a01b1916600160a01b178355612aa4612239565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ad393929190614f1b565b5f604051808303815f87803b158015612aea575f80fd5b505af1158015612afc573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f379050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161085c565b5f805f805160206150bc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612ba0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bc49190614d4c565b15612bf05780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161085c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612c42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c669190614d4c565b612c8e5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161085c565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612ce0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d0491906147d6565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f612d36613dc2565b5f612d496001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612d8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612db191906147d6565b9250612dbf8385600161351a565b9395909450915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af4158015612e2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e4e9190614d4c565b9392505050565b6101d16137b7565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044015b602060405180830381865af4158015612ebe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e4e91906147d6565b5f805160206150fc8339815191528054600160401b810460ff1615906001600160401b03165f81158015612f135750825b90505f826001600160401b03166001148015612f2e5750303b155b905081158015612f3c575080155b15612f5a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612f8457845460ff60401b1916600160401b1785555b5f8087806020019051810190612f9a9190614f48565b91509150612fa982828b6137ef565b612fb36002613934565b600580546001600160a01b0319166001600160a01b0392909216919091179055612fdd601f613934565b600280546001600160a01b0319166001600160a01b0392909216919091179055613007600a613934565b600480546001600160a01b0319166001600160a01b0392909216919091179055613031600b613934565b600380546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561308c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130b09190614829565b600680546001600160a01b0319166001600160a01b03929092169190911790556130e0631523f8cf60e01b613a3b565b5050831561103257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611029565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401612ea3565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401612e0f565b604080518082019091525f808252602082015260405163f0ea17c360e01b81526001600160601b03831660048201525f906001600160a01b0385169063f0ea17c3906024015f60405180830381865afa158015613217573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261323e91908101906149ce565b602001516040516302d764c760e21b81526001600160601b03821660048201529091506001600160a01b03851690630b5d931c9060240161020060405180830381865afa158015613291573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132b59190614c8b565b60e00151949350505050565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa15801561330d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261333491908101906149ce565b90505f8160800151905081606001516001600160a01b031663c7d63d578583866040518463ffffffff1660e01b81526004016126fc93929190614aa6565b5f805160206150dc83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf9060240161169c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516134809190614f75565b5f60405180830381855afa9150503d805f81146134b8576040519150601f19603f3d011682016040523d82523d5f602084013e6134bd565b606091505b5091509150811561350f5760408151106134ef57808060200190518101906134e59190614f8b565b909450925061350f565b602081511061350f578080602001905181019061350c9190614d4c565b93505b505094509492505050565b613522613dc2565b5f806135366001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613583573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526135aa9190810190614dec565b925060ff8516600b1461360857604083015160ff86811691161461360357604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff8088166024830152909116604482015260640161085c565b6136a4565b6136238360400151613618600c90565b60ff90811691161490565b8061363957506136398360400151613618600f90565b8061364f575061364f8360400151613618600e90565b8061366557506136658360400151613618600d90565b6136a457604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff8088166024830152909116604482015260640161085c565b6136b18360200151613a67565b915083156137ae57816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137199190614829565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015613761573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137859190614d4c565b156137ae57604051637d71120960e11b81526001600160601b038716600482015260240161085c565b50935093915050565b5f805160206150fc83398151915254600160401b900460ff166137ed57604051631afcd79f60e31b815260040160405180910390fd5b565b6137f76137b7565b6137ff613af7565b6001600160a01b0382161561381c5761381782613b07565b613893565b5f6138276002613934565b9050613891816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613868573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061388c9190614829565b613b07565b505b61390f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138f791906147d6565b60085f8560405180602001604052805f815250613b1b565b61391f634a531f3360e01b613a3b565b61392f63daf9067160e01b613a3b565b505050565b5f6139476001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156139aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139ce9190614bcc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613a11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a359190614829565b92915050565b613a436137b7565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f613a7a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613ac6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613aed9190810190614dec565b6080015192915050565b613aff6137b7565b6137ed613bc0565b613b0f6137b7565b613b1881613bee565b50565b613b236137b7565b613b2d8287613bff565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301613bb68382615001565b5050505050505050565b613bc86137b7565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613bf66137b7565b613b1881613372565b613c076137b7565b613c1081613c75565b613c18613d7d565b6001600160a01b038216613c3f5760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206150bc83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b613c7d6137b7565b806001600160a01b03163b5f03613cb25760405163fdeac91f60e01b81526001600160a01b038216600482015260240161085c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613d2c575060408051601f3d908101601f19168201909252613d2991810190614d4c565b60015b613d545760405163fdeac91f60e01b81526001600160a01b038216600482015260240161085c565b806104b35760405163fdeac91f60e01b81526001600160a01b038316600482015260240161085c565b613d856137b7565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215613e0f575f80fd5b81356001600160e01b031981168114612e4e575f80fd5b6001600160601b0381168114613b18575f80fd5b8035613e4581613e26565b919050565b5f8060408385031215613e5b575f80fd5b8235613e6681613e26565b91506020830135613e7681613e26565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613ef7608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152613f3b610100840182613e81565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b0381118282101715613f7a57613f7a613f43565b60405290565b604080519081016001600160401b0381118282101715613f7a57613f7a613f43565b60405161024081016001600160401b0381118282101715613f7a57613f7a613f43565b60405160c081016001600160401b0381118282101715613f7a57613f7a613f43565b60405160e081016001600160401b0381118282101715613f7a57613f7a613f43565b60405161012081016001600160401b0381118282101715613f7a57613f7a613f43565b604051601f8201601f191681016001600160401b038111828210171561405457614054613f43565b604052919050565b5f6001600160401b0382111561407457614074613f43565b50601f01601f191660200190565b5f82601f830112614091575f80fd5b81356140a461409f8261405c565b61402c565b8181528460208386010111156140b8575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156140e4575f80fd5b81356001600160401b038111156140f9575f80fd5b613f3b84828501614082565b6001600160a01b0381168114613b18575f80fd5b80356001600160c01b031981168114613e45575f80fd5b64ffffffffff81168114613b18575f80fd5b8035613e4581614130565b803561ffff81168114613e45575f80fd5b5f610200828403121561416f575f80fd5b614177613f57565b905061418282613e3a565b815261419060208301613e3a565b60208201526141a160408301614119565b60408201526141b260608301614119565b60608201526141c360808301613e3a565b60808201526141d460a08301613e3a565b60a08201526141e560c08301614142565b60c082015260e08201356001600160401b03811115614202575f80fd5b61420e84828501614082565b60e0830152506101008201356001600160401b0381111561422d575f80fd5b61423984828501614082565b6101008301525061424d610120830161414d565b610120820152614260610140830161414d565b6101408201526142736101608301613e3a565b6101608201526142866101808301613e3a565b6101808201526142996101a08301614142565b6101a08201526142ac6101c08301614142565b6101c08201526142bf6101e08301614142565b6101e082015292915050565b5f805f80608085870312156142de575f80fd5b84356142e981614105565b935060208501356142f981614105565b9250604085013561430981613e26565b915060608501356001600160401b03811115614323575f80fd5b61432f8782880161415e565b91505092959194509250565b5f806040838503121561434c575f80fd5b823561435781614105565b915060208301356001600160401b03811115614371575f80fd5b61437d85828601614082565b9150509250929050565b5f805f805f85870360a081121561439c575f80fd5b86356143a781614105565b95506040601f19820112156143ba575f80fd5b506143c3613f80565b6020878101358252604088013590820152935060608601356143e481614130565b925060808601356001600160401b038111156143fe575f80fd5b8601601f8101881361440e575f80fd5b80356001600160401b03811115614423575f80fd5b886020828401011115614434575f80fd5b959894975092955050506020019190565b5f805f60608486031215614457575f80fd5b8335925060208401359150604084013561447081613e26565b809150509250925092565b5f6020828403121561448b575f80fd5b8135612e4e81614105565b5f805f606084860312156144a8575f80fd5b83356144b381614105565b925060208401356144c381613e26565b9150604084013561447081613e26565b5f805f805f8060c087890312156144e8575f80fd5b86356144f381614105565b9550602087013561450381614105565b9450604087013561451381613e26565b9350606087013561452381613e26565b9250608087013561453381613e26565b915060a087013561454381613e26565b809150509295509295509295565b5f805f805f60a08688031215614565575f80fd5b853561457081614105565b9450602086013561458081614105565b9350604086013561459081613e26565b925060608601356001600160401b038111156145aa575f80fd5b6145b68882890161415e565b92505060808601356145c781613e26565b809150509295509295909350565b6001600160401b0381168114613b18575f80fd5b5f602082840312156145f9575f80fd5b8135612e4e816145d5565b5f60208284031215614614575f80fd5b8135612e4e81613e26565b5f80828403610260811215614632575f80fd5b833561463d81613e26565b9250610240601f1982011215614651575f80fd5b5061465a613fa2565b61466660208501613e3a565b815261467460408501613e3a565b602082015261468560608501613e3a565b604082015261469660808501613e3a565b60608201526146a760a08501613e3a565b60808201526146b860c08501613e3a565b60a08201526146c960e08501613e3a565b60c08201526146db6101008501613e3a565b60e08201526146ed6101208501613e3a565b6101008201526147006101408501613e3a565b6101208201526147136101608501613e3a565b6101408201526147266101808501613e3a565b6101608201526147396101a08501613e3a565b61018082015261474c6101c08501613e3a565b6101a082015261475f6101e08501613e3a565b6101c08201526147726102008501613e3a565b6101e08201526147856102208501613e3a565b6102008201526147986102408501613e3a565b610220820152809150509250929050565b5f602082840312156147b9575f80fd5b815162ffffff81168114612e4e575f80fd5b8051613e4581613e26565b5f602082840312156147e6575f80fd5b8151612e4e81613e26565b600181811c9082168061480557607f821691505b60208210810361482357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215614839575f80fd5b8151612e4e81614105565b5f60408284031215614854575f80fd5b61485c613f80565b825181526020928301519281019290925250919050565b5f82601f830112614882575f80fd5b8151602083015f61489561409f8461405c565b90508281528583830111156148a8575f80fd5b8282602083015e5f92810160200192909252509392505050565b8051613e4581614130565b5f602082840312156148dd575f80fd5b81516001600160401b038111156148f2575f80fd5b820160e08185031215614903575f80fd5b61490b613fc5565b815161491681613e26565b81526149258560208401614844565b602082015260608201516001600160401b03811115614942575f80fd5b61494e86828501614873565b604083015250608082015161496281614130565b606082015261497360a083016148c2565b608082015261498460c083016148c2565b60a0820152949350505050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b8051613e4581614105565b5f602082840312156149de575f80fd5b81516001600160401b038111156149f3575f80fd5b820160c08185031215614a04575f80fd5b614a0c613fc5565b81516001600160401b03811115614a21575f80fd5b614a2d86828501614873565b825250614a3c602083016147cb565b6020820152614a4d604083016149c3565b6040820152614a5e606083016149c3565b6060820152614a6f608083016149c3565b608082015260a08201516001600160401b03811115614a8c575f80fd5b614a9886828501614873565b60a083015250949350505050565b6001600160a01b0393841681529190921660208201526001600160601b03909116604082015260600190565b5f60208284031215614ae2575f80fd5b8151612e4e816145d5565b80518015158114613e45575f80fd5b5f60e0828403128015614b0d575f80fd5b50614b16613fe7565b8251614b2181613e26565b81526020830151614b31816145d5565b6020820152614b4260408401614aed565b6040820152614b5360608401614aed565b6060820152614b6460808401614aed565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f8060408385031215614b97575f80fd5b8251614ba281613e26565b6020840151909250613e7681613e26565b60ff81168114613b18575f80fd5b8051613e4581614bb3565b5f60208284031215614bdc575f80fd5b8151612e4e81614bb3565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682526001600160601b038916602083015287166040820152614c49606082018780518252602090810151910152565b6001600160601b03851660a082015264ffffffffff841660c082015261010060e08201525f614c7d61010083018486614be7565b9a9950505050505050505050565b5f610200828403128015614c9d575f80fd5b50614ca6614009565b614caf836147cb565b8152614cbd602084016147cb565b6020820152614ccf8460408501614844565b6040820152614ce18460808501614844565b6060820152614cf38460c08501614844565b6080820152614d06846101008501614844565b60a0820152614d19846101408501614844565b60c0820152614d2c846101808501614844565b60e0820152614d3f846101c08501614844565b6101008201529392505050565b5f60208284031215614d5c575f80fd5b612e4e82614aed565b5f610120820190506001600160601b03851682526001600160601b0384511660208301526001600160401b0360208501511660408301526040840151151560608301526060840151151560808301526080840151614dc760a084018215159052565b5060a084015160c083015260c084015160e0830152613f3b61010083018460ff169052565b5f60208284031215614dfc575f80fd5b81516001600160401b03811115614e11575f80fd5b820160e08185031215614e22575f80fd5b614e2a613fe7565b614e33826147cb565b8152614e41602083016147cb565b6020820152614e5260408301614bc1565b6040820152614e6360608301614aed565b6060820152614e74608083016149c3565b6080820152614e8560a083016149c3565b60a082015260c08201516001600160401b03811115614ea2575f80fd5b614eae86828501614873565b60c083015250949350505050565b5f8085851115614eca575f80fd5b83861115614ed6575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614f14576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190525f90614f3f9083018486614be7565b95945050505050565b5f8060408385031215614f59575f80fd5b8251614f6481614105565b6020840151909250613e7681614105565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614f9c575f80fd5b614fa583614aed565b9150602083015163ffffffff81168114613e76575f80fd5b601f82111561392f57805f5260205f20601f840160051c81016020851015614fe25750805b601f840160051c820191505b8181101561272b575f8155600101614fee565b81516001600160401b0381111561501a5761501a613f43565b61502e8161502884546147f1565b84614fbd565b6020601f821160018114615060575f83156150495750848201515b5f19600385901b1c1916600184901b17845561272b565b5f84815260208120601f198516915b8281101561508f578785015182556020948501946001909201910161506f565b50848210156150ac57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208406fc7804ac70cc27da6afa19c47933bfd8213421dba007a212f4d8aed0894964736f6c634300081a0033",
1281
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101d1575f3560e01c80637225ed01116100fe578063a3c260521161009e578063bf7e214f1161006e578063bf7e214f14610479578063ca510bf614610216578063d0d63b0914610481578063fb3bcd1f14610494575f80fd5b8063a3c2605214610430578063ada9652e14610443578063b68d180914610457578063bca99e3914610466575f80fd5b806384d1f7cf116100d957806384d1f7cf146103e1578063893d20e8146103f45780638fb36037146103fc57806396fa19e81461041d575f80fd5b80637225ed01146103855780637a9e5e4b146103bb57806384a710fa146103ce575f80fd5b8063329d6e7411610174578063644c45e011610144578063644c45e0146103225780636c1e9dff1461033f5780636c741e781461035257806371504a3214610372575f80fd5b8063329d6e74146102c457806332f9f3df146102d757806349bb9e4b146102ea5780635ab1bd53146102fd575f80fd5b80630fec111c116101af5780630fec111c14610247578063138461e01461025c5780631eff4b221461027c57806326889b09146102b1575f80fd5b806301ffc9a7146101d557806306625783146102165780630d8e6e2c1461022b575b5f80fd5b6102016101e3366004613dff565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610224366004613e4a565b6104a7565b005b6102336104b7565b60405162ffffff909116815260200161020d565b61024f61053e565b60405161020d9190613eaf565b6102646106ca565b6040516001600160601b03909116815260200161020d565b6102a37f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6102646102bf366004613e4a565b6106d4565b6102296102d23660046140d4565b610bfc565b6102296102e53660046142cb565b610d46565b6102296102f836600461433b565b610f3f565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b5f805160206150bc833981519152546001600160601b0316610264565b61026461034d366004613e4a565b61103b565b61035a6115e4565b6040516001600160401b03909116815260200161020d565b610264610380366004614387565b6116db565b61039b610393366004614445565b928392509050565b604080516001600160601b0393841681529290911660208301520161020d565b6102296103c936600461447b565b61189e565b61039b6103dc366004614496565b611920565b61039b6103ef3660046144d3565b611a1c565b61030a611c10565b610404611d41565b6040516001600160e01b0319909116815260200161020d565b61022961042b366004614551565b611d76565b61022961043e3660046145e9565b611db8565b6102a35f805160206150bc83398151915281565b604051600f815260200161020d565b610229610474366004614604565b61202f565b61030a612239565b61022961048f366004614604565b612254565b6102296104a236600461461f565b612732565b6104b3335b5f36612a3e565b5050565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610515573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061053991906147a9565b905090565b610546613dc2565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105bc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105e091906147d6565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610628611c10565b6001600160a01b03168152602001826001018054610645906147f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610671906147f1565b80156106bc5780601f10610693576101008083540402835291602001916106bc565b820191905f5260205f20905b81548152906001019060200180831161069f57829003601f168201915b505050505081525091505090565b5f61053930612b34565b5f80806106e1600f612d2d565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610723573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107479190614829565b90505f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610786573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107aa9190614829565b604051634793b4ab60e01b81526001600160601b03891660048201529091505f906001600160a01b03841690634793b4ab906024015f60405180830381865afa1580156107f9573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261082091908101906148cd565b905061082f815f015186612dc9565b1561086557604051630a49ea2360e01b81526001600160601b03808a166004830152861660248201526044015b60405180910390fd5b600254604051631696791160e11b81526001600160a01b0386811660048301526001600160601b03808c1660248401528a1660448301525f921690632d2cf222906064016020604051808303815f875af11580156108c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108e991906147d6565b905060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a284888473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610958573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097c91906147d6565b6040518563ffffffff1660e01b815260040161099b9493929190614991565b5f604051808303815f87803b1580156109b2575f80fd5b505af11580156109c4573d5f803e3d5ffd5b505060405163f0ea17c360e01b81526001600160601b03891660048201525f92506001600160a01b038716915063f0ea17c3906024015f60405180830381865afa158015610a14573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610a3b91908101906149ce565b60808101519091505f610a566001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038e1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610aa3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ac79190614829565b90507fa9e4ee5628423184bfcde002aae428406aeac6b337e1acf560282b155e358527886001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b26573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b4a91906147d6565b8a8e87604051610b8394939291906001600160601b03948516815292841660208401529083166040830152909116606082015260800190565b60405180910390a182606001516001600160a01b03166354f0d84c8383876040518463ffffffff1660e01b8152600401610bbf93929190614aa6565b5f604051808303815f87803b158015610bd6575f80fd5b505af1158015610be8573d5f803e3d5ffd5b50959e9d5050505050505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610c1e6104b7565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c5c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c809190614ad2565b5f805160206150fc8339815191528054600160401b900460ff1680610cb2575080546001600160401b03808416911610155b15610cd05760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610cfa83612e55565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610d4f336104ac565b5f610d638260800151836101600151612e5d565b600254602084015160405163ad328d9f60e01b81529293506001600160a01b039091169163ad328d9f91610d9f91899188918790600401614991565b5f604051808303815f87803b158015610db6575f80fd5b505af1158015610dc8573d5f803e3d5ffd5b50506002546040516301d90a6f60e61b81526001600160a01b0389811660048301526001600160601b038816602483015290911692506376429bc091506044015b5f604051808303815f87803b158015610e20575f80fd5b505af1158015610e32573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e95573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eb991906147d6565b6040516001600160e01b031960e084901b1681526001600160601b0391821660048201526001600160a01b038816602482015290841660448201526064016020604051808303815f875af1158015610f13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f3791906147d6565b505050505050565b5f805160206150fc8339815191528054600160401b810460ff1615906001600160401b03165f81158015610f705750825b90505f826001600160401b03166001148015610f8b5750303b155b905081158015610f99575080155b15610fb75760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610fe157845460ff60401b1916600160401b1785555b610feb8787612ee2565b831561103257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f8080611048600f612d2d565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561108a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110ae9190614829565b604051634793b4ab60e01b81526001600160601b03881660048201529091505f906001600160a01b03831690634793b4ab906024015f60405180830381865afa1580156110fd573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261112491908101906148cd565b6040516357f80bbf60e01b81526001600160601b03861660048201529091505f906001600160a01b038416906357f80bbf9060240160e060405180830381865afa158015611174573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111989190614afc565b90506111a7825f015186612dc9565b156111d857604051630a49ea2360e01b81526001600160601b03808a1660048301528616602482015260440161085c565b6040516308a390bb60e21b81526001600160601b03861660048201525f906001600160a01b0385169063228e42ec90602401602060405180830381865afa158015611225573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061124991906147d6565b905061125f611258828a613124565b835161316e565b156112a357815160405163b806175d60e01b81526001600160601b03808916600483015291821660248201528183166044820152908916606482015260840161085c565b505f73__$58e11c6004c5796aaa8c56e718245e69a2$__639ed246ea6112c986896131b8565b6040516001600160e01b031960e084901b1681528151600482015260209091015160248201526001600160601b038b1660448201526064016040805180830381865af415801561131b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061133f9190614b86565b809850819250505060035f9054906101000a90046001600160a01b03166001600160a01b031663d56cd3d5866001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113ca9190614829565b888a856040518563ffffffff1660e01b81526004016113ec9493929190614991565b5f604051808303815f87803b158015611403575f80fd5b505af1158015611415573d5f803e3d5ffd5b50506002546040516325fa796b60e01b81526001600160a01b0389811660048301526001600160601b03808f1660248401528c16604483015290911692506325fa796b91506064015f604051808303815f87803b158015611474575f80fd5b505af1158015611486573d5f803e3d5ffd5b505050505f61149d6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038c1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114ea573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061150e9190614829565b90507fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b4145866001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561156d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061159191906147d6565b604080516001600160601b0392831681528a831660208201528d8316818301528c83166060820152918b166080830152519081900360a00190a16115d78588838c6132c1565b5050505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600f604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561164f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116739190614bcc565b6040516001600160e01b031960e085901b16815260ff9283166004820152911660248201526044015b602060405180830381865af41580156116b7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105399190614ad2565b5f80806116e8600f612d2d565b925050915060025f9054906101000a90046001600160a01b03166001600160a01b031663e283b4a982848b8b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af415801561175b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061177f91906147d6565b8c8c8c6040518963ffffffff1660e01b81526004016117a5989796959493929190614c0f565b6020604051808303815f875af11580156117c1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117e591906147d6565b92507f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611844573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061186891906147d6565b604080516001600160601b03928316815282861660208201529186169082015260600160405180910390a1505095945050505050565b336118a7612239565b6001600160a01b0316816001600160a01b0316146118e25760405162d1953b60e31b81526001600160a01b038216600482015260240161085c565b816001600160a01b03163b5f03611917576040516361798f2f60e11b81526001600160a01b038316600482015260240161085c565b6104b382613372565b6040516302d764c760e21b81526001600160601b03831660048201525f90819081906001600160a01b03871690630b5d931c9060240161020060405180830381865afa158015611972573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119969190614c8b565b602001516040516357f80bbf60e01b81526001600160601b03821660048201529091505f906001600160a01b038816906357f80bbf9060240160e060405180830381865afa1580156119ea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a0e9190614afc565b509396879650945050505050565b5f80611a27336104ac565b611a91886001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a66573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a8a9190614829565b8785611920565b600254604051634adcf90960e01b81529294509092506001600160a01b031690634adcf90990611acb908b90899089908890600401614991565b5f604051808303815f87803b158015611ae2575f80fd5b505af1158015611af4573d5f803e3d5ffd5b5050505060065f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b896001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b57573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7b91906147d6565b6040516001600160e01b031960e084901b1681526001600160601b0391821660048201526001600160a01b038b16602482015290841660448201526064016020604051808303815f875af1158015611bd5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bf991906147d6565b50611c04818361316e565b50965096945050505050565b5f805f805160206150bc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ca09190614d4c565b15611d2b576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d01573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d259190614829565b91505090565b54600160601b90046001600160a01b0316919050565b5f805160206150dc83398151915280545f9190600160a01b900460ff16611d68575f611d25565b638fb3603760e01b91505090565b611d7f336104ac565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f91610e0991899188918790600401614991565b5f80611dc4600f612d2d565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611e06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e2a9190614829565b60405163f0ea17c360e01b81526001600160601b03851660048201529091505f906001600160a01b0383169063f0ea17c3906024015f60405180830381865afa158015611e79573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611ea091908101906149ce565b90505f8160a00151806020019051810190611ebb9190614afc565b9050611edf8160200151611ecd6133d2565b6001600160401b039081169116141590565b15611f085760405163eff765ff60e01b81526001600160601b038616600482015260240161085c565b6001600160401b03861660208083019190915260408051631a99b41b60e31b815290516001600160a01b0387169263d4cda0d892600480820193918290030181865afa158015611f5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f7e9190614829565b6001600160a01b0316637e3d91e8868360ff6040518463ffffffff1660e01b8152600401611fae93929190614d65565b5f604051808303815f87803b158015611fc5575f80fd5b505af1158015611fd7573d5f803e3d5ffd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e93500190505b60405180910390a1505050505050565b5f8061203b600f612d2d565b92505091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561207d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120a19190614829565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240160e060405180830381865afa1580156120f1573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121159190614afc565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa15801561216b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061218f9190614829565b6001600160a01b0316637e3d91e8868460ff6040518463ffffffff1660e01b81526004016121bf93929190614d65565b5f604051808303815f87803b1580156121d6575f80fd5b505af11580156121e8573d5f803e3d5ffd5b5050604080516001600160601b03808a16825280861660208301528a16918101919091527f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9250606001905061201f565b5f805160206150dc833981519152546001600160a01b031690565b5f80612260600f612d2d565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b03891660248301529496509194505f93849350169063aa9acb2c9060440160408051808303815f875af11580156122c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122e49190614b86565b9150915060035f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612347573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061236b9190614829565b866123768686613124565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156123bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123e191906147d6565b6040518563ffffffff1660e01b81526004016124009493929190614991565b5f604051808303815f87803b158015612417575f80fd5b505af1158015612429573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561248a573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124ae91906147d6565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a16124e38282613124565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801561253a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061255e9190614d4c565b1561272b575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125c49190614829565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa158015612610573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261263791908101906149ce565b905080606001516001600160a01b03166354f0d84c82608001516126636001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156126b0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126d49190614829565b6126de8787613124565b6040518463ffffffff1660e01b81526004016126fc93929190614aa6565b5f604051808303815f87803b158015612713575f80fd5b505af1158015612725573d5f803e3d5ffd5b50505050505b5050505050565b61273b336104ac565b5f61274e6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091505f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa15801561279d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526127c49190810190614dec565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091505f906001600160a01b0384169063a48f42e0906024015f60405180830381865afa158015612819573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128409190810190614dec565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091505f906001600160a01b0385169063a48f42e0906024015f60405180830381865afa158015612895573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526128bc9190810190614dec565b90505f816080015190505f6128da8760e00151886101600151613124565b90505f6128f1886101000151896101800151613124565b90505f886060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612938573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061295c9190614829565b60035488519192506001600160a01b03169063d56cd3d59083906129808688613124565b886040518563ffffffff1660e01b81526004016129a09493929190614991565b5f604051808303815f87803b1580156129b7575f80fd5b505af11580156129c9573d5f803e3d5ffd5b50506003548a516040516325e451d360e01b81526001600160a01b0390921693506325e451d39250612a049185919087908990600401614991565b5f604051808303815f87803b158015612a1b575f80fd5b505af1158015612a2d573d5f803e3d5ffd5b505050505050505050505050505050565b5f805160206150dc8339815191525f80612a76612a59612239565b8730612a6860045f8a8c614ebc565b612a7191614ee3565b613412565b9150915081610f375763ffffffff811615612b1157825460ff60a01b1916600160a01b178355612aa4612239565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ad393929190614f1b565b5f604051808303815f87803b158015612aea575f80fd5b505af1158015612afc573d5f803e3d5ffd5b5050845460ff60a01b1916855550610f379050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161085c565b5f805f805160206150bc83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612ba0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612bc49190614d4c565b15612bf05780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161085c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612c42573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c669190614d4c565b612c8e5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161085c565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015612ce0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d0491906147d6565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f612d36613dc2565b5f612d496001546001600160a01b031690565b604051632f2a35f760e11b81523360048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015612d8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612db191906147d6565b9250612dbf8385600161351a565b9395909450915050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c51906044015b602060405180830381865af4158015612e2a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e4e9190614d4c565b9392505050565b6101d16137b7565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044015b602060405180830381865af4158015612ebe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e4e91906147d6565b5f805160206150fc8339815191528054600160401b810460ff1615906001600160401b03165f81158015612f135750825b90505f826001600160401b03166001148015612f2e5750303b155b905081158015612f3c575080155b15612f5a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612f8457845460ff60401b1916600160401b1785555b5f8087806020019051810190612f9a9190614f48565b91509150612fa982828b6137ef565b612fb36002613934565b600580546001600160a01b0319166001600160a01b0392909216919091179055612fdd601f613934565b600280546001600160a01b0319166001600160a01b0392909216919091179055613007600a613934565b600480546001600160a01b0319166001600160a01b0392909216919091179055613031600b613934565b600380546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561308c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130b09190614829565b600680546001600160a01b0319166001600160a01b03929092169190911790556130e0631523f8cf60e01b613a3b565b5050831561103257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001611029565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401612ea3565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c90604401612e0f565b604080518082019091525f808252602082015260405163f0ea17c360e01b81526001600160601b03831660048201525f906001600160a01b0385169063f0ea17c3906024015f60405180830381865afa158015613217573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261323e91908101906149ce565b602001516040516302d764c760e21b81526001600160601b03821660048201529091506001600160a01b03851690630b5d931c9060240161020060405180830381865afa158015613291573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132b59190614c8b565b60e00151949350505050565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa15801561330d573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261333491908101906149ce565b90505f8160800151905081606001516001600160a01b031663c7d63d578583866040518463ffffffff1660e01b81526004016126fc93929190614aa6565b5f805160206150dc83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b604051637c3940bf60e01b81526001600160401b0360048201525f9073__$1d92393fa9ccd763988368ce8a1cb90d26$__90637c3940bf9060240161169c565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516134809190614f75565b5f60405180830381855afa9150503d805f81146134b8576040519150601f19603f3d011682016040523d82523d5f602084013e6134bd565b606091505b5091509150811561350f5760408151106134ef57808060200190518101906134e59190614f8b565b909450925061350f565b602081511061350f578080602001905181019061350c9190614d4c565b93505b505094509492505050565b613522613dc2565b5f806135366001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03881660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613583573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526135aa9190810190614dec565b925060ff8516600b1461360857604083015160ff86811691161461360357604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff8088166024830152909116604482015260640161085c565b6136a4565b6136238360400151613618600c90565b60ff90811691161490565b8061363957506136398360400151613618600f90565b8061364f575061364f8360400151613618600e90565b8061366557506136658360400151613618600d90565b6136a457604080840151905163b83d92cb60e01b81526001600160601b038816600482015260ff8088166024830152909116604482015260640161085c565b6136b18360200151613a67565b915083156137ae57816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137199190614829565b6080840151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa158015613761573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906137859190614d4c565b156137ae57604051637d71120960e11b81526001600160601b038716600482015260240161085c565b50935093915050565b5f805160206150fc83398151915254600160401b900460ff166137ed57604051631afcd79f60e31b815260040160405180910390fd5b565b6137f76137b7565b6137ff613af7565b6001600160a01b0382161561381c5761381782613b07565b613893565b5f6138276002613934565b9050613891816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613868573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061388c9190614829565b613b07565b505b61390f83846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156138d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906138f791906147d6565b60085f8560405180602001604052805f815250613b1b565b61391f634a531f3360e01b613a3b565b61392f63daf9067160e01b613a3b565b505050565b5f6139476001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156139aa573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139ce9190614bcc565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613a11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a359190614829565b92915050565b613a436137b7565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f613a7a6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e0906024015f60405180830381865afa158015613ac6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613aed9190810190614dec565b6080015192915050565b613aff6137b7565b6137ed613bc0565b613b0f6137b7565b613b1881613bee565b50565b613b236137b7565b613b2d8287613bff565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301613bb68382615001565b5050505050505050565b613bc86137b7565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b613bf66137b7565b613b1881613372565b613c076137b7565b613c1081613c75565b613c18613d7d565b6001600160a01b038216613c3f5760405163f17ef42d60e01b815260040160405180910390fd5b505f805160206150bc83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b613c7d6137b7565b806001600160a01b03163b5f03613cb25760405163fdeac91f60e01b81526001600160a01b038216600482015260240161085c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632f6da6f960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613d2c575060408051601f3d908101601f19168201909252613d2991810190614d4c565b60015b613d545760405163fdeac91f60e01b81526001600160a01b038216600482015260240161085c565b806104b35760405163fdeac91f60e01b81526001600160a01b038316600482015260240161085c565b613d856137b7565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b5f60208284031215613e0f575f80fd5b81356001600160e01b031981168114612e4e575f80fd5b6001600160601b0381168114613b18575f80fd5b8035613e4581613e26565b919050565b5f8060408385031215613e5b575f80fd5b8235613e6681613e26565b91506020830135613e7681613e26565b809150509250929050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151613ef7608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152613f3b610100840182613e81565b949350505050565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b0381118282101715613f7a57613f7a613f43565b60405290565b604080519081016001600160401b0381118282101715613f7a57613f7a613f43565b60405161024081016001600160401b0381118282101715613f7a57613f7a613f43565b60405160c081016001600160401b0381118282101715613f7a57613f7a613f43565b60405160e081016001600160401b0381118282101715613f7a57613f7a613f43565b60405161012081016001600160401b0381118282101715613f7a57613f7a613f43565b604051601f8201601f191681016001600160401b038111828210171561405457614054613f43565b604052919050565b5f6001600160401b0382111561407457614074613f43565b50601f01601f191660200190565b5f82601f830112614091575f80fd5b81356140a461409f8261405c565b61402c565b8181528460208386010111156140b8575f80fd5b816020850160208301375f918101602001919091529392505050565b5f602082840312156140e4575f80fd5b81356001600160401b038111156140f9575f80fd5b613f3b84828501614082565b6001600160a01b0381168114613b18575f80fd5b80356001600160c01b031981168114613e45575f80fd5b64ffffffffff81168114613b18575f80fd5b8035613e4581614130565b803561ffff81168114613e45575f80fd5b5f610200828403121561416f575f80fd5b614177613f57565b905061418282613e3a565b815261419060208301613e3a565b60208201526141a160408301614119565b60408201526141b260608301614119565b60608201526141c360808301613e3a565b60808201526141d460a08301613e3a565b60a08201526141e560c08301614142565b60c082015260e08201356001600160401b03811115614202575f80fd5b61420e84828501614082565b60e0830152506101008201356001600160401b0381111561422d575f80fd5b61423984828501614082565b6101008301525061424d610120830161414d565b610120820152614260610140830161414d565b6101408201526142736101608301613e3a565b6101608201526142866101808301613e3a565b6101808201526142996101a08301614142565b6101a08201526142ac6101c08301614142565b6101c08201526142bf6101e08301614142565b6101e082015292915050565b5f805f80608085870312156142de575f80fd5b84356142e981614105565b935060208501356142f981614105565b9250604085013561430981613e26565b915060608501356001600160401b03811115614323575f80fd5b61432f8782880161415e565b91505092959194509250565b5f806040838503121561434c575f80fd5b823561435781614105565b915060208301356001600160401b03811115614371575f80fd5b61437d85828601614082565b9150509250929050565b5f805f805f85870360a081121561439c575f80fd5b86356143a781614105565b95506040601f19820112156143ba575f80fd5b506143c3613f80565b6020878101358252604088013590820152935060608601356143e481614130565b925060808601356001600160401b038111156143fe575f80fd5b8601601f8101881361440e575f80fd5b80356001600160401b03811115614423575f80fd5b886020828401011115614434575f80fd5b959894975092955050506020019190565b5f805f60608486031215614457575f80fd5b8335925060208401359150604084013561447081613e26565b809150509250925092565b5f6020828403121561448b575f80fd5b8135612e4e81614105565b5f805f606084860312156144a8575f80fd5b83356144b381614105565b925060208401356144c381613e26565b9150604084013561447081613e26565b5f805f805f8060c087890312156144e8575f80fd5b86356144f381614105565b9550602087013561450381614105565b9450604087013561451381613e26565b9350606087013561452381613e26565b9250608087013561453381613e26565b915060a087013561454381613e26565b809150509295509295509295565b5f805f805f60a08688031215614565575f80fd5b853561457081614105565b9450602086013561458081614105565b9350604086013561459081613e26565b925060608601356001600160401b038111156145aa575f80fd5b6145b68882890161415e565b92505060808601356145c781613e26565b809150509295509295909350565b6001600160401b0381168114613b18575f80fd5b5f602082840312156145f9575f80fd5b8135612e4e816145d5565b5f60208284031215614614575f80fd5b8135612e4e81613e26565b5f80828403610260811215614632575f80fd5b833561463d81613e26565b9250610240601f1982011215614651575f80fd5b5061465a613fa2565b61466660208501613e3a565b815261467460408501613e3a565b602082015261468560608501613e3a565b604082015261469660808501613e3a565b60608201526146a760a08501613e3a565b60808201526146b860c08501613e3a565b60a08201526146c960e08501613e3a565b60c08201526146db6101008501613e3a565b60e08201526146ed6101208501613e3a565b6101008201526147006101408501613e3a565b6101208201526147136101608501613e3a565b6101408201526147266101808501613e3a565b6101608201526147396101a08501613e3a565b61018082015261474c6101c08501613e3a565b6101a082015261475f6101e08501613e3a565b6101c08201526147726102008501613e3a565b6101e08201526147856102208501613e3a565b6102008201526147986102408501613e3a565b610220820152809150509250929050565b5f602082840312156147b9575f80fd5b815162ffffff81168114612e4e575f80fd5b8051613e4581613e26565b5f602082840312156147e6575f80fd5b8151612e4e81613e26565b600181811c9082168061480557607f821691505b60208210810361482357634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60208284031215614839575f80fd5b8151612e4e81614105565b5f60408284031215614854575f80fd5b61485c613f80565b825181526020928301519281019290925250919050565b5f82601f830112614882575f80fd5b8151602083015f61489561409f8461405c565b90508281528583830111156148a8575f80fd5b8282602083015e5f92810160200192909252509392505050565b8051613e4581614130565b5f602082840312156148dd575f80fd5b81516001600160401b038111156148f2575f80fd5b820160e08185031215614903575f80fd5b61490b613fc5565b815161491681613e26565b81526149258560208401614844565b602082015260608201516001600160401b03811115614942575f80fd5b61494e86828501614873565b604083015250608082015161496281614130565b606082015261497360a083016148c2565b608082015261498460c083016148c2565b60a0820152949350505050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b8051613e4581614105565b5f602082840312156149de575f80fd5b81516001600160401b038111156149f3575f80fd5b820160c08185031215614a04575f80fd5b614a0c613fc5565b81516001600160401b03811115614a21575f80fd5b614a2d86828501614873565b825250614a3c602083016147cb565b6020820152614a4d604083016149c3565b6040820152614a5e606083016149c3565b6060820152614a6f608083016149c3565b608082015260a08201516001600160401b03811115614a8c575f80fd5b614a9886828501614873565b60a083015250949350505050565b6001600160a01b0393841681529190921660208201526001600160601b03909116604082015260600190565b5f60208284031215614ae2575f80fd5b8151612e4e816145d5565b80518015158114613e45575f80fd5b5f60e0828403128015614b0d575f80fd5b50614b16613fe7565b8251614b2181613e26565b81526020830151614b31816145d5565b6020820152614b4260408401614aed565b6040820152614b5360608401614aed565b6060820152614b6460808401614aed565b608082015260a0838101519082015260c0928301519281019290925250919050565b5f8060408385031215614b97575f80fd5b8251614ba281613e26565b6020840151909250613e7681613e26565b60ff81168114613b18575f80fd5b8051613e4581614bb3565b5f60208284031215614bdc575f80fd5b8151612e4e81614bb3565b81835281816020850137505f828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682526001600160601b038916602083015287166040820152614c49606082018780518252602090810151910152565b6001600160601b03851660a082015264ffffffffff841660c082015261010060e08201525f614c7d61010083018486614be7565b9a9950505050505050505050565b5f610200828403128015614c9d575f80fd5b50614ca6614009565b614caf836147cb565b8152614cbd602084016147cb565b6020820152614ccf8460408501614844565b6040820152614ce18460808501614844565b6060820152614cf38460c08501614844565b6080820152614d06846101008501614844565b60a0820152614d19846101408501614844565b60c0820152614d2c846101808501614844565b60e0820152614d3f846101c08501614844565b6101008201529392505050565b5f60208284031215614d5c575f80fd5b612e4e82614aed565b5f610120820190506001600160601b03851682526001600160601b0384511660208301526001600160401b0360208501511660408301526040840151151560608301526060840151151560808301526080840151614dc760a084018215159052565b5060a084015160c083015260c084015160e0830152613f3b61010083018460ff169052565b5f60208284031215614dfc575f80fd5b81516001600160401b03811115614e11575f80fd5b820160e08185031215614e22575f80fd5b614e2a613fe7565b614e33826147cb565b8152614e41602083016147cb565b6020820152614e5260408301614bc1565b6040820152614e6360608301614aed565b6060820152614e74608083016149c3565b6080820152614e8560a083016149c3565b60a082015260c08201516001600160401b03811115614ea2575f80fd5b614eae86828501614873565b60c083015250949350505050565b5f8085851115614eca575f80fd5b83861115614ed6575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015614f14576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190525f90614f3f9083018486614be7565b95945050505050565b5f8060408385031215614f59575f80fd5b8251614f6481614105565b6020840151909250613e7681614105565b5f82518060208501845e5f920191825250919050565b5f8060408385031215614f9c575f80fd5b614fa583614aed565b9150602083015163ffffffff81168114613e76575f80fd5b601f82111561392f57805f5260205f20601f840160051c81016020851015614fe25750805b601f840160051c820191505b8181101561272b575f8155600101614fee565b81516001600160401b0381111561501a5761501a613f43565b61502e8161502884546147f1565b84614fbd565b6020601f821160018114615060575f83156150495750848201515b5f19600385901b1c1916600184901b17845561272b565b5f84815260208120601f198516915b8281101561508f578785015182556020948501946001909201910161506f565b50848210156150ac57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208406fc7804ac70cc27da6afa19c47933bfd8213421dba007a212f4d8aed0894964736f6c634300081a0033",
1282
+ "linkReferences": {
1283
+ "contracts/type/Amount.sol": {
1284
+ "AmountLib": [
1285
+ {
1286
+ "length": 20,
1287
+ "start": 2537
1288
+ },
1289
+ {
1290
+ "length": 20,
1291
+ "start": 6124
1292
+ },
1293
+ {
1294
+ "length": 20,
1295
+ "start": 9294
1296
+ },
1297
+ {
1298
+ "length": 20,
1299
+ "start": 9688
1300
+ },
1301
+ {
1302
+ "length": 20,
1303
+ "start": 12123
1304
+ },
1305
+ {
1306
+ "length": 20,
1307
+ "start": 12834
1308
+ },
1309
+ {
1310
+ "length": 20,
1311
+ "start": 12908
1312
+ }
1313
+ ]
1314
+ },
1315
+ "contracts/type/Fee.sol": {
1316
+ "FeeLib": [
1317
+ {
1318
+ "length": 20,
1319
+ "start": 4989
1320
+ }
1321
+ ]
1322
+ },
1323
+ "contracts/type/NftId.sol": {
1324
+ "NftIdLib": [
1325
+ {
1326
+ "length": 20,
1327
+ "start": 1613
1328
+ },
1329
+ {
1330
+ "length": 20,
1331
+ "start": 7450
1332
+ },
1333
+ {
1334
+ "length": 20,
1335
+ "start": 11326
1336
+ },
1337
+ {
1338
+ "length": 20,
1339
+ "start": 11975
1340
+ }
1341
+ ]
1342
+ },
1343
+ "contracts/type/RoleId.sol": {
1344
+ "RoleIdLib": [
1345
+ {
1346
+ "length": 20,
1347
+ "start": 5821
1348
+ },
1349
+ {
1350
+ "length": 20,
1351
+ "start": 13510
1352
+ }
1353
+ ]
1354
+ },
1355
+ "contracts/type/Version.sol": {
1356
+ "VersionLib": [
1357
+ {
1358
+ "length": 20,
1359
+ "start": 1459
1360
+ },
1361
+ {
1362
+ "length": 20,
1363
+ "start": 3284
1364
+ }
1365
+ ],
1366
+ "VersionPartLib": [
1367
+ {
1368
+ "length": 20,
1369
+ "start": 5869
1370
+ },
1371
+ {
1372
+ "length": 20,
1373
+ "start": 14920
1374
+ }
1375
+ ]
1376
+ }
1377
+ },
1378
+ "deployedLinkReferences": {
1379
+ "contracts/type/Amount.sol": {
1380
+ "AmountLib": [
1381
+ {
1382
+ "length": 20,
1383
+ "start": 2323
1384
+ },
1385
+ {
1386
+ "length": 20,
1387
+ "start": 5910
1388
+ },
1389
+ {
1390
+ "length": 20,
1391
+ "start": 9080
1392
+ },
1393
+ {
1394
+ "length": 20,
1395
+ "start": 9474
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 11909
1400
+ },
1401
+ {
1402
+ "length": 20,
1403
+ "start": 12620
1404
+ },
1405
+ {
1406
+ "length": 20,
1407
+ "start": 12694
1408
+ }
1409
+ ]
1410
+ },
1411
+ "contracts/type/Fee.sol": {
1412
+ "FeeLib": [
1413
+ {
1414
+ "length": 20,
1415
+ "start": 4775
1416
+ }
1417
+ ]
1418
+ },
1419
+ "contracts/type/NftId.sol": {
1420
+ "NftIdLib": [
1421
+ {
1422
+ "length": 20,
1423
+ "start": 1399
1424
+ },
1425
+ {
1426
+ "length": 20,
1427
+ "start": 7236
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 11112
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 11761
1436
+ }
1437
+ ]
1438
+ },
1439
+ "contracts/type/RoleId.sol": {
1440
+ "RoleIdLib": [
1441
+ {
1442
+ "length": 20,
1443
+ "start": 5607
1444
+ },
1445
+ {
1446
+ "length": 20,
1447
+ "start": 13296
1448
+ }
1449
+ ]
1450
+ },
1451
+ "contracts/type/Version.sol": {
1452
+ "VersionLib": [
1453
+ {
1454
+ "length": 20,
1455
+ "start": 1245
1456
+ },
1457
+ {
1458
+ "length": 20,
1459
+ "start": 3070
1460
+ }
1461
+ ],
1462
+ "VersionPartLib": [
1463
+ {
1464
+ "length": 20,
1465
+ "start": 5655
1466
+ },
1467
+ {
1468
+ "length": 20,
1469
+ "start": 14706
1470
+ }
1471
+ ]
1472
+ }
1473
+ }
1474
+ }