@etherisc/gif-next 0.0.2-b89a442-717 → 0.0.2-b9366f5-670

Sign up to get free protection for your applications and to get access to all the features.
Files changed (413) hide show
  1. package/README.md +32 -3
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +1 -1
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +2 -2
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +1 -1
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +2 -2
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +1 -1
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +2 -2
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +1 -1
  9. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +1 -1
  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 +85 -101
  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 +43 -75
  23. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  24. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +223 -105
  25. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  26. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +50 -38
  27. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  28. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +43 -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/example_components/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  32. package/artifacts/contracts/example_components/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1558 -0
  33. package/artifacts/contracts/example_components/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  34. package/artifacts/contracts/example_components/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1318 -0
  35. package/artifacts/contracts/example_components/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  36. package/artifacts/contracts/example_components/unpermissioned/SimplePool.sol/SimplePool.json +1664 -0
  37. package/artifacts/contracts/example_components/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  38. package/artifacts/contracts/example_components/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2125 -0
  39. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  40. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  41. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  42. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +6 -6
  43. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  44. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +5 -5
  45. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  46. package/artifacts/contracts/instance/Instance.sol/Instance.json +9 -9
  47. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +1 -1
  48. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +75 -75
  49. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +1 -1
  50. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +31 -31
  51. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  52. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +238 -123
  53. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  54. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +21 -21
  55. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  56. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +9 -9
  57. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  58. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +215 -219
  59. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +1 -1
  60. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +2 -2
  61. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  62. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +1 -1
  63. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +2 -2
  64. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +2 -2
  66. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  67. package/artifacts/contracts/instance/base/{ObjectManager.sol/ObjectManager.json → ObjectSet.sol/ObjectSet.json} +6 -6
  68. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  74. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +1 -1
  75. package/artifacts/contracts/mock/Dip.sol/Dip.json +2 -2
  76. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +1 -1
  77. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +59 -88
  78. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +1 -1
  79. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +2 -2
  80. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +1 -1
  81. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +1 -1
  82. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +30 -37
  83. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +1 -1
  84. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +1 -1
  85. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +27 -72
  86. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +1 -1
  87. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +2 -2
  88. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +1 -1
  89. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +2 -2
  90. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +1 -1
  91. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +55 -137
  92. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +1 -1
  93. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +16 -16
  94. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  95. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +402 -62
  96. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  97. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +94 -26
  98. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  99. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +205 -1
  100. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  101. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +45 -95
  102. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  103. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +220 -100
  104. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  105. package/artifacts/contracts/pool/Pool.sol/Pool.json +45 -133
  106. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  107. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +264 -136
  108. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  109. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +23 -19
  110. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  111. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +19 -38
  112. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +8 -20
  114. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +1 -1
  115. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +22 -78
  116. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +1 -1
  117. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +16 -16
  118. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  119. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +194 -72
  120. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  121. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +41 -37
  122. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  123. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +5 -0
  124. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  125. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +114 -0
  126. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  127. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +184 -119
  128. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  129. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +43 -43
  130. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  131. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +19 -37
  132. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  133. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +2 -2
  134. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  135. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +242 -209
  136. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  137. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +38 -38
  138. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  139. package/artifacts/contracts/product/PricingService.sol/PricingService.json +107 -147
  140. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  141. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +40 -60
  142. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  143. package/artifacts/contracts/product/Product.sol/Product.json +22 -78
  144. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  145. package/artifacts/contracts/product/{ProductService.sol/ProductService.json → RiskService.sol/RiskService.json} +4 -17
  146. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  147. package/artifacts/contracts/product/{ProductServiceManager.sol/ProductServiceManager.json → RiskServiceManager.sol/RiskServiceManager.json} +12 -12
  148. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  149. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  150. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  151. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +51 -3
  152. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  153. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +0 -183
  154. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  155. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  156. package/artifacts/contracts/registry/Registry.sol/Registry.json +96 -24
  157. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +1 -1
  158. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +88 -88
  159. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  160. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +2 -2
  161. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +2 -2
  163. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +1 -1
  164. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +2 -2
  165. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  166. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1159 -0
  167. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +1 -1
  168. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +6 -6
  169. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  170. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  171. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  172. package/artifacts/contracts/shared/Component.sol/Component.json +0 -64
  173. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  174. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +255 -62
  175. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +1 -1
  176. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +52 -32
  177. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +1 -1
  178. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  179. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +0 -26
  180. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +1 -1
  181. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +153 -0
  182. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +1 -1
  183. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +19 -37
  184. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  185. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  186. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  187. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  188. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  189. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  190. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  191. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +1 -1
  192. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  193. package/artifacts/contracts/shared/{ERC165.sol/ERC165.json → InitializableERC165.sol/InitializableERC165.json} +4 -4
  194. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +1 -1
  195. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +19 -75
  196. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  197. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  198. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  199. package/artifacts/contracts/shared/{NftIdSetManager.sol/NftIdSetManager.json → NftIdSet.sol/NftIdSet.json} +4 -4
  200. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  201. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  202. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  203. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  204. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  205. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
  206. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  207. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  208. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  209. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  210. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +330 -11
  211. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  212. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  213. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  214. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +27 -27
  215. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  216. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +1 -1
  217. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +73 -93
  218. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  219. package/artifacts/contracts/staking/Staking.sol/Staking.json +77 -107
  220. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +1 -1
  221. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +2 -2
  222. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  223. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +26 -22
  224. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +1 -1
  225. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +6 -6
  226. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  227. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +22 -22
  228. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  229. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +12 -12
  230. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +1 -1
  231. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +92 -87
  232. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +1 -1
  233. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +59 -23
  234. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  235. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  236. package/artifacts/contracts/type/Amount.sol/AmountLib.json +37 -8
  237. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  238. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +2 -2
  239. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  240. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +2 -2
  241. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  242. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +2 -2
  243. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  244. package/artifacts/contracts/type/Fee.sol/FeeLib.json +7 -2
  245. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  246. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  247. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  248. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +2 -2
  249. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  250. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  251. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  252. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +2 -2
  253. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  254. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +2 -2
  255. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  256. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +2 -2
  257. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +1 -1
  258. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +2 -2
  259. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  260. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +2 -2
  261. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  262. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  263. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  264. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +50 -2
  265. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +1 -1
  266. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +1 -1
  267. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  268. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +2 -2
  269. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +1 -1
  270. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  271. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +23 -4
  272. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  273. package/artifacts/contracts/type/UFixed.sol/MathLib.json +9 -3
  274. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  275. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +39 -2
  276. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  277. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -2
  278. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  279. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +21 -2
  280. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  281. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  282. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  283. package/artifacts/contracts/{shared → upgradeability}/ProxyManager.sol/ProxyManager.json +3 -3
  284. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  285. package/artifacts/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +3 -3
  286. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  287. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  288. package/contracts/authorization/Authorization.sol +0 -1
  289. package/contracts/distribution/BasicDistribution.sol +4 -15
  290. package/contracts/distribution/BasicDistributionAuthorization.sol +5 -1
  291. package/contracts/distribution/Distribution.sol +22 -10
  292. package/contracts/distribution/DistributionService.sol +67 -33
  293. package/contracts/distribution/DistributionServiceManager.sol +2 -5
  294. package/contracts/distribution/IDistributionComponent.sol +8 -4
  295. package/contracts/distribution/IDistributionService.sol +18 -2
  296. package/contracts/example_components/unpermissioned/SimpleDistribution.sol +50 -0
  297. package/contracts/example_components/unpermissioned/SimpleOracle.sol +137 -0
  298. package/contracts/example_components/unpermissioned/SimplePool.sol +76 -0
  299. package/contracts/example_components/unpermissioned/SimpleProduct.sol +351 -0
  300. package/contracts/instance/{BundleManager.sol → BundleSet.sol} +23 -23
  301. package/contracts/instance/IInstance.sol +11 -34
  302. package/contracts/instance/IInstanceService.sol +5 -5
  303. package/contracts/instance/Instance.sol +11 -36
  304. package/contracts/instance/InstanceAdmin.sol +25 -6
  305. package/contracts/instance/InstanceAuthorizationV3.sol +16 -14
  306. package/contracts/instance/InstanceReader.sol +32 -7
  307. package/contracts/instance/InstanceService.sol +65 -41
  308. package/contracts/instance/InstanceServiceManager.sol +2 -6
  309. package/contracts/instance/InstanceStore.sol +12 -1
  310. package/contracts/instance/base/ObjectLifecycle.sol +9 -4
  311. package/contracts/instance/base/{ObjectManager.sol → ObjectSet.sol} +5 -5
  312. package/contracts/instance/module/IBundle.sol +1 -1
  313. package/contracts/instance/module/IComponents.sol +1 -7
  314. package/contracts/instance/module/IDistribution.sol +0 -1
  315. package/contracts/instance/module/IPolicy.sol +22 -22
  316. package/contracts/mock/Dip.sol +1 -1
  317. package/contracts/oracle/IOracleComponent.sol +2 -1
  318. package/contracts/oracle/Oracle.sol +16 -6
  319. package/contracts/oracle/OracleService.sol +1 -0
  320. package/contracts/oracle/OracleServiceManager.sol +2 -5
  321. package/contracts/pool/BasicPool.sol +7 -5
  322. package/contracts/pool/BasicPoolAuthorization.sol +11 -2
  323. package/contracts/pool/BundleService.sol +189 -47
  324. package/contracts/pool/BundleServiceManager.sol +2 -5
  325. package/contracts/pool/IBundleService.sol +33 -5
  326. package/contracts/pool/IPoolComponent.sol +6 -0
  327. package/contracts/pool/IPoolService.sol +36 -26
  328. package/contracts/pool/Pool.sol +39 -24
  329. package/contracts/pool/PoolService.sol +161 -104
  330. package/contracts/pool/PoolServiceManager.sol +2 -5
  331. package/contracts/product/ApplicationService.sol +51 -57
  332. package/contracts/product/ApplicationServiceManager.sol +2 -2
  333. package/contracts/product/BasicProduct.sol +3 -32
  334. package/contracts/product/BasicProductAuthorization.sol +3 -0
  335. package/contracts/product/ClaimService.sol +118 -73
  336. package/contracts/product/ClaimServiceManager.sol +2 -2
  337. package/contracts/product/IApplicationService.sol +1 -0
  338. package/contracts/product/IClaimService.sol +28 -5
  339. package/contracts/product/IPolicyService.sol +27 -32
  340. package/contracts/product/IPricingService.sol +7 -7
  341. package/contracts/product/IProductComponent.sol +1 -1
  342. package/contracts/product/{IProductService.sol → IRiskService.sol} +1 -1
  343. package/contracts/product/PolicyService.sol +278 -180
  344. package/contracts/product/PolicyServiceManager.sol +2 -5
  345. package/contracts/product/PricingService.sol +42 -41
  346. package/contracts/product/PricingServiceManager.sol +2 -5
  347. package/contracts/product/Product.sol +67 -34
  348. package/contracts/product/{ProductService.sol → RiskService.sol} +10 -37
  349. package/contracts/product/RiskServiceManager.sol +39 -0
  350. package/contracts/registry/IRegistry.sol +27 -14
  351. package/contracts/registry/IRegistryService.sol +6 -6
  352. package/contracts/registry/Registry.sol +81 -83
  353. package/contracts/registry/RegistryAdmin.sol +33 -24
  354. package/contracts/registry/RegistryService.sol +4 -18
  355. package/contracts/registry/RegistryServiceManager.sol +2 -2
  356. package/contracts/registry/{ReleaseManager.sol → ReleaseRegistry.sol} +49 -51
  357. package/contracts/registry/ServiceAuthorizationV3.sol +7 -8
  358. package/contracts/registry/TokenRegistry.sol +2 -2
  359. package/contracts/shared/Component.sol +25 -38
  360. package/contracts/shared/ComponentService.sol +82 -22
  361. package/contracts/shared/ComponentServiceManager.sol +2 -2
  362. package/contracts/shared/ComponentVerifyingService.sol +1 -1
  363. package/contracts/shared/IComponent.sol +4 -4
  364. package/contracts/shared/IComponentService.sol +15 -9
  365. package/contracts/shared/IInstanceLinkedComponent.sol +9 -10
  366. package/contracts/shared/IService.sol +1 -1
  367. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +1 -1
  368. package/contracts/shared/InstanceLinkedComponent.sol +22 -1
  369. package/contracts/shared/{NftIdSetManager.sol → NftIdSet.sol} +1 -1
  370. package/contracts/shared/NftOwnable.sol +3 -3
  371. package/contracts/shared/PolicyHolder.sol +2 -5
  372. package/contracts/shared/Service.sol +3 -4
  373. package/contracts/shared/TokenHandler.sol +100 -19
  374. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  375. package/contracts/staking/IStaking.sol +3 -3
  376. package/contracts/staking/IStakingService.sol +12 -5
  377. package/contracts/staking/StakeManagerLib.sol +18 -25
  378. package/contracts/staking/Staking.sol +24 -39
  379. package/contracts/staking/StakingManager.sol +2 -6
  380. package/contracts/staking/StakingReader.sol +12 -16
  381. package/contracts/staking/StakingService.sol +8 -12
  382. package/contracts/staking/StakingServiceManager.sol +2 -2
  383. package/contracts/staking/StakingStore.sol +12 -22
  384. package/contracts/staking/TargetManagerLib.sol +7 -3
  385. package/contracts/type/Amount.sol +12 -5
  386. package/contracts/type/Blocknumber.sol +7 -1
  387. package/contracts/type/ObjectType.sol +18 -18
  388. package/contracts/type/Referral.sol +1 -0
  389. package/contracts/type/Seconds.sol +21 -1
  390. package/contracts/type/StateId.sol +1 -0
  391. package/contracts/type/Timestamp.sol +11 -1
  392. package/contracts/type/UFixed.sol +29 -10
  393. package/contracts/type/Version.sol +3 -1
  394. package/contracts/{shared → upgradeability}/ProxyManager.sol +3 -4
  395. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  396. package/package.json +3 -3
  397. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  398. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -703
  399. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  400. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  401. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  402. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  403. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  404. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -1159
  405. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  406. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  407. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +0 -4
  408. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  409. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  410. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  411. package/contracts/product/ProductServiceManager.sol +0 -42
  412. /package/contracts/{shared → upgradeability}/IVersionable.sol +0 -0
  413. /package/contracts/{shared → upgradeability}/Versionable.sol +0 -0
@@ -0,0 +1,1318 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "SimpleOracle",
4
+ "sourceName": "contracts/example_components/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
+ {
814
+ "internalType": "address",
815
+ "name": "authority",
816
+ "type": "address"
817
+ },
818
+ {
819
+ "internalType": "address",
820
+ "name": "registry",
821
+ "type": "address"
822
+ },
823
+ {
824
+ "internalType": "NftId",
825
+ "name": "parentNftId",
826
+ "type": "uint96"
827
+ },
828
+ {
829
+ "internalType": "string",
830
+ "name": "name",
831
+ "type": "string"
832
+ },
833
+ {
834
+ "internalType": "address",
835
+ "name": "token",
836
+ "type": "address"
837
+ },
838
+ {
839
+ "internalType": "ObjectType",
840
+ "name": "componentType",
841
+ "type": "uint8"
842
+ },
843
+ {
844
+ "internalType": "bool",
845
+ "name": "isInterceptor",
846
+ "type": "bool"
847
+ },
848
+ {
849
+ "internalType": "address",
850
+ "name": "initialOwner",
851
+ "type": "address"
852
+ },
853
+ {
854
+ "internalType": "bytes",
855
+ "name": "registryData",
856
+ "type": "bytes"
857
+ },
858
+ {
859
+ "internalType": "bytes",
860
+ "name": "componentData",
861
+ "type": "bytes"
862
+ }
863
+ ],
864
+ "name": "initializeComponent",
865
+ "outputs": [],
866
+ "stateMutability": "nonpayable",
867
+ "type": "function"
868
+ },
869
+ {
870
+ "inputs": [],
871
+ "name": "initializeERC165",
872
+ "outputs": [],
873
+ "stateMutability": "nonpayable",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [
878
+ {
879
+ "internalType": "address",
880
+ "name": "initialOwner",
881
+ "type": "address"
882
+ },
883
+ {
884
+ "internalType": "address",
885
+ "name": "registryAddress",
886
+ "type": "address"
887
+ }
888
+ ],
889
+ "name": "initializeNftOwnable",
890
+ "outputs": [],
891
+ "stateMutability": "nonpayable",
892
+ "type": "function"
893
+ },
894
+ {
895
+ "inputs": [
896
+ {
897
+ "internalType": "address",
898
+ "name": "registryAddress",
899
+ "type": "address"
900
+ },
901
+ {
902
+ "internalType": "NftId",
903
+ "name": "parentNftId",
904
+ "type": "uint96"
905
+ },
906
+ {
907
+ "internalType": "ObjectType",
908
+ "name": "objectType",
909
+ "type": "uint8"
910
+ },
911
+ {
912
+ "internalType": "bool",
913
+ "name": "isInterceptor",
914
+ "type": "bool"
915
+ },
916
+ {
917
+ "internalType": "address",
918
+ "name": "initialOwner",
919
+ "type": "address"
920
+ },
921
+ {
922
+ "internalType": "bytes",
923
+ "name": "registryData",
924
+ "type": "bytes"
925
+ }
926
+ ],
927
+ "name": "initializeRegisterable",
928
+ "outputs": [],
929
+ "stateMutability": "nonpayable",
930
+ "type": "function"
931
+ },
932
+ {
933
+ "inputs": [
934
+ {
935
+ "internalType": "address",
936
+ "name": "registryAddress",
937
+ "type": "address"
938
+ }
939
+ ],
940
+ "name": "initializeRegistryLinked",
941
+ "outputs": [],
942
+ "stateMutability": "nonpayable",
943
+ "type": "function"
944
+ },
945
+ {
946
+ "inputs": [],
947
+ "name": "isConsumingScheduledOp",
948
+ "outputs": [
949
+ {
950
+ "internalType": "bytes4",
951
+ "name": "",
952
+ "type": "bytes4"
953
+ }
954
+ ],
955
+ "stateMutability": "view",
956
+ "type": "function"
957
+ },
958
+ {
959
+ "inputs": [],
960
+ "name": "isNftInterceptor",
961
+ "outputs": [
962
+ {
963
+ "internalType": "bool",
964
+ "name": "isInterceptor",
965
+ "type": "bool"
966
+ }
967
+ ],
968
+ "stateMutability": "view",
969
+ "type": "function"
970
+ },
971
+ {
972
+ "inputs": [],
973
+ "name": "isRegistered",
974
+ "outputs": [
975
+ {
976
+ "internalType": "bool",
977
+ "name": "",
978
+ "type": "bool"
979
+ }
980
+ ],
981
+ "stateMutability": "view",
982
+ "type": "function"
983
+ },
984
+ {
985
+ "inputs": [],
986
+ "name": "isVerifying",
987
+ "outputs": [
988
+ {
989
+ "internalType": "bool",
990
+ "name": "verifying",
991
+ "type": "bool"
992
+ }
993
+ ],
994
+ "stateMutability": "view",
995
+ "type": "function"
996
+ },
997
+ {
998
+ "inputs": [],
999
+ "name": "linkToRegisteredNftId",
1000
+ "outputs": [
1001
+ {
1002
+ "internalType": "NftId",
1003
+ "name": "nftId",
1004
+ "type": "uint96"
1005
+ }
1006
+ ],
1007
+ "stateMutability": "nonpayable",
1008
+ "type": "function"
1009
+ },
1010
+ {
1011
+ "inputs": [],
1012
+ "name": "lock",
1013
+ "outputs": [],
1014
+ "stateMutability": "nonpayable",
1015
+ "type": "function"
1016
+ },
1017
+ {
1018
+ "inputs": [
1019
+ {
1020
+ "internalType": "address",
1021
+ "name": "to",
1022
+ "type": "address"
1023
+ },
1024
+ {
1025
+ "internalType": "uint256",
1026
+ "name": "tokenId",
1027
+ "type": "uint256"
1028
+ }
1029
+ ],
1030
+ "name": "nftMint",
1031
+ "outputs": [],
1032
+ "stateMutability": "nonpayable",
1033
+ "type": "function"
1034
+ },
1035
+ {
1036
+ "inputs": [
1037
+ {
1038
+ "internalType": "address",
1039
+ "name": "from",
1040
+ "type": "address"
1041
+ },
1042
+ {
1043
+ "internalType": "address",
1044
+ "name": "to",
1045
+ "type": "address"
1046
+ },
1047
+ {
1048
+ "internalType": "uint256",
1049
+ "name": "tokenId",
1050
+ "type": "uint256"
1051
+ }
1052
+ ],
1053
+ "name": "nftTransferFrom",
1054
+ "outputs": [],
1055
+ "stateMutability": "nonpayable",
1056
+ "type": "function"
1057
+ },
1058
+ {
1059
+ "inputs": [],
1060
+ "name": "register",
1061
+ "outputs": [],
1062
+ "stateMutability": "nonpayable",
1063
+ "type": "function"
1064
+ },
1065
+ {
1066
+ "inputs": [
1067
+ {
1068
+ "internalType": "bytes4",
1069
+ "name": "interfaceId",
1070
+ "type": "bytes4"
1071
+ }
1072
+ ],
1073
+ "name": "registerInterface",
1074
+ "outputs": [],
1075
+ "stateMutability": "nonpayable",
1076
+ "type": "function"
1077
+ },
1078
+ {
1079
+ "inputs": [
1080
+ {
1081
+ "internalType": "RequestId",
1082
+ "name": "requestId",
1083
+ "type": "uint64"
1084
+ },
1085
+ {
1086
+ "internalType": "NftId",
1087
+ "name": "requesterId",
1088
+ "type": "uint96"
1089
+ },
1090
+ {
1091
+ "internalType": "bytes",
1092
+ "name": "requestData",
1093
+ "type": "bytes"
1094
+ },
1095
+ {
1096
+ "internalType": "Timestamp",
1097
+ "name": "expiryAt",
1098
+ "type": "uint40"
1099
+ }
1100
+ ],
1101
+ "name": "request",
1102
+ "outputs": [],
1103
+ "stateMutability": "nonpayable",
1104
+ "type": "function"
1105
+ },
1106
+ {
1107
+ "inputs": [
1108
+ {
1109
+ "internalType": "RequestId",
1110
+ "name": "requestId",
1111
+ "type": "uint64"
1112
+ },
1113
+ {
1114
+ "internalType": "bytes",
1115
+ "name": "responseData",
1116
+ "type": "bytes"
1117
+ }
1118
+ ],
1119
+ "name": "respond",
1120
+ "outputs": [],
1121
+ "stateMutability": "nonpayable",
1122
+ "type": "function"
1123
+ },
1124
+ {
1125
+ "inputs": [
1126
+ {
1127
+ "internalType": "RequestId",
1128
+ "name": "requestId",
1129
+ "type": "uint64"
1130
+ },
1131
+ {
1132
+ "internalType": "string",
1133
+ "name": "responseText",
1134
+ "type": "string"
1135
+ },
1136
+ {
1137
+ "internalType": "bool",
1138
+ "name": "revertInCall",
1139
+ "type": "bool"
1140
+ },
1141
+ {
1142
+ "internalType": "Timestamp",
1143
+ "name": "revertUntil",
1144
+ "type": "uint40"
1145
+ }
1146
+ ],
1147
+ "name": "respondAsync",
1148
+ "outputs": [],
1149
+ "stateMutability": "nonpayable",
1150
+ "type": "function"
1151
+ },
1152
+ {
1153
+ "inputs": [
1154
+ {
1155
+ "internalType": "address",
1156
+ "name": "newAuthority",
1157
+ "type": "address"
1158
+ }
1159
+ ],
1160
+ "name": "setAuthority",
1161
+ "outputs": [],
1162
+ "stateMutability": "nonpayable",
1163
+ "type": "function"
1164
+ },
1165
+ {
1166
+ "inputs": [
1167
+ {
1168
+ "internalType": "address",
1169
+ "name": "newWallet",
1170
+ "type": "address"
1171
+ }
1172
+ ],
1173
+ "name": "setWallet",
1174
+ "outputs": [],
1175
+ "stateMutability": "nonpayable",
1176
+ "type": "function"
1177
+ },
1178
+ {
1179
+ "inputs": [
1180
+ {
1181
+ "internalType": "bytes4",
1182
+ "name": "interfaceId",
1183
+ "type": "bytes4"
1184
+ }
1185
+ ],
1186
+ "name": "supportsInterface",
1187
+ "outputs": [
1188
+ {
1189
+ "internalType": "bool",
1190
+ "name": "",
1191
+ "type": "bool"
1192
+ }
1193
+ ],
1194
+ "stateMutability": "view",
1195
+ "type": "function"
1196
+ },
1197
+ {
1198
+ "inputs": [],
1199
+ "name": "unlock",
1200
+ "outputs": [],
1201
+ "stateMutability": "nonpayable",
1202
+ "type": "function"
1203
+ },
1204
+ {
1205
+ "inputs": [
1206
+ {
1207
+ "internalType": "Amount",
1208
+ "name": "amount",
1209
+ "type": "uint96"
1210
+ }
1211
+ ],
1212
+ "name": "withdrawFees",
1213
+ "outputs": [
1214
+ {
1215
+ "internalType": "Amount",
1216
+ "name": "withdrawnAmount",
1217
+ "type": "uint96"
1218
+ }
1219
+ ],
1220
+ "stateMutability": "nonpayable",
1221
+ "type": "function"
1222
+ }
1223
+ ],
1224
+ "bytecode": "0x608060405234801561000f575f80fd5b506040516146a93803806146a983398101604081905261002e91610b35565b610066858585856040518060400160405280600c81526020016b53696d706c654f7261636c6560a01b8152508661007060201b60201c565b5050505050610eec565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000810460ff1615906001600160401b03165f811580156100b95750825b90505f826001600160401b031660011480156100d45750303b155b9050811580156100e2575080155b156101005760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b0319166001178555831561012e57845460ff60401b1916680100000000000000001785555b61013c8b8b8b8b8b8b61018f565b831561018257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b6101976101d1565b6101c986868686868660405180602001604052805f81525060405180602001604052805f81525061022160201b60201c565b505050505050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661021f57604051631afcd79f60e31b815260040160405180910390fd5b565b6102296101d1565b61023d88888686600d8b60018c8a8a6102d0565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90061026d600d610582565b610582565b6001820180546001600160a01b0319166001600160a01b039290921691909117905561029a610268600b90565b81546001600160a01b0319166001600160a01b03919091161781556102c563c0d4275760e01b61069d565b505050505050505050565b6102d86101d1565b5f7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f006040516305247a1760e51b81526001600160601b038c1660048201529091506001600160a01b038c169063a48f42e0906024015f60405180830381865afa158015610347573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261036e9190810190610c8f565b6080015181546001600160a01b0319166001600160a01b0390911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa1580156103cc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f09190610d5f565b61041d57604051637db5183160e11b81526001600160601b038b1660048201526024015b60405180910390fd5b80546040805163bf7e214f60e01b81529051610497926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa158015610465573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906104899190610d78565b8c8c8c8c8c8b8b8b8b6106c9565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa1580156104de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105029190610d78565b6001820180546001600160a01b03199081166001600160a01b0393841617909155600283018054909116918816919091179055610540610268600b90565b6003820180546001600160a01b0319166001600160a01b0392909216919091179055610572634a531f3360e01b61069d565b6101826376c9b41160e11b61069d565b5f807fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f005460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156105eb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060f9190610d93565b90506106236001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa158015610672573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106969190610d78565b9392505050565b6106a56101d1565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b6106d16101d1565b6106df8989878787876107ce565b6106e88a610880565b6001600160a01b03861661070f576040516327eab2e360e11b815260040160405180910390fd5b86515f036107305760405163591eebf360e11b815260040160405180910390fd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f008061075c8982610e32565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016107ad8382610e32565b506107be634a531f3360e01b61069d565b610182632986755f60e11b61069d565b6107d66101d1565b6107e08287610894565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166001600160681b0319909116176c0100000000000000000000000060ff8716021760ff60681b19166d0100000000000000000000000000851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016108768382610e32565b5050505050505050565b6108886101d1565b61089181610926565b50565b61089c6101d1565b6108a581610937565b6108ad610a43565b6001600160a01b0382166108d45760405163f17ef42d60e01b815260040160405180910390fd5b507f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0080546001600160601b03166c010000000000000000000000006001600160a01b0390931692909202919091179055565b61092e6101d1565b61089181610a88565b61093f6101d1565b806001600160a01b03163b5f036109745760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610414565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152635e6bef4360e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156109ee575060408051601f3d908101601f191682019092526109eb91810190610d5f565b60015b610a165760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610414565b80610a3f5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610414565b5050565b610a4b6101d1565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b7ff3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a0080546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6001600160a01b0381168114610891575f80fd5b8051610b1a81610afb565b919050565b80516001600160601b0381168114610b1a575f80fd5b5f805f805f60a08688031215610b49575f80fd5b8551610b5481610afb565b9450610b6260208701610b1f565b93506040860151610b7281610afb565b6060870151909350610b8381610afb565b6080870151909250610b9481610afb565b809150509295509295909350565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b0381118282101715610bd857610bd8610ba2565b60405290565b60ff81168114610891575f80fd5b8051610b1a81610bde565b80518015158114610b1a575f80fd5b5f82601f830112610c15575f80fd5b81516001600160401b03811115610c2e57610c2e610ba2565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610c5c57610c5c610ba2565b604052818152838201602001851015610c73575f80fd5b8160208501602083015e5f918101602001919091529392505050565b5f60208284031215610c9f575f80fd5b81516001600160401b03811115610cb4575f80fd5b820160e08185031215610cc5575f80fd5b610ccd610bb6565b610cd682610b1f565b8152610ce460208301610b1f565b6020820152610cf560408301610bec565b6040820152610d0660608301610bf7565b6060820152610d1760808301610b0f565b6080820152610d2860a08301610b0f565b60a082015260c08201516001600160401b03811115610d45575f80fd5b610d5186828501610c06565b60c083015250949350505050565b5f60208284031215610d6f575f80fd5b61069682610bf7565b5f60208284031215610d88575f80fd5b815161069681610afb565b5f60208284031215610da3575f80fd5b815161069681610bde565b600181811c90821680610dc257607f821691505b602082108103610de057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610e2d57805f5260205f20601f840160051c81016020851015610e0b5750805b601f840160051c820191505b81811015610e2a575f8155600101610e17565b50505b505050565b81516001600160401b03811115610e4b57610e4b610ba2565b610e5f81610e598454610dae565b84610de6565b6020601f821160018114610e91575f8315610e7a5750848201515b5f19600385901b1c1916600184901b178455610e2a565b5f84815260208120601f198516915b82811015610ec05787850151825560209485019460019092019101610ea0565b5084821015610edd57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b6137b080610ef95f395ff3fe608060405234801561000f575f80fd5b506004361061028b575f3560e01c8063644c45e011610161578063bae99c99116100ca578063e7f7fb8611610084578063e7f7fb8614610602578063ea15869f14610615578063f7c34ee01461063c578063f83d08ba1461064f578063f86664d214610657578063f8bf0d9f1461066a575f80fd5b8063bae99c9914610591578063bb1e0e59146105a4578063bf7e214f146105b7578063cf4ee77a146105bf578063de7b5d14146105d2578063deaa59df146105ef575f80fd5b80638fb360371161011b5780638fb36037146104fb57806390edbd351461051c578063a69df4b514610531578063a8b81cd814610539578063ada9652e14610575578063b423086c14610589575f80fd5b8063644c45e01461047a578063675393bf146104975780636bd1c0eb146104aa5780637a9e5e4b146104da57806387ef9ba0146104ed578063893d20e8146104f3575f80fd5b8063214cdb8011610203578063419197fe116101bd578063419197fe1461040c57806343d752d31461041f5780634bd100e4146104275780634c125e791461044e5780635741e5e9146104615780635ab1bd5314610469575f80fd5b8063214cdb80146103ba57806321df0da7146103cd57806322366844146103d557806327bb7a33146103dd5780632eb3e6f4146103f057806336fc697e14610404575f80fd5b80631329960411610254578063132996041461032d578063138461e01461034d57806317d7de7c146103555780631aa3a0081461036a5780631c6b2190146103725780631eff4b2214610385575f80fd5b806251884a1461028f57806301ffc9a7146102b457806306caeae4146102f05780630b29e28e146103055780630fec111c14610318575b5f80fd5b61029761067d565b6040516001600160601b0390911681526020015b60405180910390f35b6102e06102c2366004612957565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102ab565b6103036102fe366004612acd565b61068f565b005b610303610313366004612b58565b61071f565b61032061073f565b6040516102ab9190612c25565b6103356108fd565b6040516001600160a01b0390911681526020016102ab565b61029761090f565b61035d61091e565b6040516102ab9190612cb9565b61030361092e565b610297610380366004612ccb565b6109e9565b6103ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102ab565b6103036103c8366004612957565b610a66565b610335610a92565b6102e0610aa4565b6103036103eb366004612d1e565b610b9a565b6103ac5f8051602061375b83398151915281565b610303610c3f565b61030361041a366004612db1565b610c84565b610335610e44565b6103ac7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61030361045c366004612de8565b610e56565b6102e0610e6b565b6001546001600160a01b0316610335565b5f8051602061371b833981519152546001600160601b0316610297565b6103036104a5366004612e01565b610f1f565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610335565b6103036104e8366004612e01565b61102b565b5f6102e0565b6103356110ad565b6105036111de565b6040516001600160e01b031990911681526020016102ab565b610524611213565b6040516102ab9190612e1c565b610303611238565b61035d6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b6103ac5f8051602061371b83398151915281565b6105246112be565b61030361059f366004612ccb565b6112ce565b6103036105b2366004612eaf565b61131a565b6103356113b7565b6103036105cd366004612ed9565b6113d2565b5f8051602061375b833981519152546001600160a01b0316610335565b6103036105fd366004612e01565b6113e5565b610303610610366004612f23565b61165b565b6103ac7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61030361064a366004612f61565b6116f8565b61030361176e565b610303610665366004612f8d565b6117e2565b610303610678366004613022565b6118f8565b5f610686611213565b60200151905090565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016106c49190613121565b60405160208183030381529060405290506106df85826119fd565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b4958585604051610710929190613158565b60405180910390a15050505050565b61072b335b5f36611a4e565b6107388585858585611b4c565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108139190613184565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161085b6110ad565b6001600160a01b031681526020018260010180546108789061319f565b80601f01602080910402602001604051908101604052809291908181526020018280546108a49061319f565b80156108ef5780601f106108c6576101008083540402835291602001916108ef565b820191905f5260205f20905b8154815290600101906020018083116108d257829003601f168201915b505050505081525091505090565b5f610906611213565b60800151905090565b5f61091930611bb7565b905090565b6060610928611213565b51919050565b6109366110ad565b6001600160a01b0316336001600160a01b03161461096e5760405163086391f760e31b81523360048201526024015b60405180910390fd5b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9005460408051630339d25960e41b815290516001600160a01b039092169163339d2590916004808201925f9290919082900301818387803b1580156109d1575f80fd5b505af11580156109e3573d5f803e3d5ffd5b50505050565b5f6109f26110ad565b6001600160a01b0316336001600160a01b031614610a255760405163086391f760e31b8152336004820152602401610965565b610a2e33610724565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b6044820152606401610965565b610a6e611db0565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f610a9b611213565b60400151905090565b5f610ab76001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610afb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1f9190613184565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b76573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091991906131e2565b610ba2611db0565b610bac82876116f8565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c358382613241565b5050505050505050565b610c47611db0565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610c8c6110ad565b6001600160a01b0316336001600160a01b031614610cbf5760405163086391f760e31b8152336004820152602401610965565b30610cc86108fd565b6001600160a01b031614610cef5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610d18610e44565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d58610e44565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610dae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd291906132fb565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610e1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e3f91906131e2565b505050565b5f610e4d611213565b60600151905090565b610e5f33610724565b610e6881611dfb565b50565b5f610e74610aa4565b15610eef576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610ec8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e4d9190810190613377565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b610f27611db0565b806001600160a01b03163b5f03610f5c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610965565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152635e6bef4360e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610fd6575060408051601f3d908101601f19168201909252610fd3918101906131e2565b60015b610ffe5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610965565b806110275760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610965565b5050565b336110346113b7565b6001600160a01b0316816001600160a01b03161461106f5760405162d1953b60e31b81526001600160a01b0382166004820152602401610965565b816001600160a01b03163b5f036110a4576040516361798f2f60e11b81526001600160a01b0383166004820152602401610965565b61102782611e3a565b5f805f8051602061371b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611119573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113d91906131e2565b156111c8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561119e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c29190613447565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061373b83398151915280545f9190600160a01b900460ff16611205575f6111c2565b638fb3603760e01b91505090565b61121b612901565b611223610aa4565b1561123057610919611e9b565b6109196112be565b6112406110ad565b6001600160a01b0316336001600160a01b0316146112735760405163086391f760e31b8152336004820152602401610965565b61127d600a612081565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156109d1575f80fd5b6112c6612901565b610919611e9b565b6112d66110ad565b6001600160a01b0316336001600160a01b0316146113095760405163086391f760e31b8152336004820152602401610965565b610e68611314610a92565b82610c84565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611361573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113859190613447565b6001600160a01b0316336001600160a01b0316146110275760405162f0630960e01b8152336004820152602401610965565b5f8051602061373b833981519152546001600160a01b031690565b6113db33610724565b61102782826119fd565b6113ed6110ad565b6001600160a01b0316336001600160a01b0316146114205760405163086391f760e31b8152336004820152602401610965565b5f6114296108fd565b90505f611434610a92565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa15801561147a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061149e91906132fb565b90506114a983612189565b8015610e3f57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361160a57611512610e44565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161155b91815260200190565b602060405180830381865af4158015611576573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061159a9190613184565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156115ef575f80fd5b505af1158015611601573d5f803e3d5ffd5b50505050505050565b611612610e44565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161155b91815260200190565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c69190613447565b6001600160a01b0316336001600160a01b031614610e3f5760405162f0630960e01b8152336004820152602401610965565b611700611db0565b61170981610f1f565b611711610c3f565b6001600160a01b0382166117385760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061371b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6117766110ad565b6001600160a01b0316336001600160a01b0316146117a95760405163086391f760e31b8152336004820152602401610965565b6117b3600a612081565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e906024016112a7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156118265750825b90505f826001600160401b031660011480156118415750303b155b90508115801561184f575080155b1561186d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561189757845460ff60401b1916600160401b1785555b6118a58b8b8b8b8b8b612222565b83156118eb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b611900611db0565b61190e898987878787610b9a565b6119178a612256565b6001600160a01b03861661193e576040516327eab2e360e11b815260040160405180910390fd5b86515f0361195f5760405163591eebf360e11b815260040160405180910390fd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f008061198b8982613241565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016119dc8382613241565b506119ed634a531f3360e01b610a66565b6118eb632986755f60e11b610a66565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90610dff9085908590600401613158565b5f8051602061373b8339815191525f80611a86611a696113b7565b8730611a7860045f8a8c613462565b611a8191613489565b612267565b9150915081611b445763ffffffff811615611b2157825460ff60a01b1916600160a01b178355611ab46113b7565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611ae3939291906134c1565b5f604051808303815f87803b158015611afa575f80fd5b505af1158015611b0c573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b449050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610965565b505050505050565b5f611b5983850185613500565b805190915015611b6c57611b6c8661236f565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e892611ba7928a928a92919061359a565b60405180910390a1505050505050565b5f805f8051602061371b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4791906131e2565b15611c735780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610965565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611cc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce991906131e2565b611d115760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610965565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611d63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d879190613184565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611df957604051631afcd79f60e31b815260040160405180910390fd5b565b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f8051602061373b83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b611ea3612901565b5f611eb66001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611efa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f1e9190613184565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611f77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9b91906131e2565b15612079577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c3611ff75f8051602061371b833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612038573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261205f91908101906135dc565b60808101519092506001600160a01b031615612079575090565b6111c2612437565b5f805f8051602061375b8339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156120d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120fb91906136b4565b905061210f6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa15801561215e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121829190613447565b9392505050565b6121916110ad565b6001600160a01b0316336001600160a01b0316146121c45760405163086391f760e31b8152336004820152602401610965565b6121ce600b612081565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612210575f80fd5b505af1158015610738573d5f803e3d5ffd5b61222a611db0565b611b4486868686868660405180602001604052805f81525060405180602001604052805f8152506125ae565b61225e611db0565b610e6881612657565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122d591906136cf565b5f60405180830381855afa9150503d805f811461230d576040519150601f19603f3d011682016040523d82523d5f602084013e612312565b606091505b50915091508115612364576040815110612344578080602001905181019061233a91906136e5565b9094509250612364565b6020815110612364578080602001905181019061236191906131e2565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516020016123b69190612cb9565b60405160208183030381529060405290506123d182826119fd565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e737765720000000000815250604051611e8f929190613158565b61243f612901565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f01805461247c9061319f565b80601f01602080910402602001604051908101604052809291908181526020018280546124a89061319f565b80156124f35780601f106124ca576101008083540402835291602001916124f3565b820191905f5260205f20905b8154815290600101906020018083116124d657829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612544573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125689190613184565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108789061319f565b6125b6611db0565b6125ca88888686600d8b60018c8a8a612668565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9006125f5600d612081565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612621600b612081565b81546001600160a01b0319166001600160a01b039190911617815561264c63c0d4275760e01b610a66565b505050505050505050565b61265f611db0565b610e6881611e3a565b612670611db0565b5f5f8051602061375b8339815191526040516305247a1760e51b81526001600160601b038c1660048201529091506001600160a01b038c169063a48f42e0906024015f60405180830381865afa1580156126cc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526126f39190810190613377565b6080015181546001600160a01b0319166001600160a01b0390911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa158015612751573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277591906131e2565b61279d57604051637db5183160e11b81526001600160601b038b166004820152602401610965565b80546040805163bf7e214f60e01b81529051612817926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa1580156127e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128099190613447565b8c8c8c8c8c8b8b8b8b6118f8565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561285e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128829190613447565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556128bf600b612081565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556128f1634a531f3360e01b610a66565b6118eb6376c9b41160e11b610a66565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612967575f80fd5b81356001600160e01b031981168114612182575f80fd5b80356001600160401b0381168114612994575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156129cf576129cf612999565b60405290565b60405160c081016001600160401b03811182821017156129cf576129cf612999565b604051601f8201601f191681016001600160401b0381118282101715612a1f57612a1f612999565b604052919050565b5f6001600160401b03821115612a3f57612a3f612999565b50601f01601f191660200190565b5f82601f830112612a5c575f80fd5b8135602083015f612a74612a6f84612a27565b6129f7565b9050828152858383011115612a87575f80fd5b828260208301375f92810160200192909252509392505050565b8015158114610e68575f80fd5b803561299481612aa1565b803564ffffffffff81168114612994575f80fd5b5f805f8060808587031215612ae0575f80fd5b612ae98561297e565b935060208501356001600160401b03811115612b03575f80fd5b612b0f87828801612a4d565b9350506040850135612b2081612aa1565b9150612b2e60608601612ab9565b905092959194509250565b6001600160601b0381168114610e68575f80fd5b803561299481612b39565b5f805f805f60808688031215612b6c575f80fd5b612b758661297e565b94506020860135612b8581612b39565b935060408601356001600160401b03811115612b9f575f80fd5b8601601f81018813612baf575f80fd5b80356001600160401b03811115612bc4575f80fd5b886020828401011115612bd5575f80fd5b60209190910193509150612beb60608701612ab9565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612c6d608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612cb1610100840182612bf7565b949350505050565b602081525f6121826020830184612bf7565b5f60208284031215612cdb575f80fd5b813561218281612b39565b6001600160a01b0381168114610e68575f80fd5b803561299481612ce6565b60ff81168114610e68575f80fd5b803561299481612d05565b5f805f805f8060c08789031215612d33575f80fd5b8635612d3e81612ce6565b95506020870135612d4e81612b39565b94506040870135612d5e81612d05565b93506060870135612d6e81612aa1565b92506080870135612d7e81612ce6565b915060a08701356001600160401b03811115612d98575f80fd5b612da489828a01612a4d565b9150509295509295509295565b5f8060408385031215612dc2575f80fd5b8235612dcd81612ce6565b91506020830135612ddd81612b39565b809150509250929050565b5f60208284031215612df8575f80fd5b6121828261297e565b5f60208284031215612e11575f80fd5b813561218281612ce6565b602081525f825160c06020840152612e3760e0840182612bf7565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612e8a60a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612ea68282612bf7565b95945050505050565b5f8060408385031215612ec0575f80fd5b8235612ecb81612ce6565b946020939093013593505050565b5f8060408385031215612eea575f80fd5b612ef38361297e565b915060208301356001600160401b03811115612f0d575f80fd5b612f1985828601612a4d565b9150509250929050565b5f805f60608486031215612f35575f80fd5b8335612f4081612ce6565b92506020840135612f5081612ce6565b929592945050506040919091013590565b5f8060408385031215612f72575f80fd5b8235612f7d81612ce6565b91506020830135612ddd81612ce6565b5f805f805f8060c08789031215612fa2575f80fd5b8635612fad81612ce6565b95506020870135612fbd81612b39565b94506040870135612fcd81612ce6565b93506060870135612fdd81612ce6565b925060808701356001600160401b03811115612ff7575f80fd5b61300389828a01612a4d565b92505060a087013561301481612ce6565b809150509295509295509295565b5f805f805f805f805f806101408b8d03121561303c575f80fd5b6130458b612cfa565b995061305360208c01612cfa565b985061306160408c01612b4d565b975060608b01356001600160401b0381111561307b575f80fd5b6130878d828e01612a4d565b97505061309660808c01612cfa565b95506130a460a08c01612d13565b94506130b260c08c01612aae565b93506130c060e08c01612cfa565b92506101008b01356001600160401b038111156130db575f80fd5b6130e78d828e01612a4d565b9250506101208b01356001600160401b03811115613103575f80fd5b61310f8d828e01612a4d565b9150509295989b9194979a5092959850565b6020815281511515602082015264ffffffffff60208301511660408201525f6040830151606080840152612cb16080840182612bf7565b6001600160401b0383168152604060208201525f612cb16040830184612bf7565b805161299481612b39565b5f60208284031215613194575f80fd5b815161218281612b39565b600181811c908216806131b357607f821691505b6020821081036131d157634e487b7160e01b5f52602260045260245ffd5b50919050565b805161299481612aa1565b5f602082840312156131f2575f80fd5b815161218281612aa1565b601f821115610e3f57805f5260205f20601f840160051c810160208510156132225750805b601f840160051c820191505b81811015610738575f815560010161322e565b81516001600160401b0381111561325a5761325a612999565b61326e81613268845461319f565b846131fd565b6020601f8211600181146132a0575f83156132895750848201515b5f19600385901b1c1916600184901b178455610738565b5f84815260208120601f198516915b828110156132cf57878501518255602094850194600190920191016132af565b50848210156132ec57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561330b575f80fd5b5051919050565b805161299481612d05565b805161299481612ce6565b5f82601f830112613337575f80fd5b8151602083015f61334a612a6f84612a27565b905082815285838301111561335d575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613387575f80fd5b81516001600160401b0381111561339c575f80fd5b820160e081850312156133ad575f80fd5b6133b56129ad565b6133be82613179565b81526133cc60208301613179565b60208201526133dd60408301613312565b60408201526133ee606083016131d7565b60608201526133ff6080830161331d565b608082015261341060a0830161331d565b60a082015260c08201516001600160401b0381111561342d575f80fd5b61343986828501613328565b60c083015250949350505050565b5f60208284031215613457575f80fd5b815161218281612ce6565b5f8085851115613470575f80fd5b8386111561347c575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156134ba576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215613510575f80fd5b81356001600160401b03811115613525575f80fd5b820160408185031215613536575f80fd5b604080519081016001600160401b038111828210171561355857613558612999565b604052813561356681612aa1565b815260208201356001600160401b03811115613580575f80fd5b61358c86828501612a4d565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f6135d26080830184612bf7565b9695505050505050565b5f602082840312156135ec575f80fd5b81516001600160401b03811115613601575f80fd5b820160c08185031215613612575f80fd5b61361a6129d5565b81516001600160401b0381111561362f575f80fd5b61363b86828501613328565b82525061364a60208301613179565b602082015261365b6040830161331d565b604082015261366c6060830161331d565b606082015261367d6080830161331d565b608082015260a08201516001600160401b0381111561369a575f80fd5b6136a686828501613328565b60a083015250949350505050565b5f602082840312156136c4575f80fd5b815161218281612d05565b5f82518060208501845e5f920191825250919050565b5f80604083850312156136f6575f80fd5b825161370181612aa1565b602084015190925063ffffffff81168114612ddd575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212209c9b3dc9bf301b4ceafec4b915563dc9d6f45fec3db26387347e3f502aba0bab64736f6c634300081a0033",
1225
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b506004361061028b575f3560e01c8063644c45e011610161578063bae99c99116100ca578063e7f7fb8611610084578063e7f7fb8614610602578063ea15869f14610615578063f7c34ee01461063c578063f83d08ba1461064f578063f86664d214610657578063f8bf0d9f1461066a575f80fd5b8063bae99c9914610591578063bb1e0e59146105a4578063bf7e214f146105b7578063cf4ee77a146105bf578063de7b5d14146105d2578063deaa59df146105ef575f80fd5b80638fb360371161011b5780638fb36037146104fb57806390edbd351461051c578063a69df4b514610531578063a8b81cd814610539578063ada9652e14610575578063b423086c14610589575f80fd5b8063644c45e01461047a578063675393bf146104975780636bd1c0eb146104aa5780637a9e5e4b146104da57806387ef9ba0146104ed578063893d20e8146104f3575f80fd5b8063214cdb8011610203578063419197fe116101bd578063419197fe1461040c57806343d752d31461041f5780634bd100e4146104275780634c125e791461044e5780635741e5e9146104615780635ab1bd5314610469575f80fd5b8063214cdb80146103ba57806321df0da7146103cd57806322366844146103d557806327bb7a33146103dd5780632eb3e6f4146103f057806336fc697e14610404575f80fd5b80631329960411610254578063132996041461032d578063138461e01461034d57806317d7de7c146103555780631aa3a0081461036a5780631c6b2190146103725780631eff4b2214610385575f80fd5b806251884a1461028f57806301ffc9a7146102b457806306caeae4146102f05780630b29e28e146103055780630fec111c14610318575b5f80fd5b61029761067d565b6040516001600160601b0390911681526020015b60405180910390f35b6102e06102c2366004612957565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020016102ab565b6103036102fe366004612acd565b61068f565b005b610303610313366004612b58565b61071f565b61032061073f565b6040516102ab9190612c25565b6103356108fd565b6040516001600160a01b0390911681526020016102ab565b61029761090f565b61035d61091e565b6040516102ab9190612cb9565b61030361092e565b610297610380366004612ccb565b6109e9565b6103ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016102ab565b6103036103c8366004612957565b610a66565b610335610a92565b6102e0610aa4565b6103036103eb366004612d1e565b610b9a565b6103ac5f8051602061375b83398151915281565b610303610c3f565b61030361041a366004612db1565b610c84565b610335610e44565b6103ac7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f90081565b61030361045c366004612de8565b610e56565b6102e0610e6b565b6001546001600160a01b0316610335565b5f8051602061371b833981519152546001600160601b0316610297565b6103036104a5366004612e01565b610f1f565b7fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f02546001600160a01b0316610335565b6103036104e8366004612e01565b61102b565b5f6102e0565b6103356110ad565b6105036111de565b6040516001600160e01b031990911681526020016102ab565b610524611213565b6040516102ab9190612e1c565b610303611238565b61035d6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e73776572000000000081525081565b6103ac5f8051602061371b83398151915281565b6105246112be565b61030361059f366004612ccb565b6112ce565b6103036105b2366004612eaf565b61131a565b6103356113b7565b6103036105cd366004612ed9565b6113d2565b5f8051602061375b833981519152546001600160a01b0316610335565b6103036105fd366004612e01565b6113e5565b610303610610366004612f23565b61165b565b6103ac7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0081565b61030361064a366004612f61565b6116f8565b61030361176e565b610303610665366004612f8d565b6117e2565b610303610678366004613022565b6118f8565b5f610686611213565b60200151905090565b5f604051806060016040528084151581526020018364ffffffffff168152602001858152506040516020016106c49190613121565b60405160208183030381529060405290506106df85826119fd565b7f925e3838f1b49d365407bb3580a651fc78742e3bd3eb1063171421beb4a6b4958585604051610710929190613158565b60405180910390a15050505050565b61072b335b5f36611a4e565b6107388585858585611b4c565b5050505050565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091525f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107ef573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108139190613184565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161085b6110ad565b6001600160a01b031681526020018260010180546108789061319f565b80601f01602080910402602001604051908101604052809291908181526020018280546108a49061319f565b80156108ef5780601f106108c6576101008083540402835291602001916108ef565b820191905f5260205f20905b8154815290600101906020018083116108d257829003601f168201915b505050505081525091505090565b5f610906611213565b60800151905090565b5f61091930611bb7565b905090565b6060610928611213565b51919050565b6109366110ad565b6001600160a01b0316336001600160a01b03161461096e5760405163086391f760e31b81523360048201526024015b60405180910390fd5b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9005460408051630339d25960e41b815290516001600160a01b039092169163339d2590916004808201925f9290919082900301818387803b1580156109d1575f80fd5b505af11580156109e3573d5f803e3d5ffd5b50505050565b5f6109f26110ad565b6001600160a01b0316336001600160a01b031614610a255760405163086391f760e31b8152336004820152602401610965565b610a2e33610724565b60405163ca49882f60e01b815260206004820152600c60248201526b77697468647261774665657360a01b6044820152606401610965565b610a6e611db0565b6001600160e01b0319165f908152602081905260409020805460ff19166001179055565b5f610a9b611213565b60400151905090565b5f610ab76001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015610afb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b1f9190613184565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610b76573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061091991906131e2565b610ba2611db0565b610bac82876116f8565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610c358382613241565b5050505050505050565b610c47611db0565b6301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610c8c6110ad565b6001600160a01b0316336001600160a01b031614610cbf5760405163086391f760e31b8152336004820152602401610965565b30610cc86108fd565b6001600160a01b031614610cef5760405163b6d7537f60e01b815260040160405180910390fd5b7ff1220014fdb8b69aee438722b1fe13ee4a807811a472467cee162f7b866e704e610d18610e44565b604080516001600160a01b0390921682526001600160601b03841660208301520160405180910390a1816001600160a01b031663095ea7b3610d58610e44565b60405163046e44af60e11b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af4158015610dae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dd291906132fb565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044015b6020604051808303815f875af1158015610e1b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e3f91906131e2565b505050565b5f610e4d611213565b60600151905090565b610e5f33610724565b610e6881611dfb565b50565b5f610e74610aa4565b15610eef576001546001600160a01b03166040516308b09a5f60e41b81523060048201526001600160a01b039190911690638b09a5f0906024015f60405180830381865afa158015610ec8573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052610e4d9190810190613377565b507fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0254600160a01b900460ff1690565b610f27611db0565b806001600160a01b03163b5f03610f5c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610965565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152635e6bef4360e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610fd6575060408051601f3d908101601f19168201909252610fd3918101906131e2565b60015b610ffe5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610965565b806110275760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610965565b5050565b336110346113b7565b6001600160a01b0316816001600160a01b03161461106f5760405162d1953b60e31b81526001600160a01b0382166004820152602401610965565b816001600160a01b03163b5f036110a4576040516361798f2f60e11b81526001600160a01b0383166004820152602401610965565b61102782611e3a565b5f805f8051602061371b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611119573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061113d91906131e2565b156111c8576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561119e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111c29190613447565b91505090565b54600160601b90046001600160a01b0316919050565b5f8051602061373b83398151915280545f9190600160a01b900460ff16611205575f6111c2565b638fb3603760e01b91505090565b61121b612901565b611223610aa4565b1561123057610919611e9b565b6109196112be565b6112406110ad565b6001600160a01b0316336001600160a01b0316146112735760405163086391f760e31b8152336004820152602401610965565b61127d600a612081565b60405163581e954760e11b81525f60048201526001600160a01b03919091169063b03d2a8e906024015b5f604051808303815f87803b1580156109d1575f80fd5b6112c6612901565b610919611e9b565b6112d66110ad565b6001600160a01b0316336001600160a01b0316146113095760405163086391f760e31b8152336004820152602401610965565b610e68611314610a92565b82610c84565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611361573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113859190613447565b6001600160a01b0316336001600160a01b0316146110275760405162f0630960e01b8152336004820152602401610965565b5f8051602061373b833981519152546001600160a01b031690565b6113db33610724565b61102782826119fd565b6113ed6110ad565b6001600160a01b0316336001600160a01b0316146114205760405163086391f760e31b8152336004820152602401610965565b5f6114296108fd565b90505f611434610a92565b6040516370a0823160e01b81526001600160a01b03848116600483015291909116906370a0823190602401602060405180830381865afa15801561147a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061149e91906132fb565b90506114a983612189565b8015610e3f57604080516001600160a01b038085168252851660208201529081018290527f8f925ed35e36754081a3353f30c5686c405280f94d1cfe322ee5707833d898679060600160405180910390a1306001600160a01b0383160361160a57611512610e44565b6001600160a01b03166354f0d84c838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161155b91815260200190565b602060405180830381865af4158015611576573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061159a9190613184565b6040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526001600160601b031660448201526064015f604051808303815f87803b1580156115ef575f80fd5b505af1158015611601573d5f803e3d5ffd5b50505050505050565b611612610e44565b6001600160a01b031663c7d63d57838573__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd96866040518263ffffffff1660e01b815260040161155b91815260200190565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c69190613447565b6001600160a01b0316336001600160a01b031614610e3f5760405162f0630960e01b8152336004820152602401610965565b611700611db0565b61170981610f1f565b611711610c3f565b6001600160a01b0382166117385760405163f17ef42d60e01b815260040160405180910390fd5b505f8051602061371b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6117766110ad565b6001600160a01b0316336001600160a01b0316146117a95760405163086391f760e31b8152336004820152602401610965565b6117b3600a612081565b60405163581e954760e11b8152600160048201526001600160a01b03919091169063b03d2a8e906024016112a7565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03165f811580156118265750825b90505f826001600160401b031660011480156118415750303b155b90508115801561184f575080155b1561186d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561189757845460ff60401b1916600160401b1785555b6118a58b8b8b8b8b8b612222565b83156118eb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050505050565b611900611db0565b61190e898987878787610b9a565b6119178a612256565b6001600160a01b03861661193e576040516327eab2e360e11b815260040160405180910390fd5b86515f0361195f5760405163591eebf360e11b815260040160405180910390fd5b7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f008061198b8982613241565b506001810180546001600160a01b0319166001600160a01b0389161790556002810180546001600160a81b0319163060ff60a01b191617600160a01b87151502179055600381016119dc8382613241565b506119ed634a531f3360e01b610a66565b6118eb632986755f60e11b610a66565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f901546040516367a773bd60e11b81526001600160a01b039091169063cf4ee77a90610dff9085908590600401613158565b5f8051602061373b8339815191525f80611a86611a696113b7565b8730611a7860045f8a8c613462565b611a8191613489565b612267565b9150915081611b445763ffffffff811615611b2157825460ff60a01b1916600160a01b178355611ab46113b7565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611ae3939291906134c1565b5f604051808303815f87803b158015611afa575f80fd5b505af1158015611b0c573d5f803e3d5ffd5b5050845460ff60a01b1916855550611b449050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610965565b505050505050565b5f611b5983850185613500565b805190915015611b6c57611b6c8661236f565b805160208201516040517f79ebe5a74e4370f670722a495368b194369cfc7be8997d68517841c3c307a3e892611ba7928a928a92919061359a565b60405180910390a1505050505050565b5f805f8051602061371b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611c23573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c4791906131e2565b15611c735780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610965565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611cc5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ce991906131e2565b611d115760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610965565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015611d63573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d879190613184565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611df957604051631afcd79f60e31b815260040160405180910390fd5b565b6040516001600160401b03821681527fb63fd0f73fdf39db6db268f3ff7ee59fdad31d592b7faff69608adc0312225ab9060200160405180910390a150565b5f8051602061373b83398151915280546001600160a01b0319166001600160a01b03831690811782556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad906020015b60405180910390a15050565b611ea3612901565b5f611eb66001546001600160a01b031690565b604051632f2a35f760e11b81523060048201526001600160a01b039190911690635e546bee90602401602060405180830381865afa158015611efa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f1e9190613184565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611f77573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f9b91906131e2565b15612079577fffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f01546001600160a01b03166001600160a01b031663f0ea17c3611ff75f8051602061371b833981519152546001600160601b031690565b6040516001600160e01b031960e084901b1681526001600160601b0390911660048201526024015f60405180830381865afa158015612038573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261205f91908101906135dc565b60808101519092506001600160a01b031615612079575090565b6111c2612437565b5f805f8051602061375b8339815191525460408051633379d27d60e21b815290516001600160a01b039092169163cde749f4916004808201926020929091908290030181865afa1580156120d7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906120fb91906136b4565b905061210f6001546001600160a01b031690565b60405163d39e604360e01b815260ff8086166004830152831660248201526001600160a01b03919091169063d39e604390604401602060405180830381865afa15801561215e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906121829190613447565b9392505050565b6121916110ad565b6001600160a01b0316336001600160a01b0316146121c45760405163086391f760e31b8152336004820152602401610965565b6121ce600b612081565b60405163deaa59df60e01b81526001600160a01b038381166004830152919091169063deaa59df906024015f604051808303815f87803b158015612210575f80fd5b505af1158015610738573d5f803e3d5ffd5b61222a611db0565b611b4486868686868660405180602001604052805f81525060405180602001604052805f8152506125ae565b61225e611db0565b610e6881612657565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122d591906136cf565b5f60405180830381855afa9150503d805f811461230d576040519150601f19603f3d011682016040523d82523d5f602084013e612312565b606091505b50915091508115612364576040815110612344578080602001905181019061233a91906136e5565b9094509250612364565b6020815110612364578080602001905181019061236191906131e2565b93505b505094509492505050565b5f6040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e7377657200000000008152506040516020016123b69190612cb9565b60405160208183030381529060405290506123d182826119fd565b7f0a858417ad6c170851e15bdb7f5fef061814ba176a976d7468e9e97588608fbc826040518060400160405280601b81526020017f6f7261636c6520636f6e7374616e742073796e6320616e737765720000000000815250604051611e8f929190613158565b61243f612901565b5f7fffe8d4462baed26a47154f4b8f6db497d2f772496965791d25bd456e342b7f0090506040518060c00160405280825f01805461247c9061319f565b80601f01602080910402602001604051908101604052809291908181526020018280546124a89061319f565b80156124f35780601f106124ca576101008083540402835291602001916124f3565b820191905f5260205f20905b8154815290600101906020018083116124d657829003601f168201915b5050505050815260200173__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612544573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125689190613184565b6001600160601b0316815260018301546001600160a01b0390811660208301525f604083015260028401541660608201526003830180546080909201916108789061319f565b6125b6611db0565b6125ca88888686600d8b60018c8a8a612668565b7faab7c0ea03d290e56d6c060e0733d3ebcbe647f7694616a2ec52738a64b2f9006125f5600d612081565b6001820180546001600160a01b0319166001600160a01b0392909216919091179055612621600b612081565b81546001600160a01b0319166001600160a01b039190911617815561264c63c0d4275760e01b610a66565b505050505050505050565b61265f611db0565b610e6881611e3a565b612670611db0565b5f5f8051602061375b8339815191526040516305247a1760e51b81526001600160601b038c1660048201529091506001600160a01b038c169063a48f42e0906024015f60405180830381865afa1580156126cc573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526126f39190810190613377565b6080015181546001600160a01b0319166001600160a01b0390911690811782556040516301ffc9a760e01b8152632b1cb34b60e11b60048201526301ffc9a790602401602060405180830381865afa158015612751573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061277591906131e2565b61279d57604051637db5183160e11b81526001600160601b038b166004820152602401610965565b80546040805163bf7e214f60e01b81529051612817926001600160a01b03169163bf7e214f9160048083019260209291908290030181865afa1580156127e5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128099190613447565b8c8c8c8c8c8b8b8b8b6118f8565b8054604080516302cd307160e01b815290516001600160a01b03909216916302cd3071916004808201926020929091908290030181865afa15801561285e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128829190613447565b6001820180546001600160a01b03199081166001600160a01b03938416179091556002830180549091169188169190911790556128bf600b612081565b6003820180546001600160a01b0319166001600160a01b03929092169190911790556128f1634a531f3360e01b610a66565b6118eb6376c9b41160e11b610a66565b6040518060c00160405280606081526020015f6001600160601b031681526020015f6001600160a01b031681526020015f6001600160a01b031681526020015f6001600160a01b03168152602001606081525090565b5f60208284031215612967575f80fd5b81356001600160e01b031981168114612182575f80fd5b80356001600160401b0381168114612994575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156129cf576129cf612999565b60405290565b60405160c081016001600160401b03811182821017156129cf576129cf612999565b604051601f8201601f191681016001600160401b0381118282101715612a1f57612a1f612999565b604052919050565b5f6001600160401b03821115612a3f57612a3f612999565b50601f01601f191660200190565b5f82601f830112612a5c575f80fd5b8135602083015f612a74612a6f84612a27565b6129f7565b9050828152858383011115612a87575f80fd5b828260208301375f92810160200192909252509392505050565b8015158114610e68575f80fd5b803561299481612aa1565b803564ffffffffff81168114612994575f80fd5b5f805f8060808587031215612ae0575f80fd5b612ae98561297e565b935060208501356001600160401b03811115612b03575f80fd5b612b0f87828801612a4d565b9350506040850135612b2081612aa1565b9150612b2e60608601612ab9565b905092959194509250565b6001600160601b0381168114610e68575f80fd5b803561299481612b39565b5f805f805f60808688031215612b6c575f80fd5b612b758661297e565b94506020860135612b8581612b39565b935060408601356001600160401b03811115612b9f575f80fd5b8601601f81018813612baf575f80fd5b80356001600160401b03811115612bc4575f80fd5b886020828401011115612bd5575f80fd5b60209190910193509150612beb60608701612ab9565b90509295509295909350565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151612c6d608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152612cb1610100840182612bf7565b949350505050565b602081525f6121826020830184612bf7565b5f60208284031215612cdb575f80fd5b813561218281612b39565b6001600160a01b0381168114610e68575f80fd5b803561299481612ce6565b60ff81168114610e68575f80fd5b803561299481612d05565b5f805f805f8060c08789031215612d33575f80fd5b8635612d3e81612ce6565b95506020870135612d4e81612b39565b94506040870135612d5e81612d05565b93506060870135612d6e81612aa1565b92506080870135612d7e81612ce6565b915060a08701356001600160401b03811115612d98575f80fd5b612da489828a01612a4d565b9150509295509295509295565b5f8060408385031215612dc2575f80fd5b8235612dcd81612ce6565b91506020830135612ddd81612b39565b809150509250929050565b5f60208284031215612df8575f80fd5b6121828261297e565b5f60208284031215612e11575f80fd5b813561218281612ce6565b602081525f825160c06020840152612e3760e0840182612bf7565b90506001600160601b03602085015116604084015260018060a01b03604085015116606084015260018060a01b0360608501511660808401526080840151612e8a60a08501826001600160a01b03169052565b5060a0840151838203601f190160c0850152612ea68282612bf7565b95945050505050565b5f8060408385031215612ec0575f80fd5b8235612ecb81612ce6565b946020939093013593505050565b5f8060408385031215612eea575f80fd5b612ef38361297e565b915060208301356001600160401b03811115612f0d575f80fd5b612f1985828601612a4d565b9150509250929050565b5f805f60608486031215612f35575f80fd5b8335612f4081612ce6565b92506020840135612f5081612ce6565b929592945050506040919091013590565b5f8060408385031215612f72575f80fd5b8235612f7d81612ce6565b91506020830135612ddd81612ce6565b5f805f805f8060c08789031215612fa2575f80fd5b8635612fad81612ce6565b95506020870135612fbd81612b39565b94506040870135612fcd81612ce6565b93506060870135612fdd81612ce6565b925060808701356001600160401b03811115612ff7575f80fd5b61300389828a01612a4d565b92505060a087013561301481612ce6565b809150509295509295509295565b5f805f805f805f805f806101408b8d03121561303c575f80fd5b6130458b612cfa565b995061305360208c01612cfa565b985061306160408c01612b4d565b975060608b01356001600160401b0381111561307b575f80fd5b6130878d828e01612a4d565b97505061309660808c01612cfa565b95506130a460a08c01612d13565b94506130b260c08c01612aae565b93506130c060e08c01612cfa565b92506101008b01356001600160401b038111156130db575f80fd5b6130e78d828e01612a4d565b9250506101208b01356001600160401b03811115613103575f80fd5b61310f8d828e01612a4d565b9150509295989b9194979a5092959850565b6020815281511515602082015264ffffffffff60208301511660408201525f6040830151606080840152612cb16080840182612bf7565b6001600160401b0383168152604060208201525f612cb16040830184612bf7565b805161299481612b39565b5f60208284031215613194575f80fd5b815161218281612b39565b600181811c908216806131b357607f821691505b6020821081036131d157634e487b7160e01b5f52602260045260245ffd5b50919050565b805161299481612aa1565b5f602082840312156131f2575f80fd5b815161218281612aa1565b601f821115610e3f57805f5260205f20601f840160051c810160208510156132225750805b601f840160051c820191505b81811015610738575f815560010161322e565b81516001600160401b0381111561325a5761325a612999565b61326e81613268845461319f565b846131fd565b6020601f8211600181146132a0575f83156132895750848201515b5f19600385901b1c1916600184901b178455610738565b5f84815260208120601f198516915b828110156132cf57878501518255602094850194600190920191016132af565b50848210156132ec57868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f6020828403121561330b575f80fd5b5051919050565b805161299481612d05565b805161299481612ce6565b5f82601f830112613337575f80fd5b8151602083015f61334a612a6f84612a27565b905082815285838301111561335d575f80fd5b8282602083015e5f92810160200192909252509392505050565b5f60208284031215613387575f80fd5b81516001600160401b0381111561339c575f80fd5b820160e081850312156133ad575f80fd5b6133b56129ad565b6133be82613179565b81526133cc60208301613179565b60208201526133dd60408301613312565b60408201526133ee606083016131d7565b60608201526133ff6080830161331d565b608082015261341060a0830161331d565b60a082015260c08201516001600160401b0381111561342d575f80fd5b61343986828501613328565b60c083015250949350505050565b5f60208284031215613457575f80fd5b815161218281612ce6565b5f8085851115613470575f80fd5b8386111561347c575f80fd5b5050820193919092039150565b80356001600160e01b031981169060048410156134ba576001600160e01b0319600485900360031b81901b82161691505b5092915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f60208284031215613510575f80fd5b81356001600160401b03811115613525575f80fd5b820160408185031215613536575f80fd5b604080519081016001600160401b038111828210171561355857613558612999565b604052813561356681612aa1565b815260208201356001600160401b03811115613580575f80fd5b61358c86828501612a4d565b602083015250949350505050565b6001600160401b03851681526001600160601b03841660208201528215156040820152608060608201525f6135d26080830184612bf7565b9695505050505050565b5f602082840312156135ec575f80fd5b81516001600160401b03811115613601575f80fd5b820160c08185031215613612575f80fd5b61361a6129d5565b81516001600160401b0381111561362f575f80fd5b61363b86828501613328565b82525061364a60208301613179565b602082015261365b6040830161331d565b604082015261366c6060830161331d565b606082015261367d6080830161331d565b608082015260a08201516001600160401b0381111561369a575f80fd5b6136a686828501613328565b60a083015250949350505050565b5f602082840312156136c4575f80fd5b815161218281612d05565b5f82518060208501845e5f920191825250919050565b5f80604083850312156136f6575f80fd5b825161370181612aa1565b602084015190925063ffffffff81168114612ddd575f80fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00ffe3d4462bded26a47154f4b8f6db494d2f772496965791d25bd456e342b7f00a26469706673582212209c9b3dc9bf301b4ceafec4b915563dc9d6f45fec3db26387347e3f502aba0bab64736f6c634300081a0033",
1226
+ "linkReferences": {
1227
+ "contracts/type/Amount.sol": {
1228
+ "AmountLib": [
1229
+ {
1230
+ "length": 20,
1231
+ "start": 7279
1232
+ },
1233
+ {
1234
+ "length": 20,
1235
+ "start": 9245
1236
+ },
1237
+ {
1238
+ "length": 20,
1239
+ "start": 9501
1240
+ }
1241
+ ]
1242
+ },
1243
+ "contracts/type/NftId.sol": {
1244
+ "NftIdLib": [
1245
+ {
1246
+ "length": 20,
1247
+ "start": 5795
1248
+ },
1249
+ {
1250
+ "length": 20,
1251
+ "start": 6711
1252
+ },
1253
+ {
1254
+ "length": 20,
1255
+ "start": 8154
1256
+ },
1257
+ {
1258
+ "length": 20,
1259
+ "start": 10980
1260
+ },
1261
+ {
1262
+ "length": 20,
1263
+ "start": 11832
1264
+ },
1265
+ {
1266
+ "length": 20,
1267
+ "start": 13304
1268
+ }
1269
+ ]
1270
+ }
1271
+ },
1272
+ "deployedLinkReferences": {
1273
+ "contracts/type/Amount.sol": {
1274
+ "AmountLib": [
1275
+ {
1276
+ "length": 20,
1277
+ "start": 3446
1278
+ },
1279
+ {
1280
+ "length": 20,
1281
+ "start": 5412
1282
+ },
1283
+ {
1284
+ "length": 20,
1285
+ "start": 5668
1286
+ }
1287
+ ]
1288
+ },
1289
+ "contracts/type/NftId.sol": {
1290
+ "NftIdLib": [
1291
+ {
1292
+ "length": 20,
1293
+ "start": 1962
1294
+ },
1295
+ {
1296
+ "length": 20,
1297
+ "start": 2878
1298
+ },
1299
+ {
1300
+ "length": 20,
1301
+ "start": 4321
1302
+ },
1303
+ {
1304
+ "length": 20,
1305
+ "start": 7147
1306
+ },
1307
+ {
1308
+ "length": 20,
1309
+ "start": 7999
1310
+ },
1311
+ {
1312
+ "length": 20,
1313
+ "start": 9471
1314
+ }
1315
+ ]
1316
+ }
1317
+ }
1318
+ }