@etherisc/gif-next 0.0.2-cfc7167-648 → 0.0.2-cff7366-494

Sign up to get free protection for your applications and to get access to all the features.
Files changed (470) hide show
  1. package/README.md +32 -8
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +105 -65
  4. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  6. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  8. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +67 -11
  9. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  11. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +60 -32
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +1 -1
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +40 -3
  14. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +1 -1
  15. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +19 -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 +1 -1
  19. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +68 -5
  20. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +1 -1
  21. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +159 -367
  22. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +1 -1
  23. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +82 -22
  24. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  25. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +99 -291
  26. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  27. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +227 -290
  28. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +125 -117
  30. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +89 -129
  32. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +101 -31
  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 +1415 -0
  38. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +502 -0
  40. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1965 -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 +1429 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1163 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1592 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2267 -0
  54. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +1 -1
  55. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +147 -42
  56. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +116 -48
  58. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +53 -101
  60. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/Instance.sol/Instance.json +141 -141
  62. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  63. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +197 -139
  64. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  65. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +58 -85
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +726 -133
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +118 -260
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +99 -87
  72. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +337 -138
  74. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  75. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +810 -0
  76. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  78. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  79. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  81. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  82. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +46 -5
  83. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +1 -1
  84. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +2 -2
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  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 +1 -1
  92. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  93. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +111 -319
  94. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  95. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +84 -24
  96. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  97. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  98. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +77 -117
  99. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  100. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +43 -9
  101. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  102. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +87 -279
  103. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  104. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +147 -191
  105. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  106. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +119 -83
  107. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  108. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +106 -298
  109. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  110. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +114 -22
  111. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  112. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +146 -307
  113. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  114. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +111 -119
  115. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  116. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +48 -33
  117. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  118. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +98 -149
  119. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  120. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +283 -180
  121. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  122. package/artifacts/contracts/pool/Pool.sol/Pool.json +106 -309
  123. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  124. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +382 -407
  125. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  126. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +123 -99
  127. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  128. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +119 -165
  129. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  130. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +93 -85
  131. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  132. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +149 -295
  133. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  134. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +82 -22
  135. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  136. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +282 -229
  137. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  138. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +132 -108
  139. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  140. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +63 -7
  141. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  142. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +161 -7
  143. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  144. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +179 -35
  145. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  146. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +114 -85
  147. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  148. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +136 -130
  149. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  150. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +31 -2
  151. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  152. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +281 -323
  153. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +123 -119
  155. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  156. package/artifacts/contracts/product/PricingService.sol/PricingService.json +215 -309
  157. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  158. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +117 -117
  159. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  160. package/artifacts/contracts/product/Product.sol/Product.json +147 -293
  161. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  162. package/artifacts/contracts/product/RiskService.sol/RiskService.json +638 -0
  163. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  164. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +718 -0
  165. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  166. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  167. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  168. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +310 -34
  169. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  170. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +114 -35
  171. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  172. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  173. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  174. package/artifacts/contracts/registry/Registry.sol/Registry.json +516 -95
  175. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  176. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +296 -143
  177. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  178. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +94 -284
  179. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +91 -75
  181. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  182. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +47 -6
  183. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +1 -1
  184. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +131 -223
  185. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  186. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +66 -8
  187. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  188. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  189. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  190. package/artifacts/contracts/shared/Component.sol/Component.json +76 -239
  191. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  192. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +492 -335
  193. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  194. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +143 -117
  195. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  196. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.json +47 -112
  197. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  198. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +488 -0
  199. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  200. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  201. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  202. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  203. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  204. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +66 -77
  205. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  206. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +467 -33
  207. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  208. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +77 -117
  209. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  210. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.json +36 -0
  211. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  212. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.json +36 -0
  213. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  214. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +16 -0
  215. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  216. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +15 -47
  217. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  218. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +29 -0
  219. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  220. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  221. package/artifacts/contracts/shared/IService.sol/IService.json +29 -0
  222. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +1 -1
  223. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +2 -22
  224. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  225. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +87 -279
  226. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  227. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +42 -1
  228. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  229. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +42 -1
  230. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +1 -1
  231. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +2 -2
  232. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  233. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +22 -57
  234. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  235. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +19 -141
  236. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  237. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +58 -89
  238. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  239. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  240. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  241. package/artifacts/contracts/shared/Service.sol/Service.json +47 -112
  242. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  243. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +674 -49
  244. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  245. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +395 -0
  246. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  247. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  248. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  249. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +111 -114
  250. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  251. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +29 -21
  252. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  253. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +63 -93
  254. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  255. package/artifacts/contracts/staking/Staking.sol/Staking.json +193 -368
  256. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  257. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +46 -5
  258. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  259. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +117 -110
  260. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  261. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -11
  262. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  263. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +87 -165
  264. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  265. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +95 -79
  266. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  267. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +169 -128
  268. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  269. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +54 -23
  270. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  271. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  272. package/artifacts/contracts/type/Amount.sol/AmountLib.json +32 -8
  273. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  274. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  276. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  278. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/Fee.sol/FeeLib.json +2 -2
  280. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  281. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  282. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  283. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  284. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  285. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +23 -4
  286. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  287. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  288. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  289. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  290. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  291. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  292. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  293. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  294. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  295. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  296. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  297. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +99 -5
  298. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  299. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  300. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  301. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +26 -2
  302. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  304. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  306. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  307. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  308. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +2 -2
  309. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  310. package/artifacts/contracts/type/UFixed.sol/MathLib.json +2 -2
  311. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  312. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +15 -2
  313. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  314. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  315. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +1 -1
  316. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  317. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +71 -70
  318. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  319. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +1 -1
  320. package/contracts/authorization/AccessAdmin.sol +83 -58
  321. package/contracts/authorization/Authorization.sol +111 -40
  322. package/contracts/authorization/IAccess.sol +1 -0
  323. package/contracts/authorization/IAccessAdmin.sol +4 -3
  324. package/contracts/authorization/IAuthorization.sol +13 -7
  325. package/contracts/authorization/IServiceAuthorization.sol +3 -1
  326. package/contracts/authorization/ReleaseAccessManager.sol +38 -0
  327. package/contracts/authorization/ServiceAuthorization.sol +26 -10
  328. package/contracts/distribution/BasicDistribution.sol +4 -3
  329. package/contracts/distribution/BasicDistributionAuthorization.sol +1 -1
  330. package/contracts/distribution/Distribution.sol +12 -23
  331. package/contracts/distribution/DistributionService.sol +97 -66
  332. package/contracts/distribution/DistributionServiceManager.sol +6 -6
  333. package/contracts/distribution/IDistributionComponent.sol +1 -1
  334. package/contracts/distribution/IDistributionService.sol +13 -8
  335. package/contracts/examples/fire/DamageLevel.sol +59 -0
  336. package/contracts/examples/fire/FirePool.sol +86 -0
  337. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  338. package/contracts/examples/fire/FireProduct.sol +431 -0
  339. package/contracts/examples/fire/FireProductAuthorization.sol +44 -0
  340. package/contracts/examples/fire/FireUSD.sol +26 -0
  341. package/contracts/examples/unpermissioned/SimpleDistribution.sol +65 -0
  342. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  343. package/contracts/examples/unpermissioned/SimplePool.sol +108 -0
  344. package/contracts/examples/unpermissioned/SimpleProduct.sol +345 -0
  345. package/contracts/instance/BundleSet.sol +38 -34
  346. package/contracts/instance/IInstance.sol +16 -31
  347. package/contracts/instance/IInstanceService.sol +7 -29
  348. package/contracts/instance/Instance.sol +44 -59
  349. package/contracts/instance/InstanceAdmin.sol +58 -39
  350. package/contracts/instance/InstanceAuthorizationV3.sol +43 -29
  351. package/contracts/instance/InstanceReader.sol +190 -19
  352. package/contracts/instance/InstanceService.sol +61 -137
  353. package/contracts/instance/InstanceServiceManager.sol +6 -7
  354. package/contracts/instance/InstanceStore.sol +11 -1
  355. package/contracts/instance/RiskSet.sol +119 -0
  356. package/contracts/instance/base/ObjectLifecycle.sol +7 -1
  357. package/contracts/instance/base/ObjectSet.sol +24 -25
  358. package/contracts/instance/module/IComponents.sol +10 -6
  359. package/contracts/instance/module/IPolicy.sol +25 -24
  360. package/contracts/instance/module/IRisk.sol +1 -0
  361. package/contracts/oracle/BasicOracle.sol +0 -1
  362. package/contracts/oracle/IOracleService.sol +2 -1
  363. package/contracts/oracle/Oracle.sol +6 -16
  364. package/contracts/oracle/OracleService.sol +112 -81
  365. package/contracts/oracle/OracleServiceManager.sol +6 -6
  366. package/contracts/pool/BasicPool.sol +33 -24
  367. package/contracts/pool/BasicPoolAuthorization.sol +12 -2
  368. package/contracts/pool/BundleService.sol +69 -83
  369. package/contracts/pool/BundleServiceManager.sol +6 -6
  370. package/contracts/pool/IBundleService.sol +3 -14
  371. package/contracts/pool/IPoolComponent.sol +19 -15
  372. package/contracts/pool/IPoolService.sol +48 -42
  373. package/contracts/pool/Pool.sol +144 -127
  374. package/contracts/pool/PoolService.sol +277 -189
  375. package/contracts/pool/PoolServiceManager.sol +4 -4
  376. package/contracts/product/ApplicationService.sol +34 -25
  377. package/contracts/product/ApplicationServiceManager.sol +4 -4
  378. package/contracts/product/BasicProduct.sol +9 -12
  379. package/contracts/product/BasicProductAuthorization.sol +0 -1
  380. package/contracts/product/ClaimService.sol +312 -115
  381. package/contracts/product/ClaimServiceManager.sol +4 -4
  382. package/contracts/product/IApplicationService.sol +5 -2
  383. package/contracts/product/IClaimService.sol +30 -7
  384. package/contracts/product/IPolicyService.sol +31 -25
  385. package/contracts/product/IPricingService.sol +10 -10
  386. package/contracts/product/IProductComponent.sol +23 -4
  387. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  388. package/contracts/product/PolicyService.sol +399 -261
  389. package/contracts/product/PolicyServiceManager.sol +4 -4
  390. package/contracts/product/PricingService.sol +49 -53
  391. package/contracts/product/PricingServiceManager.sol +3 -3
  392. package/contracts/product/Product.sol +101 -87
  393. package/contracts/product/{ProductService.sol → RiskService.sol} +21 -13
  394. package/contracts/product/RiskServiceManager.sol +39 -0
  395. package/contracts/registry/ChainNft.sol +68 -38
  396. package/contracts/registry/IRegistry.sol +57 -18
  397. package/contracts/registry/IRegistryService.sol +5 -12
  398. package/contracts/registry/ITransferInterceptor.sol +1 -2
  399. package/contracts/registry/Registry.sol +350 -201
  400. package/contracts/registry/RegistryAdmin.sol +140 -54
  401. package/contracts/registry/RegistryService.sol +35 -46
  402. package/contracts/registry/RegistryServiceManager.sol +2 -2
  403. package/contracts/registry/ReleaseLifecycle.sol +6 -3
  404. package/contracts/registry/ReleaseRegistry.sol +204 -204
  405. package/contracts/registry/ServiceAuthorizationV3.sol +23 -47
  406. package/contracts/shared/Component.sol +60 -119
  407. package/contracts/shared/ComponentService.sol +393 -167
  408. package/contracts/shared/ComponentServiceManager.sol +8 -5
  409. package/contracts/shared/ComponentVerifyingService.sol +28 -17
  410. package/contracts/shared/ContractLib.sol +224 -0
  411. package/contracts/shared/IComponent.sol +10 -14
  412. package/contracts/shared/IComponentService.sol +44 -18
  413. package/contracts/shared/IInstanceLinkedComponent.sol +2 -28
  414. package/contracts/shared/ILifecycle.sol +3 -1
  415. package/contracts/shared/INftOwnable.sol +2 -0
  416. package/contracts/shared/IPolicyHolder.sol +12 -22
  417. package/contracts/shared/IRegisterable.sol +11 -0
  418. package/contracts/shared/InitializableERC165.sol +2 -2
  419. package/contracts/shared/InstanceLinkedComponent.sol +71 -46
  420. package/contracts/shared/KeyValueStore.sol +1 -1
  421. package/contracts/shared/Lifecycle.sol +15 -4
  422. package/contracts/shared/NftOwnable.sol +27 -7
  423. package/contracts/shared/PolicyHolder.sol +15 -52
  424. package/contracts/shared/Registerable.sol +19 -11
  425. package/contracts/shared/RegistryLinked.sol +9 -14
  426. package/contracts/shared/Service.sol +20 -18
  427. package/contracts/shared/TokenHandler.sol +357 -30
  428. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  429. package/contracts/staking/IStaking.sol +11 -5
  430. package/contracts/staking/IStakingService.sol +0 -3
  431. package/contracts/staking/StakeManagerLib.sol +18 -25
  432. package/contracts/staking/Staking.sol +39 -50
  433. package/contracts/staking/StakingManager.sol +8 -6
  434. package/contracts/staking/StakingReader.sol +12 -5
  435. package/contracts/staking/StakingService.sol +58 -25
  436. package/contracts/staking/StakingServiceManager.sol +2 -2
  437. package/contracts/staking/TargetManagerLib.sol +7 -3
  438. package/contracts/type/Amount.sol +15 -0
  439. package/contracts/type/ClaimId.sol +6 -1
  440. package/contracts/type/Key32.sol +2 -2
  441. package/contracts/type/Key32Set.sol +62 -0
  442. package/contracts/type/NftId.sol +7 -0
  443. package/contracts/type/ObjectType.sol +18 -11
  444. package/contracts/type/PayoutId.sol +10 -10
  445. package/contracts/type/RiskId.sol +30 -4
  446. package/contracts/type/RoleId.sol +0 -12
  447. package/contracts/type/Seconds.sol +8 -0
  448. package/contracts/type/StateId.sol +15 -1
  449. package/contracts/type/UFixed.sol +4 -0
  450. package/contracts/upgradeability/ProxyManager.sol +68 -34
  451. package/contracts/upgradeability/Versionable.sol +2 -2
  452. package/package.json +4 -3
  453. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +0 -4
  454. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +0 -290
  455. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +0 -4
  456. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +0 -390
  457. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  458. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  459. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -708
  460. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  461. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -702
  462. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +0 -4
  463. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +0 -39
  464. package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.dbg.json +0 -4
  465. package/artifacts/contracts/shared/TokenTransferLib.sol/TokenTransferLib.json +0 -42
  466. package/contracts/authorization/IModuleAuthorization.sol +0 -21
  467. package/contracts/authorization/ModuleAuthorization.sol +0 -78
  468. package/contracts/product/ProductServiceManager.sol +0 -39
  469. package/contracts/shared/InitializableCustom.sol +0 -177
  470. package/contracts/shared/TokenTransferLib.sol +0 -60
@@ -0,0 +1,1163 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "SimpleOracle",
4
+ "sourceName": "contracts/examples/unpermissioned/SimpleOracle.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "productNftId",
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
+ "stateMutability": "nonpayable",
35
+ "type": "constructor"
36
+ },
37
+ {
38
+ "inputs": [
39
+ {
40
+ "internalType": "address",
41
+ "name": "authority",
42
+ "type": "address"
43
+ }
44
+ ],
45
+ "name": "AccessManagedInvalidAuthority",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "inputs": [
50
+ {
51
+ "internalType": "address",
52
+ "name": "caller",
53
+ "type": "address"
54
+ },
55
+ {
56
+ "internalType": "uint32",
57
+ "name": "delay",
58
+ "type": "uint32"
59
+ }
60
+ ],
61
+ "name": "AccessManagedRequiredDelay",
62
+ "type": "error"
63
+ },
64
+ {
65
+ "inputs": [
66
+ {
67
+ "internalType": "address",
68
+ "name": "caller",
69
+ "type": "address"
70
+ }
71
+ ],
72
+ "name": "AccessManagedUnauthorized",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorComponentNameLengthZero",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "address",
84
+ "name": "caller",
85
+ "type": "address"
86
+ }
87
+ ],
88
+ "name": "ErrorComponentNotChainNft",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "ErrorComponentProductNftIdNonzero",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [],
98
+ "name": "ErrorComponentProductNftIdZero",
99
+ "type": "error"
100
+ },
101
+ {
102
+ "inputs": [],
103
+ "name": "ErrorComponentTokenAddressNonzero",
104
+ "type": "error"
105
+ },
106
+ {
107
+ "inputs": [],
108
+ "name": "ErrorComponentTokenAddressZero",
109
+ "type": "error"
110
+ },
111
+ {
112
+ "inputs": [],
113
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
114
+ "type": "error"
115
+ },
116
+ {
117
+ "inputs": [],
118
+ "name": "ErrorComponentWalletAddressZero",
119
+ "type": "error"
120
+ },
121
+ {
122
+ "inputs": [],
123
+ "name": "ErrorComponentWalletNotComponent",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
128
+ {
129
+ "internalType": "NftId",
130
+ "name": "nftId",
131
+ "type": "uint96"
132
+ },
133
+ {
134
+ "internalType": "ObjectType",
135
+ "name": "objectType",
136
+ "type": "uint8"
137
+ }
138
+ ],
139
+ "name": "ErrorInstanceLinkedComponentNotProduct",
140
+ "type": "error"
141
+ },
142
+ {
143
+ "inputs": [
144
+ {
145
+ "internalType": "ObjectType",
146
+ "name": "requiredType",
147
+ "type": "uint8"
148
+ },
149
+ {
150
+ "internalType": "ObjectType",
151
+ "name": "objectType",
152
+ "type": "uint8"
153
+ }
154
+ ],
155
+ "name": "ErrorInstanceLinkedComponentTypeMismatch",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [
160
+ {
161
+ "internalType": "NftId",
162
+ "name": "nftId",
163
+ "type": "uint96"
164
+ }
165
+ ],
166
+ "name": "ErrorNftOwnableAlreadyLinked",
167
+ "type": "error"
168
+ },
169
+ {
170
+ "inputs": [
171
+ {
172
+ "internalType": "address",
173
+ "name": "contractAddress",
174
+ "type": "address"
175
+ }
176
+ ],
177
+ "name": "ErrorNftOwnableContractNotRegistered",
178
+ "type": "error"
179
+ },
180
+ {
181
+ "inputs": [],
182
+ "name": "ErrorNftOwnableInitialOwnerZero",
183
+ "type": "error"
184
+ },
185
+ {
186
+ "inputs": [
187
+ {
188
+ "internalType": "NftId",
189
+ "name": "nftId",
190
+ "type": "uint96"
191
+ },
192
+ {
193
+ "internalType": "ObjectType",
194
+ "name": "expectedObjectType",
195
+ "type": "uint8"
196
+ }
197
+ ],
198
+ "name": "ErrorNftOwnableInvalidType",
199
+ "type": "error"
200
+ },
201
+ {
202
+ "inputs": [
203
+ {
204
+ "internalType": "address",
205
+ "name": "account",
206
+ "type": "address"
207
+ }
208
+ ],
209
+ "name": "ErrorNftOwnableNotOwner",
210
+ "type": "error"
211
+ },
212
+ {
213
+ "inputs": [
214
+ {
215
+ "internalType": "address",
216
+ "name": "registryAddress",
217
+ "type": "address"
218
+ }
219
+ ],
220
+ "name": "ErrorNotRegistry",
221
+ "type": "error"
222
+ },
223
+ {
224
+ "inputs": [
225
+ {
226
+ "internalType": "string",
227
+ "name": "methodName",
228
+ "type": "string"
229
+ }
230
+ ],
231
+ "name": "ErrorOracleNotImplemented",
232
+ "type": "error"
233
+ },
234
+ {
235
+ "inputs": [],
236
+ "name": "InvalidInitialization",
237
+ "type": "error"
238
+ },
239
+ {
240
+ "inputs": [],
241
+ "name": "NotInitializing",
242
+ "type": "error"
243
+ },
244
+ {
245
+ "anonymous": false,
246
+ "inputs": [
247
+ {
248
+ "indexed": false,
249
+ "internalType": "address",
250
+ "name": "authority",
251
+ "type": "address"
252
+ }
253
+ ],
254
+ "name": "AuthorityUpdated",
255
+ "type": "event"
256
+ },
257
+ {
258
+ "anonymous": false,
259
+ "inputs": [
260
+ {
261
+ "indexed": false,
262
+ "internalType": "uint64",
263
+ "name": "version",
264
+ "type": "uint64"
265
+ }
266
+ ],
267
+ "name": "Initialized",
268
+ "type": "event"
269
+ },
270
+ {
271
+ "anonymous": false,
272
+ "inputs": [
273
+ {
274
+ "indexed": false,
275
+ "internalType": "address",
276
+ "name": "tokenHandler",
277
+ "type": "address"
278
+ },
279
+ {
280
+ "indexed": false,
281
+ "internalType": "address",
282
+ "name": "token",
283
+ "type": "address"
284
+ },
285
+ {
286
+ "indexed": false,
287
+ "internalType": "Amount",
288
+ "name": "limit",
289
+ "type": "uint96"
290
+ },
291
+ {
292
+ "indexed": false,
293
+ "internalType": "bool",
294
+ "name": "isMaxAmount",
295
+ "type": "bool"
296
+ }
297
+ ],
298
+ "name": "LogComponentTokenHandlerApproved",
299
+ "type": "event"
300
+ },
301
+ {
302
+ "anonymous": false,
303
+ "inputs": [
304
+ {
305
+ "indexed": false,
306
+ "internalType": "address",
307
+ "name": "oldWallet",
308
+ "type": "address"
309
+ },
310
+ {
311
+ "indexed": false,
312
+ "internalType": "address",
313
+ "name": "newWallet",
314
+ "type": "address"
315
+ }
316
+ ],
317
+ "name": "LogComponentWalletAddressChanged",
318
+ "type": "event"
319
+ },
320
+ {
321
+ "anonymous": false,
322
+ "inputs": [
323
+ {
324
+ "indexed": false,
325
+ "internalType": "address",
326
+ "name": "from",
327
+ "type": "address"
328
+ },
329
+ {
330
+ "indexed": false,
331
+ "internalType": "address",
332
+ "name": "to",
333
+ "type": "address"
334
+ },
335
+ {
336
+ "indexed": false,
337
+ "internalType": "uint256",
338
+ "name": "amount",
339
+ "type": "uint256"
340
+ }
341
+ ],
342
+ "name": "LogComponentWalletTokensTransferred",
343
+ "type": "event"
344
+ },
345
+ {
346
+ "anonymous": false,
347
+ "inputs": [
348
+ {
349
+ "indexed": false,
350
+ "internalType": "RequestId",
351
+ "name": "requestId",
352
+ "type": "uint64"
353
+ },
354
+ {
355
+ "indexed": false,
356
+ "internalType": "string",
357
+ "name": "responseText",
358
+ "type": "string"
359
+ }
360
+ ],
361
+ "name": "LogSimpleOracleAsyncResponseSent",
362
+ "type": "event"
363
+ },
364
+ {
365
+ "anonymous": false,
366
+ "inputs": [
367
+ {
368
+ "indexed": false,
369
+ "internalType": "RequestId",
370
+ "name": "requestId",
371
+ "type": "uint64"
372
+ }
373
+ ],
374
+ "name": "LogSimpleOracleCancellingReceived",
375
+ "type": "event"
376
+ },
377
+ {
378
+ "anonymous": false,
379
+ "inputs": [
380
+ {
381
+ "indexed": false,
382
+ "internalType": "RequestId",
383
+ "name": "requestId",
384
+ "type": "uint64"
385
+ },
386
+ {
387
+ "indexed": false,
388
+ "internalType": "NftId",
389
+ "name": "requesterId",
390
+ "type": "uint96"
391
+ },
392
+ {
393
+ "indexed": false,
394
+ "internalType": "bool",
395
+ "name": "synchronous",
396
+ "type": "bool"
397
+ },
398
+ {
399
+ "indexed": false,
400
+ "internalType": "string",
401
+ "name": "requestText",
402
+ "type": "string"
403
+ }
404
+ ],
405
+ "name": "LogSimpleOracleRequestReceived",
406
+ "type": "event"
407
+ },
408
+ {
409
+ "anonymous": false,
410
+ "inputs": [
411
+ {
412
+ "indexed": false,
413
+ "internalType": "RequestId",
414
+ "name": "requestId",
415
+ "type": "uint64"
416
+ },
417
+ {
418
+ "indexed": false,
419
+ "internalType": "string",
420
+ "name": "responseText",
421
+ "type": "string"
422
+ }
423
+ ],
424
+ "name": "LogSimpleOracleSyncResponseSent",
425
+ "type": "event"
426
+ },
427
+ {
428
+ "inputs": [],
429
+ "name": "ANSWER_SYNC",
430
+ "outputs": [
431
+ {
432
+ "internalType": "string",
433
+ "name": "",
434
+ "type": "string"
435
+ }
436
+ ],
437
+ "stateMutability": "view",
438
+ "type": "function"
439
+ },
440
+ {
441
+ "inputs": [],
442
+ "name": "COMPONENT_LOCATION_V1",
443
+ "outputs": [
444
+ {
445
+ "internalType": "bytes32",
446
+ "name": "",
447
+ "type": "bytes32"
448
+ }
449
+ ],
450
+ "stateMutability": "view",
451
+ "type": "function"
452
+ },
453
+ {
454
+ "inputs": [],
455
+ "name": "GIF_RELEASE",
456
+ "outputs": [
457
+ {
458
+ "internalType": "uint256",
459
+ "name": "",
460
+ "type": "uint256"
461
+ }
462
+ ],
463
+ "stateMutability": "view",
464
+ "type": "function"
465
+ },
466
+ {
467
+ "inputs": [],
468
+ "name": "INSTANCE_LINKED_COMPONENT_LOCATION_V1",
469
+ "outputs": [
470
+ {
471
+ "internalType": "bytes32",
472
+ "name": "",
473
+ "type": "bytes32"
474
+ }
475
+ ],
476
+ "stateMutability": "view",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [],
481
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
482
+ "outputs": [
483
+ {
484
+ "internalType": "bytes32",
485
+ "name": "",
486
+ "type": "bytes32"
487
+ }
488
+ ],
489
+ "stateMutability": "view",
490
+ "type": "function"
491
+ },
492
+ {
493
+ "inputs": [],
494
+ "name": "ORACLE_STORAGE_LOCATION_V1",
495
+ "outputs": [
496
+ {
497
+ "internalType": "bytes32",
498
+ "name": "",
499
+ "type": "bytes32"
500
+ }
501
+ ],
502
+ "stateMutability": "view",
503
+ "type": "function"
504
+ },
505
+ {
506
+ "inputs": [],
507
+ "name": "REGISTERABLE_LOCATION_V1",
508
+ "outputs": [
509
+ {
510
+ "internalType": "bytes32",
511
+ "name": "",
512
+ "type": "bytes32"
513
+ }
514
+ ],
515
+ "stateMutability": "view",
516
+ "type": "function"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "contract IERC20Metadata",
522
+ "name": "token",
523
+ "type": "address"
524
+ },
525
+ {
526
+ "internalType": "Amount",
527
+ "name": "amount",
528
+ "type": "uint96"
529
+ }
530
+ ],
531
+ "name": "approveTokenHandler",
532
+ "outputs": [],
533
+ "stateMutability": "nonpayable",
534
+ "type": "function"
535
+ },
536
+ {
537
+ "inputs": [],
538
+ "name": "authority",
539
+ "outputs": [
540
+ {
541
+ "internalType": "address",
542
+ "name": "",
543
+ "type": "address"
544
+ }
545
+ ],
546
+ "stateMutability": "view",
547
+ "type": "function"
548
+ },
549
+ {
550
+ "inputs": [
551
+ {
552
+ "internalType": "RequestId",
553
+ "name": "requestId",
554
+ "type": "uint64"
555
+ }
556
+ ],
557
+ "name": "cancel",
558
+ "outputs": [],
559
+ "stateMutability": "nonpayable",
560
+ "type": "function"
561
+ },
562
+ {
563
+ "inputs": [],
564
+ "name": "getAuthorization",
565
+ "outputs": [
566
+ {
567
+ "internalType": "contract IAuthorization",
568
+ "name": "authorization",
569
+ "type": "address"
570
+ }
571
+ ],
572
+ "stateMutability": "view",
573
+ "type": "function"
574
+ },
575
+ {
576
+ "inputs": [],
577
+ "name": "getComponentInfo",
578
+ "outputs": [
579
+ {
580
+ "components": [
581
+ {
582
+ "internalType": "string",
583
+ "name": "name",
584
+ "type": "string"
585
+ },
586
+ {
587
+ "internalType": "contract IERC20Metadata",
588
+ "name": "token",
589
+ "type": "address"
590
+ },
591
+ {
592
+ "internalType": "contract TokenHandler",
593
+ "name": "tokenHandler",
594
+ "type": "address"
595
+ },
596
+ {
597
+ "internalType": "bytes",
598
+ "name": "data",
599
+ "type": "bytes"
600
+ }
601
+ ],
602
+ "internalType": "struct IComponents.ComponentInfo",
603
+ "name": "info",
604
+ "type": "tuple"
605
+ }
606
+ ],
607
+ "stateMutability": "view",
608
+ "type": "function"
609
+ },
610
+ {
611
+ "inputs": [],
612
+ "name": "getInitialComponentInfo",
613
+ "outputs": [
614
+ {
615
+ "components": [
616
+ {
617
+ "internalType": "string",
618
+ "name": "name",
619
+ "type": "string"
620
+ },
621
+ {
622
+ "internalType": "contract IERC20Metadata",
623
+ "name": "token",
624
+ "type": "address"
625
+ },
626
+ {
627
+ "internalType": "contract TokenHandler",
628
+ "name": "tokenHandler",
629
+ "type": "address"
630
+ },
631
+ {
632
+ "internalType": "bytes",
633
+ "name": "data",
634
+ "type": "bytes"
635
+ }
636
+ ],
637
+ "internalType": "struct IComponents.ComponentInfo",
638
+ "name": "info",
639
+ "type": "tuple"
640
+ }
641
+ ],
642
+ "stateMutability": "view",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [],
647
+ "name": "getInitialInfo",
648
+ "outputs": [
649
+ {
650
+ "components": [
651
+ {
652
+ "internalType": "NftId",
653
+ "name": "nftId",
654
+ "type": "uint96"
655
+ },
656
+ {
657
+ "internalType": "NftId",
658
+ "name": "parentNftId",
659
+ "type": "uint96"
660
+ },
661
+ {
662
+ "internalType": "ObjectType",
663
+ "name": "objectType",
664
+ "type": "uint8"
665
+ },
666
+ {
667
+ "internalType": "bool",
668
+ "name": "isInterceptor",
669
+ "type": "bool"
670
+ },
671
+ {
672
+ "internalType": "address",
673
+ "name": "objectAddress",
674
+ "type": "address"
675
+ },
676
+ {
677
+ "internalType": "address",
678
+ "name": "initialOwner",
679
+ "type": "address"
680
+ },
681
+ {
682
+ "internalType": "bytes",
683
+ "name": "data",
684
+ "type": "bytes"
685
+ }
686
+ ],
687
+ "internalType": "struct IRegistry.ObjectInfo",
688
+ "name": "info",
689
+ "type": "tuple"
690
+ }
691
+ ],
692
+ "stateMutability": "view",
693
+ "type": "function"
694
+ },
695
+ {
696
+ "inputs": [],
697
+ "name": "getInstance",
698
+ "outputs": [
699
+ {
700
+ "internalType": "contract IInstance",
701
+ "name": "instance",
702
+ "type": "address"
703
+ }
704
+ ],
705
+ "stateMutability": "view",
706
+ "type": "function"
707
+ },
708
+ {
709
+ "inputs": [],
710
+ "name": "getName",
711
+ "outputs": [
712
+ {
713
+ "internalType": "string",
714
+ "name": "name",
715
+ "type": "string"
716
+ }
717
+ ],
718
+ "stateMutability": "view",
719
+ "type": "function"
720
+ },
721
+ {
722
+ "inputs": [],
723
+ "name": "getNftId",
724
+ "outputs": [
725
+ {
726
+ "internalType": "NftId",
727
+ "name": "",
728
+ "type": "uint96"
729
+ }
730
+ ],
731
+ "stateMutability": "view",
732
+ "type": "function"
733
+ },
734
+ {
735
+ "inputs": [],
736
+ "name": "getOwner",
737
+ "outputs": [
738
+ {
739
+ "internalType": "address",
740
+ "name": "",
741
+ "type": "address"
742
+ }
743
+ ],
744
+ "stateMutability": "view",
745
+ "type": "function"
746
+ },
747
+ {
748
+ "inputs": [],
749
+ "name": "getRegistry",
750
+ "outputs": [
751
+ {
752
+ "internalType": "contract IRegistry",
753
+ "name": "",
754
+ "type": "address"
755
+ }
756
+ ],
757
+ "stateMutability": "view",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [],
762
+ "name": "getRelease",
763
+ "outputs": [
764
+ {
765
+ "internalType": "VersionPart",
766
+ "name": "release",
767
+ "type": "uint8"
768
+ }
769
+ ],
770
+ "stateMutability": "pure",
771
+ "type": "function"
772
+ },
773
+ {
774
+ "inputs": [],
775
+ "name": "getToken",
776
+ "outputs": [
777
+ {
778
+ "internalType": "contract IERC20Metadata",
779
+ "name": "token",
780
+ "type": "address"
781
+ }
782
+ ],
783
+ "stateMutability": "view",
784
+ "type": "function"
785
+ },
786
+ {
787
+ "inputs": [],
788
+ "name": "getTokenHandler",
789
+ "outputs": [
790
+ {
791
+ "internalType": "contract TokenHandler",
792
+ "name": "tokenHandler",
793
+ "type": "address"
794
+ }
795
+ ],
796
+ "stateMutability": "view",
797
+ "type": "function"
798
+ },
799
+ {
800
+ "inputs": [],
801
+ "name": "getWallet",
802
+ "outputs": [
803
+ {
804
+ "internalType": "address",
805
+ "name": "walletAddress",
806
+ "type": "address"
807
+ }
808
+ ],
809
+ "stateMutability": "view",
810
+ "type": "function"
811
+ },
812
+ {
813
+ "inputs": [
814
+ {
815
+ "internalType": "address",
816
+ "name": "registry",
817
+ "type": "address"
818
+ },
819
+ {
820
+ "internalType": "NftId",
821
+ "name": "productNftId",
822
+ "type": "uint96"
823
+ },
824
+ {
825
+ "internalType": "contract IAuthorization",
826
+ "name": "authorization",
827
+ "type": "address"
828
+ },
829
+ {
830
+ "internalType": "address",
831
+ "name": "initialOwner",
832
+ "type": "address"
833
+ },
834
+ {
835
+ "internalType": "string",
836
+ "name": "name",
837
+ "type": "string"
838
+ },
839
+ {
840
+ "internalType": "address",
841
+ "name": "token",
842
+ "type": "address"
843
+ }
844
+ ],
845
+ "name": "initialize",
846
+ "outputs": [],
847
+ "stateMutability": "nonpayable",
848
+ "type": "function"
849
+ },
850
+ {
851
+ "inputs": [],
852
+ "name": "isConsumingScheduledOp",
853
+ "outputs": [
854
+ {
855
+ "internalType": "bytes4",
856
+ "name": "",
857
+ "type": "bytes4"
858
+ }
859
+ ],
860
+ "stateMutability": "view",
861
+ "type": "function"
862
+ },
863
+ {
864
+ "inputs": [],
865
+ "name": "isNftInterceptor",
866
+ "outputs": [
867
+ {
868
+ "internalType": "bool",
869
+ "name": "isInterceptor",
870
+ "type": "bool"
871
+ }
872
+ ],
873
+ "stateMutability": "view",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [],
878
+ "name": "isRegistered",
879
+ "outputs": [
880
+ {
881
+ "internalType": "bool",
882
+ "name": "",
883
+ "type": "bool"
884
+ }
885
+ ],
886
+ "stateMutability": "view",
887
+ "type": "function"
888
+ },
889
+ {
890
+ "inputs": [],
891
+ "name": "isVerifying",
892
+ "outputs": [
893
+ {
894
+ "internalType": "bool",
895
+ "name": "verifying",
896
+ "type": "bool"
897
+ }
898
+ ],
899
+ "stateMutability": "view",
900
+ "type": "function"
901
+ },
902
+ {
903
+ "inputs": [],
904
+ "name": "linkToRegisteredNftId",
905
+ "outputs": [
906
+ {
907
+ "internalType": "NftId",
908
+ "name": "nftId",
909
+ "type": "uint96"
910
+ }
911
+ ],
912
+ "stateMutability": "nonpayable",
913
+ "type": "function"
914
+ },
915
+ {
916
+ "inputs": [
917
+ {
918
+ "internalType": "address",
919
+ "name": "from",
920
+ "type": "address"
921
+ },
922
+ {
923
+ "internalType": "address",
924
+ "name": "to",
925
+ "type": "address"
926
+ },
927
+ {
928
+ "internalType": "uint256",
929
+ "name": "tokenId",
930
+ "type": "uint256"
931
+ },
932
+ {
933
+ "internalType": "address",
934
+ "name": "operator",
935
+ "type": "address"
936
+ }
937
+ ],
938
+ "name": "nftTransferFrom",
939
+ "outputs": [],
940
+ "stateMutability": "nonpayable",
941
+ "type": "function"
942
+ },
943
+ {
944
+ "inputs": [
945
+ {
946
+ "internalType": "RequestId",
947
+ "name": "requestId",
948
+ "type": "uint64"
949
+ },
950
+ {
951
+ "internalType": "NftId",
952
+ "name": "requesterId",
953
+ "type": "uint96"
954
+ },
955
+ {
956
+ "internalType": "bytes",
957
+ "name": "requestData",
958
+ "type": "bytes"
959
+ },
960
+ {
961
+ "internalType": "Timestamp",
962
+ "name": "expiryAt",
963
+ "type": "uint40"
964
+ }
965
+ ],
966
+ "name": "request",
967
+ "outputs": [],
968
+ "stateMutability": "nonpayable",
969
+ "type": "function"
970
+ },
971
+ {
972
+ "inputs": [
973
+ {
974
+ "internalType": "RequestId",
975
+ "name": "requestId",
976
+ "type": "uint64"
977
+ },
978
+ {
979
+ "internalType": "bytes",
980
+ "name": "responseData",
981
+ "type": "bytes"
982
+ }
983
+ ],
984
+ "name": "respond",
985
+ "outputs": [],
986
+ "stateMutability": "nonpayable",
987
+ "type": "function"
988
+ },
989
+ {
990
+ "inputs": [
991
+ {
992
+ "internalType": "RequestId",
993
+ "name": "requestId",
994
+ "type": "uint64"
995
+ },
996
+ {
997
+ "internalType": "string",
998
+ "name": "responseText",
999
+ "type": "string"
1000
+ },
1001
+ {
1002
+ "internalType": "bool",
1003
+ "name": "revertInCall",
1004
+ "type": "bool"
1005
+ },
1006
+ {
1007
+ "internalType": "Timestamp",
1008
+ "name": "revertUntil",
1009
+ "type": "uint40"
1010
+ }
1011
+ ],
1012
+ "name": "respondAsync",
1013
+ "outputs": [],
1014
+ "stateMutability": "nonpayable",
1015
+ "type": "function"
1016
+ },
1017
+ {
1018
+ "inputs": [
1019
+ {
1020
+ "internalType": "address",
1021
+ "name": "newAuthority",
1022
+ "type": "address"
1023
+ }
1024
+ ],
1025
+ "name": "setAuthority",
1026
+ "outputs": [],
1027
+ "stateMutability": "nonpayable",
1028
+ "type": "function"
1029
+ },
1030
+ {
1031
+ "inputs": [
1032
+ {
1033
+ "internalType": "bytes4",
1034
+ "name": "interfaceId",
1035
+ "type": "bytes4"
1036
+ }
1037
+ ],
1038
+ "name": "supportsInterface",
1039
+ "outputs": [
1040
+ {
1041
+ "internalType": "bool",
1042
+ "name": "",
1043
+ "type": "bool"
1044
+ }
1045
+ ],
1046
+ "stateMutability": "view",
1047
+ "type": "function"
1048
+ },
1049
+ {
1050
+ "inputs": [
1051
+ {
1052
+ "internalType": "Amount",
1053
+ "name": "amount",
1054
+ "type": "uint96"
1055
+ }
1056
+ ],
1057
+ "name": "withdrawFees",
1058
+ "outputs": [
1059
+ {
1060
+ "internalType": "Amount",
1061
+ "name": "withdrawnAmount",
1062
+ "type": "uint96"
1063
+ }
1064
+ ],
1065
+ "stateMutability": "nonpayable",
1066
+ "type": "function"
1067
+ }
1068
+ ],
1069
+ "bytecode": "0x608060405234801561000f575f80fd5b50604051613e03380380613e0383398101604081905261002e91610be0565b610066858585856040518060400160405280600c81526020016b53696d706c654f7261636c6560a01b8152508661007060201b60201c565b5050505050610f97565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100b95750825b90505f826001600160401b031660011480156100d45750303b155b9050811580156100e2575080155b156101005760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561012e57845460ff60401b1916680100000000000000001785555b61013c8b8b8b8b8b8b61018f565b831561018257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b6101976101c2565b6101ba86868686868660405180602001604052805f81525061021260201b60201c565b505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661021057604051631afcd79f60e31b815260040160405180910390fd5b565b61021a6101c2565b61022d87878585600d8a60018b896102bf565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90061025d600b6104f4565b6104f4565b81546001600160a01b0319166001600160a01b0391909116178155610283610258600d90565b6001820180546001600160a01b0319166001600160a01b03929092169190911790556102b563c0d4275760e01b61058b565b5050505050505050565b6102c76101c2565b5f6102d38a8a886105b7565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015610345573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103699190610c4d565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051610409929163bf7e214f9160048083019260209291908290030181865afa1580156103c3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e79190610c4d565b8c8c8c8c8c8b8b60405180602001604052805f8152508c61066860201b60201c565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015610450573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104749190610c4d565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556104b2610258600b90565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556104e4634a531f3360e01b61058b565b61018263a9c1bc6f60e01b61058b565b5f6105076001546001600160a01b031690565b6001600160a01b031663d39e60438361051e610780565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015610561573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105859190610c4d565b92915050565b6105936101c2565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c036105d8576105cf8484600a6107f9565b50829050610661565b5f6105e58585600c6107f9565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015610632573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526106599190810190610d55565b602001519150505b9392505050565b6106706101c2565b6001600160a01b038616610697576040516327eab2e360e11b815260040160405180910390fd5b86515f036106b85760405163591eebf360e11b815260040160405180910390fd5b6106c68989878787876108c3565b6106cf8a61096b565b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00806106fb8982610ea9565b50600181018054861515600160a01b026001600160a81b03199091166001600160a01b038a1617179055600281016107338382610ea9565b5061073e600b6104f4565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610770634a531f3360e01b61058b565b610182633b6f5c0360e11b61058b565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af41580156107d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f49190610f63565b905090565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015610847573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261086e9190810190610d55565b905061088581604001518460ff9081169116141590565b156108bb57604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044015b60405180910390fd5b509392505050565b6108cb6101c2565b6108d5868361097f565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff8716021760ff60681b19166d0100000000000000000000000000851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016102b58382610ea9565b6109736101c2565b61097c81610a11565b50565b6109876101c2565b61099082610a22565b610998610aee565b6001600160a01b0381166109bf5760405163f17ef42d60e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b039093169290920291909117905550565b610a196101c2565b61097c81610b33565b610a2a6101c2565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015610a80573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610aa49190610f7e565b610acc5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108b2565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610af66101c2565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b038116811461097c575f80fd5b8051610bc581610ba6565b919050565b80516001600160601b0381168114610bc5575f80fd5b5f805f805f60a08688031215610bf4575f80fd5b8551610bff81610ba6565b9450610c0d60208701610bca565b93506040860151610c1d81610ba6565b6060870151909350610c2e81610ba6565b6080870151909250610c3f81610ba6565b809150509295509295909350565b5f60208284031215610c5d575f80fd5b815161066181610ba6565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715610c9e57610c9e610c68565b60405290565b60ff8116811461097c575f80fd5b8051610bc581610ca4565b80518015158114610bc5575f80fd5b5f82601f830112610cdb575f80fd5b81516001600160401b03811115610cf457610cf4610c68565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610d2257610d22610c68565b604052818152838201602001851015610d39575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610d65575f80fd5b81516001600160401b03811115610d7a575f80fd5b820160e08185031215610d8b575f80fd5b610d93610c7c565b610d9c82610bca565b8152610daa60208301610bca565b6020820152610dbb60408301610cb2565b6040820152610dcc60608301610cbd565b6060820152610ddd60808301610bba565b6080820152610dee60a08301610bba565b60a082015260c08201516001600160401b03811115610e0b575f80fd5b610e1786828501610ccc565b60c083015250949350505050565b600181811c90821680610e3957607f821691505b602082108103610e5757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610ea457805f5260205f20601f840160051c81016020851015610e825750805b601f840160051c820191505b81811015610ea1575f8155600101610e8e565b50505b505050565b81516001600160401b03811115610ec257610ec2610c68565b610ed681610ed08454610e25565b84610e5d565b6020601f821160018114610f08575f8315610ef15750848201515b5f19600385901b1c1916600184901b178455610ea1565b5f84815260208120601f198516915b82811015610f375787850151825560209485019460019092019101610f17565b5084821015610f5457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610f73575f80fd5b815161066181610ca4565b5f60208284031215610f8e575f80fd5b61066182610cbd565b612e5f80610fa45f395ff3fe608060405234801561000f575f80fd5b5060043610610213575f3560e01c8063644c45e01161011f578063a8b81cd8116100a9578063bf7e214f11610079578063bf7e214f14610508578063cf4ee77a14610510578063de7b5d1414610523578063ea15869f14610553578063f86664d214610567575f80fd5b8063a8b81cd81461049d578063ad12ad60146104d9578063ada9652e146104ec578063b423086c14610500575f80fd5b806387ef9ba0116100ef57806387ef9ba0146104515780638899278a14610457578063893d20e81461045f5780638fb360371461046757806390edbd3514610488575f80fd5b8063644c45e0146103d75780636bd1c0eb146103f457806376b707b7146104245780637a9e5e4b1461043e575f80fd5b806321df0da7116101a057806343d752d31161017057806343d752d31461037c5780634bd100e4146103845780634c125e79146103ab5780635741e5e9146103be5780635ab1bd53146103c6575f80fd5b806321df0da714610332578063223668441461033a5780632eb3e6f414610342578063419197fe14610369575f80fd5b806313299604116101e65780631329960414610295578063138461e0146102b557806317d7de7c146102d55780631c6b2190146102ea5780631eff4b22146102fd575f80fd5b806301ffc9a71461021757806306caeae4146102585780630b29e28e1461026d5780630fec111c14610280575b5f80fd5b61024361022536600461223e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b6102663660046123ae565b61057a565b005b61026b61027b36600461242e565b61060a565b61028861062a565b60405161024f91906124fb565b61029d6107e8565b6040516001600160a01b03909116815260200161024f565b6102bd610855565b6040516001600160601b03909116815260200161024f565b6102dd61085f565b60405161024f919061258f565b6102bd6102f83660046125a1565b61086f565b6103247f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b61029d6108f1565b610243610903565b6103247fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b61026b6103773660046125d0565b6109f9565b61029d610a42565b6103247faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61026b6103b9366004612607565b610a54565b610243610a69565b6001546001600160a01b031661029d565b5f80516020612dca833981519152546001600160601b03166102bd565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661029d565b61042c610b26565b60405160ff909116815260200161024f565b61026b61044c366004612620565b610b9a565b5f610243565b610324600381565b61029d610c1c565b61046f610d4d565b6040516001600160e01b0319909116815260200161024f565b610490610d82565b60405161024f919061263b565b6102dd6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b61026b6104e73660046126a1565b610da7565b6103245f80516020612dca83398151915281565b610490610e4a565b61029d610e5a565b61026b61051e3660046126f1565b610e75565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b031661029d565b6103245f80516020612dea83398151915281565b61026b61057536600461274e565b610e88565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016105af91906127e3565b60405160208183030381529060405290506105ca8582610f9e565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b49585856040516105fb92919061281a565b60405180910390a15050505050565b610616335b5f36611034565b6106238585858585611132565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106fe9190612846565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610746610c1c565b6001600160a01b0316815260200182600101805461076390612861565b80601f016020809104026020016040519081016040528092919081815260200182805461078f90612861565b80156107da5780601f106107b1576101008083540402835291602001916107da565b820191905f5260205f20905b8154815290600101906020018083116107bd57829003601f168201915b505050505081525091505090565b5f6107f1610a42565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561082c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085091906128a4565b905090565b5f6108503061119d565b6060610869610d82565b51919050565b5f610878610c1c565b6001600160a01b0316336001600160a01b0316146108b05760405163086391f760e31b81523360048201526024015b60405180910390fd5b6108b93361060f565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016108a7565b5f6108fa610d82565b60200151905090565b5f6109166001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561095a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097e9190612846565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156109d5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085091906128ca565b610a01610c1c565b6001600160a01b0316336001600160a01b031614610a345760405163086391f760e31b81523360048201526024016108a7565b610a3e8282611396565b5050565b5f610a4b610d82565b60400151905090565b610a5d3361060f565b610a668161140a565b50565b5f610a72610903565b15610af6576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610ac6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610aed9190810190612952565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b76573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108509190612a22565b33610ba3610e5a565b6001600160a01b0316816001600160a01b031614610bde5760405162d1953b60e31b81526001600160a01b03821660048201526024016108a7565b816001600160a01b03163b5f03610c13576040516361798f2f60e11b81526001600160a01b03831660048201526024016108a7565b610a3e82611449565b5f805f80516020612dca83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c88573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cac91906128ca565b15610d37576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3191906128a4565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612e0a83398151915280545f9190600160a01b900460ff16610d74575f610d31565b638fb3603760e01b91505090565b610d8a612206565b610d92610903565b15610d9f576108506114aa565b610850610e4a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1291906128a4565b6001600160a01b0316336001600160a01b031614610e445760405162f0630960e01b81523360048201526024016108a7565b50505050565b610e52612206565b6108506114aa565b5f80516020612e0a833981519152546001600160a01b031690565b610e7e3361060f565b610a3e8282610f9e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ecc5750825b90505f826001600160401b03166001148015610ee75750303b155b905081158015610ef5575080155b15610f135760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f3d57845460ff60401b1916600160401b1785555b610f4b8b8b8b8b8b8b611690565b8315610f9157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90610fef908590859060040161281a565b6020604051808303815f875af115801561100b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061102f91906128ca565b505050565b5f80516020612e0a8339815191525f8061106c61104f610e5a565b873061105e60045f8a8c612a3d565b61106791612a64565b6116b5565b915091508161112a5763ffffffff81161561110757825460ff60a01b1916600160a01b17835561109a610e5a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016110c993929190612a9c565b5f604051808303815f87803b1580156110e0575f80fd5b505af11580156110f2573d5f803e3d5ffd5b5050845460ff60a01b191685555061112a9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108a7565b505050505050565b5f61113f83850185612adb565b80519091501561115257611152866117bd565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e89261118d928a928a929190612b75565b60405180910390a1505050505050565b5f805f80516020612dca83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611209573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122d91906128ca565b156112595780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108a7565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156112ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cf91906128ca565b6112f75760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108a7565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611349573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061136d9190612846565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612dea833981519152600301546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015f604051808303815f87803b1580156113f8575f80fd5b505af115801561112a573d5f803e3d5ffd5b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f80516020612e0a83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b6114b2612206565b5f6114c56001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611509573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152d9190612846565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115aa91906128ca565b15611688577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36116065f80516020612dca833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611647573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261166e9190810190612bb7565b60408101519092506001600160a01b031615611688575090565b610d31611885565b611698611964565b61112a86868686868660405180602001604052805f8152506119af565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516117239190612c80565b5f60405180830381855afa9150503d805f811461175b576040519150601f19603f3d011682016040523d82523d5f602084013e611760565b606091505b509150915081156117b257604081511061179257808060200190518101906117889190612c96565b90945092506117b2565b60208151106117b257808060200190518101906117af91906128ca565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e737765720000000000815250604051602001611804919061258f565b604051602081830303815290604052905061181f8282610f9e565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525060405161149e92919061281a565b61188d612206565b5f5f80516020612dea83398151915290506040518060800160405280825f0180546118b790612861565b80601f01602080910402602001604051908101604052809291908181526020018280546118e390612861565b801561192e5780601f106119055761010080835404028352916020019161192e565b820191905f5260205f20905b81548152906001019060200180831161191157829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161076390612861565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166119ad57604051631afcd79f60e31b815260040160405180910390fd5b565b6119b7611964565b6119ca87878585600d8a60018b89611a56565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9006119f5600b611c84565b81546001600160a01b0319166001600160a01b0391909116178155611a1a600d611c84565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055611a4c63c0d4275760e01b611d1b565b5050505050505050565b611a5e611964565b5f611a6a8a8a88611d47565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015611adc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b0091906128a4565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611b9a929163bf7e214f9160048083019260209291908290030181865afa158015611b5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7e91906128a4565b8c8c8c8c8c8b8b60405180602001604052805f8152508c611df8565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611be1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0591906128a4565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055611c42600b611c84565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611c74634a531f3360e01b611d1b565b610f9163a9c1bc6f60e01b611d1b565b5f611c976001546001600160a01b031690565b6001600160a01b031663d39e604383611cae610b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611cf1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d1591906128a4565b92915050565b611d23611964565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03611d6857611d5f8484600a611efd565b50829050611df1565b5f611d758585600c611efd565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611dc2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611de99190810190612952565b602001519150505b9392505050565b611e00611964565b6001600160a01b038616611e27576040516327eab2e360e11b815260040160405180910390fd5b86515f03611e485760405163591eebf360e11b815260040160405180910390fd5b611e56898987878787611fc2565b611e5f8a61205d565b5f80516020612dea83398151915280611e788982612d0f565b50600181018054861515600160a01b026001600160a81b03199091166001600160a01b038a161717905560028101611eb08382612d0f565b50611ebb600b611c84565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611eed634a531f3360e01b611d1b565b610f91633b6f5c0360e11b611d1b565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015611f4b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f729190810190612952565b9050611f8981604001518460ff9081169116141590565b15611fba57604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044016108a7565b509392505050565b611fca611964565b611fd4868361206e565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301611a4c8382612d0f565b612065611964565b610a66816120e4565b612076611964565b61207f826120f5565b6120876121c1565b6001600160a01b0381166120ae5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612dca83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6120ec611964565b610a6681611449565b6120fd611964565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612153573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061217791906128ca565b61219f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108a7565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6121c9611964565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f6020828403121561224e575f80fd5b81356001600160e01b031981168114611df1575f80fd5b80356001600160401b038116811461227b575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156122b6576122b6612280565b60405290565b604051608081016001600160401b03811182821017156122b6576122b6612280565b604051601f8201601f191681016001600160401b038111828210171561230657612306612280565b604052919050565b5f6001600160401b0382111561232657612326612280565b50601f01601f191660200190565b5f6123466123418461230e565b6122de565b9050828152838383011115612359575f80fd5b828260208301375f602084830101529392505050565b5f82601f83011261237e575f80fd5b611df183833560208501612334565b8015158114610a66575f80fd5b803564ffffffffff8116811461227b575f80fd5b5f805f80608085870312156123c1575f80fd5b6123ca85612265565b935060208501356001600160401b038111156123e4575f80fd5b6123f08782880161236f565b93505060408501356124018161238d565b915061240f6060860161239a565b905092959194509250565b6001600160601b0381168114610a66575f80fd5b5f805f805f60808688031215612442575f80fd5b61244b86612265565b9450602086013561245b8161241a565b935060408601356001600160401b03811115612475575f80fd5b8601601f81018813612485575f80fd5b80356001600160401b0381111561249a575f80fd5b8860208284010111156124ab575f80fd5b602091909101935091506124c16060870161239a565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612543608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526125876101008401826124cd565b949350505050565b602081525f611df160208301846124cd565b5f602082840312156125b1575f80fd5b8135611df18161241a565b6001600160a01b0381168114610a66575f80fd5b5f80604083850312156125e1575f80fd5b82356125ec816125bc565b915060208301356125fc8161241a565b809150509250929050565b5f60208284031215612617575f80fd5b611df182612265565b5f60208284031215612630575f80fd5b8135611df1816125bc565b602081525f82516080602084015261265660a08401826124cd565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f1901608086015290915061269882826124cd565b95945050505050565b5f805f80608085870312156126b4575f80fd5b84356126bf816125bc565b935060208501356126cf816125bc565b92506040850135915060608501356126e6816125bc565b939692955090935050565b5f8060408385031215612702575f80fd5b61270b83612265565b915060208301356001600160401b03811115612725575f80fd5b8301601f81018513612735575f80fd5b61274485823560208401612334565b9150509250929050565b5f805f805f8060c08789031215612763575f80fd5b863561276e816125bc565b9550602087013561277e8161241a565b9450604087013561278e816125bc565b9350606087013561279e816125bc565b925060808701356001600160401b038111156127b8575f80fd5b6127c489828a0161236f565b92505060a08701356127d5816125bc565b809150509295509295509295565b6020815281511515602082015264ffffffffff60208301511660408201525f604083015160608084015261258760808401826124cd565b6001600160401b0383168152604060208201525f61258760408301846124cd565b805161227b8161241a565b5f60208284031215612856575f80fd5b8151611df18161241a565b600181811c9082168061287557607f821691505b60208210810361289357634e487b7160e01b5f52602260045260245ffd5b50919050565b805161227b816125bc565b5f602082840312156128b4575f80fd5b8151611df1816125bc565b805161227b8161238d565b5f602082840312156128da575f80fd5b8151611df18161238d565b60ff81168114610a66575f80fd5b805161227b816128e5565b5f61290b6123418461230e565b905082815283838301111561291e575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612943575f80fd5b611df1838351602085016128fe565b5f60208284031215612962575f80fd5b81516001600160401b03811115612977575f80fd5b820160e08185031215612988575f80fd5b612990612294565b6129998261283b565b81526129a76020830161283b565b60208201526129b8604083016128f3565b60408201526129c9606083016128bf565b60608201526129da60808301612899565b60808201526129eb60a08301612899565b60a082015260c08201516001600160401b03811115612a08575f80fd5b612a1486828501612934565b60c083015250949350505050565b5f60208284031215612a32575f80fd5b8151611df1816128e5565b5f8085851115612a4b575f80fd5b83861115612a57575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612a95576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612aeb575f80fd5b81356001600160401b03811115612b00575f80fd5b820160408185031215612b11575f80fd5b604080519081016001600160401b0381118282101715612b3357612b33612280565b6040528135612b418161238d565b815260208201356001600160401b03811115612b5b575f80fd5b612b678682850161236f565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f612bad60808301846124cd565b9695505050505050565b5f60208284031215612bc7575f80fd5b81516001600160401b03811115612bdc575f80fd5b820160808185031215612bed575f80fd5b612bf56122bc565b81516001600160401b03811115612c0a575f80fd5b8201601f81018613612c1a575f80fd5b612c29868251602084016128fe565b825250612c3860208301612899565b6020820152612c4960408301612899565b604082015260608201516001600160401b03811115612c66575f80fd5b612c7286828501612934565b606083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612ca7575f80fd5b8251612cb28161238d565b602084015190925063ffffffff811681146125fc575f80fd5b601f82111561102f57805f5260205f20601f840160051c81016020851015612cf05750805b601f840160051c820191505b81811015610623575f8155600101612cfc565b81516001600160401b03811115612d2857612d28612280565b612d3c81612d368454612861565b84612ccb565b6020601f821160018114612d6e575f8315612d575750848201515b5f19600385901b1c1916600184901b178455610623565b5f84815260208120601f198516915b82811015612d9d5787850151825560209485019460019092019101612d7d565b5084821015612dba57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220211ebe6e7afaa8632c098305217d8cbf769507d6473209ea0417c6d5054ac87e64736f6c634300081a0033",
1070
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b5060043610610213575f3560e01c8063644c45e01161011f578063a8b81cd8116100a9578063bf7e214f11610079578063bf7e214f14610508578063cf4ee77a14610510578063de7b5d1414610523578063ea15869f14610553578063f86664d214610567575f80fd5b8063a8b81cd81461049d578063ad12ad60146104d9578063ada9652e146104ec578063b423086c14610500575f80fd5b806387ef9ba0116100ef57806387ef9ba0146104515780638899278a14610457578063893d20e81461045f5780638fb360371461046757806390edbd3514610488575f80fd5b8063644c45e0146103d75780636bd1c0eb146103f457806376b707b7146104245780637a9e5e4b1461043e575f80fd5b806321df0da7116101a057806343d752d31161017057806343d752d31461037c5780634bd100e4146103845780634c125e79146103ab5780635741e5e9146103be5780635ab1bd53146103c6575f80fd5b806321df0da714610332578063223668441461033a5780632eb3e6f414610342578063419197fe14610369575f80fd5b806313299604116101e65780631329960414610295578063138461e0146102b557806317d7de7c146102d55780631c6b2190146102ea5780631eff4b22146102fd575f80fd5b806301ffc9a71461021757806306caeae4146102585780630b29e28e1461026d5780630fec111c14610280575b5f80fd5b61024361022536600461223e565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61026b6102663660046123ae565b61057a565b005b61026b61027b36600461242e565b61060a565b61028861062a565b60405161024f91906124fb565b61029d6107e8565b6040516001600160a01b03909116815260200161024f565b6102bd610855565b6040516001600160601b03909116815260200161024f565b6102dd61085f565b60405161024f919061258f565b6102bd6102f83660046125a1565b61086f565b6103247f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161024f565b61029d6108f1565b610243610903565b6103247fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0081565b61026b6103773660046125d0565b6109f9565b61029d610a42565b6103247faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61026b6103b9366004612607565b610a54565b610243610a69565b6001546001600160a01b031661029d565b5f80516020612dca833981519152546001600160601b03166102bd565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b031661029d565b61042c610b26565b60405160ff909116815260200161024f565b61026b61044c366004612620565b610b9a565b5f610243565b610324600381565b61029d610c1c565b61046f610d4d565b6040516001600160e01b0319909116815260200161024f565b610490610d82565b60405161024f919061263b565b6102dd6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b61026b6104e73660046126a1565b610da7565b6103245f80516020612dca83398151915281565b610490610e4a565b61029d610e5a565b61026b61051e3660046126f1565b610e75565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00546001600160a01b031661029d565b6103245f80516020612dea83398151915281565b61026b61057536600461274e565b610e88565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016105af91906127e3565b60405160208183030381529060405290506105ca8582610f9e565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b49585856040516105fb92919061281a565b60405180910390a15050505050565b610616335b5f36611034565b6106238585858585611132565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156106da573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106fe9190612846565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610746610c1c565b6001600160a01b0316815260200182600101805461076390612861565b80601f016020809104026020016040519081016040528092919081815260200182805461078f90612861565b80156107da5780601f106107b1576101008083540402835291602001916107da565b820191905f5260205f20905b8154815290600101906020018083116107bd57829003601f168201915b505050505081525091505090565b5f6107f1610a42565b6001600160a01b031663132996046040518163ffffffff1660e01b8152600401602060405180830381865afa15801561082c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085091906128a4565b905090565b5f6108503061119d565b6060610869610d82565b51919050565b5f610878610c1c565b6001600160a01b0316336001600160a01b0316146108b05760405163086391f760e31b81523360048201526024015b60405180910390fd5b6108b93361060f565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b60448201526064016108a7565b5f6108fa610d82565b60200151905090565b5f6109166001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa15801561095a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061097e9190612846565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156109d5573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061085091906128ca565b610a01610c1c565b6001600160a01b0316336001600160a01b031614610a345760405163086391f760e31b81523360048201526024016108a7565b610a3e8282611396565b5050565b5f610a4b610d82565b60400151905090565b610a5d3361060f565b610a668161140a565b50565b5f610a72610903565b15610af6576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610ac6573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610aed9190810190612952565b60600151905090565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0154600160a01b900460ff1690565b604051632392b61b60e21b8152600360048201525f9073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610b76573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108509190612a22565b33610ba3610e5a565b6001600160a01b0316816001600160a01b031614610bde5760405162d1953b60e31b81526001600160a01b03821660048201526024016108a7565b816001600160a01b03163b5f03610c13576040516361798f2f60e11b81526001600160a01b03831660048201526024016108a7565b610a3e82611449565b5f805f80516020612dca83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610c88573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cac91906128ca565b15610d37576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610d0d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d3191906128a4565b91505090565b54600160601b90046001600160a01b0316919050565b5f80516020612e0a83398151915280545f9190600160a01b900460ff16610d74575f610d31565b638fb3603760e01b91505090565b610d8a612206565b610d92610903565b15610d9f576108506114aa565b610850610e4a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015610dee573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1291906128a4565b6001600160a01b0316336001600160a01b031614610e445760405162f0630960e01b81523360048201526024016108a7565b50505050565b610e52612206565b6108506114aa565b5f80516020612e0a833981519152546001600160a01b031690565b610e7e3361060f565b610a3e8282610f9e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f81158015610ecc5750825b90505f826001600160401b03166001148015610ee75750303b155b905081158015610ef5575080155b15610f135760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f3d57845460ff60401b1916600160401b1785555b610f4b8b8b8b8b8b8b611690565b8315610f9157845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90610fef908590859060040161281a565b6020604051808303815f875af115801561100b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061102f91906128ca565b505050565b5f80516020612e0a8339815191525f8061106c61104f610e5a565b873061105e60045f8a8c612a3d565b61106791612a64565b6116b5565b915091508161112a5763ffffffff81161561110757825460ff60a01b1916600160a01b17835561109a610e5a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016110c993929190612a9c565b5f604051808303815f87803b1580156110e0575f80fd5b505af11580156110f2573d5f803e3d5ffd5b5050845460ff60a01b191685555061112a9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016108a7565b505050505050565b5f61113f83850185612adb565b80519091501561115257611152866117bd565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e89261118d928a928a929190612b75565b60405180910390a1505050505050565b5f805f80516020612dca83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611209573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061122d91906128ca565b156112595780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016108a7565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156112ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112cf91906128ca565b6112f75760405163b9304b0d60e01b81526001600160a01b03841660048201526024016108a7565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611349573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061136d9190612846565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b5f80516020612dea833981519152600301546040516320c8cbff60e11b81526001600160a01b0384811660048301526001600160601b03841660248301529091169063419197fe906044015f604051808303815f87803b1580156113f8575f80fd5b505af115801561112a573d5f803e3d5ffd5b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f80516020612e0a83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b6114b2612206565b5f6114c56001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611509573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061152d9190612846565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611586573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115aa91906128ca565b15611688577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c36116065f80516020612dca833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015611647573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261166e9190810190612bb7565b60408101519092506001600160a01b031615611688575090565b610d31611885565b611698611964565b61112a86868686868660405180602001604052805f8152506119af565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516117239190612c80565b5f60405180830381855afa9150503d805f811461175b576040519150601f19603f3d011682016040523d82523d5f602084013e611760565b606091505b509150915081156117b257604081511061179257808060200190518101906117889190612c96565b90945092506117b2565b60208151106117b257808060200190518101906117af91906128ca565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e737765720000000000815250604051602001611804919061258f565b604051602081830303815290604052905061181f8282610f9e565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525060405161149e92919061281a565b61188d612206565b5f5f80516020612dea83398151915290506040518060800160405280825f0180546118b790612861565b80601f01602080910402602001604051908101604052809291908181526020018280546118e390612861565b801561192e5780601f106119055761010080835404028352916020019161192e565b820191905f5260205f20905b81548152906001019060200180831161191157829003601f168201915b505050918352505060018301546001600160a01b031660208201525f604082015260028301805460609092019161076390612861565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166119ad57604051631afcd79f60e31b815260040160405180910390fd5b565b6119b7611964565b6119ca87878585600d8a60018b89611a56565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9006119f5600b611c84565b81546001600160a01b0319166001600160a01b0391909116178155611a1a600d611c84565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055611a4c63c0d4275760e01b611d1b565b5050505050505050565b611a5e611964565b5f611a6a8a8a88611d47565b90505f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f0060405163bf8e179760e01b81526001600160601b03841660048201529091506001600160a01b038c169063bf8e179790602401602060405180830381865afa158015611adc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b0091906128a4565b81546001600160a01b0319166001600160a01b039190911690811782556040805163bf7e214f60e01b81529051611b9a929163bf7e214f9160048083019260209291908290030181865afa158015611b5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b7e91906128a4565b8c8c8c8c8c8b8b60405180602001604052805f8152508c611df8565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa158015611be1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c0591906128a4565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055611c42600b611c84565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611c74634a531f3360e01b611d1b565b610f9163a9c1bc6f60e01b611d1b565b5f611c976001546001600160a01b031690565b6001600160a01b031663d39e604383611cae610b26565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611cf1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d1591906128a4565b92915050565b611d23611964565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f60ff8216600c03611d6857611d5f8484600a611efd565b50829050611df1565b5f611d758585600c611efd565b6040516305247a1760e51b81526001600160601b03861660048201529091506001600160a01b0382169063a48f42e0906024015f60405180830381865afa158015611dc2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611de99190810190612952565b602001519150505b9392505050565b611e00611964565b6001600160a01b038616611e27576040516327eab2e360e11b815260040160405180910390fd5b86515f03611e485760405163591eebf360e11b815260040160405180910390fd5b611e56898987878787611fc2565b611e5f8a61205d565b5f80516020612dea83398151915280611e788982612d0f565b50600181018054861515600160a01b026001600160a81b03199091166001600160a01b038a161717905560028101611eb08382612d0f565b50611ebb600b611c84565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055611eed634a531f3360e01b611d1b565b610f91633b6f5c0360e11b611d1b565b6040516305247a1760e51b81526001600160601b038316600482015283905f906001600160a01b0383169063a48f42e0906024015f60405180830381865afa158015611f4b573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052611f729190810190612952565b9050611f8981604001518460ff9081169116141590565b15611fba57604080820151905163b0c1f6eb60e01b815260ff808616600483015290911660248201526044016108a7565b509392505050565b611fca611964565b611fd4868361206e565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301611a4c8382612d0f565b612065611964565b610a66816120e4565b612076611964565b61207f826120f5565b6120876121c1565b6001600160a01b0381166120ae5760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020612dca83398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6120ec611964565b610a6681611449565b6120fd611964565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015612153573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061217791906128ca565b61219f5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108a7565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6121c9611964565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6040518060800160405280606081526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f6020828403121561224e575f80fd5b81356001600160e01b031981168114611df1575f80fd5b80356001600160401b038116811461227b575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156122b6576122b6612280565b60405290565b604051608081016001600160401b03811182821017156122b6576122b6612280565b604051601f8201601f191681016001600160401b038111828210171561230657612306612280565b604052919050565b5f6001600160401b0382111561232657612326612280565b50601f01601f191660200190565b5f6123466123418461230e565b6122de565b9050828152838383011115612359575f80fd5b828260208301375f602084830101529392505050565b5f82601f83011261237e575f80fd5b611df183833560208501612334565b8015158114610a66575f80fd5b803564ffffffffff8116811461227b575f80fd5b5f805f80608085870312156123c1575f80fd5b6123ca85612265565b935060208501356001600160401b038111156123e4575f80fd5b6123f08782880161236f565b93505060408501356124018161238d565b915061240f6060860161239a565b905092959194509250565b6001600160601b0381168114610a66575f80fd5b5f805f805f60808688031215612442575f80fd5b61244b86612265565b9450602086013561245b8161241a565b935060408601356001600160401b03811115612475575f80fd5b8601601f81018813612485575f80fd5b80356001600160401b0381111561249a575f80fd5b8860208284010111156124ab575f80fd5b602091909101935091506124c16060870161239a565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612543608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e0808401526125876101008401826124cd565b949350505050565b602081525f611df160208301846124cd565b5f602082840312156125b1575f80fd5b8135611df18161241a565b6001600160a01b0381168114610a66575f80fd5b5f80604083850312156125e1575f80fd5b82356125ec816125bc565b915060208301356125fc8161241a565b809150509250929050565b5f60208284031215612617575f80fd5b611df182612265565b5f60208284031215612630575f80fd5b8135611df1816125bc565b602081525f82516080602084015261265660a08401826124cd565b60208501516001600160a01b0390811660408681019190915286015116606080860191909152850151848203601f1901608086015290915061269882826124cd565b95945050505050565b5f805f80608085870312156126b4575f80fd5b84356126bf816125bc565b935060208501356126cf816125bc565b92506040850135915060608501356126e6816125bc565b939692955090935050565b5f8060408385031215612702575f80fd5b61270b83612265565b915060208301356001600160401b03811115612725575f80fd5b8301601f81018513612735575f80fd5b61274485823560208401612334565b9150509250929050565b5f805f805f8060c08789031215612763575f80fd5b863561276e816125bc565b9550602087013561277e8161241a565b9450604087013561278e816125bc565b9350606087013561279e816125bc565b925060808701356001600160401b038111156127b8575f80fd5b6127c489828a0161236f565b92505060a08701356127d5816125bc565b809150509295509295509295565b6020815281511515602082015264ffffffffff60208301511660408201525f604083015160608084015261258760808401826124cd565b6001600160401b0383168152604060208201525f61258760408301846124cd565b805161227b8161241a565b5f60208284031215612856575f80fd5b8151611df18161241a565b600181811c9082168061287557607f821691505b60208210810361289357634e487b7160e01b5f52602260045260245ffd5b50919050565b805161227b816125bc565b5f602082840312156128b4575f80fd5b8151611df1816125bc565b805161227b8161238d565b5f602082840312156128da575f80fd5b8151611df18161238d565b60ff81168114610a66575f80fd5b805161227b816128e5565b5f61290b6123418461230e565b905082815283838301111561291e575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112612943575f80fd5b611df1838351602085016128fe565b5f60208284031215612962575f80fd5b81516001600160401b03811115612977575f80fd5b820160e08185031215612988575f80fd5b612990612294565b6129998261283b565b81526129a76020830161283b565b60208201526129b8604083016128f3565b60408201526129c9606083016128bf565b60608201526129da60808301612899565b60808201526129eb60a08301612899565b60a082015260c08201516001600160401b03811115612a08575f80fd5b612a1486828501612934565b60c083015250949350505050565b5f60208284031215612a32575f80fd5b8151611df1816128e5565b5f8085851115612a4b575f80fd5b83861115612a57575f80fd5b5050820193919092039150565b80356001600160e01b03198116906004841015612a95576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215612aeb575f80fd5b81356001600160401b03811115612b00575f80fd5b820160408185031215612b11575f80fd5b604080519081016001600160401b0381118282101715612b3357612b33612280565b6040528135612b418161238d565b815260208201356001600160401b03811115612b5b575f80fd5b612b678682850161236f565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f612bad60808301846124cd565b9695505050505050565b5f60208284031215612bc7575f80fd5b81516001600160401b03811115612bdc575f80fd5b820160808185031215612bed575f80fd5b612bf56122bc565b81516001600160401b03811115612c0a575f80fd5b8201601f81018613612c1a575f80fd5b612c29868251602084016128fe565b825250612c3860208301612899565b6020820152612c4960408301612899565b604082015260608201516001600160401b03811115612c66575f80fd5b612c7286828501612934565b606083015250949350505050565b5f82518060208501845e5f920191825250919050565b5f8060408385031215612ca7575f80fd5b8251612cb28161238d565b602084015190925063ffffffff811681146125fc575f80fd5b601f82111561102f57805f5260205f20601f840160051c81016020851015612cf05750805b601f840160051c820191505b81811015610623575f8155600101612cfc565b81516001600160401b03811115612d2857612d28612280565b612d3c81612d368454612861565b84612ccb565b6020601f821160018114612d6e575f8315612d575750848201515b5f19600385901b1c1916600184901b178455610623565b5f84815260208120601f198516915b82811015612d9d5787850151825560209485019460019092019101612d7d565b5084821015612dba57868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00ffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220211ebe6e7afaa8632c098305217d8cbf769507d6473209ea0417c6d5054ac87e64736f6c634300081a0033",
1071
+ "linkReferences": {
1072
+ "contracts/shared/ContractLib.sol": {
1073
+ "ContractLib": [
1074
+ {
1075
+ "length": 20,
1076
+ "start": 2632
1077
+ },
1078
+ {
1079
+ "length": 20,
1080
+ "start": 12479
1081
+ }
1082
+ ]
1083
+ },
1084
+ "contracts/type/NftId.sol": {
1085
+ "NftIdLib": [
1086
+ {
1087
+ "length": 20,
1088
+ "start": 5689
1089
+ },
1090
+ {
1091
+ "length": 20,
1092
+ "start": 6465
1093
+ },
1094
+ {
1095
+ "length": 20,
1096
+ "start": 7156
1097
+ },
1098
+ {
1099
+ "length": 20,
1100
+ "start": 8565
1101
+ },
1102
+ {
1103
+ "length": 20,
1104
+ "start": 9458
1105
+ }
1106
+ ]
1107
+ },
1108
+ "contracts/type/Version.sol": {
1109
+ "VersionPartLib": [
1110
+ {
1111
+ "length": 20,
1112
+ "start": 1944
1113
+ },
1114
+ {
1115
+ "length": 20,
1116
+ "start": 6882
1117
+ }
1118
+ ]
1119
+ }
1120
+ },
1121
+ "deployedLinkReferences": {
1122
+ "contracts/shared/ContractLib.sol": {
1123
+ "ContractLib": [
1124
+ {
1125
+ "length": 20,
1126
+ "start": 8475
1127
+ }
1128
+ ]
1129
+ },
1130
+ "contracts/type/NftId.sol": {
1131
+ "NftIdLib": [
1132
+ {
1133
+ "length": 20,
1134
+ "start": 1685
1135
+ },
1136
+ {
1137
+ "length": 20,
1138
+ "start": 2461
1139
+ },
1140
+ {
1141
+ "length": 20,
1142
+ "start": 3152
1143
+ },
1144
+ {
1145
+ "length": 20,
1146
+ "start": 4561
1147
+ },
1148
+ {
1149
+ "length": 20,
1150
+ "start": 5454
1151
+ }
1152
+ ]
1153
+ },
1154
+ "contracts/type/Version.sol": {
1155
+ "VersionPartLib": [
1156
+ {
1157
+ "length": 20,
1158
+ "start": 2878
1159
+ }
1160
+ ]
1161
+ }
1162
+ }
1163
+ }