@etherisc/gif-next 0.0.2-eadf4ad-726 → 0.0.2-eae5e95-691

Sign up to get free protection for your applications and to get access to all the features.
Files changed (527) hide show
  1. package/README.md +51 -5
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +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 +414 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1060 -0
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +295 -0
  14. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  16. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/ReleaseAccessManager.sol/ReleaseAccessManager.json +1196 -0
  18. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  20. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1415 -0
  22. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +470 -0
  24. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +230 -545
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +315 -432
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +120 -109
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +214 -290
  32. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +215 -94
  34. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  35. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  36. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1551 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +470 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2090 -0
  42. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +470 -0
  44. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  46. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  47. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1484 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1244 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1605 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2108 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +113 -97
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +171 -85
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +120 -207
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1653 -0
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +561 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +850 -366
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +245 -229
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +106 -79
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1212 -381
  74. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  76. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  78. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  80. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  82. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +8 -116
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  88. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  91. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  92. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  93. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  94. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1052 -0
  95. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  96. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +478 -0
  97. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  98. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  99. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  100. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +783 -0
  101. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  102. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +709 -0
  103. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  104. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +920 -0
  105. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  106. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +966 -0
  107. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +722 -0
  109. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  110. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1312 -0
  111. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  112. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +470 -0
  113. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  114. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +494 -317
  115. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +186 -87
  117. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  118. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +256 -31
  119. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  120. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +235 -375
  121. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  122. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +460 -254
  123. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  124. package/artifacts/contracts/pool/Pool.sol/Pool.json +269 -565
  125. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  126. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +572 -569
  127. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  128. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +112 -93
  129. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  130. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +117 -264
  131. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  132. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +99 -76
  133. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  134. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1186 -0
  135. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  136. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +470 -0
  137. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  138. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +329 -284
  139. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  140. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +141 -90
  141. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +54 -1
  143. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  144. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +196 -7
  145. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  146. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +354 -80
  147. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  148. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +154 -86
  149. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  150. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +355 -209
  151. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  152. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +44 -57
  153. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  154. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +418 -397
  155. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  156. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +124 -121
  157. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  158. package/artifacts/contracts/product/PricingService.sol/PricingService.json +233 -330
  159. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  160. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +128 -93
  161. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  162. package/artifacts/contracts/product/Product.sol/Product.json +377 -431
  163. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  164. package/artifacts/contracts/product/RiskService.sol/RiskService.json +622 -0
  165. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  166. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +694 -0
  167. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  169. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +391 -45
  171. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  172. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +123 -64
  173. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  174. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +0 -18
  175. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  176. package/artifacts/contracts/registry/Registry.sol/Registry.json +789 -60
  177. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  178. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1886 -0
  179. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  180. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +179 -185
  181. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  182. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +86 -74
  183. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  184. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  185. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  186. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1067 -0
  187. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  188. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  189. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +314 -138
  191. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  192. package/artifacts/contracts/shared/Component.sol/Component.json +136 -271
  193. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  194. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1335 -198
  195. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  196. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +814 -0
  197. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  198. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +474 -0
  199. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  200. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  201. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  202. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +105 -114
  203. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  204. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1335 -0
  205. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  206. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +718 -0
  207. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  208. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +46 -14
  209. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  211. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  212. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +23 -1
  213. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  214. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  215. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +36 -1
  217. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  218. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IService.sol/IService.json +49 -1
  220. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  221. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  222. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  223. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +842 -0
  224. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  225. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  226. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  227. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  228. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  229. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  230. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  231. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +26 -55
  232. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  233. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  234. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +68 -85
  236. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  237. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  238. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  239. package/artifacts/contracts/shared/Service.sol/Service.json +55 -101
  240. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  241. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +362 -7
  242. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  243. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  244. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  245. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1460 -0
  246. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  247. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +573 -53
  248. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  249. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  250. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  251. package/artifacts/contracts/staking/Staking.sol/Staking.json +1901 -0
  252. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  253. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  254. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  255. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +776 -0
  256. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  258. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  259. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +658 -176
  260. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  261. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +109 -66
  262. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2283 -0
  264. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  265. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  266. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  267. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  268. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  269. package/artifacts/contracts/type/Amount.sol/AmountLib.json +121 -4
  270. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +53 -2
  272. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  274. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  276. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/Fee.sol/FeeLib.json +39 -34
  278. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  279. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  280. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  281. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +47 -4
  282. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  283. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  284. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +149 -2
  286. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  287. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  288. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  290. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  292. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +60 -4
  294. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +219 -6
  296. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -2
  298. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  300. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  302. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  304. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  306. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +36 -4
  308. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  310. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +71 -2
  312. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  314. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  315. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  316. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  317. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  318. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  319. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +602 -0
  320. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  321. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  322. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  323. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  324. package/contracts/authorization/AccessAdmin.sol +596 -0
  325. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  326. package/contracts/authorization/Authorization.sol +289 -0
  327. package/contracts/authorization/IAccess.sol +49 -0
  328. package/contracts/authorization/IAccessAdmin.sol +137 -0
  329. package/contracts/authorization/IAuthorization.sol +60 -0
  330. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  331. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  332. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  333. package/contracts/distribution/BasicDistribution.sol +139 -0
  334. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  335. package/contracts/distribution/Distribution.sol +154 -154
  336. package/contracts/distribution/DistributionService.sol +175 -172
  337. package/contracts/distribution/DistributionServiceManager.sol +8 -23
  338. package/contracts/distribution/IDistributionComponent.sol +28 -47
  339. package/contracts/distribution/IDistributionService.sol +24 -10
  340. package/contracts/examples/fire/DamageLevel.sol +59 -0
  341. package/contracts/examples/fire/FirePool.sol +75 -0
  342. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  343. package/contracts/examples/fire/FireProduct.sol +412 -0
  344. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  345. package/contracts/examples/fire/FireUSD.sol +26 -0
  346. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  347. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  348. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  349. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  350. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  351. package/contracts/instance/IInstance.sol +33 -44
  352. package/contracts/instance/IInstanceService.sol +32 -33
  353. package/contracts/instance/Instance.sol +131 -122
  354. package/contracts/instance/InstanceAdmin.sol +277 -0
  355. package/contracts/instance/InstanceAuthorizationV3.sol +194 -0
  356. package/contracts/instance/InstanceReader.sol +194 -67
  357. package/contracts/instance/InstanceService.sol +243 -134
  358. package/contracts/instance/InstanceServiceManager.sol +8 -13
  359. package/contracts/instance/InstanceStore.sol +142 -66
  360. package/contracts/instance/base/BalanceStore.sol +123 -0
  361. package/contracts/instance/base/Cloneable.sol +2 -25
  362. package/contracts/instance/base/ObjectCounter.sol +21 -0
  363. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  364. package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +11 -14
  365. package/contracts/instance/module/IAccess.sol +2 -10
  366. package/contracts/instance/module/IBundle.sol +1 -4
  367. package/contracts/instance/module/IComponents.sol +21 -11
  368. package/contracts/instance/module/IDistribution.sol +0 -1
  369. package/contracts/instance/module/IPolicy.sol +31 -25
  370. package/contracts/mock/Dip.sol +26 -0
  371. package/contracts/oracle/BasicOracle.sol +47 -0
  372. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  373. package/contracts/oracle/IOracle.sol +36 -0
  374. package/contracts/oracle/IOracleComponent.sol +33 -0
  375. package/contracts/oracle/IOracleService.sol +66 -0
  376. package/contracts/oracle/Oracle.sol +156 -0
  377. package/contracts/oracle/OracleService.sol +291 -0
  378. package/contracts/oracle/OracleServiceManager.sol +39 -0
  379. package/contracts/pool/BasicPool.sol +154 -0
  380. package/contracts/pool/BasicPoolAuthorization.sol +57 -0
  381. package/contracts/pool/BundleService.sol +278 -201
  382. package/contracts/pool/BundleServiceManager.sol +8 -11
  383. package/contracts/pool/IBundleService.sol +44 -19
  384. package/contracts/pool/IPoolComponent.sol +27 -73
  385. package/contracts/pool/IPoolService.sol +93 -40
  386. package/contracts/pool/Pool.sol +186 -153
  387. package/contracts/pool/PoolService.sol +357 -236
  388. package/contracts/pool/PoolServiceManager.sol +6 -9
  389. package/contracts/product/ApplicationService.sol +148 -84
  390. package/contracts/product/ApplicationServiceManager.sol +6 -6
  391. package/contracts/product/BasicProduct.sol +53 -0
  392. package/contracts/product/BasicProductAuthorization.sol +42 -0
  393. package/contracts/product/ClaimService.sol +293 -145
  394. package/contracts/product/ClaimServiceManager.sol +6 -6
  395. package/contracts/product/IApplicationService.sol +2 -1
  396. package/contracts/product/IClaimService.sol +35 -5
  397. package/contracts/product/IPolicyService.sol +38 -38
  398. package/contracts/product/IPricingService.sol +13 -11
  399. package/contracts/product/IProductComponent.sol +28 -10
  400. package/contracts/product/{IProductService.sol → IRiskService.sol} +2 -9
  401. package/contracts/product/PolicyService.sol +504 -199
  402. package/contracts/product/PolicyServiceManager.sol +6 -9
  403. package/contracts/product/PricingService.sol +103 -82
  404. package/contracts/product/PricingServiceManager.sol +5 -8
  405. package/contracts/product/Product.sol +222 -146
  406. package/contracts/product/RiskService.sol +96 -0
  407. package/contracts/product/RiskServiceManager.sol +39 -0
  408. package/contracts/registry/ChainNft.sol +72 -36
  409. package/contracts/registry/IRegistry.sol +85 -22
  410. package/contracts/registry/IRegistryService.sol +10 -6
  411. package/contracts/registry/ITransferInterceptor.sol +0 -1
  412. package/contracts/registry/Registry.sol +433 -187
  413. package/contracts/registry/RegistryAdmin.sol +448 -0
  414. package/contracts/registry/RegistryService.sol +76 -66
  415. package/contracts/registry/RegistryServiceManager.sol +6 -25
  416. package/contracts/registry/ReleaseLifecycle.sol +30 -0
  417. package/contracts/registry/ReleaseRegistry.sol +501 -0
  418. package/contracts/registry/ServiceAuthorizationV3.sol +194 -0
  419. package/contracts/registry/TokenRegistry.sol +261 -62
  420. package/contracts/shared/Component.sol +153 -148
  421. package/contracts/shared/ComponentService.sol +688 -94
  422. package/contracts/shared/ComponentServiceManager.sol +38 -0
  423. package/contracts/shared/ComponentVerifyingService.sol +126 -0
  424. package/contracts/shared/ContractLib.sol +38 -0
  425. package/contracts/shared/IComponent.sol +25 -41
  426. package/contracts/shared/IComponentService.sol +120 -0
  427. package/contracts/shared/IInstanceLinkedComponent.sol +41 -0
  428. package/contracts/{instance/base → shared}/IKeyValueStore.sol +7 -6
  429. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  430. package/contracts/shared/INftOwnable.sol +3 -1
  431. package/contracts/shared/IPolicyHolder.sol +12 -17
  432. package/contracts/shared/IRegisterable.sol +11 -0
  433. package/contracts/shared/IService.sol +9 -2
  434. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +4 -4
  435. package/contracts/shared/InstanceLinkedComponent.sol +213 -0
  436. package/contracts/{instance/base → shared}/KeyValueStore.sol +36 -74
  437. package/contracts/shared/Lifecycle.sol +88 -0
  438. package/contracts/shared/NftIdSet.sol +65 -0
  439. package/contracts/shared/NftOwnable.sol +27 -22
  440. package/contracts/shared/PolicyHolder.sol +18 -50
  441. package/contracts/shared/Registerable.sol +21 -11
  442. package/contracts/shared/RegistryLinked.sol +3 -2
  443. package/contracts/shared/Service.sol +48 -36
  444. package/contracts/shared/TokenHandler.sol +112 -8
  445. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  446. package/contracts/staking/IStaking.sol +168 -0
  447. package/contracts/staking/IStakingService.sol +103 -48
  448. package/contracts/staking/StakeManagerLib.sol +224 -0
  449. package/contracts/staking/Staking.sol +497 -0
  450. package/contracts/staking/StakingLifecycle.sol +23 -0
  451. package/contracts/staking/StakingManager.sol +52 -0
  452. package/contracts/staking/StakingReader.sol +190 -0
  453. package/contracts/staking/StakingService.sol +273 -49
  454. package/contracts/staking/StakingServiceManager.sol +11 -7
  455. package/contracts/staking/StakingStore.sol +605 -0
  456. package/contracts/staking/TargetManagerLib.sol +211 -0
  457. package/contracts/type/AddressSet.sol +1 -1
  458. package/contracts/type/Amount.sol +44 -3
  459. package/contracts/type/Blocknumber.sol +26 -3
  460. package/contracts/type/ClaimId.sol +6 -1
  461. package/contracts/type/Fee.sol +17 -16
  462. package/contracts/type/NftId.sol +15 -16
  463. package/contracts/type/NftIdSet.sol +1 -1
  464. package/contracts/type/ObjectType.sol +176 -62
  465. package/contracts/type/PayoutId.sol +10 -10
  466. package/contracts/type/Referral.sol +2 -1
  467. package/contracts/type/RequestId.sol +75 -0
  468. package/contracts/type/RiskId.sol +16 -2
  469. package/contracts/type/RoleId.sol +98 -75
  470. package/contracts/type/Seconds.sol +48 -1
  471. package/contracts/type/Selector.sol +102 -0
  472. package/contracts/type/StateId.sol +41 -2
  473. package/contracts/type/String.sol +53 -0
  474. package/contracts/type/Timestamp.sol +17 -3
  475. package/contracts/type/UFixed.sol +38 -9
  476. package/contracts/type/Version.sol +4 -2
  477. package/contracts/{shared → upgradeability}/ProxyManager.sol +76 -39
  478. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  479. package/contracts/{shared → upgradeability}/Versionable.sol +2 -2
  480. package/package.json +9 -5
  481. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  482. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  483. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  484. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  485. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  486. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  487. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  488. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  489. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  490. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -581
  491. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  492. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  493. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  494. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  495. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  496. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  497. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  498. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  499. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  500. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
  501. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  502. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -679
  503. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  504. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -238
  505. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  506. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -846
  507. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  508. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  509. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  510. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  511. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  512. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  513. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -598
  514. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  515. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  516. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  517. package/contracts/instance/InstanceAccessManager.sol +0 -543
  518. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
  519. package/contracts/instance/base/Lifecycle.sol +0 -121
  520. package/contracts/instance/module/ISetup.sol +0 -33
  521. package/contracts/instance/module/ITreasury.sol +0 -23
  522. package/contracts/product/ProductService.sol +0 -212
  523. package/contracts/product/ProductServiceManager.sol +0 -42
  524. package/contracts/registry/RegistryAccessManager.sol +0 -132
  525. package/contracts/registry/ReleaseManager.sol +0 -382
  526. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  527. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
@@ -0,0 +1,2108 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "SimpleProduct",
4
+ "sourceName": "contracts/examples/unpermissioned/SimpleProduct.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "instanceNftId",
16
+ "type": "uint96"
17
+ },
18
+ {
19
+ "internalType": "contract IAuthorization",
20
+ "name": "authorization",
21
+ "type": "address"
22
+ },
23
+ {
24
+ "internalType": "address",
25
+ "name": "initialOwner",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "internalType": "address",
30
+ "name": "token",
31
+ "type": "address"
32
+ },
33
+ {
34
+ "internalType": "bool",
35
+ "name": "isInterceptor",
36
+ "type": "bool"
37
+ },
38
+ {
39
+ "internalType": "bool",
40
+ "name": "hasDistribution",
41
+ "type": "bool"
42
+ },
43
+ {
44
+ "internalType": "uint8",
45
+ "name": "numberOfOracles",
46
+ "type": "uint8"
47
+ }
48
+ ],
49
+ "stateMutability": "nonpayable",
50
+ "type": "constructor"
51
+ },
52
+ {
53
+ "inputs": [
54
+ {
55
+ "internalType": "address",
56
+ "name": "authority",
57
+ "type": "address"
58
+ }
59
+ ],
60
+ "name": "AccessManagedInvalidAuthority",
61
+ "type": "error"
62
+ },
63
+ {
64
+ "inputs": [
65
+ {
66
+ "internalType": "address",
67
+ "name": "caller",
68
+ "type": "address"
69
+ },
70
+ {
71
+ "internalType": "uint32",
72
+ "name": "delay",
73
+ "type": "uint32"
74
+ }
75
+ ],
76
+ "name": "AccessManagedRequiredDelay",
77
+ "type": "error"
78
+ },
79
+ {
80
+ "inputs": [
81
+ {
82
+ "internalType": "address",
83
+ "name": "caller",
84
+ "type": "address"
85
+ }
86
+ ],
87
+ "name": "AccessManagedUnauthorized",
88
+ "type": "error"
89
+ },
90
+ {
91
+ "inputs": [],
92
+ "name": "ErrorComponentNameLengthZero",
93
+ "type": "error"
94
+ },
95
+ {
96
+ "inputs": [
97
+ {
98
+ "internalType": "address",
99
+ "name": "caller",
100
+ "type": "address"
101
+ }
102
+ ],
103
+ "name": "ErrorComponentNotChainNft",
104
+ "type": "error"
105
+ },
106
+ {
107
+ "inputs": [],
108
+ "name": "ErrorComponentProductNftIdNonzero",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "ErrorComponentProductNftIdZero",
114
+ "type": "error"
115
+ },
116
+ {
117
+ "inputs": [],
118
+ "name": "ErrorComponentTokenAddressNonzero",
119
+ "type": "error"
120
+ },
121
+ {
122
+ "inputs": [],
123
+ "name": "ErrorComponentTokenAddressZero",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [],
128
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
129
+ "type": "error"
130
+ },
131
+ {
132
+ "inputs": [],
133
+ "name": "ErrorComponentWalletAddressZero",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "ErrorComponentWalletNotComponent",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "NftId",
145
+ "name": "nftId",
146
+ "type": "uint96"
147
+ },
148
+ {
149
+ "internalType": "ObjectType",
150
+ "name": "objectType",
151
+ "type": "uint8"
152
+ }
153
+ ],
154
+ "name": "ErrorInstanceLinkedComponentNotProduct",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [
159
+ {
160
+ "internalType": "ObjectType",
161
+ "name": "requiredType",
162
+ "type": "uint8"
163
+ },
164
+ {
165
+ "internalType": "ObjectType",
166
+ "name": "objectType",
167
+ "type": "uint8"
168
+ }
169
+ ],
170
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [
175
+ {
176
+ "internalType": "NftId",
177
+ "name": "nftId",
178
+ "type": "uint96"
179
+ }
180
+ ],
181
+ "name": "ErrorNftOwnableAlreadyLinked",
182
+ "type": "error"
183
+ },
184
+ {
185
+ "inputs": [
186
+ {
187
+ "internalType": "address",
188
+ "name": "contractAddress",
189
+ "type": "address"
190
+ }
191
+ ],
192
+ "name": "ErrorNftOwnableContractNotRegistered",
193
+ "type": "error"
194
+ },
195
+ {
196
+ "inputs": [],
197
+ "name": "ErrorNftOwnableInitialOwnerZero",
198
+ "type": "error"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "internalType": "NftId",
204
+ "name": "nftId",
205
+ "type": "uint96"
206
+ },
207
+ {
208
+ "internalType": "ObjectType",
209
+ "name": "expectedObjectType",
210
+ "type": "uint8"
211
+ }
212
+ ],
213
+ "name": "ErrorNftOwnableInvalidType",
214
+ "type": "error"
215
+ },
216
+ {
217
+ "inputs": [
218
+ {
219
+ "internalType": "address",
220
+ "name": "account",
221
+ "type": "address"
222
+ }
223
+ ],
224
+ "name": "ErrorNftOwnableNotOwner",
225
+ "type": "error"
226
+ },
227
+ {
228
+ "inputs": [
229
+ {
230
+ "internalType": "address",
231
+ "name": "registryAddress",
232
+ "type": "address"
233
+ }
234
+ ],
235
+ "name": "ErrorNotRegistry",
236
+ "type": "error"
237
+ },
238
+ {
239
+ "inputs": [
240
+ {
241
+ "internalType": "RequestId",
242
+ "name": "requestId",
243
+ "type": "uint64"
244
+ }
245
+ ],
246
+ "name": "ErrorSimpleProductRevertedWhileProcessingResponse",
247
+ "type": "error"
248
+ },
249
+ {
250
+ "inputs": [],
251
+ "name": "InvalidInitialization",
252
+ "type": "error"
253
+ },
254
+ {
255
+ "inputs": [],
256
+ "name": "NotInitializing",
257
+ "type": "error"
258
+ },
259
+ {
260
+ "anonymous": false,
261
+ "inputs": [
262
+ {
263
+ "indexed": false,
264
+ "internalType": "address",
265
+ "name": "authority",
266
+ "type": "address"
267
+ }
268
+ ],
269
+ "name": "AuthorityUpdated",
270
+ "type": "event"
271
+ },
272
+ {
273
+ "anonymous": false,
274
+ "inputs": [
275
+ {
276
+ "indexed": false,
277
+ "internalType": "uint64",
278
+ "name": "version",
279
+ "type": "uint64"
280
+ }
281
+ ],
282
+ "name": "Initialized",
283
+ "type": "event"
284
+ },
285
+ {
286
+ "anonymous": false,
287
+ "inputs": [
288
+ {
289
+ "indexed": false,
290
+ "internalType": "address",
291
+ "name": "token",
292
+ "type": "address"
293
+ },
294
+ {
295
+ "indexed": false,
296
+ "internalType": "Amount",
297
+ "name": "limit",
298
+ "type": "uint96"
299
+ },
300
+ {
301
+ "indexed": false,
302
+ "internalType": "bool",
303
+ "name": "isMaxAmount",
304
+ "type": "bool"
305
+ }
306
+ ],
307
+ "name": "LogComponentTokenHandlerApproved",
308
+ "type": "event"
309
+ },
310
+ {
311
+ "anonymous": false,
312
+ "inputs": [
313
+ {
314
+ "indexed": false,
315
+ "internalType": "address",
316
+ "name": "oldWallet",
317
+ "type": "address"
318
+ },
319
+ {
320
+ "indexed": false,
321
+ "internalType": "address",
322
+ "name": "newWallet",
323
+ "type": "address"
324
+ }
325
+ ],
326
+ "name": "LogComponentWalletAddressChanged",
327
+ "type": "event"
328
+ },
329
+ {
330
+ "anonymous": false,
331
+ "inputs": [
332
+ {
333
+ "indexed": false,
334
+ "internalType": "address",
335
+ "name": "from",
336
+ "type": "address"
337
+ },
338
+ {
339
+ "indexed": false,
340
+ "internalType": "address",
341
+ "name": "to",
342
+ "type": "address"
343
+ },
344
+ {
345
+ "indexed": false,
346
+ "internalType": "uint256",
347
+ "name": "amount",
348
+ "type": "uint256"
349
+ }
350
+ ],
351
+ "name": "LogComponentWalletTokensTransferred",
352
+ "type": "event"
353
+ },
354
+ {
355
+ "anonymous": false,
356
+ "inputs": [
357
+ {
358
+ "indexed": false,
359
+ "internalType": "RequestId",
360
+ "name": "requestId",
361
+ "type": "uint64"
362
+ },
363
+ {
364
+ "indexed": false,
365
+ "internalType": "string",
366
+ "name": "responseText",
367
+ "type": "string"
368
+ },
369
+ {
370
+ "indexed": false,
371
+ "internalType": "uint256",
372
+ "name": "responseDataLength",
373
+ "type": "uint256"
374
+ }
375
+ ],
376
+ "name": "LogSimpleProductRequestAsyncFulfilled",
377
+ "type": "event"
378
+ },
379
+ {
380
+ "anonymous": false,
381
+ "inputs": [
382
+ {
383
+ "indexed": false,
384
+ "internalType": "RequestId",
385
+ "name": "requestId",
386
+ "type": "uint64"
387
+ },
388
+ {
389
+ "indexed": false,
390
+ "internalType": "string",
391
+ "name": "responseText",
392
+ "type": "string"
393
+ },
394
+ {
395
+ "indexed": false,
396
+ "internalType": "uint256",
397
+ "name": "responseDataLength",
398
+ "type": "uint256"
399
+ }
400
+ ],
401
+ "name": "LogSimpleProductRequestSyncFulfilled",
402
+ "type": "event"
403
+ },
404
+ {
405
+ "inputs": [],
406
+ "name": "COMPONENT_LOCATION_V1",
407
+ "outputs": [
408
+ {
409
+ "internalType": "bytes32",
410
+ "name": "",
411
+ "type": "bytes32"
412
+ }
413
+ ],
414
+ "stateMutability": "view",
415
+ "type": "function"
416
+ },
417
+ {
418
+ "inputs": [],
419
+ "name": "GIF_RELEASE",
420
+ "outputs": [
421
+ {
422
+ "internalType": "uint256",
423
+ "name": "",
424
+ "type": "uint256"
425
+ }
426
+ ],
427
+ "stateMutability": "view",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [],
432
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
433
+ "outputs": [
434
+ {
435
+ "internalType": "bytes32",
436
+ "name": "",
437
+ "type": "bytes32"
438
+ }
439
+ ],
440
+ "stateMutability": "view",
441
+ "type": "function"
442
+ },
443
+ {
444
+ "inputs": [],
445
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
446
+ "outputs": [
447
+ {
448
+ "internalType": "bytes32",
449
+ "name": "",
450
+ "type": "bytes32"
451
+ }
452
+ ],
453
+ "stateMutability": "view",
454
+ "type": "function"
455
+ },
456
+ {
457
+ "inputs": [],
458
+ "name": "PRODUCT_STORAGE_LOCATION_V1",
459
+ "outputs": [
460
+ {
461
+ "internalType": "bytes32",
462
+ "name": "",
463
+ "type": "bytes32"
464
+ }
465
+ ],
466
+ "stateMutability": "view",
467
+ "type": "function"
468
+ },
469
+ {
470
+ "inputs": [],
471
+ "name": "REGISTERABLE_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
+ {
485
+ "internalType": "NftId",
486
+ "name": "policyNftId",
487
+ "type": "uint96"
488
+ },
489
+ {
490
+ "internalType": "Timestamp",
491
+ "name": "activateAt",
492
+ "type": "uint40"
493
+ }
494
+ ],
495
+ "name": "activate",
496
+ "outputs": [],
497
+ "stateMutability": "nonpayable",
498
+ "type": "function"
499
+ },
500
+ {
501
+ "inputs": [
502
+ {
503
+ "internalType": "address",
504
+ "name": "token",
505
+ "type": "address"
506
+ },
507
+ {
508
+ "internalType": "Amount",
509
+ "name": "spendingLimitAmount",
510
+ "type": "uint96"
511
+ }
512
+ ],
513
+ "name": "approveTokenHandler",
514
+ "outputs": [],
515
+ "stateMutability": "nonpayable",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "Amount",
522
+ "name": "spendingLimitAmount",
523
+ "type": "uint96"
524
+ }
525
+ ],
526
+ "name": "approveTokenHandler",
527
+ "outputs": [],
528
+ "stateMutability": "nonpayable",
529
+ "type": "function"
530
+ },
531
+ {
532
+ "inputs": [],
533
+ "name": "authority",
534
+ "outputs": [
535
+ {
536
+ "internalType": "address",
537
+ "name": "",
538
+ "type": "address"
539
+ }
540
+ ],
541
+ "stateMutability": "view",
542
+ "type": "function"
543
+ },
544
+ {
545
+ "inputs": [
546
+ {
547
+ "internalType": "Amount",
548
+ "name": "sumInsuredAmount",
549
+ "type": "uint96"
550
+ },
551
+ {
552
+ "internalType": "RiskId",
553
+ "name": "",
554
+ "type": "bytes8"
555
+ },
556
+ {
557
+ "internalType": "Seconds",
558
+ "name": "",
559
+ "type": "uint40"
560
+ },
561
+ {
562
+ "internalType": "bytes",
563
+ "name": "",
564
+ "type": "bytes"
565
+ }
566
+ ],
567
+ "name": "calculateNetPremium",
568
+ "outputs": [
569
+ {
570
+ "internalType": "Amount",
571
+ "name": "netPremiumAmount",
572
+ "type": "uint96"
573
+ }
574
+ ],
575
+ "stateMutability": "view",
576
+ "type": "function"
577
+ },
578
+ {
579
+ "inputs": [
580
+ {
581
+ "internalType": "Amount",
582
+ "name": "sumInsuredAmount",
583
+ "type": "uint96"
584
+ },
585
+ {
586
+ "internalType": "RiskId",
587
+ "name": "riskId",
588
+ "type": "bytes8"
589
+ },
590
+ {
591
+ "internalType": "Seconds",
592
+ "name": "lifetime",
593
+ "type": "uint40"
594
+ },
595
+ {
596
+ "internalType": "bytes",
597
+ "name": "applicationData",
598
+ "type": "bytes"
599
+ },
600
+ {
601
+ "internalType": "NftId",
602
+ "name": "bundleNftId",
603
+ "type": "uint96"
604
+ },
605
+ {
606
+ "internalType": "ReferralId",
607
+ "name": "referralId",
608
+ "type": "bytes8"
609
+ }
610
+ ],
611
+ "name": "calculatePremium",
612
+ "outputs": [
613
+ {
614
+ "internalType": "Amount",
615
+ "name": "premiumAmount",
616
+ "type": "uint96"
617
+ }
618
+ ],
619
+ "stateMutability": "view",
620
+ "type": "function"
621
+ },
622
+ {
623
+ "inputs": [
624
+ {
625
+ "internalType": "RequestId",
626
+ "name": "requestId",
627
+ "type": "uint64"
628
+ }
629
+ ],
630
+ "name": "cancelOracleRequest",
631
+ "outputs": [],
632
+ "stateMutability": "nonpayable",
633
+ "type": "function"
634
+ },
635
+ {
636
+ "inputs": [
637
+ {
638
+ "internalType": "NftId",
639
+ "name": "policyNftId",
640
+ "type": "uint96"
641
+ }
642
+ ],
643
+ "name": "close",
644
+ "outputs": [],
645
+ "stateMutability": "nonpayable",
646
+ "type": "function"
647
+ },
648
+ {
649
+ "inputs": [
650
+ {
651
+ "internalType": "NftId",
652
+ "name": "policyNftId",
653
+ "type": "uint96"
654
+ },
655
+ {
656
+ "internalType": "ClaimId",
657
+ "name": "claimId",
658
+ "type": "uint16"
659
+ }
660
+ ],
661
+ "name": "closeClaim",
662
+ "outputs": [],
663
+ "stateMutability": "nonpayable",
664
+ "type": "function"
665
+ },
666
+ {
667
+ "inputs": [
668
+ {
669
+ "internalType": "NftId",
670
+ "name": "policyNftId",
671
+ "type": "uint96"
672
+ },
673
+ {
674
+ "internalType": "Timestamp",
675
+ "name": "activateAt",
676
+ "type": "uint40"
677
+ }
678
+ ],
679
+ "name": "collectPremium",
680
+ "outputs": [],
681
+ "stateMutability": "nonpayable",
682
+ "type": "function"
683
+ },
684
+ {
685
+ "inputs": [
686
+ {
687
+ "internalType": "NftId",
688
+ "name": "policyNftId",
689
+ "type": "uint96"
690
+ },
691
+ {
692
+ "internalType": "ClaimId",
693
+ "name": "claimId",
694
+ "type": "uint16"
695
+ },
696
+ {
697
+ "internalType": "Amount",
698
+ "name": "confirmedAmount",
699
+ "type": "uint96"
700
+ },
701
+ {
702
+ "internalType": "bytes",
703
+ "name": "processData",
704
+ "type": "bytes"
705
+ }
706
+ ],
707
+ "name": "confirmClaim",
708
+ "outputs": [],
709
+ "stateMutability": "nonpayable",
710
+ "type": "function"
711
+ },
712
+ {
713
+ "inputs": [
714
+ {
715
+ "internalType": "address",
716
+ "name": "applicationOwner",
717
+ "type": "address"
718
+ },
719
+ {
720
+ "internalType": "RiskId",
721
+ "name": "riskId",
722
+ "type": "bytes8"
723
+ },
724
+ {
725
+ "internalType": "uint256",
726
+ "name": "sumInsured",
727
+ "type": "uint256"
728
+ },
729
+ {
730
+ "internalType": "Seconds",
731
+ "name": "lifetime",
732
+ "type": "uint40"
733
+ },
734
+ {
735
+ "internalType": "bytes",
736
+ "name": "applicationData",
737
+ "type": "bytes"
738
+ },
739
+ {
740
+ "internalType": "NftId",
741
+ "name": "bundleNftId",
742
+ "type": "uint96"
743
+ },
744
+ {
745
+ "internalType": "ReferralId",
746
+ "name": "referralId",
747
+ "type": "bytes8"
748
+ }
749
+ ],
750
+ "name": "createApplication",
751
+ "outputs": [
752
+ {
753
+ "internalType": "NftId",
754
+ "name": "nftId",
755
+ "type": "uint96"
756
+ }
757
+ ],
758
+ "stateMutability": "nonpayable",
759
+ "type": "function"
760
+ },
761
+ {
762
+ "inputs": [
763
+ {
764
+ "internalType": "NftId",
765
+ "name": "oracleNftId",
766
+ "type": "uint96"
767
+ },
768
+ {
769
+ "internalType": "string",
770
+ "name": "requestText",
771
+ "type": "string"
772
+ },
773
+ {
774
+ "internalType": "Timestamp",
775
+ "name": "expiryAt",
776
+ "type": "uint40"
777
+ },
778
+ {
779
+ "internalType": "bool",
780
+ "name": "synchronous",
781
+ "type": "bool"
782
+ }
783
+ ],
784
+ "name": "createOracleRequest",
785
+ "outputs": [
786
+ {
787
+ "internalType": "RequestId",
788
+ "name": "",
789
+ "type": "uint64"
790
+ }
791
+ ],
792
+ "stateMutability": "nonpayable",
793
+ "type": "function"
794
+ },
795
+ {
796
+ "inputs": [
797
+ {
798
+ "internalType": "NftId",
799
+ "name": "policyNftId",
800
+ "type": "uint96"
801
+ },
802
+ {
803
+ "internalType": "ClaimId",
804
+ "name": "claimId",
805
+ "type": "uint16"
806
+ },
807
+ {
808
+ "internalType": "Amount",
809
+ "name": "amount",
810
+ "type": "uint96"
811
+ },
812
+ {
813
+ "internalType": "bytes",
814
+ "name": "data",
815
+ "type": "bytes"
816
+ }
817
+ ],
818
+ "name": "createPayout",
819
+ "outputs": [
820
+ {
821
+ "internalType": "PayoutId",
822
+ "name": "",
823
+ "type": "uint40"
824
+ }
825
+ ],
826
+ "stateMutability": "nonpayable",
827
+ "type": "function"
828
+ },
829
+ {
830
+ "inputs": [
831
+ {
832
+ "internalType": "NftId",
833
+ "name": "policyNftId",
834
+ "type": "uint96"
835
+ },
836
+ {
837
+ "internalType": "ClaimId",
838
+ "name": "claimId",
839
+ "type": "uint16"
840
+ },
841
+ {
842
+ "internalType": "Amount",
843
+ "name": "amount",
844
+ "type": "uint96"
845
+ },
846
+ {
847
+ "internalType": "address",
848
+ "name": "beneficiary",
849
+ "type": "address"
850
+ },
851
+ {
852
+ "internalType": "bytes",
853
+ "name": "data",
854
+ "type": "bytes"
855
+ }
856
+ ],
857
+ "name": "createPayoutForBeneficiary",
858
+ "outputs": [
859
+ {
860
+ "internalType": "PayoutId",
861
+ "name": "",
862
+ "type": "uint40"
863
+ }
864
+ ],
865
+ "stateMutability": "nonpayable",
866
+ "type": "function"
867
+ },
868
+ {
869
+ "inputs": [
870
+ {
871
+ "internalType": "NftId",
872
+ "name": "applicationNftId",
873
+ "type": "uint96"
874
+ },
875
+ {
876
+ "internalType": "bool",
877
+ "name": "requirePremiumPayment",
878
+ "type": "bool"
879
+ },
880
+ {
881
+ "internalType": "Timestamp",
882
+ "name": "activateAt",
883
+ "type": "uint40"
884
+ }
885
+ ],
886
+ "name": "createPolicy",
887
+ "outputs": [],
888
+ "stateMutability": "nonpayable",
889
+ "type": "function"
890
+ },
891
+ {
892
+ "inputs": [
893
+ {
894
+ "internalType": "RiskId",
895
+ "name": "id",
896
+ "type": "bytes8"
897
+ },
898
+ {
899
+ "internalType": "bytes",
900
+ "name": "data",
901
+ "type": "bytes"
902
+ }
903
+ ],
904
+ "name": "createRisk",
905
+ "outputs": [],
906
+ "stateMutability": "nonpayable",
907
+ "type": "function"
908
+ },
909
+ {
910
+ "inputs": [
911
+ {
912
+ "internalType": "NftId",
913
+ "name": "policyNftId",
914
+ "type": "uint96"
915
+ }
916
+ ],
917
+ "name": "decline",
918
+ "outputs": [],
919
+ "stateMutability": "nonpayable",
920
+ "type": "function"
921
+ },
922
+ {
923
+ "inputs": [
924
+ {
925
+ "internalType": "NftId",
926
+ "name": "policyNftId",
927
+ "type": "uint96"
928
+ },
929
+ {
930
+ "internalType": "ClaimId",
931
+ "name": "claimId",
932
+ "type": "uint16"
933
+ },
934
+ {
935
+ "internalType": "bytes",
936
+ "name": "processData",
937
+ "type": "bytes"
938
+ }
939
+ ],
940
+ "name": "declineClaim",
941
+ "outputs": [],
942
+ "stateMutability": "nonpayable",
943
+ "type": "function"
944
+ },
945
+ {
946
+ "inputs": [],
947
+ "name": "doSomethingSpecial",
948
+ "outputs": [
949
+ {
950
+ "internalType": "bool",
951
+ "name": "",
952
+ "type": "bool"
953
+ }
954
+ ],
955
+ "stateMutability": "nonpayable",
956
+ "type": "function"
957
+ },
958
+ {
959
+ "inputs": [],
960
+ "name": "doWhenNotLocked",
961
+ "outputs": [
962
+ {
963
+ "internalType": "bool",
964
+ "name": "",
965
+ "type": "bool"
966
+ }
967
+ ],
968
+ "stateMutability": "nonpayable",
969
+ "type": "function"
970
+ },
971
+ {
972
+ "inputs": [
973
+ {
974
+ "internalType": "NftId",
975
+ "name": "policyNftId",
976
+ "type": "uint96"
977
+ },
978
+ {
979
+ "internalType": "Timestamp",
980
+ "name": "expireAt",
981
+ "type": "uint40"
982
+ }
983
+ ],
984
+ "name": "expire",
985
+ "outputs": [
986
+ {
987
+ "internalType": "Timestamp",
988
+ "name": "",
989
+ "type": "uint40"
990
+ }
991
+ ],
992
+ "stateMutability": "nonpayable",
993
+ "type": "function"
994
+ },
995
+ {
996
+ "inputs": [
997
+ {
998
+ "internalType": "RequestId",
999
+ "name": "requestId",
1000
+ "type": "uint64"
1001
+ },
1002
+ {
1003
+ "internalType": "bytes",
1004
+ "name": "responseData",
1005
+ "type": "bytes"
1006
+ }
1007
+ ],
1008
+ "name": "fulfillOracleRequestAsync",
1009
+ "outputs": [],
1010
+ "stateMutability": "nonpayable",
1011
+ "type": "function"
1012
+ },
1013
+ {
1014
+ "inputs": [
1015
+ {
1016
+ "internalType": "RequestId",
1017
+ "name": "requestId",
1018
+ "type": "uint64"
1019
+ },
1020
+ {
1021
+ "internalType": "bytes",
1022
+ "name": "responseData",
1023
+ "type": "bytes"
1024
+ }
1025
+ ],
1026
+ "name": "fulfillOracleRequestSync",
1027
+ "outputs": [],
1028
+ "stateMutability": "nonpayable",
1029
+ "type": "function"
1030
+ },
1031
+ {
1032
+ "inputs": [],
1033
+ "name": "getAuthorization",
1034
+ "outputs": [
1035
+ {
1036
+ "internalType": "contract IAuthorization",
1037
+ "name": "authorization",
1038
+ "type": "address"
1039
+ }
1040
+ ],
1041
+ "stateMutability": "view",
1042
+ "type": "function"
1043
+ },
1044
+ {
1045
+ "inputs": [],
1046
+ "name": "getComponentInfo",
1047
+ "outputs": [
1048
+ {
1049
+ "components": [
1050
+ {
1051
+ "internalType": "string",
1052
+ "name": "name",
1053
+ "type": "string"
1054
+ },
1055
+ {
1056
+ "internalType": "contract IERC20Metadata",
1057
+ "name": "token",
1058
+ "type": "address"
1059
+ },
1060
+ {
1061
+ "internalType": "contract TokenHandler",
1062
+ "name": "tokenHandler",
1063
+ "type": "address"
1064
+ },
1065
+ {
1066
+ "internalType": "address",
1067
+ "name": "wallet",
1068
+ "type": "address"
1069
+ },
1070
+ {
1071
+ "internalType": "bytes",
1072
+ "name": "data",
1073
+ "type": "bytes"
1074
+ }
1075
+ ],
1076
+ "internalType": "struct IComponents.ComponentInfo",
1077
+ "name": "info",
1078
+ "type": "tuple"
1079
+ }
1080
+ ],
1081
+ "stateMutability": "view",
1082
+ "type": "function"
1083
+ },
1084
+ {
1085
+ "inputs": [],
1086
+ "name": "getInitialComponentInfo",
1087
+ "outputs": [
1088
+ {
1089
+ "components": [
1090
+ {
1091
+ "internalType": "string",
1092
+ "name": "name",
1093
+ "type": "string"
1094
+ },
1095
+ {
1096
+ "internalType": "contract IERC20Metadata",
1097
+ "name": "token",
1098
+ "type": "address"
1099
+ },
1100
+ {
1101
+ "internalType": "contract TokenHandler",
1102
+ "name": "tokenHandler",
1103
+ "type": "address"
1104
+ },
1105
+ {
1106
+ "internalType": "address",
1107
+ "name": "wallet",
1108
+ "type": "address"
1109
+ },
1110
+ {
1111
+ "internalType": "bytes",
1112
+ "name": "data",
1113
+ "type": "bytes"
1114
+ }
1115
+ ],
1116
+ "internalType": "struct IComponents.ComponentInfo",
1117
+ "name": "info",
1118
+ "type": "tuple"
1119
+ }
1120
+ ],
1121
+ "stateMutability": "view",
1122
+ "type": "function"
1123
+ },
1124
+ {
1125
+ "inputs": [],
1126
+ "name": "getInitialInfo",
1127
+ "outputs": [
1128
+ {
1129
+ "components": [
1130
+ {
1131
+ "internalType": "NftId",
1132
+ "name": "nftId",
1133
+ "type": "uint96"
1134
+ },
1135
+ {
1136
+ "internalType": "NftId",
1137
+ "name": "parentNftId",
1138
+ "type": "uint96"
1139
+ },
1140
+ {
1141
+ "internalType": "ObjectType",
1142
+ "name": "objectType",
1143
+ "type": "uint8"
1144
+ },
1145
+ {
1146
+ "internalType": "bool",
1147
+ "name": "isInterceptor",
1148
+ "type": "bool"
1149
+ },
1150
+ {
1151
+ "internalType": "address",
1152
+ "name": "objectAddress",
1153
+ "type": "address"
1154
+ },
1155
+ {
1156
+ "internalType": "address",
1157
+ "name": "initialOwner",
1158
+ "type": "address"
1159
+ },
1160
+ {
1161
+ "internalType": "bytes",
1162
+ "name": "data",
1163
+ "type": "bytes"
1164
+ }
1165
+ ],
1166
+ "internalType": "struct IRegistry.ObjectInfo",
1167
+ "name": "info",
1168
+ "type": "tuple"
1169
+ }
1170
+ ],
1171
+ "stateMutability": "view",
1172
+ "type": "function"
1173
+ },
1174
+ {
1175
+ "inputs": [],
1176
+ "name": "getInitialProductInfo",
1177
+ "outputs": [
1178
+ {
1179
+ "components": [
1180
+ {
1181
+ "internalType": "bool",
1182
+ "name": "isProcessingFundedClaims",
1183
+ "type": "bool"
1184
+ },
1185
+ {
1186
+ "internalType": "bool",
1187
+ "name": "hasDistribution",
1188
+ "type": "bool"
1189
+ },
1190
+ {
1191
+ "internalType": "uint8",
1192
+ "name": "expectedNumberOfOracles",
1193
+ "type": "uint8"
1194
+ },
1195
+ {
1196
+ "internalType": "uint8",
1197
+ "name": "numberOfOracles",
1198
+ "type": "uint8"
1199
+ },
1200
+ {
1201
+ "internalType": "NftId",
1202
+ "name": "poolNftId",
1203
+ "type": "uint96"
1204
+ },
1205
+ {
1206
+ "internalType": "NftId",
1207
+ "name": "distributionNftId",
1208
+ "type": "uint96"
1209
+ },
1210
+ {
1211
+ "internalType": "NftId[]",
1212
+ "name": "oracleNftId",
1213
+ "type": "uint96[]"
1214
+ },
1215
+ {
1216
+ "components": [
1217
+ {
1218
+ "internalType": "UFixed",
1219
+ "name": "fractionalFee",
1220
+ "type": "uint256"
1221
+ },
1222
+ {
1223
+ "internalType": "uint256",
1224
+ "name": "fixedFee",
1225
+ "type": "uint256"
1226
+ }
1227
+ ],
1228
+ "internalType": "struct Fee",
1229
+ "name": "productFee",
1230
+ "type": "tuple"
1231
+ },
1232
+ {
1233
+ "components": [
1234
+ {
1235
+ "internalType": "UFixed",
1236
+ "name": "fractionalFee",
1237
+ "type": "uint256"
1238
+ },
1239
+ {
1240
+ "internalType": "uint256",
1241
+ "name": "fixedFee",
1242
+ "type": "uint256"
1243
+ }
1244
+ ],
1245
+ "internalType": "struct Fee",
1246
+ "name": "processingFee",
1247
+ "type": "tuple"
1248
+ },
1249
+ {
1250
+ "components": [
1251
+ {
1252
+ "internalType": "UFixed",
1253
+ "name": "fractionalFee",
1254
+ "type": "uint256"
1255
+ },
1256
+ {
1257
+ "internalType": "uint256",
1258
+ "name": "fixedFee",
1259
+ "type": "uint256"
1260
+ }
1261
+ ],
1262
+ "internalType": "struct Fee",
1263
+ "name": "distributionFee",
1264
+ "type": "tuple"
1265
+ },
1266
+ {
1267
+ "components": [
1268
+ {
1269
+ "internalType": "UFixed",
1270
+ "name": "fractionalFee",
1271
+ "type": "uint256"
1272
+ },
1273
+ {
1274
+ "internalType": "uint256",
1275
+ "name": "fixedFee",
1276
+ "type": "uint256"
1277
+ }
1278
+ ],
1279
+ "internalType": "struct Fee",
1280
+ "name": "minDistributionOwnerFee",
1281
+ "type": "tuple"
1282
+ },
1283
+ {
1284
+ "components": [
1285
+ {
1286
+ "internalType": "UFixed",
1287
+ "name": "fractionalFee",
1288
+ "type": "uint256"
1289
+ },
1290
+ {
1291
+ "internalType": "uint256",
1292
+ "name": "fixedFee",
1293
+ "type": "uint256"
1294
+ }
1295
+ ],
1296
+ "internalType": "struct Fee",
1297
+ "name": "poolFee",
1298
+ "type": "tuple"
1299
+ },
1300
+ {
1301
+ "components": [
1302
+ {
1303
+ "internalType": "UFixed",
1304
+ "name": "fractionalFee",
1305
+ "type": "uint256"
1306
+ },
1307
+ {
1308
+ "internalType": "uint256",
1309
+ "name": "fixedFee",
1310
+ "type": "uint256"
1311
+ }
1312
+ ],
1313
+ "internalType": "struct Fee",
1314
+ "name": "stakingFee",
1315
+ "type": "tuple"
1316
+ },
1317
+ {
1318
+ "components": [
1319
+ {
1320
+ "internalType": "UFixed",
1321
+ "name": "fractionalFee",
1322
+ "type": "uint256"
1323
+ },
1324
+ {
1325
+ "internalType": "uint256",
1326
+ "name": "fixedFee",
1327
+ "type": "uint256"
1328
+ }
1329
+ ],
1330
+ "internalType": "struct Fee",
1331
+ "name": "performanceFee",
1332
+ "type": "tuple"
1333
+ }
1334
+ ],
1335
+ "internalType": "struct IComponents.ProductInfo",
1336
+ "name": "poolInfo",
1337
+ "type": "tuple"
1338
+ }
1339
+ ],
1340
+ "stateMutability": "view",
1341
+ "type": "function"
1342
+ },
1343
+ {
1344
+ "inputs": [],
1345
+ "name": "getInstance",
1346
+ "outputs": [
1347
+ {
1348
+ "internalType": "contract IInstance",
1349
+ "name": "instance",
1350
+ "type": "address"
1351
+ }
1352
+ ],
1353
+ "stateMutability": "view",
1354
+ "type": "function"
1355
+ },
1356
+ {
1357
+ "inputs": [],
1358
+ "name": "getName",
1359
+ "outputs": [
1360
+ {
1361
+ "internalType": "string",
1362
+ "name": "name",
1363
+ "type": "string"
1364
+ }
1365
+ ],
1366
+ "stateMutability": "view",
1367
+ "type": "function"
1368
+ },
1369
+ {
1370
+ "inputs": [],
1371
+ "name": "getNftId",
1372
+ "outputs": [
1373
+ {
1374
+ "internalType": "NftId",
1375
+ "name": "",
1376
+ "type": "uint96"
1377
+ }
1378
+ ],
1379
+ "stateMutability": "view",
1380
+ "type": "function"
1381
+ },
1382
+ {
1383
+ "inputs": [],
1384
+ "name": "getOracleService",
1385
+ "outputs": [
1386
+ {
1387
+ "internalType": "contract IOracleService",
1388
+ "name": "",
1389
+ "type": "address"
1390
+ }
1391
+ ],
1392
+ "stateMutability": "view",
1393
+ "type": "function"
1394
+ },
1395
+ {
1396
+ "inputs": [],
1397
+ "name": "getOwner",
1398
+ "outputs": [
1399
+ {
1400
+ "internalType": "address",
1401
+ "name": "",
1402
+ "type": "address"
1403
+ }
1404
+ ],
1405
+ "stateMutability": "view",
1406
+ "type": "function"
1407
+ },
1408
+ {
1409
+ "inputs": [],
1410
+ "name": "getRegistry",
1411
+ "outputs": [
1412
+ {
1413
+ "internalType": "contract IRegistry",
1414
+ "name": "",
1415
+ "type": "address"
1416
+ }
1417
+ ],
1418
+ "stateMutability": "view",
1419
+ "type": "function"
1420
+ },
1421
+ {
1422
+ "inputs": [],
1423
+ "name": "getRelease",
1424
+ "outputs": [
1425
+ {
1426
+ "internalType": "VersionPart",
1427
+ "name": "release",
1428
+ "type": "uint8"
1429
+ }
1430
+ ],
1431
+ "stateMutability": "pure",
1432
+ "type": "function"
1433
+ },
1434
+ {
1435
+ "inputs": [],
1436
+ "name": "getToken",
1437
+ "outputs": [
1438
+ {
1439
+ "internalType": "contract IERC20Metadata",
1440
+ "name": "token",
1441
+ "type": "address"
1442
+ }
1443
+ ],
1444
+ "stateMutability": "view",
1445
+ "type": "function"
1446
+ },
1447
+ {
1448
+ "inputs": [],
1449
+ "name": "getTokenHandler",
1450
+ "outputs": [
1451
+ {
1452
+ "internalType": "contract TokenHandler",
1453
+ "name": "tokenHandler",
1454
+ "type": "address"
1455
+ }
1456
+ ],
1457
+ "stateMutability": "view",
1458
+ "type": "function"
1459
+ },
1460
+ {
1461
+ "inputs": [],
1462
+ "name": "getWallet",
1463
+ "outputs": [
1464
+ {
1465
+ "internalType": "address",
1466
+ "name": "walletAddress",
1467
+ "type": "address"
1468
+ }
1469
+ ],
1470
+ "stateMutability": "view",
1471
+ "type": "function"
1472
+ },
1473
+ {
1474
+ "inputs": [
1475
+ {
1476
+ "internalType": "address",
1477
+ "name": "registry",
1478
+ "type": "address"
1479
+ },
1480
+ {
1481
+ "internalType": "NftId",
1482
+ "name": "instanceNftid",
1483
+ "type": "uint96"
1484
+ },
1485
+ {
1486
+ "internalType": "contract IAuthorization",
1487
+ "name": "authorization",
1488
+ "type": "address"
1489
+ },
1490
+ {
1491
+ "internalType": "address",
1492
+ "name": "initialOwner",
1493
+ "type": "address"
1494
+ },
1495
+ {
1496
+ "internalType": "string",
1497
+ "name": "name",
1498
+ "type": "string"
1499
+ },
1500
+ {
1501
+ "internalType": "address",
1502
+ "name": "token",
1503
+ "type": "address"
1504
+ },
1505
+ {
1506
+ "internalType": "bool",
1507
+ "name": "isInterceptor",
1508
+ "type": "bool"
1509
+ },
1510
+ {
1511
+ "internalType": "bool",
1512
+ "name": "hasDistribution",
1513
+ "type": "bool"
1514
+ },
1515
+ {
1516
+ "internalType": "uint8",
1517
+ "name": "numberOfOracles",
1518
+ "type": "uint8"
1519
+ }
1520
+ ],
1521
+ "name": "initialize",
1522
+ "outputs": [],
1523
+ "stateMutability": "nonpayable",
1524
+ "type": "function"
1525
+ },
1526
+ {
1527
+ "inputs": [],
1528
+ "name": "isConsumingScheduledOp",
1529
+ "outputs": [
1530
+ {
1531
+ "internalType": "bytes4",
1532
+ "name": "",
1533
+ "type": "bytes4"
1534
+ }
1535
+ ],
1536
+ "stateMutability": "view",
1537
+ "type": "function"
1538
+ },
1539
+ {
1540
+ "inputs": [],
1541
+ "name": "isNftInterceptor",
1542
+ "outputs": [
1543
+ {
1544
+ "internalType": "bool",
1545
+ "name": "isInterceptor",
1546
+ "type": "bool"
1547
+ }
1548
+ ],
1549
+ "stateMutability": "view",
1550
+ "type": "function"
1551
+ },
1552
+ {
1553
+ "inputs": [],
1554
+ "name": "isRegistered",
1555
+ "outputs": [
1556
+ {
1557
+ "internalType": "bool",
1558
+ "name": "",
1559
+ "type": "bool"
1560
+ }
1561
+ ],
1562
+ "stateMutability": "view",
1563
+ "type": "function"
1564
+ },
1565
+ {
1566
+ "inputs": [],
1567
+ "name": "linkToRegisteredNftId",
1568
+ "outputs": [
1569
+ {
1570
+ "internalType": "NftId",
1571
+ "name": "nftId",
1572
+ "type": "uint96"
1573
+ }
1574
+ ],
1575
+ "stateMutability": "nonpayable",
1576
+ "type": "function"
1577
+ },
1578
+ {
1579
+ "inputs": [],
1580
+ "name": "lock",
1581
+ "outputs": [],
1582
+ "stateMutability": "nonpayable",
1583
+ "type": "function"
1584
+ },
1585
+ {
1586
+ "inputs": [
1587
+ {
1588
+ "internalType": "address",
1589
+ "name": "to",
1590
+ "type": "address"
1591
+ },
1592
+ {
1593
+ "internalType": "uint256",
1594
+ "name": "tokenId",
1595
+ "type": "uint256"
1596
+ }
1597
+ ],
1598
+ "name": "nftMint",
1599
+ "outputs": [],
1600
+ "stateMutability": "nonpayable",
1601
+ "type": "function"
1602
+ },
1603
+ {
1604
+ "inputs": [
1605
+ {
1606
+ "internalType": "address",
1607
+ "name": "from",
1608
+ "type": "address"
1609
+ },
1610
+ {
1611
+ "internalType": "address",
1612
+ "name": "to",
1613
+ "type": "address"
1614
+ },
1615
+ {
1616
+ "internalType": "uint256",
1617
+ "name": "tokenId",
1618
+ "type": "uint256"
1619
+ }
1620
+ ],
1621
+ "name": "nftTransferFrom",
1622
+ "outputs": [],
1623
+ "stateMutability": "nonpayable",
1624
+ "type": "function"
1625
+ },
1626
+ {
1627
+ "inputs": [
1628
+ {
1629
+ "internalType": "NftId",
1630
+ "name": "policyNftId",
1631
+ "type": "uint96"
1632
+ },
1633
+ {
1634
+ "internalType": "ClaimId",
1635
+ "name": "claimId",
1636
+ "type": "uint16"
1637
+ },
1638
+ {
1639
+ "internalType": "Amount",
1640
+ "name": "availableAmount",
1641
+ "type": "uint96"
1642
+ }
1643
+ ],
1644
+ "name": "processFundedClaim",
1645
+ "outputs": [],
1646
+ "stateMutability": "nonpayable",
1647
+ "type": "function"
1648
+ },
1649
+ {
1650
+ "inputs": [
1651
+ {
1652
+ "internalType": "NftId",
1653
+ "name": "policyNftId",
1654
+ "type": "uint96"
1655
+ },
1656
+ {
1657
+ "internalType": "PayoutId",
1658
+ "name": "payoutId",
1659
+ "type": "uint40"
1660
+ }
1661
+ ],
1662
+ "name": "processPayout",
1663
+ "outputs": [],
1664
+ "stateMutability": "nonpayable",
1665
+ "type": "function"
1666
+ },
1667
+ {
1668
+ "inputs": [
1669
+ {
1670
+ "internalType": "address",
1671
+ "name": "component",
1672
+ "type": "address"
1673
+ }
1674
+ ],
1675
+ "name": "registerComponent",
1676
+ "outputs": [
1677
+ {
1678
+ "internalType": "NftId",
1679
+ "name": "componentNftId",
1680
+ "type": "uint96"
1681
+ }
1682
+ ],
1683
+ "stateMutability": "nonpayable",
1684
+ "type": "function"
1685
+ },
1686
+ {
1687
+ "inputs": [
1688
+ {
1689
+ "internalType": "RequestId",
1690
+ "name": "requestId",
1691
+ "type": "uint64"
1692
+ }
1693
+ ],
1694
+ "name": "resend",
1695
+ "outputs": [],
1696
+ "stateMutability": "nonpayable",
1697
+ "type": "function"
1698
+ },
1699
+ {
1700
+ "inputs": [
1701
+ {
1702
+ "internalType": "address",
1703
+ "name": "newAuthority",
1704
+ "type": "address"
1705
+ }
1706
+ ],
1707
+ "name": "setAuthority",
1708
+ "outputs": [],
1709
+ "stateMutability": "nonpayable",
1710
+ "type": "function"
1711
+ },
1712
+ {
1713
+ "inputs": [
1714
+ {
1715
+ "components": [
1716
+ {
1717
+ "internalType": "UFixed",
1718
+ "name": "fractionalFee",
1719
+ "type": "uint256"
1720
+ },
1721
+ {
1722
+ "internalType": "uint256",
1723
+ "name": "fixedFee",
1724
+ "type": "uint256"
1725
+ }
1726
+ ],
1727
+ "internalType": "struct Fee",
1728
+ "name": "productFee",
1729
+ "type": "tuple"
1730
+ },
1731
+ {
1732
+ "components": [
1733
+ {
1734
+ "internalType": "UFixed",
1735
+ "name": "fractionalFee",
1736
+ "type": "uint256"
1737
+ },
1738
+ {
1739
+ "internalType": "uint256",
1740
+ "name": "fixedFee",
1741
+ "type": "uint256"
1742
+ }
1743
+ ],
1744
+ "internalType": "struct Fee",
1745
+ "name": "processingFee",
1746
+ "type": "tuple"
1747
+ }
1748
+ ],
1749
+ "name": "setFees",
1750
+ "outputs": [],
1751
+ "stateMutability": "nonpayable",
1752
+ "type": "function"
1753
+ },
1754
+ {
1755
+ "inputs": [
1756
+ {
1757
+ "internalType": "address",
1758
+ "name": "newWallet",
1759
+ "type": "address"
1760
+ }
1761
+ ],
1762
+ "name": "setWallet",
1763
+ "outputs": [],
1764
+ "stateMutability": "nonpayable",
1765
+ "type": "function"
1766
+ },
1767
+ {
1768
+ "inputs": [
1769
+ {
1770
+ "internalType": "NftId",
1771
+ "name": "policyNftId",
1772
+ "type": "uint96"
1773
+ },
1774
+ {
1775
+ "internalType": "Amount",
1776
+ "name": "claimAmount",
1777
+ "type": "uint96"
1778
+ },
1779
+ {
1780
+ "internalType": "bytes",
1781
+ "name": "submissionData",
1782
+ "type": "bytes"
1783
+ }
1784
+ ],
1785
+ "name": "submitClaim",
1786
+ "outputs": [
1787
+ {
1788
+ "internalType": "ClaimId",
1789
+ "name": "",
1790
+ "type": "uint16"
1791
+ }
1792
+ ],
1793
+ "stateMutability": "nonpayable",
1794
+ "type": "function"
1795
+ },
1796
+ {
1797
+ "inputs": [
1798
+ {
1799
+ "internalType": "bytes4",
1800
+ "name": "interfaceId",
1801
+ "type": "bytes4"
1802
+ }
1803
+ ],
1804
+ "name": "supportsInterface",
1805
+ "outputs": [
1806
+ {
1807
+ "internalType": "bool",
1808
+ "name": "",
1809
+ "type": "bool"
1810
+ }
1811
+ ],
1812
+ "stateMutability": "view",
1813
+ "type": "function"
1814
+ },
1815
+ {
1816
+ "inputs": [],
1817
+ "name": "unlock",
1818
+ "outputs": [],
1819
+ "stateMutability": "nonpayable",
1820
+ "type": "function"
1821
+ },
1822
+ {
1823
+ "inputs": [
1824
+ {
1825
+ "internalType": "RiskId",
1826
+ "name": "id",
1827
+ "type": "bytes8"
1828
+ },
1829
+ {
1830
+ "internalType": "bytes",
1831
+ "name": "data",
1832
+ "type": "bytes"
1833
+ }
1834
+ ],
1835
+ "name": "updateRisk",
1836
+ "outputs": [],
1837
+ "stateMutability": "nonpayable",
1838
+ "type": "function"
1839
+ },
1840
+ {
1841
+ "inputs": [
1842
+ {
1843
+ "internalType": "RiskId",
1844
+ "name": "id",
1845
+ "type": "bytes8"
1846
+ },
1847
+ {
1848
+ "internalType": "StateId",
1849
+ "name": "state",
1850
+ "type": "uint8"
1851
+ }
1852
+ ],
1853
+ "name": "updateRiskState",
1854
+ "outputs": [],
1855
+ "stateMutability": "nonpayable",
1856
+ "type": "function"
1857
+ },
1858
+ {
1859
+ "inputs": [
1860
+ {
1861
+ "internalType": "Amount",
1862
+ "name": "amount",
1863
+ "type": "uint96"
1864
+ }
1865
+ ],
1866
+ "name": "withdrawFees",
1867
+ "outputs": [
1868
+ {
1869
+ "internalType": "Amount",
1870
+ "name": "withdrawnAmount",
1871
+ "type": "uint96"
1872
+ }
1873
+ ],
1874
+ "stateMutability": "nonpayable",
1875
+ "type": "function"
1876
+ }
1877
+ ],
1878
+ "bytecode": "0x608060405234801561000f575f80fd5b5060405161691138038061691183398101604081905261002e91610d83565b61006a888888886040518060400160405280600d81526020016c14da5b5c1b19541c9bd91d58dd609a1b8152508989898961007760201b60201c565b5050505050505050611145565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100c05750825b90505f826001600160401b031660011480156100db5750303b155b9050811580156100e9575080155b156101075760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561013557845460ff60401b1916680100000000000000001785555b6101468e8e8e8e8e8e8e8e8e6101cb565b610155600d610205565b610205565b600280546001600160a01b0319166001600160a01b039290921691909117905583156101bb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b6101d3610320565b6101fa898989898989895f8a8a60405180602001604052805f81525061037060201b60201c565b505050505050505050565b5f807fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0054604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa15801561026e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102929190610e23565b90506102a66001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa1580156102f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103199190610e3e565b9392505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661036e57604051631afcd79f60e31b815260040160405180910390fd5b565b610378610320565b61038a8b8b8989600c8e8b8f89610508565b5f7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d6800805461ffff191686151561ff00191617610100861515021762ff000019166201000060ff86160217815590506103e3610150600c90565b81546001600160a01b03919091166301000000026301000000600160b81b0319909116178155610414610150601490565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055610441610150601590565b6002820180546001600160a01b0319166001600160a01b039290921691909117905561046e610150601790565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561049b610150601a90565b6004820180546001600160a01b0319166001600160a01b03929092169190911790556104c8610150600b90565b6005820180546001600160a01b0319166001600160a01b03929092169190911790556104fa631c56415960e31b61074a565b505050505050505050505050565b610510610320565b5f61051c8a8a88610776565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa15801561058e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105b29190610e3e565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051610652929163bf7e214f9160048083019260209291908290030181865afa15801561060c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106309190610e3e565b8c8c8c8c8c8b8b60405180602001604052805f8152508c61082560201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015610699573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106bd9190610e3e565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556106fb610150600b90565b6003820180546001600160a01b0319166001600160a01b039290921691909117905561072d634a531f3360e01b61074a565b61073d6307bb0a0360e51b61074a565b5050505050505050505050565b610752610320565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c036107975761078e8484600a61092a565b50829050610319565b5f6107a48585600c61092a565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa1580156107f1573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526108189190810190610f1e565b6020015195945050505050565b61082d610320565b6001600160a01b038616610854576040516327eab2e360e11b815260040160405180910390fd5b86515f036108755760405163591eebf360e11b815260040160405180910390fd5b6108838989878787876109f4565b61088c8a610aa6565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806108b88982611072565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016109098382611072565b5061091a634a531f3360e01b61074a565b61073d632986755f60e11b61074a565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015610978573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261099f9190810190610f1e565b90506109b681604001518460ff9081169116141590565b156109ec57604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6109fc610320565b610a068683610aba565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff8716021760ff60681b19166d0100000000000000000000000000851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610a9c8382611072565b5050505050505050565b610aae610320565b610ab781610b4c565b50565b610ac2610320565b610acb82610b5d565b610ad3610c69565b6001600160a01b038116610afa5760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610b54610320565b610ab781610cae565b610b65610320565b806001600160a01b03163b5f03610b9a5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109e3565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015610c14575060408051601f3d908101601f19168201909252610c119181019061112c565b60015b610c3c5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016109e3565b80610c655760405163fdeac91f60e01b81526001600160a01b03831660048201526024016109e3565b5050565b610c71610320565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b0381168114610ab7575f80fd5b8051610d4081610d21565b919050565b80516001600160601b0381168114610d40575f80fd5b80518015158114610d40575f80fd5b60ff81168114610ab7575f80fd5b8051610d4081610d6a565b5f805f805f805f80610100898b031215610d9b575f80fd5b8851610da681610d21565b9750610db460208a01610d45565b96506040890151610dc481610d21565b60608a0151909650610dd581610d21565b60808a0151909550610de681610d21565b9350610df460a08a01610d5b565b9250610e0260c08a01610d5b565b915060e0890151610e1281610d6a565b809150509295985092959890939650565b5f60208284031215610e33575f80fd5b815161031981610d6a565b5f60208284031215610e4e575f80fd5b815161031981610d21565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715610e8f57610e8f610e59565b60405290565b5f82601f830112610ea4575f80fd5b81516001600160401b03811115610ebd57610ebd610e59565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610eeb57610eeb610e59565b604052818152838201602001851015610f02575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610f2e575f80fd5b81516001600160401b03811115610f43575f80fd5b820160e08185031215610f54575f80fd5b610f5c610e6d565b610f6582610d45565b8152610f7360208301610d45565b6020820152610f8460408301610d78565b6040820152610f9560608301610d5b565b6060820152610fa660808301610d35565b6080820152610fb760a08301610d35565b60a082015260c08201516001600160401b03811115610fd4575f80fd5b610fe086828501610e95565b60c083015250949350505050565b600181811c9082168061100257607f821691505b60208210810361102057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561106d57805f5260205f20601f840160051c8101602085101561104b5750805b601f840160051c820191505b8181101561106a575f8155600101611057565b50505b505050565b81516001600160401b0381111561108b5761108b610e59565b61109f816110998454610fee565b84611026565b6020601f8211600181146110d1575f83156110ba5750848201515b5f19600385901b1c1916600184901b17845561106a565b5f84815260208120601f198516915b8281101561110057878501518255602094850194600190920191016110e0565b508482101561111d57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561113c575f80fd5b61031982610d5b565b6157bf806111525f395ff3fe608060405234801561000f575f80fd5b50600436106103d5575f3560e01c8063755bf1fd11610200578063b20f41191161011f578063de7b5d14116100b4578063e7f7fb8611610084578063e7f7fb86146108c3578063e9b2460c146108d6578063ea15869f146108fd578063f179d06414610924578063f83d08ba14610937575f80fd5b8063de7b5d141461086d578063deaa59df1461088a578063e01f7a431461089d578063e1f216fa146108b0575f80fd5b8063bb1e0e59116100ef578063bb1e0e591461082a578063bbfbbfba1461083d578063bf7e214f14610850578063c108bd4c14610858575f80fd5b8063b20f4119146107e9578063b423086c146107fc578063b6b412ba14610804578063bae99c9914610817575f80fd5b80638f997f6d116101955780639ffcede9116101655780639ffcede9146107a9578063a69df4b5146107bc578063a7ecda36146107c4578063ada9652e146107d5575f80fd5b80638f997f6d1461074d5780638fb360371461076057806390edbd3514610781578063969fc93014610796575f80fd5b80637cef4842116101d05780637cef48421461072a5780638899278a1461073d578063893d20e8146107455780638cf33e9014610555575f80fd5b8063755bf1fd146106d757806376b707b7146106ea5780637a9e5e4b146107045780637baa9a0b14610717575f80fd5b80632cd17e53116102f75780634d5e16a91161028c5780636078a3b21161025c5780636078a3b214610666578063644c45e0146106795780636bd1c0eb14610681578063721192fb146106b157806373369603146106c4575f80fd5b80634d5e16a9146106275780635349d2a81461063a5780635741e5e91461064d5780635ab1bd5314610655575f80fd5b80633c53258e116102c75780633c53258e146105bd578063419197fe146105e657806343d752d3146105f95780634d4889ad14610601575f80fd5b80632cd17e53146105705780632eb3e6f4146105835780632f4542601461059757806330b4c159146105aa575f80fd5b806314cfae3a1161036d57806321df0da71161033d57806321df0da714610545578063223668441461054d578063238cc4a5146105555780632ccc7da41461055d575f80fd5b806314cfae3a146104bd57806317d7de7c146104e85780631c6b2190146104fd5780631eff4b2214610510575f80fd5b80630fec111c116103a85780630fec111c14610455578063132996041461046a578063137a92a71461048a578063138461e01461049d575f80fd5b806301a57efc146103d957806301ffc9a7146103ee578063095e2b721461042f5780630aaba8e814610442575b5f80fd5b6103ec6103e73660046140ab565b61093f565b005b61041a6103fc3660046140e2565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6103ec61043d36600461426b565b61094d565b6103ec6104503660046142b7565b610957565b61045d610963565b6040516104269190614300565b610472610b21565b6040516001600160a01b039091168152602001610426565b6103ec61049836600461439e565b610b33565b6104a5610b3d565b6040516001600160601b039091168152602001610426565b6104d06104cb3660046143e2565b610b4c565b6040516001600160401b039091168152602001610426565b6104f0610c44565b6040516104269190614452565b6104a561050b3660046142b7565b610c54565b6105377f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610426565b610472610cb2565b61041a610cc4565b61041a610dba565b6103ec61056b366004614478565b610dca565b6103ec61057e366004614493565b610e2f565b6105375f8051602061576a83398151915281565b6103ec6105a53660046144dc565b610f45565b6103ec6105b83660046145a3565b611090565b6105d06105cb3660046145eb565b6110b3565b60405164ffffffffff9091168152602001610426565b6103ec6105f436600461465b565b6110c9565b610472611314565b61061461060f366004614687565b611326565b60405161ffff9091168152602001610426565b6103ec61063536600461439e565b61133c565b6104a56106483660046146e4565b611346565b61041a61149e565b6001546001600160a01b0316610472565b6104a5610674366004614779565b611552565b6104a5611605565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610472565b6104a56106bf366004614794565b611620565b6103ec6106d2366004614478565b6116c7565b6103ec6106e5366004614493565b611700565b6106f261174b565b60405160ff9091168152602001610426565b6103ec610712366004614779565b6117bf565b6105d061072536600461439e565b611841565b6103ec610738366004614833565b61184c565b610537600381565b610472611856565b6103ec61075b36600461426b565b611987565b610768611991565b6040516001600160e01b03199091168152602001610426565b6107896119c6565b604051610426919061485f565b6103ec6107a43660046145eb565b6119eb565b6103ec6107b73660046142b7565b6119fd565b6103ec611a06565b6002546001600160a01b0316610472565b6105375f8051602061572a83398151915281565b6103ec6107f73660046148ca565b611a9e565b610789611aa9565b6103ec610812366004614926565b611ab9565b6103ec6108253660046142b7565b611b07565b6103ec610838366004614959565b611b53565b6103ec61084b36600461439e565b611bf0565b610472611bfa565b610860611c15565b60405161042691906149c6565b5f8051602061576a833981519152546001600160a01b0316610472565b6103ec610898366004614779565b612189565b6105d06108ab366004614b0d565b612400565b6103ec6108be366004614b8f565b612418565b6103ec6108d1366004614bcc565b6124db565b6105377f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d680081565b6105377fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6104a5610932366004614c0a565b612578565b6103ec612666565b61094982826126da565b5050565b6109498282612753565b61096081612791565b50565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a379190614c53565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610a7f611856565b6001600160a01b03168152602001826001018054610a9c90614c6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac890614c6e565b8015610b135780601f10610aea57610100808354040283529160200191610b13565b820191905f5260205f20905b815481529060010190602001808311610af657829003601f168201915b505050505081525091505090565b5f610b2a6119c6565b60600151905090565b61094982826127d3565b5f610b4730612822565b905090565b5f806040518060400160405280841515815260200186815250604051602001610b759190614ca6565b60405160208183030381529060405290508215610c085760025460405163f684566360e01b81526001600160a01b039091169063f684566390610bc090899085908990600401614ccc565b6020604051808303815f875af1158015610bdc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c009190614d3b565b915050610c3c565b60025460405163f684566360e01b81526001600160a01b039091169063f684566390610bc090899085908990600401614d56565b949350505050565b6060610c4e6119c6565b51919050565b5f610c5d611856565b6001600160a01b0316336001600160a01b031614610c955760405163086391f760e31b81523360048201526024015b60405180910390fd5b610ca1335b5f36612a1b565b610caa82612b11565b90505b919050565b5f610cbb6119c6565b60200151905090565b5f610cd76001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610d1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3f9190614c53565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b479190614dd0565b5f610dc433610c9a565b50600190565b600254604051630b331f6960e21b81526001600160401b03831660048201526001600160a01b0390911690632ccc7da4906024015b5f604051808303815f87803b158015610e16575f80fd5b505af1158015610e28573d5f803e3d5ffd5b5050505050565b5f81806020019051810190610e449190614e3a565b80519091508015610ed35750610ed3816020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec39190614ee7565b64ffffffffff9081169116101590565b15610efc57604051636df3767d60e11b81526001600160401b0384166004820152602401610c8c565b7f9ff379e60e2b20360617d792204477efac6e2125229ee6c900882db15061e9a5838260400151836040015151604051610f3893929190614f02565b60405180910390a1505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610f895750825b90505f826001600160401b03166001148015610fa45750303b155b905081158015610fb2575080155b15610fd05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ffa57845460ff60401b1916600160401b1785555b61100b8e8e8e8e8e8e8e8e8e612b69565b61101a600d612b9d565b612b9d565b600280546001600160a01b0319166001600160a01b0392909216919091179055831561108057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b61109a8382612c9e565b8115156001036110ae576110ae8382612ced565b505050565b5f6110c085858585612d3c565b95945050505050565b6110d1611856565b6001600160a01b0316336001600160a01b0316146111045760405163086391f760e31b8152336004820152602401610c8c565b3061110d610b21565b6001600160a01b0316146111345760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af415801561118c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b09190614f33565b90505f6112278373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156111fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112229190614c53565b612dbc565b1561123457505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce61125d611314565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b36112a6611314565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af11580156112f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e289190614dd0565b5f61131d6119c6565b60400151905090565b5f611332848484612e40565b90505b9392505050565b6109498282612ebe565b5f82601f6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156113ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d09190614dd0565b6114015760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c8c565b5f61140a612f0d565b600401546001600160a01b031663f4bfe53a611424611605565b8b8d8c8c8c8c6040518863ffffffff1660e01b815260040161144c9796959493929190614f4a565b61024060405180830381865afa158015611468573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061148c9190614fc7565b60a001519a9950505050505050505050565b5f6114a7610cc4565b15611522576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156114fb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b2a919081019061513f565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f61155b611856565b6001600160a01b0316336001600160a01b03161461158e5760405163086391f760e31b8152336004820152602401610c8c565b611596612f0d565b6005015460405163303c51d960e11b81526001600160a01b03848116600483015290911690636078a3b2906024015b6020604051808303815f875af11580156115e1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610caa9190614c53565b5f8051602061572a833981519152546001600160601b031690565b604051632620eecb60e11b8152600481018690525f90819073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af4158015611672573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116969190614c53565b90505f6116a7828a89898989611346565b90506116b98a8a84848b8a8a8d612f31565b9a9950505050505050505050565b600254604051634c125e7960e01b81526001600160401b03831660048201526001600160a01b0390911690634c125e7990602401610dff565b5f81806020019051810190611715919061520f565b90507f3559163244a858ee609484f5443407b2d2fd3522a64ebdf54bd2118b6249f43f83828351604051610f3893929190614f02565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561179b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b479190615240565b336117c8611bfa565b6001600160a01b0316816001600160a01b0316146118035760405162d1953b60e31b81526001600160a01b0382166004820152602401610c8c565b816001600160a01b03163b5f03611838576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c8c565b61094982612fc6565b5f6113358383613026565b61094982826130b1565b5f805f8051602061572a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156118c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e69190614dd0565b15611971576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611947573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196b919061525b565b91505090565b54600160601b90046001600160a01b0316919050565b6109498282613100565b5f8051602061574a83398151915280545f9190600160a01b900460ff166119b8575f61196b565b638fb3603760e01b91505090565b6119ce614041565b6119d6610cc4565b156119e357610b4761313e565b610b47611aa9565b6119f784848484613305565b50505050565b61096081613377565b611a0e611856565b6001600160a01b0316336001600160a01b031614611a415760405163086391f760e31b8152336004820152602401610c8c565b611a4b600a612b9d565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015611a8c575f80fd5b505af11580156119f7573d5f803e3d5ffd5b6110ae8383836133b9565b611ab1614041565b610b4761313e565b611ac1611856565b6001600160a01b0316336001600160a01b031614611af45760405163086391f760e31b8152336004820152602401610c8c565b611afd33610c9a565b61094982826133f6565b611b0f611856565b6001600160a01b0316336001600160a01b031614611b425760405163086391f760e31b8152336004820152602401610c8c565b610960611b4d610cb2565b826110c9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bbe919061525b565b6001600160a01b0316336001600160a01b0316146109495760405162f0630960e01b8152336004820152602401610c8c565b6109498282612ced565b5f8051602061574a833981519152546001600160a01b031690565b611ceb604080516101c0810182525f808252602080830182905282840182905260608084018390526080840183905260a0840183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850185528281528082018390526101208401528351808501855282815280820183905261014084015283518085018552828152808201839052610160840152835180850185528281528082018390526101808401528351808501909452818452830152906101a082015290565b5f611cf4612f0d565b604080516101c0810182525f808252835460ff6101008204811615156020808601919091526201000090920416838501526060830191909152825163bc1b392d60e01b815292519394509092608084019273__$94a2c899be079b00d952d0d84fffaa5c34$__9263bc1b392d926004808401938290030181865af4158015611d7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611da29190614c53565b6001600160601b0316815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611df7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e1b9190614c53565b6001600160601b03168152825460209091019062010000900460ff166001600160401b03811115611e4e57611e4e61411e565b604051908082528060200260200182016040528015611e77578160200160208202803683370190505b50815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af4158015611ec3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ee79190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af4158015611f32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f569190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af4158015611fa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc59190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af4158015612010573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120349190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af415801561207f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120a39190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af41580156120ee573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121129190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af415801561215d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121819190615276565b905292915050565b612191611856565b6001600160a01b0316336001600160a01b0316146121c45760405163086391f760e31b8152336004820152602401610c8c565b5f6121cd610b21565b90505f6121d8610cb2565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa15801561221e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122429190614f33565b905061224d83613431565b80156110ae57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036123af576122b6611314565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016122ff91815260200190565b602060405180830381865af415801561231a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061233e9190614c53565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015b5f604051808303815f87803b158015612394575f80fd5b505af11580156123a6573d5f803e3d5ffd5b50505050505050565b6123b7611314565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016122ff91815260200190565b5f61240e86868686866134a6565b9695505050505050565b61242133610c9a565b8260156001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015612486573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124aa9190614dd0565b610e285760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c8c565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612522573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612546919061525b565b6001600160a01b0316336001600160a01b0316146110ae5760405162f0630960e01b8152336004820152602401610c8c565b60405163046e44af60e11b81526001600160601b03851660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690600a9083906308dc895e90602401602060405180830381865af41580156125db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125ff9190614f33565b61260991906152a7565b6040518263ffffffff1660e01b815260040161262791815260200190565b602060405180830381865af4158015612642573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c09190614c53565b61266e611856565b6001600160a01b0316336001600160a01b0316146126a15760405163086391f760e31b8152336004820152602401610c8c565b6126ab600a612b9d565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611a75565b6126e2612f0d565b60030154604051635dbf2c8d60e01b81526001600160601b038416600482015261ffff831660248201526001600160a01b0390911690635dbf2c8d906044015b5f604051808303815f87803b158015612739575f80fd5b505af115801561274b573d5f803e3d5ffd5b505050505050565b61275b612f0d565b546040516304af15b960e11b815263010000009091046001600160a01b03169063095e2b729061272290859085906004016152c6565b612799612f0d565b60020154604051630155751d60e31b81526001600160601b03831660048201526001600160a01b0390911690630aaba8e890602401610dff565b6127db612f0d565b6003015460405163137a92a760e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063137a92a790604401612722565b5f805f8051602061572a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561288e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128b29190614dd0565b156128de5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c8c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612930573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129549190614dd0565b61297c5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c8c565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156129ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129f29190614c53565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061574a8339815191525f80612a53612a36611bfa565b8730612a4560045f8a8c6152ea565b612a4e91615311565b613528565b915091508161274b5763ffffffff811615612aee57825460ff60a01b1916600160a01b178355612a81611bfa565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ab093929190615349565b5f604051808303815f87803b158015612ac7575f80fd5b505af1158015612ad9573d5f803e3d5ffd5b5050845460ff60a01b191685555061274b9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c8c565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f03546040516301c6b21960e41b81526001600160601b03831660048201525f916001600160a01b031690631c6b2190906024016115c5565b612b71613630565b612b92898989898989895f8a8a60405180602001604052805f81525061367b565b505050505050505050565b5f805f8051602061576a83398151915254604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa158015612bf3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c179190615240565b9050612c2b6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612c7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611335919061525b565b612ca6612f0d565b6002015460405163552d72d560e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063aa5ae5aa90604401612722565b612cf5612f0d565b60020154604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401612722565b5f612d45612f0d565b60030154604051631e2992c760e11b81526001600160a01b0390911690633c53258e90612d7c908890889088908890600401615388565b6020604051808303815f875af1158015612d98573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c09190614ee7565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015612e1c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113359190614dd0565b5f612e49612f0d565b600301546040516374b775eb60e01b81526001600160a01b03909116906374b775eb90612e7e908790879087906004016153c2565b6020604051808303815f875af1158015612e9a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061133291906153f2565b612ec6612f0d565b60020154604051634d5e16a960e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690634d5e16a990604401612722565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d680090565b5f612f3a612f0d565b60010154604051639a83274160e01b81526001600160a01b0390911690639a83274190612f79908c908c908c908c908c908c908c908c9060040161540d565b6020604051808303815f875af1158015612f95573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fb99190614c53565b9998505050505050505050565b5f8051602061574a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f61302f612f0d565b60020154604051637baa9a0b60e01b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b0390911690637baa9a0b906044016020604051808303815f875af115801561308d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113359190614ee7565b6130b9612f0d565b54604051633e77a42160e11b81526001600160c01b03198416600482015260ff8316602482015263010000009091046001600160a01b031690637cef484290604401612722565b613108612f0d565b54604051638f997f6d60e01b815263010000009091046001600160a01b031690638f997f6d9061272290859085906004016152c6565b613146614041565b5f6131596001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561319d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131c19190614c53565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561321a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061323e9190614dd0565b156132fd577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361327b611605565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156132bc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526132e39190810190615475565b60608101519092506001600160a01b0316156132fd575090565b61196b6137f5565b61330d612f0d565b60030154604051636e2cdce760e01b81526001600160a01b0390911690636e2cdce790613344908790879087908790600401615388565b5f604051808303815f87803b15801561335b575f80fd5b505af115801561336d573d5f803e3d5ffd5b5050505050505050565b61337f612f0d565b60020154604051639ffcede960e01b81526001600160601b03831660048201526001600160a01b0390911690639ffcede990602401610dff565b6133c1612f0d565b6003015460405163f450e2b560e01b81526001600160a01b039091169063f450e2b59061237d90869086908690600401615540565b6133fe612f0d565b6005015460405163067ba1c160e41b81526001600160a01b03909116906367ba1c1090612722908590859060040161556b565b613439611856565b6001600160a01b0316336001600160a01b03161461346c5760405163086391f760e31b8152336004820152602401610c8c565b613476600b612b9d565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401610dff565b5f6134af612f0d565b6003015460405163e01f7a4360e01b81526001600160a01b039091169063e01f7a43906134e89089908990899089908990600401615591565b6020604051808303815f875af1158015613504573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240e9190614ee7565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161359691906155e0565b5f60405180830381855afa9150503d805f81146135ce576040519150601f19603f3d011682016040523d82523d5f602084013e6135d3565b606091505b5091509150811561362557604081511061360557808060200190518101906135fb91906155f6565b9094509250613625565b602081511061362557808060200190518101906136229190614dd0565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661367957604051631afcd79f60e31b815260040160405180910390fd5b565b613683613630565b6136958b8b8989600c8e8b8f896138f4565b5f61369e612f0d565b805461ffff191686151561ff00191617610100861515021762ff000019166201000060ff86160217815590506136d4600c612b9d565b81546001600160a01b03919091166301000000026301000000600160b81b0319909116178155613705611015601490565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556137316015612b9d565b6002820180546001600160a01b0319166001600160a01b039290921691909117905561375d6017612b9d565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613789601a612b9d565b6004820180546001600160a01b0319166001600160a01b03929092169190911790556137b5600b612b9d565b6005820180546001600160a01b0319166001600160a01b03929092169190911790556137e7631c56415960e31b613b1c565b505050505050505050505050565b6137fd614041565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060a00160405280825f01805461383a90614c6e565b80601f016020809104026020016040519081016040528092919081815260200182805461386690614c6e565b80156138b15780601f10613888576101008083540402835291602001916138b1565b820191905f5260205f20905b81548152906001019060200180831161389457829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f60408301526002840154166060820152600383018054608090920191610a9c90614c6e565b6138fc613630565b5f6139088a8a88613b48565b90505f5f8051602061576a83398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015613967573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061398b919061525b565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051613a25929163bf7e214f9160048083019260209291908290030181865afa1580156139e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a09919061525b565b8c8c8c8c8c8b8b60405180602001604052805f8152508c613bf7565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015613a6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a90919061525b565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055613acd600b612b9d565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613aff634a531f3360e01b613b1c565b613b0f6307bb0a0360e51b613b1c565b5050505050505050505050565b613b24613630565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03613b6957613b608484600a613cfc565b50829050611335565b5f613b768585600c613cfc565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613bc3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613bea919081019061513f565b6020015195945050505050565b613bff613630565b6001600160a01b038616613c26576040516327eab2e360e11b815260040160405180910390fd5b86515f03613c475760405163591eebf360e11b815260040160405180910390fd5b613c55898987878787613dc1565b613c5e8a613e5c565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080613c8a898261566f565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101613cdb838261566f565b50613cec634a531f3360e01b613b1c565b613b0f632986755f60e11b613b1c565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015613d4a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613d71919081019061513f565b9050613d8881604001518460ff9081169116141590565b15613db957604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610c8c565b509392505050565b613dc9613630565b613dd38683613e6d565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161336d838261566f565b613e64613630565b61096081613ee3565b613e75613630565b613e7e82613ef4565b613e86613ffc565b6001600160a01b038116613ead5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061572a83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613eeb613630565b61096081612fc6565b613efc613630565b806001600160a01b03163b5f03613f315760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c8c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015613fab575060408051601f3d908101601f19168201909252613fa891810190614dd0565b60015b613fd35760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c8c565b806109495760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c8c565b614004613630565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6001600160601b0381168114610960575f80fd5b61ffff81168114610960575f80fd5b5f80604083850312156140bc575f80fd5b82356140c781614088565b915060208301356140d78161409c565b809150509250929050565b5f602082840312156140f2575f80fd5b81356001600160e01b031981168114611335575f80fd5b6001600160c01b031981168114610960575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b03811182821017156141545761415461411e565b60405290565b60405161024081016001600160401b03811182821017156141545761415461411e565b60405160e081016001600160401b03811182821017156141545761415461411e565b60405160a081016001600160401b03811182821017156141545761415461411e565b604051601f8201601f191681016001600160401b03811182821017156141e9576141e961411e565b604052919050565b5f6001600160401b038211156142095761420961411e565b50601f01601f191660200190565b5f82601f830112614226575f80fd5b8135602083015f61423e614239846141f1565b6141c1565b9050828152858383011115614251575f80fd5b828260208301375f92810160200192909252509392505050565b5f806040838503121561427c575f80fd5b823561428781614109565b915060208301356001600160401b038111156142a1575f80fd5b6142ad85828601614217565b9150509250929050565b5f602082840312156142c7575f80fd5b813561133581614088565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614348608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610c3c6101008401826142d2565b64ffffffffff81168114610960575f80fd5b5f80604083850312156143af575f80fd5b82356143ba81614088565b915060208301356140d78161438c565b8015158114610960575f80fd5b8035610cad816143ca565b5f805f80608085870312156143f5575f80fd5b843561440081614088565b935060208501356001600160401b0381111561441a575f80fd5b61442687828801614217565b93505060408501356144378161438c565b91506060850135614447816143ca565b939692955090935050565b602081525f61133560208301846142d2565b6001600160401b0381168114610960575f80fd5b5f60208284031215614488575f80fd5b813561133581614464565b5f80604083850312156144a4575f80fd5b823561428781614464565b6001600160a01b0381168114610960575f80fd5b60ff81168114610960575f80fd5b8035610cad816144c3565b5f805f805f805f805f6101208a8c0312156144f5575f80fd5b8935614500816144af565b985060208a013561451081614088565b975060408a0135614520816144af565b965060608a0135614530816144af565b955060808a01356001600160401b0381111561454a575f80fd5b6145568c828d01614217565b95505060a08a0135614567816144af565b935060c08a0135614577816143ca565b925061458560e08b016143d7565b91506145946101008b016144d1565b90509295985092959850929598565b5f805f606084860312156145b5575f80fd5b83356145c081614088565b925060208401356145d0816143ca565b915060408401356145e08161438c565b809150509250925092565b5f805f80608085870312156145fe575f80fd5b843561460981614088565b935060208501356146198161409c565b9250604085013561462981614088565b915060608501356001600160401b03811115614643575f80fd5b61464f87828801614217565b91505092959194509250565b5f806040838503121561466c575f80fd5b8235614677816144af565b915060208301356140d781614088565b5f805f60608486031215614699575f80fd5b83356146a481614088565b925060208401356146b481614088565b915060408401356001600160401b038111156146ce575f80fd5b6146da86828701614217565b9150509250925092565b5f805f805f8060c087890312156146f9575f80fd5b863561470481614088565b9550602087013561471481614109565b945060408701356147248161438c565b935060608701356001600160401b0381111561473e575f80fd5b61474a89828a01614217565b935050608087013561475b81614088565b915060a087013561476b81614109565b809150509295509295509295565b5f60208284031215614789575f80fd5b8135611335816144af565b5f805f805f805f60e0888a0312156147aa575f80fd5b87356147b5816144af565b965060208801356147c581614109565b95506040880135945060608801356147dc8161438c565b935060808801356001600160401b038111156147f6575f80fd5b6148028a828b01614217565b93505060a088013561481381614088565b915060c088013561482381614109565b8091505092959891949750929550565b5f8060408385031215614844575f80fd5b823561484f81614109565b915060208301356140d7816144c3565b602081525f825160a0602084015261487a60c08401826142d2565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a08601529091506110c082826142d2565b5f805f606084860312156148dc575f80fd5b83356148e781614088565b925060208401356146b48161409c565b5f60408284031215614907575f80fd5b61490f614132565b823581526020928301359281019290925250919050565b5f8060808385031215614937575f80fd5b61494184846148f7565b915061495084604085016148f7565b90509250929050565b5f806040838503121561496a575f80fd5b8235614975816144af565b946020939093013593505050565b5f8151808452602084019350602083015f5b828110156149bc5781516001600160601b0316865260209586019590910190600101614995565b5093949350505050565b602081526149d960208201835115159052565b5f60208301516149ed604084018215159052565b50604083015160ff8116606084015250606083015160ff811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516102a060e0840152614a516102c0840182614983565b60e085015180516101008601526020810151610120860152909150506101008401518051610140850152602081015161016085015250610120840151805161018085015260208101516101a08501525061014084015180516101c085015260208101516101e085015250610160840151805161020085015260208101516102208501525061018084015180516102408501526020810151610260850152506101a0840151805161028085015260208101516102a0850152613db9565b5f805f805f60a08688031215614b21575f80fd5b8535614b2c81614088565b94506020860135614b3c8161409c565b93506040860135614b4c81614088565b92506060860135614b5c816144af565b915060808601356001600160401b03811115614b76575f80fd5b614b8288828901614217565b9150509295509295909350565b5f805f60608486031215614ba1575f80fd5b8335614bac81614088565b92506020840135614bbc8161409c565b915060408401356145e081614088565b5f805f60608486031215614bde575f80fd5b8335614be9816144af565b92506020840135614bf9816144af565b929592945050506040919091013590565b5f805f8060808587031215614c1d575f80fd5b8435614c2881614088565b93506020850135614c3881614109565b925060408501356146298161438c565b8051610cad81614088565b5f60208284031215614c63575f80fd5b815161133581614088565b600181811c90821680614c8257607f821691505b602082108103614ca057634e487b7160e01b5f52602260045260245ffd5b50919050565b602081528151151560208201525f6020830151604080840152610c3c60608401826142d2565b6001600160601b0384168152608060208201525f614ced60808301856142d2565b64ffffffffff841660408401528281036060840152601881527f66756c66696c6c4f7261636c655265717565737453796e630000000000000000602082015260408101915050949350505050565b5f60208284031215614d4b575f80fd5b815161133581614464565b6001600160601b0384168152608060208201525f614d7760808301856142d2565b64ffffffffff841660408401528281036060840152601981527f66756c66696c6c4f7261636c65526571756573744173796e6300000000000000602082015260408101915050949350505050565b8051610cad816143ca565b5f60208284031215614de0575f80fd5b8151611335816143ca565b5f82601f830112614dfa575f80fd5b8151602083015f614e0d614239846141f1565b9050828152858383011115614e20575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614e4a575f80fd5b81516001600160401b03811115614e5f575f80fd5b820160608185031215614e70575f80fd5b604051606081016001600160401b0381118282101715614e9257614e9261411e565b6040528151614ea0816143ca565b81526020820151614eb08161438c565b602082015260408201516001600160401b03811115614ecd575f80fd5b614ed986828501614deb565b604083015250949350505050565b5f60208284031215614ef7575f80fd5b81516113358161438c565b6001600160401b0384168152606060208201525f614f2360608301856142d2565b9050826040830152949350505050565b5f60208284031215614f43575f80fd5b5051919050565b6001600160601b03881681526001600160401b0360c01b871660208201526001600160601b038616604082015264ffffffffff8516606082015260e060808201525f614f9960e08301866142d2565b6001600160601b039490941660a0830152506001600160c01b03199190911660c09091015295945050505050565b5f610240828403128015614fd9575f80fd5b50614fe261415a565b614feb83614c48565b8152614ff960208401614c48565b602082015261500a60408401614c48565b604082015261501b60608401614c48565b606082015261502c60808401614c48565b608082015261503d60a08401614c48565b60a082015261504e60c08401614c48565b60c082015261505f60e08401614c48565b60e08201526150716101008401614c48565b6101008201526150846101208401614c48565b6101208201526150976101408401614c48565b6101408201526150aa6101608401614c48565b6101608201526150bd6101808401614c48565b6101808201526150d06101a08401614c48565b6101a08201526150e36101c08401614c48565b6101c08201526150f66101e08401614c48565b6101e08201526151096102008401614c48565b61020082015261511c6102208401614c48565b6102208201529392505050565b8051610cad816144c3565b8051610cad816144af565b5f6020828403121561514f575f80fd5b81516001600160401b03811115615164575f80fd5b820160e08185031215615175575f80fd5b61517d61417d565b61518682614c48565b815261519460208301614c48565b60208201526151a560408301615129565b60408201526151b660608301614dc5565b60608201526151c760808301615134565b60808201526151d860a08301615134565b60a082015260c08201516001600160401b038111156151f5575f80fd5b61520186828501614deb565b60c083015250949350505050565b5f6020828403121561521f575f80fd5b81516001600160401b03811115615234575f80fd5b610c3c84828501614deb565b5f60208284031215615250575f80fd5b8151611335816144c3565b5f6020828403121561526b575f80fd5b8151611335816144af565b5f6040828403128015615287575f80fd5b50615290614132565b825181526020928301519281019290925250919050565b5f826152c157634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160401b0360c01b83168152604060208201525f61133260408301846142d2565b5f80858511156152f8575f80fd5b83861115615304575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615342576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b6001600160601b038516815261ffff841660208201526001600160601b0383166040820152608060608201525f61240e60808301846142d2565b6001600160601b03841681526001600160601b0383166020820152606060408201525f6110c060608301846142d2565b5f60208284031215615402575f80fd5b81516113358161409c565b6001600160a01b03891681526001600160c01b031988811660208301526001600160601b038881166040840152878116606084015264ffffffffff87166080840152851660a0830152831660c082015261010060e082018190525f906116b9908301846142d2565b5f60208284031215615485575f80fd5b81516001600160401b0381111561549a575f80fd5b820160a081850312156154ab575f80fd5b6154b361419f565b81516001600160401b038111156154c8575f80fd5b6154d486828501614deb565b82525060208201516154e5816144af565b602082015260408201516154f8816144af565b604082015261550960608301615134565b606082015260808201516001600160401b03811115615526575f80fd5b61553286828501614deb565b608083015250949350505050565b6001600160601b038416815261ffff83166020820152606060408201525f6110c060608301846142d2565b825181526020808401518183015282516040830152820151606082015260808101611335565b6001600160601b03868116825261ffff86166020830152841660408201526001600160a01b038316606082015260a0608082018190525f906155d5908301846142d2565b979650505050505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615607575f80fd5b8251615612816143ca565b602084015190925063ffffffff811681146140d7575f80fd5b601f8211156110ae57805f5260205f20601f840160051c810160208510156156505750805b601f840160051c820191505b81811015610e28575f815560010161565c565b81516001600160401b038111156156885761568861411e565b61569c816156968454614c6e565b8461562b565b6020601f8211600181146156ce575f83156156b75750848201515b5f19600385901b1c1916600184901b178455610e28565b5f84815260208120601f198516915b828110156156fd57878501518255602094850194600190920191016156dd565b508482101561571a57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212208581188a8ef8f02d2ea51edd21ded28d7b8921e487821e966e7f8fb7ebd2643e64736f6c634300081a0033",
1879
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106103d5575f3560e01c8063755bf1fd11610200578063b20f41191161011f578063de7b5d14116100b4578063e7f7fb8611610084578063e7f7fb86146108c3578063e9b2460c146108d6578063ea15869f146108fd578063f179d06414610924578063f83d08ba14610937575f80fd5b8063de7b5d141461086d578063deaa59df1461088a578063e01f7a431461089d578063e1f216fa146108b0575f80fd5b8063bb1e0e59116100ef578063bb1e0e591461082a578063bbfbbfba1461083d578063bf7e214f14610850578063c108bd4c14610858575f80fd5b8063b20f4119146107e9578063b423086c146107fc578063b6b412ba14610804578063bae99c9914610817575f80fd5b80638f997f6d116101955780639ffcede9116101655780639ffcede9146107a9578063a69df4b5146107bc578063a7ecda36146107c4578063ada9652e146107d5575f80fd5b80638f997f6d1461074d5780638fb360371461076057806390edbd3514610781578063969fc93014610796575f80fd5b80637cef4842116101d05780637cef48421461072a5780638899278a1461073d578063893d20e8146107455780638cf33e9014610555575f80fd5b8063755bf1fd146106d757806376b707b7146106ea5780637a9e5e4b146107045780637baa9a0b14610717575f80fd5b80632cd17e53116102f75780634d5e16a91161028c5780636078a3b21161025c5780636078a3b214610666578063644c45e0146106795780636bd1c0eb14610681578063721192fb146106b157806373369603146106c4575f80fd5b80634d5e16a9146106275780635349d2a81461063a5780635741e5e91461064d5780635ab1bd5314610655575f80fd5b80633c53258e116102c75780633c53258e146105bd578063419197fe146105e657806343d752d3146105f95780634d4889ad14610601575f80fd5b80632cd17e53146105705780632eb3e6f4146105835780632f4542601461059757806330b4c159146105aa575f80fd5b806314cfae3a1161036d57806321df0da71161033d57806321df0da714610545578063223668441461054d578063238cc4a5146105555780632ccc7da41461055d575f80fd5b806314cfae3a146104bd57806317d7de7c146104e85780631c6b2190146104fd5780631eff4b2214610510575f80fd5b80630fec111c116103a85780630fec111c14610455578063132996041461046a578063137a92a71461048a578063138461e01461049d575f80fd5b806301a57efc146103d957806301ffc9a7146103ee578063095e2b721461042f5780630aaba8e814610442575b5f80fd5b6103ec6103e73660046140ab565b61093f565b005b61041a6103fc3660046140e2565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6103ec61043d36600461426b565b61094d565b6103ec6104503660046142b7565b610957565b61045d610963565b6040516104269190614300565b610472610b21565b6040516001600160a01b039091168152602001610426565b6103ec61049836600461439e565b610b33565b6104a5610b3d565b6040516001600160601b039091168152602001610426565b6104d06104cb3660046143e2565b610b4c565b6040516001600160401b039091168152602001610426565b6104f0610c44565b6040516104269190614452565b6104a561050b3660046142b7565b610c54565b6105377f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610426565b610472610cb2565b61041a610cc4565b61041a610dba565b6103ec61056b366004614478565b610dca565b6103ec61057e366004614493565b610e2f565b6105375f8051602061576a83398151915281565b6103ec6105a53660046144dc565b610f45565b6103ec6105b83660046145a3565b611090565b6105d06105cb3660046145eb565b6110b3565b60405164ffffffffff9091168152602001610426565b6103ec6105f436600461465b565b6110c9565b610472611314565b61061461060f366004614687565b611326565b60405161ffff9091168152602001610426565b6103ec61063536600461439e565b61133c565b6104a56106483660046146e4565b611346565b61041a61149e565b6001546001600160a01b0316610472565b6104a5610674366004614779565b611552565b6104a5611605565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610472565b6104a56106bf366004614794565b611620565b6103ec6106d2366004614478565b6116c7565b6103ec6106e5366004614493565b611700565b6106f261174b565b60405160ff9091168152602001610426565b6103ec610712366004614779565b6117bf565b6105d061072536600461439e565b611841565b6103ec610738366004614833565b61184c565b610537600381565b610472611856565b6103ec61075b36600461426b565b611987565b610768611991565b6040516001600160e01b03199091168152602001610426565b6107896119c6565b604051610426919061485f565b6103ec6107a43660046145eb565b6119eb565b6103ec6107b73660046142b7565b6119fd565b6103ec611a06565b6002546001600160a01b0316610472565b6105375f8051602061572a83398151915281565b6103ec6107f73660046148ca565b611a9e565b610789611aa9565b6103ec610812366004614926565b611ab9565b6103ec6108253660046142b7565b611b07565b6103ec610838366004614959565b611b53565b6103ec61084b36600461439e565b611bf0565b610472611bfa565b610860611c15565b60405161042691906149c6565b5f8051602061576a833981519152546001600160a01b0316610472565b6103ec610898366004614779565b612189565b6105d06108ab366004614b0d565b612400565b6103ec6108be366004614b8f565b612418565b6103ec6108d1366004614bcc565b6124db565b6105377f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d680081565b6105377fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b6104a5610932366004614c0a565b612578565b6103ec612666565b61094982826126da565b5050565b6109498282612753565b61096081612791565b50565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610a13573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a379190614c53565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610a7f611856565b6001600160a01b03168152602001826001018054610a9c90614c6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac890614c6e565b8015610b135780601f10610aea57610100808354040283529160200191610b13565b820191905f5260205f20905b815481529060010190602001808311610af657829003601f168201915b505050505081525091505090565b5f610b2a6119c6565b60600151905090565b61094982826127d3565b5f610b4730612822565b905090565b5f806040518060400160405280841515815260200186815250604051602001610b759190614ca6565b60405160208183030381529060405290508215610c085760025460405163f684566360e01b81526001600160a01b039091169063f684566390610bc090899085908990600401614ccc565b6020604051808303815f875af1158015610bdc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c009190614d3b565b915050610c3c565b60025460405163f684566360e01b81526001600160a01b039091169063f684566390610bc090899085908990600401614d56565b949350505050565b6060610c4e6119c6565b51919050565b5f610c5d611856565b6001600160a01b0316336001600160a01b031614610c955760405163086391f760e31b81523360048201526024015b60405180910390fd5b610ca1335b5f36612a1b565b610caa82612b11565b90505b919050565b5f610cbb6119c6565b60200151905090565b5f610cd76001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610d1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3f9190614c53565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610d96573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b479190614dd0565b5f610dc433610c9a565b50600190565b600254604051630b331f6960e21b81526001600160401b03831660048201526001600160a01b0390911690632ccc7da4906024015b5f604051808303815f87803b158015610e16575f80fd5b505af1158015610e28573d5f803e3d5ffd5b5050505050565b5f81806020019051810190610e449190614e3a565b80519091508015610ed35750610ed3816020015173__$91d01b1eccbca8d6f94a5eb2a0acb040e9$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015610e9f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ec39190614ee7565b64ffffffffff9081169116101590565b15610efc57604051636df3767d60e11b81526001600160401b0384166004820152602401610c8c565b7f9ff379e60e2b20360617d792204477efac6e2125229ee6c900882db15061e9a5838260400151836040015151604051610f3893929190614f02565b60405180910390a1505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610f895750825b90505f826001600160401b03166001148015610fa45750303b155b905081158015610fb2575080155b15610fd05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ffa57845460ff60401b1916600160401b1785555b61100b8e8e8e8e8e8e8e8e8e612b69565b61101a600d612b9d565b612b9d565b600280546001600160a01b0319166001600160a01b0392909216919091179055831561108057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050505050565b61109a8382612c9e565b8115156001036110ae576110ae8382612ced565b505050565b5f6110c085858585612d3c565b95945050505050565b6110d1611856565b6001600160a01b0316336001600160a01b0316146111045760405163086391f760e31b8152336004820152602401610c8c565b3061110d610b21565b6001600160a01b0316146111345760405163b6d7537f60e01b815260040160405180910390fd5b60405163046e44af60e11b81526001600160601b03821660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af415801561118c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b09190614f33565b90505f6112278373__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156111fe573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112229190614c53565b612dbc565b1561123457505f19905060015b7f99d7b1d3869e469ab19cd2c6e66718a63bca93dc1a2d27d375cb4bebbf5348ce61125d611314565b604080516001600160a01b0390921682526001600160601b03861660208301528315159082015260600160405180910390a1836001600160a01b031663095ea7b36112a6611314565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018590526044016020604051808303815f875af11580156112f0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e289190614dd0565b5f61131d6119c6565b60400151905090565b5f611332848484612e40565b90505b9392505050565b6109498282612ebe565b5f82601f6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa1580156113ac573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113d09190614dd0565b6114015760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c8c565b5f61140a612f0d565b600401546001600160a01b031663f4bfe53a611424611605565b8b8d8c8c8c8c6040518863ffffffff1660e01b815260040161144c9796959493929190614f4a565b61024060405180830381865afa158015611468573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061148c9190614fc7565b60a001519a9950505050505050505050565b5f6114a7610cc4565b15611522576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa1580156114fb573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610b2a919081019061513f565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b5f61155b611856565b6001600160a01b0316336001600160a01b03161461158e5760405163086391f760e31b8152336004820152602401610c8c565b611596612f0d565b6005015460405163303c51d960e11b81526001600160a01b03848116600483015290911690636078a3b2906024015b6020604051808303815f875af11580156115e1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610caa9190614c53565b5f8051602061572a833981519152546001600160601b031690565b604051632620eecb60e11b8152600481018690525f90819073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690602401602060405180830381865af4158015611672573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116969190614c53565b90505f6116a7828a89898989611346565b90506116b98a8a84848b8a8a8d612f31565b9a9950505050505050505050565b600254604051634c125e7960e01b81526001600160401b03831660048201526001600160a01b0390911690634c125e7990602401610dff565b5f81806020019051810190611715919061520f565b90507f3559163244a858ee609484f5443407b2d2fd3522a64ebdf54bd2118b6249f43f83828351604051610f3893929190614f02565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801561179b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b479190615240565b336117c8611bfa565b6001600160a01b0316816001600160a01b0316146118035760405162d1953b60e31b81526001600160a01b0382166004820152602401610c8c565b816001600160a01b03163b5f03611838576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c8c565b61094982612fc6565b5f6113358383613026565b61094982826130b1565b5f805f8051602061572a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156118c2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118e69190614dd0565b15611971576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611947573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061196b919061525b565b91505090565b54600160601b90046001600160a01b0316919050565b6109498282613100565b5f8051602061574a83398151915280545f9190600160a01b900460ff166119b8575f61196b565b638fb3603760e01b91505090565b6119ce614041565b6119d6610cc4565b156119e357610b4761313e565b610b47611aa9565b6119f784848484613305565b50505050565b61096081613377565b611a0e611856565b6001600160a01b0316336001600160a01b031614611a415760405163086391f760e31b8152336004820152602401610c8c565b611a4b600a612b9d565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b158015611a8c575f80fd5b505af11580156119f7573d5f803e3d5ffd5b6110ae8383836133b9565b611ab1614041565b610b4761313e565b611ac1611856565b6001600160a01b0316336001600160a01b031614611af45760405163086391f760e31b8152336004820152602401610c8c565b611afd33610c9a565b61094982826133f6565b611b0f611856565b6001600160a01b0316336001600160a01b031614611b425760405163086391f760e31b8152336004820152602401610c8c565b610960611b4d610cb2565b826110c9565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bbe919061525b565b6001600160a01b0316336001600160a01b0316146109495760405162f0630960e01b8152336004820152602401610c8c565b6109498282612ced565b5f8051602061574a833981519152546001600160a01b031690565b611ceb604080516101c0810182525f808252602080830182905282840182905260608084018390526080840183905260a0840183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850185528281528082018390526101208401528351808501855282815280820183905261014084015283518085018552828152808201839052610160840152835180850185528281528082018390526101808401528351808501909452818452830152906101a082015290565b5f611cf4612f0d565b604080516101c0810182525f808252835460ff6101008204811615156020808601919091526201000090920416838501526060830191909152825163bc1b392d60e01b815292519394509092608084019273__$94a2c899be079b00d952d0d84fffaa5c34$__9263bc1b392d926004808401938290030181865af4158015611d7e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611da29190614c53565b6001600160601b0316815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611df7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e1b9190614c53565b6001600160601b03168152825460209091019062010000900460ff166001600160401b03811115611e4e57611e4e61411e565b604051908082528060200260200182016040528015611e77578160200160208202803683370190505b50815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af4158015611ec3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ee79190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af4158015611f32573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f569190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af4158015611fa1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fc59190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af4158015612010573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120349190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af415801561207f573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120a39190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af41580156120ee573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121129190615276565b815260200173__$58e11c6004c5796aaa8c56e718245e69a2$__63bc1b392d6040518163ffffffff1660e01b81526004016040805180830381865af415801561215d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121819190615276565b905292915050565b612191611856565b6001600160a01b0316336001600160a01b0316146121c45760405163086391f760e31b8152336004820152602401610c8c565b5f6121cd610b21565b90505f6121d8610cb2565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa15801561221e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122429190614f33565b905061224d83613431565b80156110ae57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b038316036123af576122b6611314565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016122ff91815260200190565b602060405180830381865af415801561231a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061233e9190614c53565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015b5f604051808303815f87803b158015612394575f80fd5b505af11580156123a6573d5f803e3d5ffd5b50505050505050565b6123b7611314565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b81526004016122ff91815260200190565b5f61240e86868686866134a6565b9695505050505050565b61242133610c9a565b8260156001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa158015612486573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906124aa9190614dd0565b610e285760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401610c8c565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612522573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612546919061525b565b6001600160a01b0316336001600160a01b0316146110ae5760405162f0630960e01b8152336004820152602401610c8c565b60405163046e44af60e11b81526001600160601b03851660048201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__90634c41dd9690600a9083906308dc895e90602401602060405180830381865af41580156125db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125ff9190614f33565b61260991906152a7565b6040518263ffffffff1660e01b815260040161262791815260200190565b602060405180830381865af4158015612642573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c09190614c53565b61266e611856565b6001600160a01b0316336001600160a01b0316146126a15760405163086391f760e31b8152336004820152602401610c8c565b6126ab600a612b9d565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e90602401611a75565b6126e2612f0d565b60030154604051635dbf2c8d60e01b81526001600160601b038416600482015261ffff831660248201526001600160a01b0390911690635dbf2c8d906044015b5f604051808303815f87803b158015612739575f80fd5b505af115801561274b573d5f803e3d5ffd5b505050505050565b61275b612f0d565b546040516304af15b960e11b815263010000009091046001600160a01b03169063095e2b729061272290859085906004016152c6565b612799612f0d565b60020154604051630155751d60e31b81526001600160601b03831660048201526001600160a01b0390911690630aaba8e890602401610dff565b6127db612f0d565b6003015460405163137a92a760e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063137a92a790604401612722565b5f805f8051602061572a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561288e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128b29190614dd0565b156128de5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c8c565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612930573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129549190614dd0565b61297c5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610c8c565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa1580156129ce573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906129f29190614c53565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f8051602061574a8339815191525f80612a53612a36611bfa565b8730612a4560045f8a8c6152ea565b612a4e91615311565b613528565b915091508161274b5763ffffffff811615612aee57825460ff60a01b1916600160a01b178355612a81611bfa565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612ab093929190615349565b5f604051808303815f87803b158015612ac7575f80fd5b505af1158015612ad9573d5f803e3d5ffd5b5050845460ff60a01b191685555061274b9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c8c565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f03546040516301c6b21960e41b81526001600160601b03831660048201525f916001600160a01b031690631c6b2190906024016115c5565b612b71613630565b612b92898989898989895f8a8a60405180602001604052805f81525061367b565b505050505050505050565b5f805f8051602061576a83398151915254604080516376b707b760e01b815290516001600160a01b03909216916376b707b7916004808201926020929091908290030181865afa158015612bf3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612c179190615240565b9050612c2b6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015612c7a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611335919061525b565b612ca6612f0d565b6002015460405163552d72d560e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063aa5ae5aa90604401612722565b612cf5612f0d565b60020154604051635dfddfdd60e11b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b039091169063bbfbbfba90604401612722565b5f612d45612f0d565b60030154604051631e2992c760e11b81526001600160a01b0390911690633c53258e90612d7c908890889088908890600401615388565b6020604051808303815f875af1158015612d98573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110c09190614ee7565b60405163c4cade9d60e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af4158015612e1c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113359190614dd0565b5f612e49612f0d565b600301546040516374b775eb60e01b81526001600160a01b03909116906374b775eb90612e7e908790879087906004016153c2565b6020604051808303815f875af1158015612e9a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061133291906153f2565b612ec6612f0d565b60020154604051634d5e16a960e01b81526001600160601b038416600482015264ffffffffff831660248201526001600160a01b0390911690634d5e16a990604401612722565b7f0bb7aafdb8e380f81267337bc5b5dfdf76e6d3a380ecadb51ec665246d9d680090565b5f612f3a612f0d565b60010154604051639a83274160e01b81526001600160a01b0390911690639a83274190612f79908c908c908c908c908c908c908c908c9060040161540d565b6020604051808303815f875af1158015612f95573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612fb99190614c53565b9998505050505050505050565b5f8051602061574a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b5f61302f612f0d565b60020154604051637baa9a0b60e01b81526001600160601b038516600482015264ffffffffff841660248201526001600160a01b0390911690637baa9a0b906044016020604051808303815f875af115801561308d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113359190614ee7565b6130b9612f0d565b54604051633e77a42160e11b81526001600160c01b03198416600482015260ff8316602482015263010000009091046001600160a01b031690637cef484290604401612722565b613108612f0d565b54604051638f997f6d60e01b815263010000009091046001600160a01b031690638f997f6d9061272290859085906004016152c6565b613146614041565b5f6131596001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561319d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131c19190614c53565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561321a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061323e9190614dd0565b156132fd577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b031663f0ea17c361327b611605565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa1580156132bc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526132e39190810190615475565b60608101519092506001600160a01b0316156132fd575090565b61196b6137f5565b61330d612f0d565b60030154604051636e2cdce760e01b81526001600160a01b0390911690636e2cdce790613344908790879087908790600401615388565b5f604051808303815f87803b15801561335b575f80fd5b505af115801561336d573d5f803e3d5ffd5b5050505050505050565b61337f612f0d565b60020154604051639ffcede960e01b81526001600160601b03831660048201526001600160a01b0390911690639ffcede990602401610dff565b6133c1612f0d565b6003015460405163f450e2b560e01b81526001600160a01b039091169063f450e2b59061237d90869086908690600401615540565b6133fe612f0d565b6005015460405163067ba1c160e41b81526001600160a01b03909116906367ba1c1090612722908590859060040161556b565b613439611856565b6001600160a01b0316336001600160a01b03161461346c5760405163086391f760e31b8152336004820152602401610c8c565b613476600b612b9d565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df90602401610dff565b5f6134af612f0d565b6003015460405163e01f7a4360e01b81526001600160a01b039091169063e01f7a43906134e89089908990899089908990600401615591565b6020604051808303815f875af1158015613504573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240e9190614ee7565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161359691906155e0565b5f60405180830381855afa9150503d805f81146135ce576040519150601f19603f3d011682016040523d82523d5f602084013e6135d3565b606091505b5091509150811561362557604081511061360557808060200190518101906135fb91906155f6565b9094509250613625565b602081511061362557808060200190518101906136229190614dd0565b93505b505094509492505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661367957604051631afcd79f60e31b815260040160405180910390fd5b565b613683613630565b6136958b8b8989600c8e8b8f896138f4565b5f61369e612f0d565b805461ffff191686151561ff00191617610100861515021762ff000019166201000060ff86160217815590506136d4600c612b9d565b81546001600160a01b03919091166301000000026301000000600160b81b0319909116178155613705611015601490565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556137316015612b9d565b6002820180546001600160a01b0319166001600160a01b039290921691909117905561375d6017612b9d565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613789601a612b9d565b6004820180546001600160a01b0319166001600160a01b03929092169190911790556137b5600b612b9d565b6005820180546001600160a01b0319166001600160a01b03929092169190911790556137e7631c56415960e31b613b1c565b505050505050505050505050565b6137fd614041565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060a00160405280825f01805461383a90614c6e565b80601f016020809104026020016040519081016040528092919081815260200182805461386690614c6e565b80156138b15780601f10613888576101008083540402835291602001916138b1565b820191905f5260205f20905b81548152906001019060200180831161389457829003601f168201915b505050918352505060018301546001600160a01b0390811660208301525f60408301526002840154166060820152600383018054608090920191610a9c90614c6e565b6138fc613630565b5f6139088a8a88613b48565b90505f5f8051602061576a83398151915260405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015613967573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061398b919061525b565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051613a25929163bf7e214f9160048083019260209291908290030181865afa1580156139e5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a09919061525b565b8c8c8c8c8c8b8b60405180602001604052805f8152508c613bf7565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015613a6c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a90919061525b565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055613acd600b612b9d565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055613aff634a531f3360e01b613b1c565b613b0f6307bb0a0360e51b613b1c565b5050505050505050505050565b613b24613630565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03613b6957613b608484600a613cfc565b50829050611335565b5f613b768585600c613cfc565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015613bc3573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613bea919081019061513f565b6020015195945050505050565b613bff613630565b6001600160a01b038616613c26576040516327eab2e360e11b815260040160405180910390fd5b86515f03613c475760405163591eebf360e11b815260040160405180910390fd5b613c55898987878787613dc1565b613c5e8a613e5c565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0080613c8a898261566f565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b8715150217905560038101613cdb838261566f565b50613cec634a531f3360e01b613b1c565b613b0f632986755f60e11b613b1c565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015613d4a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613d71919081019061513f565b9050613d8881604001518460ff9081169116141590565b15613db957604080820151905163b0c1f6eb60e01b815260ff80861660048301529091166024820152604401610c8c565b509392505050565b613dc9613630565b613dd38683613e6d565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161336d838261566f565b613e64613630565b61096081613ee3565b613e75613630565b613e7e82613ef4565b613e86613ffc565b6001600160a01b038116613ead5760405163f17ef42d60e01b815260040160405180910390fd5b5f8051602061572a83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b613eeb613630565b61096081612fc6565b613efc613630565b806001600160a01b03163b5f03613f315760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c8c565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526325713e4b60e21b60048201526301ffc9a790602401602060405180830381865afa925050508015613fab575060408051601f3d908101601f19168201909252613fa891810190614dd0565b60015b613fd35760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c8c565b806109495760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c8c565b614004613630565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060a00160405280606081526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b6001600160601b0381168114610960575f80fd5b61ffff81168114610960575f80fd5b5f80604083850312156140bc575f80fd5b82356140c781614088565b915060208301356140d78161409c565b809150509250929050565b5f602082840312156140f2575f80fd5b81356001600160e01b031981168114611335575f80fd5b6001600160c01b031981168114610960575f80fd5b634e487b7160e01b5f52604160045260245ffd5b604080519081016001600160401b03811182821017156141545761415461411e565b60405290565b60405161024081016001600160401b03811182821017156141545761415461411e565b60405160e081016001600160401b03811182821017156141545761415461411e565b60405160a081016001600160401b03811182821017156141545761415461411e565b604051601f8201601f191681016001600160401b03811182821017156141e9576141e961411e565b604052919050565b5f6001600160401b038211156142095761420961411e565b50601f01601f191660200190565b5f82601f830112614226575f80fd5b8135602083015f61423e614239846141f1565b6141c1565b9050828152858383011115614251575f80fd5b828260208301375f92810160200192909252509392505050565b5f806040838503121561427c575f80fd5b823561428781614109565b915060208301356001600160401b038111156142a1575f80fd5b6142ad85828601614217565b9150509250929050565b5f602082840312156142c7575f80fd5b813561133581614088565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614348608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152610c3c6101008401826142d2565b64ffffffffff81168114610960575f80fd5b5f80604083850312156143af575f80fd5b82356143ba81614088565b915060208301356140d78161438c565b8015158114610960575f80fd5b8035610cad816143ca565b5f805f80608085870312156143f5575f80fd5b843561440081614088565b935060208501356001600160401b0381111561441a575f80fd5b61442687828801614217565b93505060408501356144378161438c565b91506060850135614447816143ca565b939692955090935050565b602081525f61133560208301846142d2565b6001600160401b0381168114610960575f80fd5b5f60208284031215614488575f80fd5b813561133581614464565b5f80604083850312156144a4575f80fd5b823561428781614464565b6001600160a01b0381168114610960575f80fd5b60ff81168114610960575f80fd5b8035610cad816144c3565b5f805f805f805f805f6101208a8c0312156144f5575f80fd5b8935614500816144af565b985060208a013561451081614088565b975060408a0135614520816144af565b965060608a0135614530816144af565b955060808a01356001600160401b0381111561454a575f80fd5b6145568c828d01614217565b95505060a08a0135614567816144af565b935060c08a0135614577816143ca565b925061458560e08b016143d7565b91506145946101008b016144d1565b90509295985092959850929598565b5f805f606084860312156145b5575f80fd5b83356145c081614088565b925060208401356145d0816143ca565b915060408401356145e08161438c565b809150509250925092565b5f805f80608085870312156145fe575f80fd5b843561460981614088565b935060208501356146198161409c565b9250604085013561462981614088565b915060608501356001600160401b03811115614643575f80fd5b61464f87828801614217565b91505092959194509250565b5f806040838503121561466c575f80fd5b8235614677816144af565b915060208301356140d781614088565b5f805f60608486031215614699575f80fd5b83356146a481614088565b925060208401356146b481614088565b915060408401356001600160401b038111156146ce575f80fd5b6146da86828701614217565b9150509250925092565b5f805f805f8060c087890312156146f9575f80fd5b863561470481614088565b9550602087013561471481614109565b945060408701356147248161438c565b935060608701356001600160401b0381111561473e575f80fd5b61474a89828a01614217565b935050608087013561475b81614088565b915060a087013561476b81614109565b809150509295509295509295565b5f60208284031215614789575f80fd5b8135611335816144af565b5f805f805f805f60e0888a0312156147aa575f80fd5b87356147b5816144af565b965060208801356147c581614109565b95506040880135945060608801356147dc8161438c565b935060808801356001600160401b038111156147f6575f80fd5b6148028a828b01614217565b93505060a088013561481381614088565b915060c088013561482381614109565b8091505092959891949750929550565b5f8060408385031215614844575f80fd5b823561484f81614109565b915060208301356140d7816144c3565b602081525f825160a0602084015261487a60c08401826142d2565b60208501516001600160a01b03908116604086810191909152860151811660608087019190915286015116608080860191909152850151848203601f190160a08601529091506110c082826142d2565b5f805f606084860312156148dc575f80fd5b83356148e781614088565b925060208401356146b48161409c565b5f60408284031215614907575f80fd5b61490f614132565b823581526020928301359281019290925250919050565b5f8060808385031215614937575f80fd5b61494184846148f7565b915061495084604085016148f7565b90509250929050565b5f806040838503121561496a575f80fd5b8235614975816144af565b946020939093013593505050565b5f8151808452602084019350602083015f5b828110156149bc5781516001600160601b0316865260209586019590910190600101614995565b5093949350505050565b602081526149d960208201835115159052565b5f60208301516149ed604084018215159052565b50604083015160ff8116606084015250606083015160ff811660808401525060808301516001600160601b03811660a08401525060a08301516001600160601b03811660c08401525060c08301516102a060e0840152614a516102c0840182614983565b60e085015180516101008601526020810151610120860152909150506101008401518051610140850152602081015161016085015250610120840151805161018085015260208101516101a08501525061014084015180516101c085015260208101516101e085015250610160840151805161020085015260208101516102208501525061018084015180516102408501526020810151610260850152506101a0840151805161028085015260208101516102a0850152613db9565b5f805f805f60a08688031215614b21575f80fd5b8535614b2c81614088565b94506020860135614b3c8161409c565b93506040860135614b4c81614088565b92506060860135614b5c816144af565b915060808601356001600160401b03811115614b76575f80fd5b614b8288828901614217565b9150509295509295909350565b5f805f60608486031215614ba1575f80fd5b8335614bac81614088565b92506020840135614bbc8161409c565b915060408401356145e081614088565b5f805f60608486031215614bde575f80fd5b8335614be9816144af565b92506020840135614bf9816144af565b929592945050506040919091013590565b5f805f8060808587031215614c1d575f80fd5b8435614c2881614088565b93506020850135614c3881614109565b925060408501356146298161438c565b8051610cad81614088565b5f60208284031215614c63575f80fd5b815161133581614088565b600181811c90821680614c8257607f821691505b602082108103614ca057634e487b7160e01b5f52602260045260245ffd5b50919050565b602081528151151560208201525f6020830151604080840152610c3c60608401826142d2565b6001600160601b0384168152608060208201525f614ced60808301856142d2565b64ffffffffff841660408401528281036060840152601881527f66756c66696c6c4f7261636c655265717565737453796e630000000000000000602082015260408101915050949350505050565b5f60208284031215614d4b575f80fd5b815161133581614464565b6001600160601b0384168152608060208201525f614d7760808301856142d2565b64ffffffffff841660408401528281036060840152601981527f66756c66696c6c4f7261636c65526571756573744173796e6300000000000000602082015260408101915050949350505050565b8051610cad816143ca565b5f60208284031215614de0575f80fd5b8151611335816143ca565b5f82601f830112614dfa575f80fd5b8151602083015f614e0d614239846141f1565b9050828152858383011115614e20575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215614e4a575f80fd5b81516001600160401b03811115614e5f575f80fd5b820160608185031215614e70575f80fd5b604051606081016001600160401b0381118282101715614e9257614e9261411e565b6040528151614ea0816143ca565b81526020820151614eb08161438c565b602082015260408201516001600160401b03811115614ecd575f80fd5b614ed986828501614deb565b604083015250949350505050565b5f60208284031215614ef7575f80fd5b81516113358161438c565b6001600160401b0384168152606060208201525f614f2360608301856142d2565b9050826040830152949350505050565b5f60208284031215614f43575f80fd5b5051919050565b6001600160601b03881681526001600160401b0360c01b871660208201526001600160601b038616604082015264ffffffffff8516606082015260e060808201525f614f9960e08301866142d2565b6001600160601b039490941660a0830152506001600160c01b03199190911660c09091015295945050505050565b5f610240828403128015614fd9575f80fd5b50614fe261415a565b614feb83614c48565b8152614ff960208401614c48565b602082015261500a60408401614c48565b604082015261501b60608401614c48565b606082015261502c60808401614c48565b608082015261503d60a08401614c48565b60a082015261504e60c08401614c48565b60c082015261505f60e08401614c48565b60e08201526150716101008401614c48565b6101008201526150846101208401614c48565b6101208201526150976101408401614c48565b6101408201526150aa6101608401614c48565b6101608201526150bd6101808401614c48565b6101808201526150d06101a08401614c48565b6101a08201526150e36101c08401614c48565b6101c08201526150f66101e08401614c48565b6101e08201526151096102008401614c48565b61020082015261511c6102208401614c48565b6102208201529392505050565b8051610cad816144c3565b8051610cad816144af565b5f6020828403121561514f575f80fd5b81516001600160401b03811115615164575f80fd5b820160e08185031215615175575f80fd5b61517d61417d565b61518682614c48565b815261519460208301614c48565b60208201526151a560408301615129565b60408201526151b660608301614dc5565b60608201526151c760808301615134565b60808201526151d860a08301615134565b60a082015260c08201516001600160401b038111156151f5575f80fd5b61520186828501614deb565b60c083015250949350505050565b5f6020828403121561521f575f80fd5b81516001600160401b03811115615234575f80fd5b610c3c84828501614deb565b5f60208284031215615250575f80fd5b8151611335816144c3565b5f6020828403121561526b575f80fd5b8151611335816144af565b5f6040828403128015615287575f80fd5b50615290614132565b825181526020928301519281019290925250919050565b5f826152c157634e487b7160e01b5f52601260045260245ffd5b500490565b6001600160401b0360c01b83168152604060208201525f61133260408301846142d2565b5f80858511156152f8575f80fd5b83861115615304575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015615342576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b6001600160601b038516815261ffff841660208201526001600160601b0383166040820152608060608201525f61240e60808301846142d2565b6001600160601b03841681526001600160601b0383166020820152606060408201525f6110c060608301846142d2565b5f60208284031215615402575f80fd5b81516113358161409c565b6001600160a01b03891681526001600160c01b031988811660208301526001600160601b038881166040840152878116606084015264ffffffffff87166080840152851660a0830152831660c082015261010060e082018190525f906116b9908301846142d2565b5f60208284031215615485575f80fd5b81516001600160401b0381111561549a575f80fd5b820160a081850312156154ab575f80fd5b6154b361419f565b81516001600160401b038111156154c8575f80fd5b6154d486828501614deb565b82525060208201516154e5816144af565b602082015260408201516154f8816144af565b604082015261550960608301615134565b606082015260808201516001600160401b03811115615526575f80fd5b61553286828501614deb565b608083015250949350505050565b6001600160601b038416815261ffff83166020820152606060408201525f6110c060608301846142d2565b825181526020808401518183015282516040830152820151606082015260808101611335565b6001600160601b03868116825261ffff86166020830152841660408201526001600160a01b038316606082015260a0608082018190525f906155d5908301846142d2565b979650505050505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615607575f80fd5b8251615612816143ca565b602084015190925063ffffffff811681146140d7575f80fd5b601f8211156110ae57805f5260205f20601f840160051c810160208510156156505750805b601f840160051c820191505b81811015610e28575f815560010161565c565b81516001600160401b038111156156885761568861411e565b61569c816156968454614c6e565b8461562b565b6020601f8211600181146156ce575f83156156b75750848201515b5f19600385901b1c1916600184901b178455610e28565b5f84815260208120601f198516915b828110156156fd57878501518255602094850194600190920191016156dd565b508482101561571a57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212208581188a8ef8f02d2ea51edd21ded28d7b8921e487821e966e7f8fb7ebd2643e64736f6c634300081a0033",
1880
+ "linkReferences": {
1881
+ "contracts/type/Amount.sol": {
1882
+ "AmountLib": [
1883
+ {
1884
+ "length": 20,
1885
+ "start": 8870
1886
+ },
1887
+ {
1888
+ "length": 20,
1889
+ "start": 8971
1890
+ },
1891
+ {
1892
+ "length": 20,
1893
+ "start": 10124
1894
+ },
1895
+ {
1896
+ "length": 20,
1897
+ "start": 13338
1898
+ },
1899
+ {
1900
+ "length": 20,
1901
+ "start": 13595
1902
+ },
1903
+ {
1904
+ "length": 20,
1905
+ "start": 14058
1906
+ },
1907
+ {
1908
+ "length": 20,
1909
+ "start": 16182
1910
+ }
1911
+ ]
1912
+ },
1913
+ "contracts/type/Fee.sol": {
1914
+ "FeeLib": [
1915
+ {
1916
+ "length": 20,
1917
+ "start": 12241
1918
+ },
1919
+ {
1920
+ "length": 20,
1921
+ "start": 12352
1922
+ },
1923
+ {
1924
+ "length": 20,
1925
+ "start": 12463
1926
+ },
1927
+ {
1928
+ "length": 20,
1929
+ "start": 12574
1930
+ },
1931
+ {
1932
+ "length": 20,
1933
+ "start": 12685
1934
+ },
1935
+ {
1936
+ "length": 20,
1937
+ "start": 12796
1938
+ },
1939
+ {
1940
+ "length": 20,
1941
+ "start": 12907
1942
+ }
1943
+ ]
1944
+ },
1945
+ "contracts/type/NftId.sol": {
1946
+ "NftIdLib": [
1947
+ {
1948
+ "length": 20,
1949
+ "start": 6944
1950
+ },
1951
+ {
1952
+ "length": 20,
1953
+ "start": 7856
1954
+ },
1955
+ {
1956
+ "length": 20,
1957
+ "start": 10716
1958
+ },
1959
+ {
1960
+ "length": 20,
1961
+ "start": 11929
1962
+ },
1963
+ {
1964
+ "length": 20,
1965
+ "start": 12036
1966
+ },
1967
+ {
1968
+ "length": 20,
1969
+ "start": 14760
1970
+ },
1971
+ {
1972
+ "length": 20,
1973
+ "start": 17204
1974
+ }
1975
+ ]
1976
+ },
1977
+ "contracts/type/Timestamp.sol": {
1978
+ "TimestampLib": [
1979
+ {
1980
+ "length": 20,
1981
+ "start": 8108
1982
+ }
1983
+ ]
1984
+ },
1985
+ "contracts/type/Version.sol": {
1986
+ "VersionPartLib": [
1987
+ {
1988
+ "length": 20,
1989
+ "start": 10421
1990
+ }
1991
+ ]
1992
+ }
1993
+ },
1994
+ "deployedLinkReferences": {
1995
+ "contracts/type/Amount.sol": {
1996
+ "AmountLib": [
1997
+ {
1998
+ "length": 20,
1999
+ "start": 4436
2000
+ },
2001
+ {
2002
+ "length": 20,
2003
+ "start": 4537
2004
+ },
2005
+ {
2006
+ "length": 20,
2007
+ "start": 5690
2008
+ },
2009
+ {
2010
+ "length": 20,
2011
+ "start": 8904
2012
+ },
2013
+ {
2014
+ "length": 20,
2015
+ "start": 9161
2016
+ },
2017
+ {
2018
+ "length": 20,
2019
+ "start": 9624
2020
+ },
2021
+ {
2022
+ "length": 20,
2023
+ "start": 11748
2024
+ }
2025
+ ]
2026
+ },
2027
+ "contracts/type/Fee.sol": {
2028
+ "FeeLib": [
2029
+ {
2030
+ "length": 20,
2031
+ "start": 7807
2032
+ },
2033
+ {
2034
+ "length": 20,
2035
+ "start": 7918
2036
+ },
2037
+ {
2038
+ "length": 20,
2039
+ "start": 8029
2040
+ },
2041
+ {
2042
+ "length": 20,
2043
+ "start": 8140
2044
+ },
2045
+ {
2046
+ "length": 20,
2047
+ "start": 8251
2048
+ },
2049
+ {
2050
+ "length": 20,
2051
+ "start": 8362
2052
+ },
2053
+ {
2054
+ "length": 20,
2055
+ "start": 8473
2056
+ }
2057
+ ]
2058
+ },
2059
+ "contracts/type/NftId.sol": {
2060
+ "NftIdLib": [
2061
+ {
2062
+ "length": 20,
2063
+ "start": 2510
2064
+ },
2065
+ {
2066
+ "length": 20,
2067
+ "start": 3422
2068
+ },
2069
+ {
2070
+ "length": 20,
2071
+ "start": 6282
2072
+ },
2073
+ {
2074
+ "length": 20,
2075
+ "start": 7495
2076
+ },
2077
+ {
2078
+ "length": 20,
2079
+ "start": 7602
2080
+ },
2081
+ {
2082
+ "length": 20,
2083
+ "start": 10326
2084
+ },
2085
+ {
2086
+ "length": 20,
2087
+ "start": 12770
2088
+ }
2089
+ ]
2090
+ },
2091
+ "contracts/type/Timestamp.sol": {
2092
+ "TimestampLib": [
2093
+ {
2094
+ "length": 20,
2095
+ "start": 3674
2096
+ }
2097
+ ]
2098
+ },
2099
+ "contracts/type/Version.sol": {
2100
+ "VersionPartLib": [
2101
+ {
2102
+ "length": 20,
2103
+ "start": 5987
2104
+ }
2105
+ ]
2106
+ }
2107
+ }
2108
+ }