@etherisc/gif-next 0.0.2-fbe8e04-715 → 0.0.2-fc0563c-260

Sign up to get free protection for your applications and to get access to all the features.
Files changed (783) hide show
  1. package/README.md +141 -23
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -0
  16. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  17. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  18. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +949 -0
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1809 -0
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +930 -0
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +848 -0
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +1284 -0
  40. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  42. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1472 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2045 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -0
  50. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1423 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1639 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2484 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  68. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  69. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +658 -1236
  70. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +733 -142
  72. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/Instance.sol/Instance.json +575 -2838
  74. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2349 -0
  76. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +902 -0
  78. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  79. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1963 -739
  80. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +766 -483
  82. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +382 -162
  84. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3784 -0
  86. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  87. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  88. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  90. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  92. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  93. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  94. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  96. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  98. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  100. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  101. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  102. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  103. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  106. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  107. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  108. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  110. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  112. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  114. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  116. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  118. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  120. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  122. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  124. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  126. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  128. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1438 -0
  130. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +866 -0
  132. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +1033 -0
  134. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +905 -0
  136. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1449 -0
  138. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  139. package/artifacts/contracts/pool/Pool.sol/Pool.json +1025 -0
  140. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  142. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1833 -0
  144. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +866 -0
  146. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +1036 -0
  148. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +790 -0
  150. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  152. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  154. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1552 -0
  156. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +894 -0
  158. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +804 -0
  160. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +1104 -0
  162. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +1036 -0
  164. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/service/IBundleService.sol/IBundleService.json → product/IPricingService.sol/IPricingService.json} +340 -357
  166. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +1016 -0
  168. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  169. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → product/IRiskService.sol/IRiskService.json} +292 -291
  170. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1404 -0
  172. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  174. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +854 -0
  176. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.json +932 -0
  178. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +814 -0
  180. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  181. package/artifacts/contracts/product/Product.sol/Product.json +1117 -0
  182. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  184. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  186. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  188. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +689 -113
  190. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +351 -226
  192. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  194. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -0
  196. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  197. package/artifacts/contracts/registry/Registry.sol/Registry.json +1027 -149
  198. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2147 -0
  200. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1053 -0
  202. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +327 -322
  204. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +375 -119
  206. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  208. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  210. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  212. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  214. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -101
  216. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  217. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/Component.sol/Component.json} +350 -98
  218. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1535 -0
  220. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +854 -0
  222. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  223. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  224. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  225. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  230. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  231. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/IComponent.sol/IComponent.json} +292 -183
  232. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  233. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  234. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  235. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  236. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  237. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +96 -34
  238. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  239. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  240. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  241. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +61 -22
  242. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  243. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  244. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  245. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +162 -15
  246. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  247. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  248. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  249. package/artifacts/contracts/shared/IService.sol/IService.json +161 -154
  250. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  251. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  252. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  254. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  255. package/artifacts/contracts/{instance/base/IKeyValueStore.sol/IKeyValueStore.json → shared/KeyValueStore.sol/KeyValueStore.json} +129 -20
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +98 -28
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +178 -55
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +177 -163
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +635 -8
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1646 -0
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1196 -0
  280. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  281. package/artifacts/contracts/staking/Staking.sol/Staking.json +2054 -0
  282. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  283. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  284. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +842 -0
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +616 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1425 -0
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +782 -0
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  296. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  298. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  299. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  300. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  302. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  304. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  306. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  308. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/Fee.sol/FeeLib.json +373 -0
  310. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  312. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  314. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  316. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  318. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  320. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  322. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  324. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  326. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  328. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +254 -0
  330. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +265 -0
  332. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  336. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  338. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  340. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  342. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +572 -0
  344. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  346. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  348. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  349. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +65 -0
  350. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  351. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  352. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  354. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +88 -0
  356. package/contracts/accounting/AccountingService.sol +274 -0
  357. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  358. package/contracts/accounting/IAccountingService.sol +47 -0
  359. package/contracts/authorization/AccessAdmin.sol +780 -0
  360. package/contracts/authorization/AccessAdminLib.sol +396 -0
  361. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  362. package/contracts/authorization/Authorization.sol +169 -0
  363. package/contracts/authorization/IAccess.sol +67 -0
  364. package/contracts/authorization/IAccessAdmin.sol +144 -0
  365. package/contracts/authorization/IAuthorization.sol +27 -0
  366. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  367. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  368. package/contracts/distribution/BasicDistribution.sol +141 -0
  369. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  370. package/contracts/distribution/Distribution.sol +247 -0
  371. package/contracts/distribution/DistributionService.sol +448 -0
  372. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  373. package/contracts/distribution/IDistributionComponent.sol +45 -0
  374. package/contracts/distribution/IDistributionService.sol +115 -0
  375. package/contracts/examples/fire/DamageLevel.sol +59 -0
  376. package/contracts/examples/fire/FirePool.sol +86 -0
  377. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  378. package/contracts/examples/fire/FireProduct.sol +433 -0
  379. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  380. package/contracts/examples/fire/FireUSD.sol +26 -0
  381. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  382. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  383. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  384. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  385. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  386. package/contracts/examples/unpermissioned/SimpleProduct.sol +391 -0
  387. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  388. package/contracts/instance/BundleSet.sol +130 -0
  389. package/contracts/instance/IInstance.sol +136 -51
  390. package/contracts/instance/IInstanceService.sol +103 -19
  391. package/contracts/instance/Instance.sol +246 -365
  392. package/contracts/instance/InstanceAdmin.sol +383 -0
  393. package/contracts/instance/InstanceAuthorizationV3.sol +266 -0
  394. package/contracts/instance/InstanceReader.sol +525 -208
  395. package/contracts/instance/InstanceService.sol +447 -209
  396. package/contracts/instance/InstanceServiceManager.sol +14 -32
  397. package/contracts/instance/InstanceStore.sol +298 -0
  398. package/contracts/instance/RiskSet.sol +126 -0
  399. package/contracts/instance/base/BalanceStore.sol +121 -0
  400. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  401. package/contracts/instance/base/ObjectCounter.sol +20 -0
  402. package/contracts/instance/base/ObjectLifecycle.sol +108 -0
  403. package/contracts/instance/base/ObjectSet.sol +77 -0
  404. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  405. package/contracts/instance/module/IBundle.sol +10 -9
  406. package/contracts/instance/module/IComponents.sol +62 -0
  407. package/contracts/instance/module/IDistribution.sol +25 -10
  408. package/contracts/instance/module/IPolicy.sol +81 -21
  409. package/contracts/instance/module/IRisk.sol +6 -1
  410. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  411. package/contracts/oracle/BasicOracle.sol +45 -0
  412. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  413. package/contracts/oracle/IOracle.sol +41 -0
  414. package/contracts/oracle/IOracleComponent.sol +33 -0
  415. package/contracts/oracle/IOracleService.sol +66 -0
  416. package/contracts/oracle/Oracle.sol +154 -0
  417. package/contracts/oracle/OracleService.sol +310 -0
  418. package/contracts/oracle/OracleServiceManager.sol +39 -0
  419. package/contracts/pool/BasicPool.sol +162 -0
  420. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  421. package/contracts/pool/BundleService.sol +386 -0
  422. package/contracts/pool/BundleServiceManager.sol +39 -0
  423. package/contracts/pool/IBundleService.sol +116 -0
  424. package/contracts/pool/IPoolComponent.sol +62 -0
  425. package/contracts/pool/IPoolService.sol +170 -0
  426. package/contracts/pool/Pool.sol +333 -0
  427. package/contracts/pool/PoolLib.sol +341 -0
  428. package/contracts/pool/PoolService.sol +614 -0
  429. package/contracts/pool/PoolServiceManager.sol +39 -0
  430. package/contracts/product/ApplicationService.sol +327 -0
  431. package/contracts/product/ApplicationServiceManager.sol +38 -0
  432. package/contracts/product/BasicProduct.sol +49 -0
  433. package/contracts/product/BasicProductAuthorization.sol +63 -0
  434. package/contracts/product/ClaimService.sol +641 -0
  435. package/contracts/product/ClaimServiceManager.sol +38 -0
  436. package/contracts/product/IApplicationService.sol +88 -0
  437. package/contracts/product/IClaimService.sol +135 -0
  438. package/contracts/product/IPolicyService.sol +102 -0
  439. package/contracts/product/IPricingService.sol +40 -0
  440. package/contracts/product/IProductComponent.sol +62 -0
  441. package/contracts/product/IRiskService.sol +48 -0
  442. package/contracts/product/PolicyService.sol +645 -0
  443. package/contracts/product/PolicyServiceLib.sol +139 -0
  444. package/contracts/product/PolicyServiceManager.sol +39 -0
  445. package/contracts/product/PricingService.sol +306 -0
  446. package/contracts/product/PricingServiceManager.sol +39 -0
  447. package/contracts/product/Product.sol +483 -0
  448. package/contracts/product/RiskService.sol +190 -0
  449. package/contracts/product/RiskServiceManager.sol +39 -0
  450. package/contracts/registry/ChainNft.sol +82 -35
  451. package/contracts/registry/IRegistry.sol +126 -32
  452. package/contracts/registry/IRegistryService.sol +40 -28
  453. package/contracts/registry/IRelease.sol +29 -0
  454. package/contracts/registry/ITransferInterceptor.sol +1 -1
  455. package/contracts/registry/Registry.sol +561 -273
  456. package/contracts/registry/RegistryAdmin.sol +188 -0
  457. package/contracts/registry/RegistryAuthorization.sol +284 -0
  458. package/contracts/registry/RegistryService.sol +116 -233
  459. package/contracts/registry/RegistryServiceManager.sol +26 -53
  460. package/contracts/registry/ReleaseAdmin.sol +195 -0
  461. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  462. package/contracts/registry/ReleaseRegistry.sol +520 -0
  463. package/contracts/registry/ServiceAuthorizationV3.sol +345 -0
  464. package/contracts/registry/TokenRegistry.sol +263 -60
  465. package/contracts/shared/Component.sol +210 -0
  466. package/contracts/shared/ComponentService.sol +679 -0
  467. package/contracts/shared/ComponentServiceManager.sol +38 -0
  468. package/contracts/shared/ContractLib.sol +311 -0
  469. package/contracts/shared/IComponent.sol +58 -0
  470. package/contracts/shared/IComponentService.sol +111 -0
  471. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  472. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  473. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  474. package/contracts/shared/INftOwnable.sol +17 -12
  475. package/contracts/shared/IPolicyHolder.sol +35 -0
  476. package/contracts/shared/IRegisterable.sol +24 -5
  477. package/contracts/shared/IRegistryLinked.sol +11 -0
  478. package/contracts/shared/IService.sol +13 -5
  479. package/contracts/shared/InitializableERC165.sol +35 -0
  480. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  481. package/contracts/shared/KeyValueStore.sol +131 -0
  482. package/contracts/shared/Lifecycle.sol +88 -0
  483. package/contracts/shared/NftIdSet.sol +65 -0
  484. package/contracts/shared/NftOwnable.sol +77 -82
  485. package/contracts/shared/PolicyHolder.sol +63 -0
  486. package/contracts/shared/Registerable.sol +54 -38
  487. package/contracts/shared/RegistryLinked.sol +38 -0
  488. package/contracts/shared/Service.sol +45 -33
  489. package/contracts/shared/TokenHandler.sol +327 -12
  490. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  491. package/contracts/staking/IStaking.sol +195 -0
  492. package/contracts/staking/IStakingService.sol +170 -0
  493. package/contracts/staking/Staking.sol +605 -0
  494. package/contracts/staking/StakingLib.sol +281 -0
  495. package/contracts/staking/StakingLifecycle.sol +23 -0
  496. package/contracts/staking/StakingManager.sol +52 -0
  497. package/contracts/staking/StakingReader.sol +199 -0
  498. package/contracts/staking/StakingService.sol +468 -0
  499. package/contracts/staking/StakingServiceManager.sol +45 -0
  500. package/contracts/staking/StakingStore.sol +606 -0
  501. package/contracts/staking/TargetManagerLib.sol +211 -0
  502. package/contracts/{types → type}/AddressSet.sol +1 -1
  503. package/contracts/type/Amount.sol +150 -0
  504. package/contracts/{types → type}/Blocknumber.sol +27 -3
  505. package/contracts/type/ClaimId.sol +80 -0
  506. package/contracts/{types → type}/DistributorType.sol +2 -2
  507. package/contracts/type/Fee.sol +66 -0
  508. package/contracts/{types → type}/Key32.sol +2 -2
  509. package/contracts/type/Key32Set.sol +62 -0
  510. package/contracts/{types → type}/NftId.sol +28 -15
  511. package/contracts/{types → type}/NftIdSet.sol +2 -2
  512. package/contracts/type/ObjectType.sol +307 -0
  513. package/contracts/type/PayoutId.sol +82 -0
  514. package/contracts/{types → type}/Referral.sol +6 -1
  515. package/contracts/type/RequestId.sol +75 -0
  516. package/contracts/type/RiskId.sol +75 -0
  517. package/contracts/type/RoleId.sol +180 -0
  518. package/contracts/type/Seconds.sol +105 -0
  519. package/contracts/type/Selector.sol +107 -0
  520. package/contracts/{types → type}/StateId.sol +48 -4
  521. package/contracts/type/String.sol +65 -0
  522. package/contracts/{types → type}/Timestamp.sol +33 -19
  523. package/contracts/type/UFixed.sol +262 -0
  524. package/contracts/{types → type}/Version.sol +59 -7
  525. package/contracts/{shared → upgradeability}/IVersionable.sol +7 -47
  526. package/contracts/upgradeability/ProxyManager.sol +246 -0
  527. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +8 -4
  528. package/contracts/upgradeability/Versionable.sol +62 -0
  529. package/package.json +12 -8
  530. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  531. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  532. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -744
  533. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -368
  535. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  536. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  537. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  538. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  539. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  540. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  541. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  542. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -939
  543. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  544. package/artifacts/contracts/components/Product.sol/Product.json +0 -855
  545. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  546. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  547. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  548. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  549. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  550. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  551. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  552. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  553. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  554. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  555. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  556. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  557. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  558. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  559. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  560. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  561. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  562. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  563. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  564. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  565. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  566. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  567. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  568. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  569. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  570. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  571. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  572. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  573. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  574. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  575. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  576. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  577. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  578. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  579. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  580. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  581. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  582. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  583. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  584. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  585. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  586. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  587. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -788
  588. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  589. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  590. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  591. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  592. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  593. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -940
  594. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  595. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  596. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  597. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  598. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  599. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  600. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  601. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  602. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  603. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  604. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  605. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  606. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  607. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  608. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -211
  609. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  610. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  611. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  612. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -923
  613. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  614. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -440
  615. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  616. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  617. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  618. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -684
  619. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  620. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  621. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  622. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  623. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
  624. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  625. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  626. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  627. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  628. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -499
  629. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  630. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -536
  631. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  632. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -984
  633. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  634. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -464
  635. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  636. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -718
  637. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  638. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -428
  639. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  640. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -768
  641. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  642. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  643. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  644. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  645. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  646. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  647. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  648. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  649. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  650. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  651. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  652. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  653. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  654. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  655. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  656. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  657. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  658. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  659. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  660. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  661. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  662. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  663. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  664. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  665. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  666. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  667. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  668. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  669. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  670. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  671. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  672. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  673. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  674. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  675. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  676. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  677. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  678. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  679. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  680. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  681. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  682. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  683. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  684. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  685. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  686. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  687. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  688. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  689. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  690. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  691. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  692. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  693. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  694. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  695. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  696. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  697. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  698. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  699. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  700. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  701. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  702. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  703. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  704. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  705. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  706. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  707. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  708. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  709. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  710. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  711. package/contracts/components/BaseComponent.sol +0 -132
  712. package/contracts/components/Distribution.sol +0 -163
  713. package/contracts/components/IBaseComponent.sol +0 -31
  714. package/contracts/components/IDistributionComponent.sol +0 -44
  715. package/contracts/components/IPoolComponent.sol +0 -66
  716. package/contracts/components/IProductComponent.sol +0 -35
  717. package/contracts/components/Pool.sol +0 -271
  718. package/contracts/components/Product.sol +0 -292
  719. package/contracts/experiment/cloning/Cloner.sol +0 -47
  720. package/contracts/experiment/errors/Require.sol +0 -38
  721. package/contracts/experiment/errors/Revert.sol +0 -44
  722. package/contracts/experiment/inheritance/A.sol +0 -53
  723. package/contracts/experiment/inheritance/B.sol +0 -28
  724. package/contracts/experiment/inheritance/C.sol +0 -34
  725. package/contracts/experiment/inheritance/IA.sol +0 -13
  726. package/contracts/experiment/inheritance/IB.sol +0 -10
  727. package/contracts/experiment/inheritance/IC.sol +0 -12
  728. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  729. package/contracts/experiment/statemachine/ISM.sol +0 -25
  730. package/contracts/experiment/statemachine/SM.sol +0 -57
  731. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  732. package/contracts/experiment/types/TypeA.sol +0 -47
  733. package/contracts/experiment/types/TypeB.sol +0 -29
  734. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  735. package/contracts/instance/BundleManager.sol +0 -129
  736. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  737. package/contracts/instance/IInstanceBase.sol +0 -26
  738. package/contracts/instance/InstanceAccessManager.sol +0 -288
  739. package/contracts/instance/InstanceBase.sol +0 -41
  740. package/contracts/instance/ObjectManager.sol +0 -101
  741. package/contracts/instance/base/ComponentServiceBase.sol +0 -72
  742. package/contracts/instance/base/IInstanceBase.sol +0 -23
  743. package/contracts/instance/base/KeyValueStore.sol +0 -172
  744. package/contracts/instance/base/Lifecycle.sol +0 -100
  745. package/contracts/instance/module/IAccess.sol +0 -38
  746. package/contracts/instance/module/ISetup.sol +0 -46
  747. package/contracts/instance/module/ITreasury.sol +0 -23
  748. package/contracts/instance/service/BundleService.sol +0 -260
  749. package/contracts/instance/service/BundleServiceManager.sol +0 -54
  750. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  751. package/contracts/instance/service/DistributionService.sol +0 -118
  752. package/contracts/instance/service/DistributionServiceManager.sol +0 -54
  753. package/contracts/instance/service/IBundleService.sol +0 -45
  754. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  755. package/contracts/instance/service/IDistributionService.sol +0 -12
  756. package/contracts/instance/service/IPolicyService.sol +0 -87
  757. package/contracts/instance/service/IPoolService.sol +0 -20
  758. package/contracts/instance/service/IProductService.sol +0 -40
  759. package/contracts/instance/service/PolicyService.sol +0 -508
  760. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  761. package/contracts/instance/service/PoolService.sol +0 -124
  762. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  763. package/contracts/instance/service/ProductService.sol +0 -173
  764. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  765. package/contracts/shared/ContractDeployerLib.sol +0 -72
  766. package/contracts/shared/ERC165.sol +0 -25
  767. package/contracts/shared/ProxyManager.sol +0 -94
  768. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  769. package/contracts/shared/Versionable.sol +0 -147
  770. package/contracts/test/TestFee.sol +0 -25
  771. package/contracts/test/TestRegisterable.sol +0 -18
  772. package/contracts/test/TestRoleId.sol +0 -14
  773. package/contracts/test/TestService.sol +0 -24
  774. package/contracts/test/TestToken.sol +0 -26
  775. package/contracts/test/TestVersion.sol +0 -44
  776. package/contracts/test/TestVersionable.sol +0 -17
  777. package/contracts/types/ChainId.sol +0 -38
  778. package/contracts/types/Fee.sol +0 -56
  779. package/contracts/types/NumberId.sol +0 -52
  780. package/contracts/types/ObjectType.sol +0 -152
  781. package/contracts/types/RiskId.sol +0 -43
  782. package/contracts/types/RoleId.sol +0 -92
  783. package/contracts/types/UFixed.sol +0 -325
@@ -0,0 +1,1833 @@
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": "address",
48
+ "name": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "nftId",
60
+ "type": "uint96"
61
+ }
62
+ ],
63
+ "name": "ErrorNftOwnableAlreadyLinked",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "contractAddress",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorNftOwnableContractNotRegistered",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [],
79
+ "name": "ErrorNftOwnableInitialOwnerZero",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "NftId",
86
+ "name": "nftId",
87
+ "type": "uint96"
88
+ },
89
+ {
90
+ "internalType": "ObjectType",
91
+ "name": "expectedObjectType",
92
+ "type": "uint8"
93
+ }
94
+ ],
95
+ "name": "ErrorNftOwnableInvalidType",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "account",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorNftOwnableNotOwner",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
111
+ {
112
+ "internalType": "address",
113
+ "name": "registryAddress",
114
+ "type": "address"
115
+ }
116
+ ],
117
+ "name": "ErrorNotRegistry",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [
122
+ {
123
+ "internalType": "NftId",
124
+ "name": "poolNftId",
125
+ "type": "uint96"
126
+ }
127
+ ],
128
+ "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
129
+ "type": "error"
130
+ },
131
+ {
132
+ "inputs": [
133
+ {
134
+ "internalType": "NftId",
135
+ "name": "bundleNftId",
136
+ "type": "uint96"
137
+ },
138
+ {
139
+ "internalType": "NftId",
140
+ "name": "poolNftId",
141
+ "type": "uint96"
142
+ }
143
+ ],
144
+ "name": "ErrorPoolServiceBundlePoolMismatch",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [
149
+ {
150
+ "internalType": "Amount",
151
+ "name": "amount",
152
+ "type": "uint96"
153
+ },
154
+ {
155
+ "internalType": "Amount",
156
+ "name": "limit",
157
+ "type": "uint96"
158
+ }
159
+ ],
160
+ "name": "ErrorPoolServiceFeesWithdrawAmountExceedsLimit",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "Amount",
167
+ "name": "expectedAmount",
168
+ "type": "uint96"
169
+ },
170
+ {
171
+ "internalType": "Amount",
172
+ "name": "actualAmount",
173
+ "type": "uint96"
174
+ }
175
+ ],
176
+ "name": "ErrorPoolServiceInvalidTransferAmount",
177
+ "type": "error"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "internalType": "NftId",
183
+ "name": "poolNftId",
184
+ "type": "uint96"
185
+ },
186
+ {
187
+ "internalType": "Amount",
188
+ "name": "maxBalanceAmount",
189
+ "type": "uint96"
190
+ },
191
+ {
192
+ "internalType": "Amount",
193
+ "name": "currentBalanceAmount",
194
+ "type": "uint96"
195
+ },
196
+ {
197
+ "internalType": "Amount",
198
+ "name": "transferAmount",
199
+ "type": "uint96"
200
+ }
201
+ ],
202
+ "name": "ErrorPoolServiceMaxBalanceAmountExceeded",
203
+ "type": "error"
204
+ },
205
+ {
206
+ "inputs": [
207
+ {
208
+ "internalType": "NftId",
209
+ "name": "policyNftId",
210
+ "type": "uint96"
211
+ },
212
+ {
213
+ "internalType": "NftId",
214
+ "name": "productNftId",
215
+ "type": "uint96"
216
+ },
217
+ {
218
+ "internalType": "NftId",
219
+ "name": "expectedProductNftId",
220
+ "type": "uint96"
221
+ }
222
+ ],
223
+ "name": "ErrorPoolServicePolicyPoolMismatch",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "NftId",
230
+ "name": "poolNftId",
231
+ "type": "uint96"
232
+ }
233
+ ],
234
+ "name": "ErrorPoolServicePoolNotExternallyManaged",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [],
239
+ "name": "ErrorRegisterableNotActive",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [],
244
+ "name": "ErrorVersionableInitializeNotImplemented",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [],
249
+ "name": "ErrorVersionableUpgradeNotImplemented",
250
+ "type": "error"
251
+ },
252
+ {
253
+ "inputs": [],
254
+ "name": "InvalidInitialization",
255
+ "type": "error"
256
+ },
257
+ {
258
+ "inputs": [],
259
+ "name": "NotInitializing",
260
+ "type": "error"
261
+ },
262
+ {
263
+ "inputs": [],
264
+ "name": "ReentrancyGuardReentrantCall",
265
+ "type": "error"
266
+ },
267
+ {
268
+ "anonymous": false,
269
+ "inputs": [
270
+ {
271
+ "indexed": false,
272
+ "internalType": "address",
273
+ "name": "authority",
274
+ "type": "address"
275
+ }
276
+ ],
277
+ "name": "AuthorityUpdated",
278
+ "type": "event"
279
+ },
280
+ {
281
+ "anonymous": false,
282
+ "inputs": [
283
+ {
284
+ "indexed": false,
285
+ "internalType": "uint64",
286
+ "name": "version",
287
+ "type": "uint64"
288
+ }
289
+ ],
290
+ "name": "Initialized",
291
+ "type": "event"
292
+ },
293
+ {
294
+ "anonymous": false,
295
+ "inputs": [
296
+ {
297
+ "indexed": false,
298
+ "internalType": "NftId",
299
+ "name": "nftId",
300
+ "type": "uint96"
301
+ },
302
+ {
303
+ "indexed": false,
304
+ "internalType": "address",
305
+ "name": "owner",
306
+ "type": "address"
307
+ }
308
+ ],
309
+ "name": "LogNftOwnableNftLinkedToAddress",
310
+ "type": "event"
311
+ },
312
+ {
313
+ "anonymous": false,
314
+ "inputs": [
315
+ {
316
+ "indexed": false,
317
+ "internalType": "NftId",
318
+ "name": "poolNftId",
319
+ "type": "uint96"
320
+ },
321
+ {
322
+ "indexed": false,
323
+ "internalType": "NftId",
324
+ "name": "bundleNftId",
325
+ "type": "uint96"
326
+ },
327
+ {
328
+ "indexed": false,
329
+ "internalType": "NftId",
330
+ "name": "applicationNftId",
331
+ "type": "uint96"
332
+ },
333
+ {
334
+ "indexed": false,
335
+ "internalType": "Amount",
336
+ "name": "totalCollateralAmount",
337
+ "type": "uint96"
338
+ }
339
+ ],
340
+ "name": "LogPoolServiceApplicationVerified",
341
+ "type": "event"
342
+ },
343
+ {
344
+ "anonymous": false,
345
+ "inputs": [
346
+ {
347
+ "indexed": false,
348
+ "internalType": "NftId",
349
+ "name": "instanceNftId",
350
+ "type": "uint96"
351
+ },
352
+ {
353
+ "indexed": false,
354
+ "internalType": "NftId",
355
+ "name": "poolNftId",
356
+ "type": "uint96"
357
+ },
358
+ {
359
+ "indexed": false,
360
+ "internalType": "NftId",
361
+ "name": "bundleNftId",
362
+ "type": "uint96"
363
+ }
364
+ ],
365
+ "name": "LogPoolServiceBundleClosed",
366
+ "type": "event"
367
+ },
368
+ {
369
+ "anonymous": false,
370
+ "inputs": [
371
+ {
372
+ "indexed": false,
373
+ "internalType": "NftId",
374
+ "name": "instanceNftId",
375
+ "type": "uint96"
376
+ },
377
+ {
378
+ "indexed": false,
379
+ "internalType": "NftId",
380
+ "name": "poolNftId",
381
+ "type": "uint96"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "NftId",
386
+ "name": "bundleNftId",
387
+ "type": "uint96"
388
+ }
389
+ ],
390
+ "name": "LogPoolServiceBundleCreated",
391
+ "type": "event"
392
+ },
393
+ {
394
+ "anonymous": false,
395
+ "inputs": [
396
+ {
397
+ "indexed": false,
398
+ "internalType": "NftId",
399
+ "name": "instanceNftId",
400
+ "type": "uint96"
401
+ },
402
+ {
403
+ "indexed": false,
404
+ "internalType": "NftId",
405
+ "name": "poolNftId",
406
+ "type": "uint96"
407
+ },
408
+ {
409
+ "indexed": false,
410
+ "internalType": "NftId",
411
+ "name": "bundleNftId",
412
+ "type": "uint96"
413
+ },
414
+ {
415
+ "indexed": false,
416
+ "internalType": "Amount",
417
+ "name": "amount",
418
+ "type": "uint96"
419
+ },
420
+ {
421
+ "indexed": false,
422
+ "internalType": "Amount",
423
+ "name": "netAmount",
424
+ "type": "uint96"
425
+ }
426
+ ],
427
+ "name": "LogPoolServiceBundleStaked",
428
+ "type": "event"
429
+ },
430
+ {
431
+ "anonymous": false,
432
+ "inputs": [
433
+ {
434
+ "indexed": false,
435
+ "internalType": "NftId",
436
+ "name": "instanceNftId",
437
+ "type": "uint96"
438
+ },
439
+ {
440
+ "indexed": false,
441
+ "internalType": "NftId",
442
+ "name": "poolNftId",
443
+ "type": "uint96"
444
+ },
445
+ {
446
+ "indexed": false,
447
+ "internalType": "NftId",
448
+ "name": "bundleNftId",
449
+ "type": "uint96"
450
+ },
451
+ {
452
+ "indexed": false,
453
+ "internalType": "Amount",
454
+ "name": "amount",
455
+ "type": "uint96"
456
+ },
457
+ {
458
+ "indexed": false,
459
+ "internalType": "Amount",
460
+ "name": "netAmount",
461
+ "type": "uint96"
462
+ }
463
+ ],
464
+ "name": "LogPoolServiceBundleUnstaked",
465
+ "type": "event"
466
+ },
467
+ {
468
+ "anonymous": false,
469
+ "inputs": [
470
+ {
471
+ "indexed": false,
472
+ "internalType": "NftId",
473
+ "name": "poolNftId",
474
+ "type": "uint96"
475
+ },
476
+ {
477
+ "indexed": false,
478
+ "internalType": "NftId",
479
+ "name": "bundleNftId",
480
+ "type": "uint96"
481
+ },
482
+ {
483
+ "indexed": false,
484
+ "internalType": "NftId",
485
+ "name": "applicationNftId",
486
+ "type": "uint96"
487
+ },
488
+ {
489
+ "indexed": false,
490
+ "internalType": "Amount",
491
+ "name": "totalCollateralAmount",
492
+ "type": "uint96"
493
+ },
494
+ {
495
+ "indexed": false,
496
+ "internalType": "Amount",
497
+ "name": "lockedCollateralAmount",
498
+ "type": "uint96"
499
+ }
500
+ ],
501
+ "name": "LogPoolServiceCollateralLocked",
502
+ "type": "event"
503
+ },
504
+ {
505
+ "anonymous": false,
506
+ "inputs": [
507
+ {
508
+ "indexed": false,
509
+ "internalType": "NftId",
510
+ "name": "bundleNftId",
511
+ "type": "uint96"
512
+ },
513
+ {
514
+ "indexed": false,
515
+ "internalType": "NftId",
516
+ "name": "policyNftId",
517
+ "type": "uint96"
518
+ },
519
+ {
520
+ "indexed": false,
521
+ "internalType": "Amount",
522
+ "name": "remainingCollateralAmount",
523
+ "type": "uint96"
524
+ }
525
+ ],
526
+ "name": "LogPoolServiceCollateralReleased",
527
+ "type": "event"
528
+ },
529
+ {
530
+ "anonymous": false,
531
+ "inputs": [
532
+ {
533
+ "indexed": false,
534
+ "internalType": "NftId",
535
+ "name": "bundleNftId",
536
+ "type": "uint96"
537
+ },
538
+ {
539
+ "indexed": false,
540
+ "internalType": "address",
541
+ "name": "recipient",
542
+ "type": "address"
543
+ },
544
+ {
545
+ "indexed": false,
546
+ "internalType": "address",
547
+ "name": "tokenAddress",
548
+ "type": "address"
549
+ },
550
+ {
551
+ "indexed": false,
552
+ "internalType": "Amount",
553
+ "name": "amount",
554
+ "type": "uint96"
555
+ }
556
+ ],
557
+ "name": "LogPoolServiceFeesWithdrawn",
558
+ "type": "event"
559
+ },
560
+ {
561
+ "anonymous": false,
562
+ "inputs": [
563
+ {
564
+ "indexed": false,
565
+ "internalType": "NftId",
566
+ "name": "poolNftId",
567
+ "type": "uint96"
568
+ },
569
+ {
570
+ "indexed": false,
571
+ "internalType": "Amount",
572
+ "name": "previousMaxCapitalAmount",
573
+ "type": "uint96"
574
+ },
575
+ {
576
+ "indexed": false,
577
+ "internalType": "Amount",
578
+ "name": "currentMaxCapitalAmount",
579
+ "type": "uint96"
580
+ }
581
+ ],
582
+ "name": "LogPoolServiceMaxBalanceAmountUpdated",
583
+ "type": "event"
584
+ },
585
+ {
586
+ "anonymous": false,
587
+ "inputs": [
588
+ {
589
+ "indexed": false,
590
+ "internalType": "NftId",
591
+ "name": "poolNftId",
592
+ "type": "uint96"
593
+ },
594
+ {
595
+ "indexed": false,
596
+ "internalType": "NftId",
597
+ "name": "bundleNftId",
598
+ "type": "uint96"
599
+ },
600
+ {
601
+ "indexed": false,
602
+ "internalType": "NftId",
603
+ "name": "policyNftId",
604
+ "type": "uint96"
605
+ },
606
+ {
607
+ "indexed": false,
608
+ "internalType": "PayoutId",
609
+ "name": "payoutId",
610
+ "type": "uint40"
611
+ },
612
+ {
613
+ "indexed": false,
614
+ "internalType": "Amount",
615
+ "name": "netPayoutAmount",
616
+ "type": "uint96"
617
+ },
618
+ {
619
+ "indexed": false,
620
+ "internalType": "Amount",
621
+ "name": "processingFeeAmount",
622
+ "type": "uint96"
623
+ },
624
+ {
625
+ "indexed": false,
626
+ "internalType": "address",
627
+ "name": "payoutBeneficiary",
628
+ "type": "address"
629
+ }
630
+ ],
631
+ "name": "LogPoolServicePayoutProcessed",
632
+ "type": "event"
633
+ },
634
+ {
635
+ "anonymous": false,
636
+ "inputs": [
637
+ {
638
+ "indexed": false,
639
+ "internalType": "NftId",
640
+ "name": "policyNftId",
641
+ "type": "uint96"
642
+ },
643
+ {
644
+ "indexed": false,
645
+ "internalType": "ClaimId",
646
+ "name": "claimId",
647
+ "type": "uint16"
648
+ },
649
+ {
650
+ "indexed": false,
651
+ "internalType": "Amount",
652
+ "name": "availableAmount",
653
+ "type": "uint96"
654
+ }
655
+ ],
656
+ "name": "LogPoolServiceProcessFundedClaim",
657
+ "type": "event"
658
+ },
659
+ {
660
+ "anonymous": false,
661
+ "inputs": [
662
+ {
663
+ "indexed": false,
664
+ "internalType": "NftId",
665
+ "name": "poolNftId",
666
+ "type": "uint96"
667
+ },
668
+ {
669
+ "indexed": false,
670
+ "internalType": "NftId",
671
+ "name": "bundleNftId",
672
+ "type": "uint96"
673
+ },
674
+ {
675
+ "indexed": false,
676
+ "internalType": "Amount",
677
+ "name": "bundleNetAmount",
678
+ "type": "uint96"
679
+ },
680
+ {
681
+ "indexed": false,
682
+ "internalType": "Amount",
683
+ "name": "bundleFeeAmount",
684
+ "type": "uint96"
685
+ },
686
+ {
687
+ "indexed": false,
688
+ "internalType": "Amount",
689
+ "name": "poolFeeAmount",
690
+ "type": "uint96"
691
+ }
692
+ ],
693
+ "name": "LogPoolServiceSaleProcessed",
694
+ "type": "event"
695
+ },
696
+ {
697
+ "anonymous": false,
698
+ "inputs": [
699
+ {
700
+ "indexed": false,
701
+ "internalType": "NftId",
702
+ "name": "poolNftId",
703
+ "type": "uint96"
704
+ },
705
+ {
706
+ "indexed": false,
707
+ "internalType": "address",
708
+ "name": "poolOwner",
709
+ "type": "address"
710
+ },
711
+ {
712
+ "indexed": false,
713
+ "internalType": "Amount",
714
+ "name": "amount",
715
+ "type": "uint96"
716
+ }
717
+ ],
718
+ "name": "LogPoolServiceWalletDefunded",
719
+ "type": "event"
720
+ },
721
+ {
722
+ "anonymous": false,
723
+ "inputs": [
724
+ {
725
+ "indexed": false,
726
+ "internalType": "NftId",
727
+ "name": "poolNftId",
728
+ "type": "uint96"
729
+ },
730
+ {
731
+ "indexed": false,
732
+ "internalType": "address",
733
+ "name": "poolOwner",
734
+ "type": "address"
735
+ },
736
+ {
737
+ "indexed": false,
738
+ "internalType": "Amount",
739
+ "name": "amount",
740
+ "type": "uint96"
741
+ }
742
+ ],
743
+ "name": "LogPoolServiceWalletFunded",
744
+ "type": "event"
745
+ },
746
+ {
747
+ "inputs": [],
748
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
749
+ "outputs": [
750
+ {
751
+ "internalType": "bytes32",
752
+ "name": "",
753
+ "type": "bytes32"
754
+ }
755
+ ],
756
+ "stateMutability": "view",
757
+ "type": "function"
758
+ },
759
+ {
760
+ "inputs": [],
761
+ "name": "REGISTERABLE_LOCATION_V1",
762
+ "outputs": [
763
+ {
764
+ "internalType": "bytes32",
765
+ "name": "",
766
+ "type": "bytes32"
767
+ }
768
+ ],
769
+ "stateMutability": "view",
770
+ "type": "function"
771
+ },
772
+ {
773
+ "inputs": [],
774
+ "name": "authority",
775
+ "outputs": [
776
+ {
777
+ "internalType": "address",
778
+ "name": "",
779
+ "type": "address"
780
+ }
781
+ ],
782
+ "stateMutability": "view",
783
+ "type": "function"
784
+ },
785
+ {
786
+ "inputs": [
787
+ {
788
+ "internalType": "NftId",
789
+ "name": "bundleNftId",
790
+ "type": "uint96"
791
+ }
792
+ ],
793
+ "name": "closeBundle",
794
+ "outputs": [],
795
+ "stateMutability": "nonpayable",
796
+ "type": "function"
797
+ },
798
+ {
799
+ "inputs": [
800
+ {
801
+ "internalType": "Amount",
802
+ "name": "amount",
803
+ "type": "uint96"
804
+ }
805
+ ],
806
+ "name": "defundPoolWallet",
807
+ "outputs": [],
808
+ "stateMutability": "nonpayable",
809
+ "type": "function"
810
+ },
811
+ {
812
+ "inputs": [
813
+ {
814
+ "internalType": "Amount",
815
+ "name": "amount",
816
+ "type": "uint96"
817
+ }
818
+ ],
819
+ "name": "fundPoolWallet",
820
+ "outputs": [],
821
+ "stateMutability": "nonpayable",
822
+ "type": "function"
823
+ },
824
+ {
825
+ "inputs": [],
826
+ "name": "getDomain",
827
+ "outputs": [
828
+ {
829
+ "internalType": "ObjectType",
830
+ "name": "serviceDomain",
831
+ "type": "uint8"
832
+ }
833
+ ],
834
+ "stateMutability": "pure",
835
+ "type": "function"
836
+ },
837
+ {
838
+ "inputs": [],
839
+ "name": "getInitialInfo",
840
+ "outputs": [
841
+ {
842
+ "components": [
843
+ {
844
+ "internalType": "NftId",
845
+ "name": "nftId",
846
+ "type": "uint96"
847
+ },
848
+ {
849
+ "internalType": "NftId",
850
+ "name": "parentNftId",
851
+ "type": "uint96"
852
+ },
853
+ {
854
+ "internalType": "ObjectType",
855
+ "name": "objectType",
856
+ "type": "uint8"
857
+ },
858
+ {
859
+ "internalType": "bool",
860
+ "name": "isInterceptor",
861
+ "type": "bool"
862
+ },
863
+ {
864
+ "internalType": "address",
865
+ "name": "objectAddress",
866
+ "type": "address"
867
+ },
868
+ {
869
+ "internalType": "address",
870
+ "name": "initialOwner",
871
+ "type": "address"
872
+ },
873
+ {
874
+ "internalType": "bytes",
875
+ "name": "data",
876
+ "type": "bytes"
877
+ }
878
+ ],
879
+ "internalType": "struct IRegistry.ObjectInfo",
880
+ "name": "info",
881
+ "type": "tuple"
882
+ }
883
+ ],
884
+ "stateMutability": "view",
885
+ "type": "function"
886
+ },
887
+ {
888
+ "inputs": [],
889
+ "name": "getNftId",
890
+ "outputs": [
891
+ {
892
+ "internalType": "NftId",
893
+ "name": "",
894
+ "type": "uint96"
895
+ }
896
+ ],
897
+ "stateMutability": "view",
898
+ "type": "function"
899
+ },
900
+ {
901
+ "inputs": [],
902
+ "name": "getOwner",
903
+ "outputs": [
904
+ {
905
+ "internalType": "address",
906
+ "name": "",
907
+ "type": "address"
908
+ }
909
+ ],
910
+ "stateMutability": "view",
911
+ "type": "function"
912
+ },
913
+ {
914
+ "inputs": [],
915
+ "name": "getRegistry",
916
+ "outputs": [
917
+ {
918
+ "internalType": "contract IRegistry",
919
+ "name": "",
920
+ "type": "address"
921
+ }
922
+ ],
923
+ "stateMutability": "view",
924
+ "type": "function"
925
+ },
926
+ {
927
+ "inputs": [],
928
+ "name": "getRelease",
929
+ "outputs": [
930
+ {
931
+ "internalType": "VersionPart",
932
+ "name": "release",
933
+ "type": "uint8"
934
+ }
935
+ ],
936
+ "stateMutability": "view",
937
+ "type": "function"
938
+ },
939
+ {
940
+ "inputs": [],
941
+ "name": "getRoleId",
942
+ "outputs": [
943
+ {
944
+ "internalType": "RoleId",
945
+ "name": "serviceRoleId",
946
+ "type": "uint64"
947
+ }
948
+ ],
949
+ "stateMutability": "view",
950
+ "type": "function"
951
+ },
952
+ {
953
+ "inputs": [],
954
+ "name": "getVersion",
955
+ "outputs": [
956
+ {
957
+ "internalType": "Version",
958
+ "name": "",
959
+ "type": "uint24"
960
+ }
961
+ ],
962
+ "stateMutability": "pure",
963
+ "type": "function"
964
+ },
965
+ {
966
+ "inputs": [
967
+ {
968
+ "internalType": "address",
969
+ "name": "activatedBy",
970
+ "type": "address"
971
+ },
972
+ {
973
+ "internalType": "bytes",
974
+ "name": "data",
975
+ "type": "bytes"
976
+ }
977
+ ],
978
+ "name": "initializeVersionable",
979
+ "outputs": [],
980
+ "stateMutability": "nonpayable",
981
+ "type": "function"
982
+ },
983
+ {
984
+ "inputs": [],
985
+ "name": "isActive",
986
+ "outputs": [
987
+ {
988
+ "internalType": "bool",
989
+ "name": "active",
990
+ "type": "bool"
991
+ }
992
+ ],
993
+ "stateMutability": "view",
994
+ "type": "function"
995
+ },
996
+ {
997
+ "inputs": [],
998
+ "name": "isConsumingScheduledOp",
999
+ "outputs": [
1000
+ {
1001
+ "internalType": "bytes4",
1002
+ "name": "",
1003
+ "type": "bytes4"
1004
+ }
1005
+ ],
1006
+ "stateMutability": "view",
1007
+ "type": "function"
1008
+ },
1009
+ {
1010
+ "inputs": [],
1011
+ "name": "linkToRegisteredNftId",
1012
+ "outputs": [
1013
+ {
1014
+ "internalType": "NftId",
1015
+ "name": "nftId",
1016
+ "type": "uint96"
1017
+ }
1018
+ ],
1019
+ "stateMutability": "nonpayable",
1020
+ "type": "function"
1021
+ },
1022
+ {
1023
+ "inputs": [
1024
+ {
1025
+ "internalType": "contract IInstance",
1026
+ "name": "instance",
1027
+ "type": "address"
1028
+ },
1029
+ {
1030
+ "internalType": "address",
1031
+ "name": "token",
1032
+ "type": "address"
1033
+ },
1034
+ {
1035
+ "internalType": "NftId",
1036
+ "name": "productNftId",
1037
+ "type": "uint96"
1038
+ },
1039
+ {
1040
+ "internalType": "NftId",
1041
+ "name": "applicationNftId",
1042
+ "type": "uint96"
1043
+ },
1044
+ {
1045
+ "internalType": "NftId",
1046
+ "name": "bundleNftId",
1047
+ "type": "uint96"
1048
+ },
1049
+ {
1050
+ "internalType": "Amount",
1051
+ "name": "sumInsuredAmount",
1052
+ "type": "uint96"
1053
+ }
1054
+ ],
1055
+ "name": "lockCollateral",
1056
+ "outputs": [
1057
+ {
1058
+ "internalType": "Amount",
1059
+ "name": "totalCollateralAmount",
1060
+ "type": "uint96"
1061
+ },
1062
+ {
1063
+ "internalType": "Amount",
1064
+ "name": "localCollateralAmount",
1065
+ "type": "uint96"
1066
+ }
1067
+ ],
1068
+ "stateMutability": "nonpayable",
1069
+ "type": "function"
1070
+ },
1071
+ {
1072
+ "inputs": [
1073
+ {
1074
+ "internalType": "NftId",
1075
+ "name": "policyNftId",
1076
+ "type": "uint96"
1077
+ },
1078
+ {
1079
+ "internalType": "ClaimId",
1080
+ "name": "claimId",
1081
+ "type": "uint16"
1082
+ },
1083
+ {
1084
+ "internalType": "Amount",
1085
+ "name": "availableAmount",
1086
+ "type": "uint96"
1087
+ }
1088
+ ],
1089
+ "name": "processFundedClaim",
1090
+ "outputs": [],
1091
+ "stateMutability": "nonpayable",
1092
+ "type": "function"
1093
+ },
1094
+ {
1095
+ "inputs": [
1096
+ {
1097
+ "internalType": "contract InstanceReader",
1098
+ "name": "instanceReader",
1099
+ "type": "address"
1100
+ },
1101
+ {
1102
+ "internalType": "contract InstanceStore",
1103
+ "name": "instanceStore",
1104
+ "type": "address"
1105
+ },
1106
+ {
1107
+ "internalType": "NftId",
1108
+ "name": "productNftId",
1109
+ "type": "uint96"
1110
+ },
1111
+ {
1112
+ "internalType": "NftId",
1113
+ "name": "policyNftId",
1114
+ "type": "uint96"
1115
+ },
1116
+ {
1117
+ "internalType": "NftId",
1118
+ "name": "bundleNftId",
1119
+ "type": "uint96"
1120
+ },
1121
+ {
1122
+ "internalType": "PayoutId",
1123
+ "name": "payoutId",
1124
+ "type": "uint40"
1125
+ },
1126
+ {
1127
+ "internalType": "Amount",
1128
+ "name": "payoutAmount",
1129
+ "type": "uint96"
1130
+ },
1131
+ {
1132
+ "internalType": "address",
1133
+ "name": "payoutBeneficiary",
1134
+ "type": "address"
1135
+ }
1136
+ ],
1137
+ "name": "processPayout",
1138
+ "outputs": [
1139
+ {
1140
+ "internalType": "Amount",
1141
+ "name": "netPayoutAmount",
1142
+ "type": "uint96"
1143
+ },
1144
+ {
1145
+ "internalType": "Amount",
1146
+ "name": "processingFeeAmount",
1147
+ "type": "uint96"
1148
+ }
1149
+ ],
1150
+ "stateMutability": "nonpayable",
1151
+ "type": "function"
1152
+ },
1153
+ {
1154
+ "inputs": [
1155
+ {
1156
+ "internalType": "NftId",
1157
+ "name": "bundleNftId",
1158
+ "type": "uint96"
1159
+ },
1160
+ {
1161
+ "components": [
1162
+ {
1163
+ "internalType": "Amount",
1164
+ "name": "productFeeAmount",
1165
+ "type": "uint96"
1166
+ },
1167
+ {
1168
+ "internalType": "Amount",
1169
+ "name": "distributionFeeAndCommissionAmount",
1170
+ "type": "uint96"
1171
+ },
1172
+ {
1173
+ "internalType": "Amount",
1174
+ "name": "poolPremiumAndFeeAmount",
1175
+ "type": "uint96"
1176
+ },
1177
+ {
1178
+ "internalType": "Amount",
1179
+ "name": "netPremiumAmount",
1180
+ "type": "uint96"
1181
+ },
1182
+ {
1183
+ "internalType": "Amount",
1184
+ "name": "fullPremiumAmount",
1185
+ "type": "uint96"
1186
+ },
1187
+ {
1188
+ "internalType": "Amount",
1189
+ "name": "premiumAmount",
1190
+ "type": "uint96"
1191
+ },
1192
+ {
1193
+ "internalType": "Amount",
1194
+ "name": "productFeeFixAmount",
1195
+ "type": "uint96"
1196
+ },
1197
+ {
1198
+ "internalType": "Amount",
1199
+ "name": "poolFeeFixAmount",
1200
+ "type": "uint96"
1201
+ },
1202
+ {
1203
+ "internalType": "Amount",
1204
+ "name": "bundleFeeFixAmount",
1205
+ "type": "uint96"
1206
+ },
1207
+ {
1208
+ "internalType": "Amount",
1209
+ "name": "distributionFeeFixAmount",
1210
+ "type": "uint96"
1211
+ },
1212
+ {
1213
+ "internalType": "Amount",
1214
+ "name": "productFeeVarAmount",
1215
+ "type": "uint96"
1216
+ },
1217
+ {
1218
+ "internalType": "Amount",
1219
+ "name": "poolFeeVarAmount",
1220
+ "type": "uint96"
1221
+ },
1222
+ {
1223
+ "internalType": "Amount",
1224
+ "name": "bundleFeeVarAmount",
1225
+ "type": "uint96"
1226
+ },
1227
+ {
1228
+ "internalType": "Amount",
1229
+ "name": "distributionFeeVarAmount",
1230
+ "type": "uint96"
1231
+ },
1232
+ {
1233
+ "internalType": "Amount",
1234
+ "name": "distributionOwnerFeeFixAmount",
1235
+ "type": "uint96"
1236
+ },
1237
+ {
1238
+ "internalType": "Amount",
1239
+ "name": "distributionOwnerFeeVarAmount",
1240
+ "type": "uint96"
1241
+ },
1242
+ {
1243
+ "internalType": "Amount",
1244
+ "name": "commissionAmount",
1245
+ "type": "uint96"
1246
+ },
1247
+ {
1248
+ "internalType": "Amount",
1249
+ "name": "discountAmount",
1250
+ "type": "uint96"
1251
+ }
1252
+ ],
1253
+ "internalType": "struct IPolicy.PremiumInfo",
1254
+ "name": "premium",
1255
+ "type": "tuple"
1256
+ }
1257
+ ],
1258
+ "name": "processSale",
1259
+ "outputs": [],
1260
+ "stateMutability": "nonpayable",
1261
+ "type": "function"
1262
+ },
1263
+ {
1264
+ "inputs": [
1265
+ {
1266
+ "internalType": "contract IInstance",
1267
+ "name": "instance",
1268
+ "type": "address"
1269
+ },
1270
+ {
1271
+ "internalType": "NftId",
1272
+ "name": "policyNftId",
1273
+ "type": "uint96"
1274
+ },
1275
+ {
1276
+ "components": [
1277
+ {
1278
+ "internalType": "NftId",
1279
+ "name": "productNftId",
1280
+ "type": "uint96"
1281
+ },
1282
+ {
1283
+ "internalType": "NftId",
1284
+ "name": "bundleNftId",
1285
+ "type": "uint96"
1286
+ },
1287
+ {
1288
+ "internalType": "RiskId",
1289
+ "name": "riskId",
1290
+ "type": "bytes8"
1291
+ },
1292
+ {
1293
+ "internalType": "Amount",
1294
+ "name": "sumInsuredAmount",
1295
+ "type": "uint96"
1296
+ },
1297
+ {
1298
+ "internalType": "Amount",
1299
+ "name": "premiumAmount",
1300
+ "type": "uint96"
1301
+ },
1302
+ {
1303
+ "internalType": "ReferralId",
1304
+ "name": "referralId",
1305
+ "type": "bytes8"
1306
+ },
1307
+ {
1308
+ "internalType": "uint16",
1309
+ "name": "claimsCount",
1310
+ "type": "uint16"
1311
+ },
1312
+ {
1313
+ "internalType": "uint16",
1314
+ "name": "openClaimsCount",
1315
+ "type": "uint16"
1316
+ },
1317
+ {
1318
+ "internalType": "Amount",
1319
+ "name": "claimAmount",
1320
+ "type": "uint96"
1321
+ },
1322
+ {
1323
+ "internalType": "Amount",
1324
+ "name": "payoutAmount",
1325
+ "type": "uint96"
1326
+ },
1327
+ {
1328
+ "internalType": "Timestamp",
1329
+ "name": "activatedAt",
1330
+ "type": "uint40"
1331
+ },
1332
+ {
1333
+ "internalType": "Seconds",
1334
+ "name": "lifetime",
1335
+ "type": "uint40"
1336
+ },
1337
+ {
1338
+ "internalType": "Timestamp",
1339
+ "name": "expiredAt",
1340
+ "type": "uint40"
1341
+ },
1342
+ {
1343
+ "internalType": "Timestamp",
1344
+ "name": "closedAt",
1345
+ "type": "uint40"
1346
+ },
1347
+ {
1348
+ "internalType": "bytes",
1349
+ "name": "applicationData",
1350
+ "type": "bytes"
1351
+ },
1352
+ {
1353
+ "internalType": "bytes",
1354
+ "name": "processData",
1355
+ "type": "bytes"
1356
+ }
1357
+ ],
1358
+ "internalType": "struct IPolicy.PolicyInfo",
1359
+ "name": "policyInfo",
1360
+ "type": "tuple"
1361
+ }
1362
+ ],
1363
+ "name": "releaseCollateral",
1364
+ "outputs": [],
1365
+ "stateMutability": "nonpayable",
1366
+ "type": "function"
1367
+ },
1368
+ {
1369
+ "inputs": [
1370
+ {
1371
+ "internalType": "address",
1372
+ "name": "newAuthority",
1373
+ "type": "address"
1374
+ }
1375
+ ],
1376
+ "name": "setAuthority",
1377
+ "outputs": [],
1378
+ "stateMutability": "nonpayable",
1379
+ "type": "function"
1380
+ },
1381
+ {
1382
+ "inputs": [
1383
+ {
1384
+ "internalType": "Amount",
1385
+ "name": "maxBalanceAmount",
1386
+ "type": "uint96"
1387
+ }
1388
+ ],
1389
+ "name": "setMaxBalanceAmount",
1390
+ "outputs": [],
1391
+ "stateMutability": "nonpayable",
1392
+ "type": "function"
1393
+ },
1394
+ {
1395
+ "inputs": [
1396
+ {
1397
+ "internalType": "NftId",
1398
+ "name": "bundleNftId",
1399
+ "type": "uint96"
1400
+ },
1401
+ {
1402
+ "internalType": "Amount",
1403
+ "name": "amount",
1404
+ "type": "uint96"
1405
+ }
1406
+ ],
1407
+ "name": "stake",
1408
+ "outputs": [
1409
+ {
1410
+ "internalType": "Amount",
1411
+ "name": "netAmount",
1412
+ "type": "uint96"
1413
+ }
1414
+ ],
1415
+ "stateMutability": "nonpayable",
1416
+ "type": "function"
1417
+ },
1418
+ {
1419
+ "inputs": [
1420
+ {
1421
+ "internalType": "bytes4",
1422
+ "name": "interfaceId",
1423
+ "type": "bytes4"
1424
+ }
1425
+ ],
1426
+ "name": "supportsInterface",
1427
+ "outputs": [
1428
+ {
1429
+ "internalType": "bool",
1430
+ "name": "",
1431
+ "type": "bool"
1432
+ }
1433
+ ],
1434
+ "stateMutability": "view",
1435
+ "type": "function"
1436
+ },
1437
+ {
1438
+ "inputs": [
1439
+ {
1440
+ "internalType": "NftId",
1441
+ "name": "bundleNftId",
1442
+ "type": "uint96"
1443
+ },
1444
+ {
1445
+ "internalType": "Amount",
1446
+ "name": "amount",
1447
+ "type": "uint96"
1448
+ }
1449
+ ],
1450
+ "name": "unstake",
1451
+ "outputs": [
1452
+ {
1453
+ "internalType": "Amount",
1454
+ "name": "netAmount",
1455
+ "type": "uint96"
1456
+ }
1457
+ ],
1458
+ "stateMutability": "nonpayable",
1459
+ "type": "function"
1460
+ },
1461
+ {
1462
+ "inputs": [
1463
+ {
1464
+ "internalType": "bytes",
1465
+ "name": "data",
1466
+ "type": "bytes"
1467
+ }
1468
+ ],
1469
+ "name": "upgradeVersionable",
1470
+ "outputs": [],
1471
+ "stateMutability": "nonpayable",
1472
+ "type": "function"
1473
+ },
1474
+ {
1475
+ "inputs": [
1476
+ {
1477
+ "internalType": "NftId",
1478
+ "name": "bundleNftId",
1479
+ "type": "uint96"
1480
+ },
1481
+ {
1482
+ "internalType": "Amount",
1483
+ "name": "amount",
1484
+ "type": "uint96"
1485
+ }
1486
+ ],
1487
+ "name": "withdrawBundleFees",
1488
+ "outputs": [
1489
+ {
1490
+ "internalType": "Amount",
1491
+ "name": "withdrawnAmount",
1492
+ "type": "uint96"
1493
+ }
1494
+ ],
1495
+ "stateMutability": "nonpayable",
1496
+ "type": "function"
1497
+ }
1498
+ ],
1499
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615fc4806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101d1575f3560e01c80636c741e78116100fe5780638fb360371161009e578063bf7e214f1161006e578063bf7e214f1461046a578063d0d63b0914610472578063e1f216fa14610485578063fb3bcd1f14610498575f80fd5b80638fb360371461041b578063ada9652e1461043c578063b68d180914610450578063bca99e3914610457575f80fd5b80637a9e5e4b116100d95780637a9e5e4b146103da57806384d1f7cf146103ed578063893d20e8146104005780638e4a508e14610408575f80fd5b80636c741e781461038d578063750787f5146103ad57806376b707b7146103c0575f80fd5b806326889b091161017457806354e507791161014457806354e50779146103255780635ab1bd5314610338578063644c45e01461035d5780636c1e9dff1461037a575f80fd5b806326889b09146102d7578063329c71c0146102ea578063329d6e74146102ff57806349bb9e4b14610312575f80fd5b8063125510a3116101af578063125510a314610247578063138461e01461027a5780631eff4b221461029a57806322f3e2d4146102cf575f80fd5b806301ffc9a7146101d55780630d8e6e2c146102165780630fec111c14610232575b5f80fd5b6102016101e3366004614acb565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e6104ab565b60405162ffffff909116815260200161020d565b61023a610532565b60405161020d9190614b20565b61025a610255366004614c09565b6106ec565b604080516001600160601b0393841681529290911660208301520161020d565b610282610daf565b6040516001600160601b03909116815260200161020d565b6102c17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b610201610db9565b6102826102e5366004614cad565b610e30565b6102fd6102f8366004614ce4565b6111fd565b005b6102fd61030d366004614e6e565b611449565b6102fd610320366004614e9f565b611593565b610282610333366004614cad565b61168f565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b5f80516020615f2f833981519152546001600160601b0316610282565b610282610388366004614cad565b611ddb565b61039561220a565b6040516001600160401b03909116815260200161020d565b6102fd6103bb366004614f25565b612296565b6103c86125a8565b60405160ff909116815260200161020d565b6102fd6103e83660046150de565b612610565b61025a6103fb3660046150f9565b612696565b610345612a8c565b6102fd610416366004614ce4565b612bbd565b610423612dd1565b6040516001600160e01b0319909116815260200161020d565b6102c15f80516020615f2f83398151915281565b600f6103c8565b6102fd610465366004614ce4565b612e06565b61034561301d565b6102fd610480366004614ce4565b613038565b6102fd610493366004615177565b613517565b6102fd6104a63660046151bf565b6138a7565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610509573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190615349565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106029190615376565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161064a612a8c565b6001600160a01b0316815260200182600101805461066790615391565b80601f016020809104026020016040519081016040528092919081815260200182805461069390615391565b80156106de5780601f106106b5576101008083540402835291602001916106de565b820191905f5260205f20905b8154815290600101906020018083116106c157829003601f168201915b505050505081525091505090565b5f806106fa335b5f36613b91565b610705876015613c8f565b5f6107186001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03891660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa158015610765573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107899190615376565b905060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a28b838873__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081c9190615376565b6040518563ffffffff1660e01b815260040161083b94939291906153c9565b5f604051808303815f87803b158015610852575f80fd5b505af1158015610864573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b031663899cc04c8b898873__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156108d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f99190615376565b6040518563ffffffff1660e01b815260040161091894939291906153c9565b5f604051808303815f87803b15801561092f575f80fd5b505af1158015610941573d5f803e3d5ffd5b505060035460405163ad328d9f60e01b81526001600160a01b03909116925063ad328d9f915061097b908d908c908c908b906004016153c9565b5f604051808303815f87803b158015610992575f80fd5b505af11580156109a4573d5f803e3d5ffd5b505060405163a310e2a360e01b81526001600160601b03841660048201525f92506001600160a01b038e16915063a310e2a390602401602060405180830381865afa1580156109f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1991906153fb565b905060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b8d6001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9e9190615376565b836001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906153fb565b896040518463ffffffff1660e01b8152600401610b1d93929190615416565b6020604051808303815f875af1158015610b39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5d9190615376565b5073__$19db5f0436f9beab06d91aaebdafaf50ff$__63c9e90bf2610b8a6001546001600160a01b031690565b8e848e8e8d8d8d6040518963ffffffff1660e01b8152600401610c059897969594939291906001600160a01b039889168152968816602088015294871660408701526001600160601b039384166060870152918316608086015264ffffffffff1660a08501521660c083015290911660e08201526101000190565b6040805180830381865af4158015610c1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c439190615442565b6040516330b8415f60e01b81526001600160601b0382166004820152919550935073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610c9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc2919061547e565b15610d2957600254604051631bb297cd60e31b81526001600160a01b039091169063dd94be6890610cfb908e908e908890600401615497565b5f604051808303815f87803b158015610d12575f80fd5b505af1158015610d24573d5f803e3d5ffd5b505050505b604080516001600160601b0384811682528a811660208301528b81168284015264ffffffffff8a1660608301528681166080830152851660a08201526001600160a01b03871660c082015290517f28706c9692bea807fac7a4f471049774c7ef8746d3b527027de7918be6914ac89181900360e00190a150509850989650505050505050565b5f61052d30613dc3565b5f610dc261301d565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610e06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2a919061547e565b15905090565b5f610e3a336106f3565b5f805f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__631b04bdc8610e6a6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526001600160601b038a16604482015260640161016060405180830381865af4158015610ec2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ee69190615558565b50600354604051631696791160e11b815294985092965090945092505f916001600160a01b0390911690632d2cf22290610f289087908c908c90600401615497565b6020604051808303815f875af1158015610f44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f689190615376565b905080955060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a285848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ffe9190615376565b6040518563ffffffff1660e01b815260040161101d94939291906153c9565b5f604051808303815f87803b158015611034575f80fd5b505af1158015611046573d5f803e3d5ffd5b505050507f1486849121d5ae771349472444bdddfe08862a6644665b5fd7ed4cf14a51db7883838a848a6040516110819594939291906155c6565b60405180910390a16040516357f80bbf60e01b81526001600160601b03831660048201526001600160a01b038616906357f80bbf9060240160e060405180830381865afa1580156110d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f891906155f8565b60a001516111f2575f6111136001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611160573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061118491906153fb565b60405163e073590160e01b815290915073__$19db5f0436f9beab06d91aaebdafaf50ff$__9063e0735901906111c4908990879086908d9060040161561d565b5f6040518083038186803b1580156111da575f80fd5b505af41580156111ec573d5f803e3d5ffd5b50505050505b505050505092915050565b611206336106f3565b5f80611210614019565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611251573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061127591906153fb565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa1580156112c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112e791906155f8565b60a001516113185760405163664958ad60e01b81526001600160601b03841660048201526024015b60405180910390fd5b5f61132b6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611378573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139c91906153fb565b90507ff93784364e35bd9d02fb31e12793254279ee0381ed65b4fa39ee297b22fdd79a8482876040516113d193929190615416565b60405180910390a160405163e073590160e01b815273__$19db5f0436f9beab06d91aaebdafaf50ff$__9063e073590190611416908590889086908b9060040161561d565b5f6040518083038186803b15801561142c575f80fd5b505af415801561143e573d5f803e3d5ffd5b505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61146b6104ab565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156114a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cd9190615664565b5f80516020615f6f8339815191528054600160401b900460ff16806114ff575080546001600160401b03808416911610155b1561151d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611547836140ba565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020615f6f8339815191528054600160401b810460ff1615906001600160401b03165f811580156115c45750825b90505f826001600160401b031660011480156115df5750303b155b9050811580156115ed575080155b1561160b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561163557845460ff60401b1916600160401b1785555b61163f87876140db565b831561168657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f611699336106f3565b6116a4836016613c8f565b5f806116ae614019565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ef573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061171391906153fb565b9050849350836001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611785573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a99190615376565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156117f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611816919061547e565b1561189157604051630232ca4960e01b81526001600160601b03871660048201526001600160a01b03821690630232ca4990602401602060405180830381865afa158015611866573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188a9190615376565b93506119ad565b604051630232ca4960e01b81526001600160601b038716600482015261190b9085906001600160a01b03841690630232ca4990602401602060405180830381865afa1580156118e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119069190615376565b6142f3565b156119ad57604051630232ca4960e01b81526001600160601b038716600482015284906001600160a01b03831690630232ca4990602401602060405180830381865afa15801561195d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119819190615376565b604051637a2a246360e01b81526001600160601b0392831660048201529116602482015260440161130f565b5f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119ea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a0e91906153fb565b905060025f9054906101000a90046001600160a01b03166001600160a01b031663899cc04c828973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611a7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aa09190615376565b896040518563ffffffff1660e01b8152600401611ac094939291906153c9565b5f604051808303815f87803b158015611ad7575f80fd5b505af1158015611ae9573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a282868873__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7e9190615376565b6040518563ffffffff1660e01b8152600401611b9d94939291906153c9565b5f604051808303815f87803b158015611bb4575f80fd5b505af1158015611bc6573d5f803e3d5ffd5b50505050505f611bde6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03891660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611c2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4f91906153fb565b60405163a310e2a360e01b81526001600160601b03861660048201529091505f906001600160a01b0384169063a310e2a390602401602060405180830381865afa158015611c9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cc391906153fb565b90505f816001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d02573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d2691906153fb565b604080516001600160601b038c811682526001600160a01b0387811660208401528416828401528a16606082015290519192507f5570b1fde7a6e4fe77febc49a50067a02fef8b1b067f94740877b4f7d2239d8f919081900360800190a16040516333f6af9b60e11b81526001600160a01b038316906367ed5f3690611db29086908b9060040161567f565b5f604051808303815f87803b158015611dc9575f80fd5b505af11580156111ec573d5f803e3d5ffd5b5f611de5336106f3565b5f805f805f73__$19db5f0436f9beab06d91aaebdafaf50ff$__631b04bdc8611e166001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526001600160601b038b16604482015260640161016060405180830381865af4158015611e6e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e929190615558565b6040516308a390bb60e21b81526001600160601b0383166004820152949950929750909550935091505f906001600160a01b0387169063228e42ec90602401602060405180830381865afa158015611eec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f109190615376565b9050611f26611f1f828a61437f565b83516142f3565b15611f6a57815160405163b806175d60e01b81526001600160601b03808616600483015291821660248201528183166044820152908916606482015260840161130f565b505f73__$19db5f0436f9beab06d91aaebdafaf50ff$__63d775bd0a611f986001546001600160a01b031690565b88868c6040518563ffffffff1660e01b8152600401611fba94939291906156a1565b6040805180830381865af4158015611fd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ff89190615442565b60025460405163d56cd3d560e01b81529199509192506001600160a01b039091169063d56cd3d59061203490889087908c9087906004016153c9565b5f604051808303815f87803b15801561204b575f80fd5b505af115801561205d573d5f803e3d5ffd5b505060035460405163c548949d60e01b81526001600160a01b03909116925063c548949d915061209790899089908e908d906004016156a1565b5f604051808303815f87803b1580156120ae575f80fd5b505af11580156120c0573d5f803e3d5ffd5b505050507fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b414584848b8b8b6040516120fb9594939291906155c6565b60405180910390a18160a001516121fe575f61211f6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038c1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561216c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219091906153fb565b60405163810fbd7560e01b815290915073__$19db5f0436f9beab06d91aaebdafaf50ff$__9063810fbd75906121d0908a90889086908f9060040161561d565b5f6040518083038186803b1580156121e6575f80fd5b505af41580156121f8573d5f803e3d5ffd5b50505050505b50505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600f61222f6125a8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015612272573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190615664565b61229f336106f3565b6122aa826015613c8f565b5f6122be8260600151836101000151614404565b905060035f9054906101000a90046001600160a01b03166001600160a01b031663ad328d9f856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561231f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061234391906153fb565b858560200151856040518563ffffffff1660e01b815260040161236994939291906153c9565b5f604051808303815f87803b158015612380575f80fd5b505af1158015612392573d5f803e3d5ffd5b505050505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f791906153fb565b905060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015612458573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247c9190615376565b855160405163037efc5960e61b81526001600160601b0390911660048201526001600160a01b0385169063dfbf164090602401602060405180830381865afa1580156124ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124ee91906153fb565b856040518463ffffffff1660e01b815260040161250d93929190615416565b6020604051808303815f875af1158015612529573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061254d9190615376565b50602083810151604080516001600160601b0392831681528783169381019390935290841682820152517fbc6be91fd22e69f94bdd1976de7eee45121482e27cc577bc10329f836be76a4f9181900360600190a15050505050565b5f6125b161301d565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d91906156ee565b3361261961301d565b6001600160a01b0316816001600160a01b0316146126545760405162d1953b60e31b81526001600160a01b038216600482015260240161130f565b816001600160a01b03163b5f03612689576040516361798f2f60e11b81526001600160a01b038316600482015260240161130f565b6126928261444e565b5050565b5f806126a1336106f3565b6126ac86600c613c8f565b6126b7856015613c8f565b6126c2846016613c8f565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6381c0eb6c8b6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561271a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061273e91906153fb565b8a886040518463ffffffff1660e01b815260040161275e93929190615497565b608060405180830381865af4158015612779573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061279d9190615709565b600354604051634adcf90960e01b81529398509196509294509192506001600160a01b0390911690634adcf909906127df908d908b908b9089906004016153c9565b5f604051808303815f87803b1580156127f6575f80fd5b505af1158015612808573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561286b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061288f9190615376565b8b876040518463ffffffff1660e01b81526004016128af93929190615416565b6020604051808303815f875af11580156128cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ef9190615376565b508015612a40575f6129096001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015612956573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061297a91906153fb565b604051634deed57960e01b81526001600160601b03808b166004830152808a166024830152871660448201529091506001600160a01b03821690634deed579906064015f604051808303815f87803b1580156129d4575f80fd5b505af11580156129e6573d5f803e3d5ffd5b5050604080516001600160601b0387811682528b811660208301528c8116828401528916606082015290517f6c23de2cbade351ab10fe6b009f74e634e44d95ace4e5048cd0eecf9060265c89350908190036080019150a1505b7fb5fc4a79e60dffb5ff6cc29b173a75c6b222e41bbe851a33d9b383c08dc091c98287898787604051612a779594939291906155c6565b60405180910390a15050965096945050505050565b5f805f80516020615f2f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612af8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b1c919061547e565b15612ba7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612b7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ba191906153fb565b91505090565b54600160601b90046001600160a01b0316919050565b612bc6336106f3565b5f80612bd0614019565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c3591906153fb565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa158015612c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ca791906155f8565b60a00151612cd35760405163664958ad60e01b81526001600160601b038416600482015260240161130f565b5f612ce66001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612d33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d5791906153fb565b90507f67e4007a2396f32c2c58b0546d5dc80e8097a965b3de4127c33f3610864416bd848287604051612d8c93929190615416565b60405180910390a160405163810fbd7560e01b815273__$19db5f0436f9beab06d91aaebdafaf50ff$__9063810fbd7590611416908590889086908b9060040161561d565b5f80516020615f4f83398151915280545f9190600160a01b900460ff16612df8575f612ba1565b638fb3603760e01b91505090565b612e0f336106f3565b5f80612e19614019565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e7e91906153fb565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240160e060405180830381865afa158015612ece573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ef291906155f8565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa158015612f48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f6c91906153fb565b6001600160a01b03166396f4df2f868460ff6040518463ffffffff1660e01b8152600401612f9c93929190615762565b5f604051808303815f87803b158015612fb3575f80fd5b505af1158015612fc5573d5f803e3d5ffd5b5050604080516001600160601b03898116825285811660208301528a168183015290517f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9350908190036060019150a1505050505050565b5f80516020615f4f833981519152546001600160a01b031690565b613041336106f3565b61304c816016613c8f565b5f80613056614019565b600354604051632aa6b2cb60e21b81529294509092505f9182916001600160a01b03169063aa9acb2c90613090908690899060040161567f565b60408051808303815f875af11580156130ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130cf9190615442565b9150915060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015613132573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061315691906153fb565b86613161868661437f565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156131a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131cc9190615376565b6040518563ffffffff1660e01b81526004016131eb94939291906153c9565b5f604051808303815f87803b158015613202575f80fd5b505af1158015613214573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613275573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132999190615376565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a16132ce828261437f565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015613325573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613349919061547e565b15613510575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561338b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133af91906153fb565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa1580156133fb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134229190810190615847565b905080602001516001600160a01b03166367ed5f366134496001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038a1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015613496573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134ba91906153fb565b6134c4868661437f565b6040518363ffffffff1660e01b81526004016134e192919061567f565b5f604051808303815f87803b1580156134f8575f80fd5b505af115801561350a573d5f803e3d5ffd5b50505050505b5050505050565b613520336106f3565b61352b836015613c8f565b5f80613535614019565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613576573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061359a91906153fb565b90505f6135af6001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03861660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa1580156135fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136209190615376565b60405163bd7d9d8560e01b81526001600160601b03891660048201529091505f906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa15801561366f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526136969190810190615922565b90506136a5815f0151836144ae565b156136e1578051604051636083e75360e01b81526001600160601b03808b1660048301529182166024820152908316604482015260640161130f565b604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f6a2b4f9e8a4bb9038617a047352d25c5ac3c64c4aaba95e576b978a91b6666fb9181900360600190a16040516302d764c760e21b81526001600160601b03831660048201526001600160a01b03841690630b5d931c906024015f60405180830381865afa158015613778573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261379f9190810190615b3d565b511561389d575f6137b86001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015613805573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061382991906153fb565b6040516370f90b7d60e11b81526001600160601b03808c16600483015261ffff8b166024830152891660448201529091506001600160a01b0382169063e1f216fa906064015f604051808303815f87803b158015613885575f80fd5b505af1158015613897573d5f803e3d5ffd5b50505050505b5050505050505050565b6138b0336106f3565b6138bb826016613c8f565b5f6138ce6001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03851660048201529091505f906001600160a01b0383169063cefa7fd690602401602060405180830381865afa15801561391e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139429190615376565b60405163c52721a360e01b81526001600160a01b03841660048201526001600160601b0382166024820152600160448201529091505f9073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063c52721a3906064015f60405180830381865af41580156139b2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526139d99190810190615c1f565b9150505f8190505f6139f48660e0015187610160015161437f565b90505f613a0b87610100015188610180015161437f565b90505f876060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a7691906153fb565b6002549091506001600160a01b031663d56cd3d58289613a96868861437f565b886040518563ffffffff1660e01b8152600401613ab694939291906153c9565b5f604051808303815f87803b158015613acd575f80fd5b505af1158015613adf573d5f803e3d5ffd5b50506002546040516317bb009960e21b81526001600160a01b039091169250635eec02649150613b199084908e90879089906004016153c9565b5f604051808303815f87803b158015613b30575f80fd5b505af1158015613b42573d5f803e3d5ffd5b505050507fe576d34ae9e41588783e58480f9c2d6ab599d21d76f09a165251fbaf831706f6878b848688604051613b7d9594939291906155c6565b60405180910390a150505050505050505050565b5f80516020615f4f8339815191525f80613bc9613bac61301d565b8730613bbb60045f8a8c615d01565b613bc491615d28565b6144f8565b9150915081613c875763ffffffff811615613c6457825460ff60a01b1916600160a01b178355613bf761301d565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401613c2693929190615d60565b5f604051808303815f87803b158015613c3d575f80fd5b505af1158015613c4f573d5f803e3d5ffd5b5050845460ff60a01b1916855550613c879050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161130f565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015613cdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d03919061547e565b80613d9157506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015613d6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d8f919061547e565b155b156126925760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161130f565b5f805f80516020615f2f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613e2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e53919061547e565b15613e7f5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161130f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613ed1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ef5919061547e565b613f1d5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161130f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613f6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613f939190615376565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490613fdf612a8c565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86140476001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af415801561408e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140b29190615d9f565b915091509091565b6140c2614600565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020615f6f8339815191528054600160401b810460ff1615906001600160401b03165f8115801561410c5750825b90505f826001600160401b031660011480156141275750303b155b905081158015614135575080155b156141535760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561417d57845460ff60401b1916600160401b1785555b5f80878060200190518101906141939190615dcc565b915091506141a282828b614638565b6141ac60286146da565b600280546001600160a01b0319166001600160a01b03929092169190911790556141d660166146da565b600380546001600160a01b0319166001600160a01b0392909216919091179055614200600b6146da565b600480546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561425b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061427f91906153fb565b600580546001600160a01b0319166001600160a01b03929092169190911790556142af6337903e8d60e01b614771565b5050831561168657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161167d565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af4158015614354573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614378919061547e565b9392505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af41580156143e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906143789190615376565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016143c5565b5f80516020615f4f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401614339565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516145669190615de8565b5f60405180830381855afa9150503d805f811461459e576040519150601f19603f3d011682016040523d82523d5f602084013e6145a3565b606091505b509150915081156145f55760408151106145d557808060200190518101906145cb9190615dfe565b90945092506145f5565b60208151106145f557808060200190518101906145f2919061547e565b93505b505094509492505050565b5f80516020615f6f83398151915254600160401b900460ff1661463657604051631afcd79f60e31b815260040160405180910390fd5b565b614640614600565b6146486147a4565b6146c58383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015614689573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146ad9190615376565b60085f8660405180602001604052805f8152506147b4565b6146d563daf9067160e01b614771565b505050565b5f6146ed6001546001600160a01b031690565b6001600160a01b031663d39e6043836147046125a8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614747573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061476b91906153fb565b92915050565b614779614600565b6147a1816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6147ac614600565b6146366148f1565b6147bc614600565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015614812573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614836919061547e565b61485e5760405163cf6935e560e01b81526001600160a01b038816600482015260240161130f565b6148678761491f565b6148718683614930565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016148e08382615e74565b5061389d634a531f3360e01b614771565b6148f9614600565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b614927614600565b6147a1816149a6565b614938614600565b6149406149b7565b614949826149ff565b6001600160a01b0381166149705760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615f2f83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6149ae614600565b6147a18161444e565b6149bf614600565b6146366301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b614a07614600565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614a5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614a81919061547e565b614aa95760405163fdeac91f60e01b81526001600160a01b038216600482015260240161130f565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215614adb575f80fd5b81356001600160e01b031981168114614378575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614b68608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614bac610100840182614af2565b949350505050565b6001600160a01b03811681146147a1575f80fd5b6001600160601b03811681146147a1575f80fd5b8035614be781614bc8565b919050565b64ffffffffff811681146147a1575f80fd5b8035614be781614bec565b5f805f805f805f80610100898b031215614c21575f80fd5b8835614c2c81614bb4565b97506020890135614c3c81614bb4565b96506040890135614c4c81614bc8565b95506060890135614c5c81614bc8565b94506080890135614c6c81614bc8565b935060a0890135614c7c81614bec565b925060c0890135614c8c81614bc8565b915060e0890135614c9c81614bb4565b809150509295985092959890939650565b5f8060408385031215614cbe575f80fd5b8235614cc981614bc8565b91506020830135614cd981614bc8565b809150509250929050565b5f60208284031215614cf4575f80fd5b813561437881614bc8565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b0381118282101715614d3657614d36614cff565b60405290565b60405161024081016001600160401b0381118282101715614d3657614d36614cff565b60405160e081016001600160401b0381118282101715614d3657614d36614cff565b604051606081016001600160401b0381118282101715614d3657614d36614cff565b60405161010081016001600160401b0381118282101715614d3657614d36614cff565b604051601f8201601f191681016001600160401b0381118282101715614dee57614dee614cff565b604052919050565b5f6001600160401b03821115614e0e57614e0e614cff565b50601f01601f191660200190565b5f82601f830112614e2b575f80fd5b8135614e3e614e3982614df6565b614dc6565b818152846020838601011115614e52575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614e7e575f80fd5b81356001600160401b03811115614e93575f80fd5b614bac84828501614e1c565b5f8060408385031215614eb0575f80fd5b8235614ebb81614bb4565b915060208301356001600160401b03811115614ed5575f80fd5b614ee185828601614e1c565b9150509250929050565b6001600160c01b0319811681146147a1575f80fd5b8035614be781614eeb565b61ffff811681146147a1575f80fd5b8035614be781614f0b565b5f805f60608486031215614f37575f80fd5b8335614f4281614bb4565b92506020840135614f5281614bc8565b915060408401356001600160401b03811115614f6c575f80fd5b84016102008187031215614f7e575f80fd5b614f86614d13565b614f8f82614bdc565b8152614f9d60208301614bdc565b6020820152614fae60408301614f00565b6040820152614fbf60608301614bdc565b6060820152614fd060808301614bdc565b6080820152614fe160a08301614f00565b60a0820152614ff260c08301614f1a565b60c082015261500360e08301614f1a565b60e08201526150156101008301614bdc565b6101008201526150286101208301614bdc565b61012082015261503b6101408301614bfe565b61014082015261504e6101608301614bfe565b6101608201526150616101808301614bfe565b6101808201526150746101a08301614bfe565b6101a08201526101c08201356001600160401b03811115615093575f80fd5b61509f88828501614e1c565b6101c0830152506101e08201356001600160401b038111156150bf575f80fd5b6150cb88828501614e1c565b6101e08301525080925050509250925092565b5f602082840312156150ee575f80fd5b813561437881614bb4565b5f805f805f8060c0878903121561510e575f80fd5b863561511981614bb4565b9550602087013561512981614bb4565b9450604087013561513981614bc8565b9350606087013561514981614bc8565b9250608087013561515981614bc8565b915060a087013561516981614bc8565b809150509295509295509295565b5f805f60608486031215615189575f80fd5b833561519481614bc8565b925060208401356151a481614f0b565b915060408401356151b481614bc8565b809150509250925092565b5f808284036102608112156151d2575f80fd5b83356151dd81614bc8565b9250610240601f19820112156151f1575f80fd5b506151fa614d3c565b61520660208501614bdc565b815261521460408501614bdc565b602082015261522560608501614bdc565b604082015261523660808501614bdc565b606082015261524760a08501614bdc565b608082015261525860c08501614bdc565b60a082015261526960e08501614bdc565b60c082015261527b6101008501614bdc565b60e082015261528d6101208501614bdc565b6101008201526152a06101408501614bdc565b6101208201526152b36101608501614bdc565b6101408201526152c66101808501614bdc565b6101608201526152d96101a08501614bdc565b6101808201526152ec6101c08501614bdc565b6101a08201526152ff6101e08501614bdc565b6101c08201526153126102008501614bdc565b6101e08201526153256102208501614bdc565b6102008201526153386102408501614bdc565b610220820152809150509250929050565b5f60208284031215615359575f80fd5b815162ffffff81168114614378575f80fd5b8051614be781614bc8565b5f60208284031215615386575f80fd5b815161437881614bc8565b600181811c908216806153a557607f821691505b6020821081036153c357634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b5f6020828403121561540b575f80fd5b815161437881614bb4565b6001600160601b0393841681526001600160a01b03929092166020830152909116604082015260600190565b5f8060408385031215615453575f80fd5b825161545e81614bc8565b6020840151909250614cd981614bc8565b80518015158114614be7575f80fd5b5f6020828403121561548e575f80fd5b6143788261546f565b6001600160a01b039390931683526001600160601b03918216602084015216604082015260600190565b5f60e082840312156154d1575f80fd5b6154d9614d5f565b905081516154e681614bc8565b815260208201516154f681614bb4565b6020820152604082015161550981614bb4565b604082015261551a6060830161546f565b606082015261552b6080830161546f565b608082015261553c60a0830161546f565b60a082015261554d60c0830161546f565b60c082015292915050565b5f805f805f610160868803121561556d575f80fd5b855161557881614bb4565b602087015190955061558981614bb4565b604087015190945061559a81614bc8565b60608701519093506155ab81614bc8565b91506155ba87608088016154c1565b90509295509295909350565b6001600160601b0395861681529385166020850152918416604084015283166060830152909116608082015260a00190565b5f60e08284031215615608575f80fd5b61437883836154c1565b8051614be781614bb4565b6001600160a01b0394851681526001600160601b0393841660208201529190931660408201529116606082015260800190565b6001600160401b03811681146147a1575f80fd5b5f60208284031215615674575f80fd5b815161437881615650565b6001600160a01b039290921682526001600160601b0316602082015260400190565b6001600160a01b0394851681529290931660208301526001600160601b039081166040830152909116606082015260800190565b60ff811681146147a1575f80fd5b8051614be7816156d5565b5f602082840312156156fe575f80fd5b8151614378816156d5565b5f805f806080858703121561571c575f80fd5b845161572781614bc8565b602086015190945061573881614bc8565b604086015190935061574981614bc8565b91506157576060860161546f565b905092959194509250565b5f610120820190506001600160601b03851682526001600160601b03845116602083015260018060a01b03602085015116604083015260018060a01b03604085015116606083015260608401511515608083015260808401516157c960a084018215159052565b5060a0840151151560c083810191909152840151151560e083015260ff8316610100830152614bac565b5f615800614e3984614df6565b9050828152838383011115615813575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112615838575f80fd5b614378838351602085016157f3565b5f60208284031215615857575f80fd5b81516001600160401b0381111561586c575f80fd5b82016060818503121561587d575f80fd5b615885614d81565b81516001600160401b0381111561589a575f80fd5b8201601f810186136158aa575f80fd5b6158b9868251602084016157f3565b82525060208201516158ca81614bb4565b602082015260408201516001600160401b038111156158e7575f80fd5b6158f386828501615829565b604083015250949350505050565b8051614be781614eeb565b8051614be781614f0b565b8051614be781614bec565b5f60208284031215615932575f80fd5b81516001600160401b03811115615947575f80fd5b82016102008185031215615959575f80fd5b615961614d13565b61596a8261536b565b81526159786020830161536b565b602082015261598960408301615901565b604082015261599a6060830161536b565b60608201526159ab6080830161536b565b60808201526159bc60a08301615901565b60a08201526159cd60c0830161590c565b60c08201526159de60e0830161590c565b60e08201526159f0610100830161536b565b610100820152615a03610120830161536b565b610120820152615a166101408301615917565b610140820152615a296101608301615917565b610160820152615a3c6101808301615917565b610180820152615a4f6101a08301615917565b6101a08201526101c08201516001600160401b03811115615a6e575f80fd5b615a7a86828501615829565b6101c0830152506101e08201516001600160401b03811115615a9a575f80fd5b615aa686828501615829565b6101e083015250949350505050565b5f82601f830112615ac4575f80fd5b81516001600160401b03811115615add57615add614cff565b8060051b615aed60208201614dc6565b91825260208185018101929081019086841115615b08575f80fd5b6020860192505b83831015615b33578251615b2281614bc8565b825260209283019290910190615b0f565b9695505050505050565b5f60208284031215615b4d575f80fd5b81516001600160401b03811115615b62575f80fd5b82016101008185031215615b74575f80fd5b615b7c614da3565b615b858261546f565b8152615b936020830161546f565b6020820152615ba46040830161546f565b6040820152615bb5606083016156e3565b6060820152615bc6608083016156e3565b6080820152615bd760a0830161536b565b60a0820152615be860c0830161536b565b60c082015260e08201516001600160401b03811115615c05575f80fd5b615c1186828501615ab5565b60e083015250949350505050565b5f8060408385031215615c30575f80fd5b82516001600160401b03811115615c45575f80fd5b830160e08186031215615c56575f80fd5b615c5e614d5f565b615c678261536b565b8152615c756020830161536b565b6020820152615c86604083016156e3565b6040820152615c976060830161546f565b6060820152615ca860808301615612565b6080820152615cb960a08301615612565b60a082015260c08201516001600160401b03811115615cd6575f80fd5b615ce287828501615829565b60c0830152509250615cf8905060208401615612565b90509250929050565b5f8085851115615d0f575f80fd5b83861115615d1b575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615d59576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215615db0575f80fd5b8251615dbb81614bc8565b6020840151909250614cd981614bb4565b5f8060408385031215615ddd575f80fd5b8251615dbb81614bb4565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615e0f575f80fd5b615e188361546f565b9150602083015163ffffffff81168114614cd9575f80fd5b601f8211156146d557805f5260205f20601f840160051c81016020851015615e555750805b601f840160051c820191505b81811015613510575f8155600101615e61565b81516001600160401b03811115615e8d57615e8d614cff565b615ea181615e9b8454615391565b84615e30565b6020601f821160018114615ed3575f8315615ebc5750848201515b5f19600385901b1c1916600184901b178455613510565b5f84815260208120601f198516915b82811015615f025787850151825560209485019460019092019101615ee2565b5084821015615f1f57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200d9e72a8862f7da80fbf9987a78cc7dfd71c998b42e3ea92b26107b72aab835164736f6c634300081a0033",
1500
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101d1575f3560e01c80636c741e78116100fe5780638fb360371161009e578063bf7e214f1161006e578063bf7e214f1461046a578063d0d63b0914610472578063e1f216fa14610485578063fb3bcd1f14610498575f80fd5b80638fb360371461041b578063ada9652e1461043c578063b68d180914610450578063bca99e3914610457575f80fd5b80637a9e5e4b116100d95780637a9e5e4b146103da57806384d1f7cf146103ed578063893d20e8146104005780638e4a508e14610408575f80fd5b80636c741e781461038d578063750787f5146103ad57806376b707b7146103c0575f80fd5b806326889b091161017457806354e507791161014457806354e50779146103255780635ab1bd5314610338578063644c45e01461035d5780636c1e9dff1461037a575f80fd5b806326889b09146102d7578063329c71c0146102ea578063329d6e74146102ff57806349bb9e4b14610312575f80fd5b8063125510a3116101af578063125510a314610247578063138461e01461027a5780631eff4b221461029a57806322f3e2d4146102cf575f80fd5b806301ffc9a7146101d55780630d8e6e2c146102165780630fec111c14610232575b5f80fd5b6102016101e3366004614acb565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e6104ab565b60405162ffffff909116815260200161020d565b61023a610532565b60405161020d9190614b20565b61025a610255366004614c09565b6106ec565b604080516001600160601b0393841681529290911660208301520161020d565b610282610daf565b6040516001600160601b03909116815260200161020d565b6102c17f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b610201610db9565b6102826102e5366004614cad565b610e30565b6102fd6102f8366004614ce4565b6111fd565b005b6102fd61030d366004614e6e565b611449565b6102fd610320366004614e9f565b611593565b610282610333366004614cad565b61168f565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b5f80516020615f2f833981519152546001600160601b0316610282565b610282610388366004614cad565b611ddb565b61039561220a565b6040516001600160401b03909116815260200161020d565b6102fd6103bb366004614f25565b612296565b6103c86125a8565b60405160ff909116815260200161020d565b6102fd6103e83660046150de565b612610565b61025a6103fb3660046150f9565b612696565b610345612a8c565b6102fd610416366004614ce4565b612bbd565b610423612dd1565b6040516001600160e01b0319909116815260200161020d565b6102c15f80516020615f2f83398151915281565b600f6103c8565b6102fd610465366004614ce4565b612e06565b61034561301d565b6102fd610480366004614ce4565b613038565b6102fd610493366004615177565b613517565b6102fd6104a63660046151bf565b6138a7565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610509573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190615349565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106029190615376565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161064a612a8c565b6001600160a01b0316815260200182600101805461066790615391565b80601f016020809104026020016040519081016040528092919081815260200182805461069390615391565b80156106de5780601f106106b5576101008083540402835291602001916106de565b820191905f5260205f20905b8154815290600101906020018083116106c157829003601f168201915b505050505081525091505090565b5f806106fa335b5f36613b91565b610705876015613c8f565b5f6107186001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03891660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa158015610765573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107899190615376565b905060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a28b838873__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107f8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081c9190615376565b6040518563ffffffff1660e01b815260040161083b94939291906153c9565b5f604051808303815f87803b158015610852575f80fd5b505af1158015610864573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b031663899cc04c8b898873__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156108d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f99190615376565b6040518563ffffffff1660e01b815260040161091894939291906153c9565b5f604051808303815f87803b15801561092f575f80fd5b505af1158015610941573d5f803e3d5ffd5b505060035460405163ad328d9f60e01b81526001600160a01b03909116925063ad328d9f915061097b908d908c908c908b906004016153c9565b5f604051808303815f87803b158015610992575f80fd5b505af11580156109a4573d5f803e3d5ffd5b505060405163a310e2a360e01b81526001600160601b03841660048201525f92506001600160a01b038e16915063a310e2a390602401602060405180830381865afa1580156109f5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1991906153fb565b905060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b8d6001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9e9190615376565b836001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ada573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afe91906153fb565b896040518463ffffffff1660e01b8152600401610b1d93929190615416565b6020604051808303815f875af1158015610b39573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5d9190615376565b5073__$19db5f0436f9beab06d91aaebdafaf50ff$__63c9e90bf2610b8a6001546001600160a01b031690565b8e848e8e8d8d8d6040518963ffffffff1660e01b8152600401610c059897969594939291906001600160a01b039889168152968816602088015294871660408701526001600160601b039384166060870152918316608086015264ffffffffff1660a08501521660c083015290911660e08201526101000190565b6040805180830381865af4158015610c1f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c439190615442565b6040516330b8415f60e01b81526001600160601b0382166004820152919550935073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015610c9e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc2919061547e565b15610d2957600254604051631bb297cd60e31b81526001600160a01b039091169063dd94be6890610cfb908e908e908890600401615497565b5f604051808303815f87803b158015610d12575f80fd5b505af1158015610d24573d5f803e3d5ffd5b505050505b604080516001600160601b0384811682528a811660208301528b81168284015264ffffffffff8a1660608301528681166080830152851660a08201526001600160a01b03871660c082015290517f28706c9692bea807fac7a4f471049774c7ef8746d3b527027de7918be6914ac89181900360e00190a150509850989650505050505050565b5f61052d30613dc3565b5f610dc261301d565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610e06573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e2a919061547e565b15905090565b5f610e3a336106f3565b5f805f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__631b04bdc8610e6a6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526001600160601b038a16604482015260640161016060405180830381865af4158015610ec2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ee69190615558565b50600354604051631696791160e11b815294985092965090945092505f916001600160a01b0390911690632d2cf22290610f289087908c908c90600401615497565b6020604051808303815f875af1158015610f44573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f689190615376565b905080955060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a285848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610fda573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ffe9190615376565b6040518563ffffffff1660e01b815260040161101d94939291906153c9565b5f604051808303815f87803b158015611034575f80fd5b505af1158015611046573d5f803e3d5ffd5b505050507f1486849121d5ae771349472444bdddfe08862a6644665b5fd7ed4cf14a51db7883838a848a6040516110819594939291906155c6565b60405180910390a16040516357f80bbf60e01b81526001600160601b03831660048201526001600160a01b038616906357f80bbf9060240160e060405180830381865afa1580156110d4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110f891906155f8565b60a001516111f2575f6111136001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611160573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061118491906153fb565b60405163e073590160e01b815290915073__$19db5f0436f9beab06d91aaebdafaf50ff$__9063e0735901906111c4908990879086908d9060040161561d565b5f6040518083038186803b1580156111da575f80fd5b505af41580156111ec573d5f803e3d5ffd5b50505050505b505050505092915050565b611206336106f3565b5f80611210614019565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611251573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061127591906153fb565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa1580156112c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112e791906155f8565b60a001516113185760405163664958ad60e01b81526001600160601b03841660048201526024015b60405180910390fd5b5f61132b6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611378573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061139c91906153fb565b90507ff93784364e35bd9d02fb31e12793254279ee0381ed65b4fa39ee297b22fdd79a8482876040516113d193929190615416565b60405180910390a160405163e073590160e01b815273__$19db5f0436f9beab06d91aaebdafaf50ff$__9063e073590190611416908590889086908b9060040161561d565b5f6040518083038186803b15801561142c575f80fd5b505af415801561143e573d5f803e3d5ffd5b505050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c61146b6104ab565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156114a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cd9190615664565b5f80516020615f6f8339815191528054600160401b900460ff16806114ff575080546001600160401b03808416911610155b1561151d5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155611547836140ba565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020615f6f8339815191528054600160401b810460ff1615906001600160401b03165f811580156115c45750825b90505f826001600160401b031660011480156115df5750303b155b9050811580156115ed575080155b1561160b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561163557845460ff60401b1916600160401b1785555b61163f87876140db565b831561168657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f611699336106f3565b6116a4836016613c8f565b5f806116ae614019565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116ef573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061171391906153fb565b9050849350836001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af4158015611785573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117a99190615376565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156117f2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611816919061547e565b1561189157604051630232ca4960e01b81526001600160601b03871660048201526001600160a01b03821690630232ca4990602401602060405180830381865afa158015611866573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061188a9190615376565b93506119ad565b604051630232ca4960e01b81526001600160601b038716600482015261190b9085906001600160a01b03841690630232ca4990602401602060405180830381865afa1580156118e2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119069190615376565b6142f3565b156119ad57604051630232ca4960e01b81526001600160601b038716600482015284906001600160a01b03831690630232ca4990602401602060405180830381865afa15801561195d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119819190615376565b604051637a2a246360e01b81526001600160601b0392831660048201529116602482015260440161130f565b5f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119ea573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a0e91906153fb565b905060025f9054906101000a90046001600160a01b03166001600160a01b031663899cc04c828973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611a7c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611aa09190615376565b896040518563ffffffff1660e01b8152600401611ac094939291906153c9565b5f604051808303815f87803b158015611ad7575f80fd5b505af1158015611ae9573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a282868873__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611b5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7e9190615376565b6040518563ffffffff1660e01b8152600401611b9d94939291906153c9565b5f604051808303815f87803b158015611bb4575f80fd5b505af1158015611bc6573d5f803e3d5ffd5b50505050505f611bde6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03891660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611c2b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4f91906153fb565b60405163a310e2a360e01b81526001600160601b03861660048201529091505f906001600160a01b0384169063a310e2a390602401602060405180830381865afa158015611c9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cc391906153fb565b90505f816001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d02573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d2691906153fb565b604080516001600160601b038c811682526001600160a01b0387811660208401528416828401528a16606082015290519192507f5570b1fde7a6e4fe77febc49a50067a02fef8b1b067f94740877b4f7d2239d8f919081900360800190a16040516333f6af9b60e11b81526001600160a01b038316906367ed5f3690611db29086908b9060040161567f565b5f604051808303815f87803b158015611dc9575f80fd5b505af11580156111ec573d5f803e3d5ffd5b5f611de5336106f3565b5f805f805f73__$19db5f0436f9beab06d91aaebdafaf50ff$__631b04bdc8611e166001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526001600160601b038b16604482015260640161016060405180830381865af4158015611e6e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e929190615558565b6040516308a390bb60e21b81526001600160601b0383166004820152949950929750909550935091505f906001600160a01b0387169063228e42ec90602401602060405180830381865afa158015611eec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f109190615376565b9050611f26611f1f828a61437f565b83516142f3565b15611f6a57815160405163b806175d60e01b81526001600160601b03808616600483015291821660248201528183166044820152908916606482015260840161130f565b505f73__$19db5f0436f9beab06d91aaebdafaf50ff$__63d775bd0a611f986001546001600160a01b031690565b88868c6040518563ffffffff1660e01b8152600401611fba94939291906156a1565b6040805180830381865af4158015611fd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ff89190615442565b60025460405163d56cd3d560e01b81529199509192506001600160a01b039091169063d56cd3d59061203490889087908c9087906004016153c9565b5f604051808303815f87803b15801561204b575f80fd5b505af115801561205d573d5f803e3d5ffd5b505060035460405163c548949d60e01b81526001600160a01b03909116925063c548949d915061209790899089908e908d906004016156a1565b5f604051808303815f87803b1580156120ae575f80fd5b505af11580156120c0573d5f803e3d5ffd5b505050507fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b414584848b8b8b6040516120fb9594939291906155c6565b60405180910390a18160a001516121fe575f61211f6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038c1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561216c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219091906153fb565b60405163810fbd7560e01b815290915073__$19db5f0436f9beab06d91aaebdafaf50ff$__9063810fbd75906121d0908a90889086908f9060040161561d565b5f6040518083038186803b1580156121e6575f80fd5b505af41580156121f8573d5f803e3d5ffd5b50505050505b50505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63645ceefe600f61222f6125a8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015612272573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190615664565b61229f336106f3565b6122aa826015613c8f565b5f6122be8260600151836101000151614404565b905060035f9054906101000a90046001600160a01b03166001600160a01b031663ad328d9f856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801561231f573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061234391906153fb565b858560200151856040518563ffffffff1660e01b815260040161236994939291906153c9565b5f604051808303815f87803b158015612380575f80fd5b505af1158015612392573d5f803e3d5ffd5b505050505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123f791906153fb565b905060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015612458573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247c9190615376565b855160405163037efc5960e61b81526001600160601b0390911660048201526001600160a01b0385169063dfbf164090602401602060405180830381865afa1580156124ca573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124ee91906153fb565b856040518463ffffffff1660e01b815260040161250d93929190615416565b6020604051808303815f875af1158015612529573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061254d9190615376565b50602083810151604080516001600160601b0392831681528783169381019390935290841682820152517fbc6be91fd22e69f94bdd1976de7eee45121482e27cc577bc10329f836be76a4f9181900360600190a15050505050565b5f6125b161301d565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d91906156ee565b3361261961301d565b6001600160a01b0316816001600160a01b0316146126545760405162d1953b60e31b81526001600160a01b038216600482015260240161130f565b816001600160a01b03163b5f03612689576040516361798f2f60e11b81526001600160a01b038316600482015260240161130f565b6126928261444e565b5050565b5f806126a1336106f3565b6126ac86600c613c8f565b6126b7856015613c8f565b6126c2846016613c8f565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6381c0eb6c8b6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561271a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061273e91906153fb565b8a886040518463ffffffff1660e01b815260040161275e93929190615497565b608060405180830381865af4158015612779573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061279d9190615709565b600354604051634adcf90960e01b81529398509196509294509192506001600160a01b0390911690634adcf909906127df908d908b908b9089906004016153c9565b5f604051808303815f87803b1580156127f6575f80fd5b505af1158015612808573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561286b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061288f9190615376565b8b876040518463ffffffff1660e01b81526004016128af93929190615416565b6020604051808303815f875af11580156128cb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128ef9190615376565b508015612a40575f6129096001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015612956573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061297a91906153fb565b604051634deed57960e01b81526001600160601b03808b166004830152808a166024830152871660448201529091506001600160a01b03821690634deed579906064015f604051808303815f87803b1580156129d4575f80fd5b505af11580156129e6573d5f803e3d5ffd5b5050604080516001600160601b0387811682528b811660208301528c8116828401528916606082015290517f6c23de2cbade351ab10fe6b009f74e634e44d95ace4e5048cd0eecf9060265c89350908190036080019150a1505b7fb5fc4a79e60dffb5ff6cc29b173a75c6b222e41bbe851a33d9b383c08dc091c98287898787604051612a779594939291906155c6565b60405180910390a15050965096945050505050565b5f805f80516020615f2f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612af8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b1c919061547e565b15612ba7576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612b7d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ba191906153fb565b91505090565b54600160601b90046001600160a01b0316919050565b612bc6336106f3565b5f80612bd0614019565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612c11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c3591906153fb565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa158015612c83573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ca791906155f8565b60a00151612cd35760405163664958ad60e01b81526001600160601b038416600482015260240161130f565b5f612ce66001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612d33573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d5791906153fb565b90507f67e4007a2396f32c2c58b0546d5dc80e8097a965b3de4127c33f3610864416bd848287604051612d8c93929190615416565b60405180910390a160405163810fbd7560e01b815273__$19db5f0436f9beab06d91aaebdafaf50ff$__9063810fbd7590611416908590889086908b9060040161561d565b5f80516020615f4f83398151915280545f9190600160a01b900460ff16612df8575f612ba1565b638fb3603760e01b91505090565b612e0f336106f3565b5f80612e19614019565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e7e91906153fb565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240160e060405180830381865afa158015612ece573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ef291906155f8565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa158015612f48573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f6c91906153fb565b6001600160a01b03166396f4df2f868460ff6040518463ffffffff1660e01b8152600401612f9c93929190615762565b5f604051808303815f87803b158015612fb3575f80fd5b505af1158015612fc5573d5f803e3d5ffd5b5050604080516001600160601b03898116825285811660208301528a168183015290517f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9350908190036060019150a1505050505050565b5f80516020615f4f833981519152546001600160a01b031690565b613041336106f3565b61304c816016613c8f565b5f80613056614019565b600354604051632aa6b2cb60e21b81529294509092505f9182916001600160a01b03169063aa9acb2c90613090908690899060040161567f565b60408051808303815f875af11580156130ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130cf9190615442565b9150915060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015613132573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061315691906153fb565b86613161868661437f565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156131a8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131cc9190615376565b6040518563ffffffff1660e01b81526004016131eb94939291906153c9565b5f604051808303815f87803b158015613202575f80fd5b505af1158015613214573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015613275573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906132999190615376565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a16132ce828261437f565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015613325573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613349919061547e565b15613510575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561338b573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133af91906153fb565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa1580156133fb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526134229190810190615847565b905080602001516001600160a01b03166367ed5f366134496001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038a1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015613496573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906134ba91906153fb565b6134c4868661437f565b6040518363ffffffff1660e01b81526004016134e192919061567f565b5f604051808303815f87803b1580156134f8575f80fd5b505af115801561350a573d5f803e3d5ffd5b50505050505b5050505050565b613520336106f3565b61352b836015613c8f565b5f80613535614019565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613576573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061359a91906153fb565b90505f6135af6001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03861660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa1580156135fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906136209190615376565b60405163bd7d9d8560e01b81526001600160601b03891660048201529091505f906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa15801561366f573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526136969190810190615922565b90506136a5815f0151836144ae565b156136e1578051604051636083e75360e01b81526001600160601b03808b1660048301529182166024820152908316604482015260640161130f565b604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f6a2b4f9e8a4bb9038617a047352d25c5ac3c64c4aaba95e576b978a91b6666fb9181900360600190a16040516302d764c760e21b81526001600160601b03831660048201526001600160a01b03841690630b5d931c906024015f60405180830381865afa158015613778573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261379f9190810190615b3d565b511561389d575f6137b86001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa158015613805573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061382991906153fb565b6040516370f90b7d60e11b81526001600160601b03808c16600483015261ffff8b166024830152891660448201529091506001600160a01b0382169063e1f216fa906064015f604051808303815f87803b158015613885575f80fd5b505af1158015613897573d5f803e3d5ffd5b50505050505b5050505050505050565b6138b0336106f3565b6138bb826016613c8f565b5f6138ce6001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03851660048201529091505f906001600160a01b0383169063cefa7fd690602401602060405180830381865afa15801561391e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139429190615376565b60405163c52721a360e01b81526001600160a01b03841660048201526001600160601b0382166024820152600160448201529091505f9073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063c52721a3906064015f60405180830381865af41580156139b2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526139d99190810190615c1f565b9150505f8190505f6139f48660e0015187610160015161437f565b90505f613a0b87610100015188610180015161437f565b90505f876060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015613a52573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a7691906153fb565b6002549091506001600160a01b031663d56cd3d58289613a96868861437f565b886040518563ffffffff1660e01b8152600401613ab694939291906153c9565b5f604051808303815f87803b158015613acd575f80fd5b505af1158015613adf573d5f803e3d5ffd5b50506002546040516317bb009960e21b81526001600160a01b039091169250635eec02649150613b199084908e90879089906004016153c9565b5f604051808303815f87803b158015613b30575f80fd5b505af1158015613b42573d5f803e3d5ffd5b505050507fe576d34ae9e41588783e58480f9c2d6ab599d21d76f09a165251fbaf831706f6878b848688604051613b7d9594939291906155c6565b60405180910390a150505050505050505050565b5f80516020615f4f8339815191525f80613bc9613bac61301d565b8730613bbb60045f8a8c615d01565b613bc491615d28565b6144f8565b9150915081613c875763ffffffff811615613c6457825460ff60a01b1916600160a01b178355613bf761301d565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401613c2693929190615d60565b5f604051808303815f87803b158015613c3d575f80fd5b505af1158015613c4f573d5f803e3d5ffd5b5050845460ff60a01b1916855550613c879050565b60405162d1953b60e31b81526001600160a01b038716600482015260240161130f565b505050505050565b60405163037c8cb160e51b815260ff8216600482015273__$0d958e68cba84670b8f4a3f2f2686b1c6b$__90636f91962090602401602060405180830381865af4158015613cdf573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d03919061547e565b80613d9157506001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015613d6b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d8f919061547e565b155b156126925760405163d711af7560e01b81526001600160601b038316600482015260ff8216602482015260440161130f565b5f805f80516020615f2f83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613e2f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613e53919061547e565b15613e7f5780546040516301ab8b6760e21b81526001600160601b03909116600482015260240161130f565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613ed1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ef5919061547e565b613f1d5760405163b9304b0d60e01b81526001600160a01b038416600482015260240161130f565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613f6f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613f939190615376565b81546bffffffffffffffffffffffff19166001600160601b039190911690811782557f88857b75cbef7f257c9d5a473e28aaf6a91cc28f717f60f2cda3bcf5623d7b5490613fdf612a8c565b604080516001600160601b0390931683526001600160a01b0390911660208301520160405180910390a1546001600160601b031692915050565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee86140476001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af415801561408e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906140b29190615d9f565b915091509091565b6140c2614600565b60405163502ec37160e01b815260040160405180910390fd5b5f80516020615f6f8339815191528054600160401b810460ff1615906001600160401b03165f8115801561410c5750825b90505f826001600160401b031660011480156141275750303b155b905081158015614135575080155b156141535760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561417d57845460ff60401b1916600160401b1785555b5f80878060200190518101906141939190615dcc565b915091506141a282828b614638565b6141ac60286146da565b600280546001600160a01b0319166001600160a01b03929092169190911790556141d660166146da565b600380546001600160a01b0319166001600160a01b0392909216919091179055614200600b6146da565b600480546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561425b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061427f91906153fb565b600580546001600160a01b0319166001600160a01b03929092169190911790556142af6337903e8d60e01b614771565b5050831561168657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200161167d565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af4158015614354573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614378919061547e565b9392505050565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af41580156143e0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906143789190615376565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044016143c5565b5f80516020615f4f83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401614339565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516145669190615de8565b5f60405180830381855afa9150503d805f811461459e576040519150601f19603f3d011682016040523d82523d5f602084013e6145a3565b606091505b509150915081156145f55760408151106145d557808060200190518101906145cb9190615dfe565b90945092506145f5565b60208151106145f557808060200190518101906145f2919061547e565b93505b505094509492505050565b5f80516020615f6f83398151915254600160401b900460ff1661463657604051631afcd79f60e31b815260040160405180910390fd5b565b614640614600565b6146486147a4565b6146c58383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015614689573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906146ad9190615376565b60085f8660405180602001604052805f8152506147b4565b6146d563daf9067160e01b614771565b505050565b5f6146ed6001546001600160a01b031690565b6001600160a01b031663d39e6043836147046125a8565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614747573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061476b91906153fb565b92915050565b614779614600565b6147a1816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b6147ac614600565b6146366148f1565b6147bc614600565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015614812573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614836919061547e565b61485e5760405163cf6935e560e01b81526001600160a01b038816600482015260240161130f565b6148678761491f565b6148718683614930565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016148e08382615e74565b5061389d634a531f3360e01b614771565b6148f9614600565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b614927614600565b6147a1816149a6565b614938614600565b6149406149b7565b614949826149ff565b6001600160a01b0381166149705760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615f2f83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6149ae614600565b6147a18161444e565b6149bf614600565b6146366301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b614a07614600565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614a5d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614a81919061547e565b614aa95760405163fdeac91f60e01b81526001600160a01b038216600482015260240161130f565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215614adb575f80fd5b81356001600160e01b031981168114614378575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614b68608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614bac610100840182614af2565b949350505050565b6001600160a01b03811681146147a1575f80fd5b6001600160601b03811681146147a1575f80fd5b8035614be781614bc8565b919050565b64ffffffffff811681146147a1575f80fd5b8035614be781614bec565b5f805f805f805f80610100898b031215614c21575f80fd5b8835614c2c81614bb4565b97506020890135614c3c81614bb4565b96506040890135614c4c81614bc8565b95506060890135614c5c81614bc8565b94506080890135614c6c81614bc8565b935060a0890135614c7c81614bec565b925060c0890135614c8c81614bc8565b915060e0890135614c9c81614bb4565b809150509295985092959890939650565b5f8060408385031215614cbe575f80fd5b8235614cc981614bc8565b91506020830135614cd981614bc8565b809150509250929050565b5f60208284031215614cf4575f80fd5b813561437881614bc8565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b0381118282101715614d3657614d36614cff565b60405290565b60405161024081016001600160401b0381118282101715614d3657614d36614cff565b60405160e081016001600160401b0381118282101715614d3657614d36614cff565b604051606081016001600160401b0381118282101715614d3657614d36614cff565b60405161010081016001600160401b0381118282101715614d3657614d36614cff565b604051601f8201601f191681016001600160401b0381118282101715614dee57614dee614cff565b604052919050565b5f6001600160401b03821115614e0e57614e0e614cff565b50601f01601f191660200190565b5f82601f830112614e2b575f80fd5b8135614e3e614e3982614df6565b614dc6565b818152846020838601011115614e52575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614e7e575f80fd5b81356001600160401b03811115614e93575f80fd5b614bac84828501614e1c565b5f8060408385031215614eb0575f80fd5b8235614ebb81614bb4565b915060208301356001600160401b03811115614ed5575f80fd5b614ee185828601614e1c565b9150509250929050565b6001600160c01b0319811681146147a1575f80fd5b8035614be781614eeb565b61ffff811681146147a1575f80fd5b8035614be781614f0b565b5f805f60608486031215614f37575f80fd5b8335614f4281614bb4565b92506020840135614f5281614bc8565b915060408401356001600160401b03811115614f6c575f80fd5b84016102008187031215614f7e575f80fd5b614f86614d13565b614f8f82614bdc565b8152614f9d60208301614bdc565b6020820152614fae60408301614f00565b6040820152614fbf60608301614bdc565b6060820152614fd060808301614bdc565b6080820152614fe160a08301614f00565b60a0820152614ff260c08301614f1a565b60c082015261500360e08301614f1a565b60e08201526150156101008301614bdc565b6101008201526150286101208301614bdc565b61012082015261503b6101408301614bfe565b61014082015261504e6101608301614bfe565b6101608201526150616101808301614bfe565b6101808201526150746101a08301614bfe565b6101a08201526101c08201356001600160401b03811115615093575f80fd5b61509f88828501614e1c565b6101c0830152506101e08201356001600160401b038111156150bf575f80fd5b6150cb88828501614e1c565b6101e08301525080925050509250925092565b5f602082840312156150ee575f80fd5b813561437881614bb4565b5f805f805f8060c0878903121561510e575f80fd5b863561511981614bb4565b9550602087013561512981614bb4565b9450604087013561513981614bc8565b9350606087013561514981614bc8565b9250608087013561515981614bc8565b915060a087013561516981614bc8565b809150509295509295509295565b5f805f60608486031215615189575f80fd5b833561519481614bc8565b925060208401356151a481614f0b565b915060408401356151b481614bc8565b809150509250925092565b5f808284036102608112156151d2575f80fd5b83356151dd81614bc8565b9250610240601f19820112156151f1575f80fd5b506151fa614d3c565b61520660208501614bdc565b815261521460408501614bdc565b602082015261522560608501614bdc565b604082015261523660808501614bdc565b606082015261524760a08501614bdc565b608082015261525860c08501614bdc565b60a082015261526960e08501614bdc565b60c082015261527b6101008501614bdc565b60e082015261528d6101208501614bdc565b6101008201526152a06101408501614bdc565b6101208201526152b36101608501614bdc565b6101408201526152c66101808501614bdc565b6101608201526152d96101a08501614bdc565b6101808201526152ec6101c08501614bdc565b6101a08201526152ff6101e08501614bdc565b6101c08201526153126102008501614bdc565b6101e08201526153256102208501614bdc565b6102008201526153386102408501614bdc565b610220820152809150509250929050565b5f60208284031215615359575f80fd5b815162ffffff81168114614378575f80fd5b8051614be781614bc8565b5f60208284031215615386575f80fd5b815161437881614bc8565b600181811c908216806153a557607f821691505b6020821081036153c357634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b5f6020828403121561540b575f80fd5b815161437881614bb4565b6001600160601b0393841681526001600160a01b03929092166020830152909116604082015260600190565b5f8060408385031215615453575f80fd5b825161545e81614bc8565b6020840151909250614cd981614bc8565b80518015158114614be7575f80fd5b5f6020828403121561548e575f80fd5b6143788261546f565b6001600160a01b039390931683526001600160601b03918216602084015216604082015260600190565b5f60e082840312156154d1575f80fd5b6154d9614d5f565b905081516154e681614bc8565b815260208201516154f681614bb4565b6020820152604082015161550981614bb4565b604082015261551a6060830161546f565b606082015261552b6080830161546f565b608082015261553c60a0830161546f565b60a082015261554d60c0830161546f565b60c082015292915050565b5f805f805f610160868803121561556d575f80fd5b855161557881614bb4565b602087015190955061558981614bb4565b604087015190945061559a81614bc8565b60608701519093506155ab81614bc8565b91506155ba87608088016154c1565b90509295509295909350565b6001600160601b0395861681529385166020850152918416604084015283166060830152909116608082015260a00190565b5f60e08284031215615608575f80fd5b61437883836154c1565b8051614be781614bb4565b6001600160a01b0394851681526001600160601b0393841660208201529190931660408201529116606082015260800190565b6001600160401b03811681146147a1575f80fd5b5f60208284031215615674575f80fd5b815161437881615650565b6001600160a01b039290921682526001600160601b0316602082015260400190565b6001600160a01b0394851681529290931660208301526001600160601b039081166040830152909116606082015260800190565b60ff811681146147a1575f80fd5b8051614be7816156d5565b5f602082840312156156fe575f80fd5b8151614378816156d5565b5f805f806080858703121561571c575f80fd5b845161572781614bc8565b602086015190945061573881614bc8565b604086015190935061574981614bc8565b91506157576060860161546f565b905092959194509250565b5f610120820190506001600160601b03851682526001600160601b03845116602083015260018060a01b03602085015116604083015260018060a01b03604085015116606083015260608401511515608083015260808401516157c960a084018215159052565b5060a0840151151560c083810191909152840151151560e083015260ff8316610100830152614bac565b5f615800614e3984614df6565b9050828152838383011115615813575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112615838575f80fd5b614378838351602085016157f3565b5f60208284031215615857575f80fd5b81516001600160401b0381111561586c575f80fd5b82016060818503121561587d575f80fd5b615885614d81565b81516001600160401b0381111561589a575f80fd5b8201601f810186136158aa575f80fd5b6158b9868251602084016157f3565b82525060208201516158ca81614bb4565b602082015260408201516001600160401b038111156158e7575f80fd5b6158f386828501615829565b604083015250949350505050565b8051614be781614eeb565b8051614be781614f0b565b8051614be781614bec565b5f60208284031215615932575f80fd5b81516001600160401b03811115615947575f80fd5b82016102008185031215615959575f80fd5b615961614d13565b61596a8261536b565b81526159786020830161536b565b602082015261598960408301615901565b604082015261599a6060830161536b565b60608201526159ab6080830161536b565b60808201526159bc60a08301615901565b60a08201526159cd60c0830161590c565b60c08201526159de60e0830161590c565b60e08201526159f0610100830161536b565b610100820152615a03610120830161536b565b610120820152615a166101408301615917565b610140820152615a296101608301615917565b610160820152615a3c6101808301615917565b610180820152615a4f6101a08301615917565b6101a08201526101c08201516001600160401b03811115615a6e575f80fd5b615a7a86828501615829565b6101c0830152506101e08201516001600160401b03811115615a9a575f80fd5b615aa686828501615829565b6101e083015250949350505050565b5f82601f830112615ac4575f80fd5b81516001600160401b03811115615add57615add614cff565b8060051b615aed60208201614dc6565b91825260208185018101929081019086841115615b08575f80fd5b6020860192505b83831015615b33578251615b2281614bc8565b825260209283019290910190615b0f565b9695505050505050565b5f60208284031215615b4d575f80fd5b81516001600160401b03811115615b62575f80fd5b82016101008185031215615b74575f80fd5b615b7c614da3565b615b858261546f565b8152615b936020830161546f565b6020820152615ba46040830161546f565b6040820152615bb5606083016156e3565b6060820152615bc6608083016156e3565b6080820152615bd760a0830161536b565b60a0820152615be860c0830161536b565b60c082015260e08201516001600160401b03811115615c05575f80fd5b615c1186828501615ab5565b60e083015250949350505050565b5f8060408385031215615c30575f80fd5b82516001600160401b03811115615c45575f80fd5b830160e08186031215615c56575f80fd5b615c5e614d5f565b615c678261536b565b8152615c756020830161536b565b6020820152615c86604083016156e3565b6040820152615c976060830161546f565b6060820152615ca860808301615612565b6080820152615cb960a08301615612565b60a082015260c08201516001600160401b03811115615cd6575f80fd5b615ce287828501615829565b60c0830152509250615cf8905060208401615612565b90509250929050565b5f8085851115615d0f575f80fd5b83861115615d1b575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615d59576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f8060408385031215615db0575f80fd5b8251615dbb81614bc8565b6020840151909250614cd981614bb4565b5f8060408385031215615ddd575f80fd5b8251615dbb81614bb4565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615e0f575f80fd5b615e188361546f565b9150602083015163ffffffff81168114614cd9575f80fd5b601f8211156146d557805f5260205f20601f840160051c81016020851015615e555750805b601f840160051c820191505b81811015613510575f8155600101615e61565b81516001600160401b03811115615e8d57615e8d614cff565b615ea181615e9b8454615391565b84615e30565b6020601f821160018114615ed3575f8315615ebc5750848201515b5f19600385901b1c1916600184901b178455613510565b5f84815260208120601f198516915b82811015615f025787850151825560209485019460019092019101615ee2565b5084821015615f1f57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212200d9e72a8862f7da80fbf9987a78cc7dfd71c998b42e3ea92b26107b72aab835164736f6c634300081a0033",
1501
+ "linkReferences": {
1502
+ "contracts/pool/PoolLib.sol": {
1503
+ "PoolLib": [
1504
+ {
1505
+ "length": 20,
1506
+ "start": 3126
1507
+ },
1508
+ {
1509
+ "length": 20,
1510
+ "start": 3862
1511
+ },
1512
+ {
1513
+ "length": 20,
1514
+ "start": 4716
1515
+ },
1516
+ {
1517
+ "length": 20,
1518
+ "start": 5310
1519
+ },
1520
+ {
1521
+ "length": 20,
1522
+ "start": 7874
1523
+ },
1524
+ {
1525
+ "length": 20,
1526
+ "start": 8260
1527
+ },
1528
+ {
1529
+ "length": 20,
1530
+ "start": 8824
1531
+ },
1532
+ {
1533
+ "length": 20,
1534
+ "start": 10140
1535
+ },
1536
+ {
1537
+ "length": 20,
1538
+ "start": 11897
1539
+ },
1540
+ {
1541
+ "length": 20,
1542
+ "start": 16627
1543
+ }
1544
+ ]
1545
+ },
1546
+ "contracts/shared/ContractLib.sol": {
1547
+ "ContractLib": [
1548
+ {
1549
+ "length": 20,
1550
+ "start": 14929
1551
+ },
1552
+ {
1553
+ "length": 20,
1554
+ "start": 18608
1555
+ },
1556
+ {
1557
+ "length": 20,
1558
+ "start": 19195
1559
+ }
1560
+ ]
1561
+ },
1562
+ "contracts/type/Amount.sol": {
1563
+ "AmountLib": [
1564
+ {
1565
+ "length": 20,
1566
+ "start": 2185
1567
+ },
1568
+ {
1569
+ "length": 20,
1570
+ "start": 2406
1571
+ },
1572
+ {
1573
+ "length": 20,
1574
+ "start": 3388
1575
+ },
1576
+ {
1577
+ "length": 20,
1578
+ "start": 4203
1579
+ },
1580
+ {
1581
+ "length": 20,
1582
+ "start": 6138
1583
+ },
1584
+ {
1585
+ "length": 20,
1586
+ "start": 6166
1587
+ },
1588
+ {
1589
+ "length": 20,
1590
+ "start": 6925
1591
+ },
1592
+ {
1593
+ "length": 20,
1594
+ "start": 7147
1595
+ },
1596
+ {
1597
+ "length": 20,
1598
+ "start": 12857
1599
+ },
1600
+ {
1601
+ "length": 20,
1602
+ "start": 13251
1603
+ },
1604
+ {
1605
+ "length": 20,
1606
+ "start": 17393
1607
+ },
1608
+ {
1609
+ "length": 20,
1610
+ "start": 17533
1611
+ },
1612
+ {
1613
+ "length": 20,
1614
+ "start": 17666
1615
+ }
1616
+ ]
1617
+ },
1618
+ "contracts/type/NftId.sol": {
1619
+ "NftIdLib": [
1620
+ {
1621
+ "length": 20,
1622
+ "start": 1647
1623
+ },
1624
+ {
1625
+ "length": 20,
1626
+ "start": 11158
1627
+ },
1628
+ {
1629
+ "length": 20,
1630
+ "start": 16077
1631
+ },
1632
+ {
1633
+ "length": 20,
1634
+ "start": 17836
1635
+ }
1636
+ ]
1637
+ },
1638
+ "contracts/type/ObjectType.sol": {
1639
+ "ObjectTypeLib": [
1640
+ {
1641
+ "length": 20,
1642
+ "start": 15741
1643
+ }
1644
+ ]
1645
+ },
1646
+ "contracts/type/RoleId.sol": {
1647
+ "RoleIdLib": [
1648
+ {
1649
+ "length": 20,
1650
+ "start": 8931
1651
+ }
1652
+ ]
1653
+ },
1654
+ "contracts/type/Version.sol": {
1655
+ "VersionLib": [
1656
+ {
1657
+ "length": 20,
1658
+ "start": 1447
1659
+ },
1660
+ {
1661
+ "length": 20,
1662
+ "start": 5409
1663
+ }
1664
+ ]
1665
+ }
1666
+ },
1667
+ "deployedLinkReferences": {
1668
+ "contracts/pool/PoolLib.sol": {
1669
+ "PoolLib": [
1670
+ {
1671
+ "length": 20,
1672
+ "start": 2912
1673
+ },
1674
+ {
1675
+ "length": 20,
1676
+ "start": 3648
1677
+ },
1678
+ {
1679
+ "length": 20,
1680
+ "start": 4502
1681
+ },
1682
+ {
1683
+ "length": 20,
1684
+ "start": 5096
1685
+ },
1686
+ {
1687
+ "length": 20,
1688
+ "start": 7660
1689
+ },
1690
+ {
1691
+ "length": 20,
1692
+ "start": 8046
1693
+ },
1694
+ {
1695
+ "length": 20,
1696
+ "start": 8610
1697
+ },
1698
+ {
1699
+ "length": 20,
1700
+ "start": 9926
1701
+ },
1702
+ {
1703
+ "length": 20,
1704
+ "start": 11683
1705
+ },
1706
+ {
1707
+ "length": 20,
1708
+ "start": 16413
1709
+ }
1710
+ ]
1711
+ },
1712
+ "contracts/shared/ContractLib.sol": {
1713
+ "ContractLib": [
1714
+ {
1715
+ "length": 20,
1716
+ "start": 14715
1717
+ },
1718
+ {
1719
+ "length": 20,
1720
+ "start": 18394
1721
+ },
1722
+ {
1723
+ "length": 20,
1724
+ "start": 18981
1725
+ }
1726
+ ]
1727
+ },
1728
+ "contracts/type/Amount.sol": {
1729
+ "AmountLib": [
1730
+ {
1731
+ "length": 20,
1732
+ "start": 1971
1733
+ },
1734
+ {
1735
+ "length": 20,
1736
+ "start": 2192
1737
+ },
1738
+ {
1739
+ "length": 20,
1740
+ "start": 3174
1741
+ },
1742
+ {
1743
+ "length": 20,
1744
+ "start": 3989
1745
+ },
1746
+ {
1747
+ "length": 20,
1748
+ "start": 5924
1749
+ },
1750
+ {
1751
+ "length": 20,
1752
+ "start": 5952
1753
+ },
1754
+ {
1755
+ "length": 20,
1756
+ "start": 6711
1757
+ },
1758
+ {
1759
+ "length": 20,
1760
+ "start": 6933
1761
+ },
1762
+ {
1763
+ "length": 20,
1764
+ "start": 12643
1765
+ },
1766
+ {
1767
+ "length": 20,
1768
+ "start": 13037
1769
+ },
1770
+ {
1771
+ "length": 20,
1772
+ "start": 17179
1773
+ },
1774
+ {
1775
+ "length": 20,
1776
+ "start": 17319
1777
+ },
1778
+ {
1779
+ "length": 20,
1780
+ "start": 17452
1781
+ }
1782
+ ]
1783
+ },
1784
+ "contracts/type/NftId.sol": {
1785
+ "NftIdLib": [
1786
+ {
1787
+ "length": 20,
1788
+ "start": 1433
1789
+ },
1790
+ {
1791
+ "length": 20,
1792
+ "start": 10944
1793
+ },
1794
+ {
1795
+ "length": 20,
1796
+ "start": 15863
1797
+ },
1798
+ {
1799
+ "length": 20,
1800
+ "start": 17622
1801
+ }
1802
+ ]
1803
+ },
1804
+ "contracts/type/ObjectType.sol": {
1805
+ "ObjectTypeLib": [
1806
+ {
1807
+ "length": 20,
1808
+ "start": 15527
1809
+ }
1810
+ ]
1811
+ },
1812
+ "contracts/type/RoleId.sol": {
1813
+ "RoleIdLib": [
1814
+ {
1815
+ "length": 20,
1816
+ "start": 8717
1817
+ }
1818
+ ]
1819
+ },
1820
+ "contracts/type/Version.sol": {
1821
+ "VersionLib": [
1822
+ {
1823
+ "length": 20,
1824
+ "start": 1233
1825
+ },
1826
+ {
1827
+ "length": 20,
1828
+ "start": 5195
1829
+ }
1830
+ ]
1831
+ }
1832
+ }
1833
+ }