@etherisc/gif-next 0.0.2-f7d1200-068 → 0.0.2-f7fa064-035

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