@etherisc/gif-next 0.0.2-f8e07c7-917 → 0.0.2-f946ccd-184

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