@etherisc/gif-next 0.0.2-c8cedfe-604 → 0.0.2-c9577b6-545

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