@etherisc/gif-next 0.0.2-e37834a-021 → 0.0.2-e43a6c3-340

Sign up to get free protection for your applications and to get access to all the features.
Files changed (363) hide show
  1. package/README.md +108 -1
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +116 -2
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +204 -31
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +106 -3
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -25
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -59
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -50
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +245 -65
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +314 -41
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
  45. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
  46. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
  47. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
  48. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  49. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  50. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +325 -1744
  52. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  53. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +480 -0
  54. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/Instance.sol/Instance.json +2300 -1340
  56. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
  58. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1388 -0
  60. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +891 -0
  62. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +488 -0
  64. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +149 -2
  66. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  68. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  69. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  70. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  76. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  78. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/{distribution/IDistribution.sol → IDistribution.sol}/IDistribution.json +1 -1
  80. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  82. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  84. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  85. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  86. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  87. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  88. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +178 -41
  90. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +212 -22
  92. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +444 -0
  94. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +81 -4
  96. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +80 -3
  98. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +80 -3
  100. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +80 -3
  102. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  103. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +230 -24
  104. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +456 -0
  106. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  108. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +294 -99
  110. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  111. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +297 -18
  112. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  113. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/Registry.sol/Registry.json +249 -137
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +447 -39
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +107 -42
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  121. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  123. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  125. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +67 -57
  126. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +80 -3
  128. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +76 -35
  130. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +32 -6
  133. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  134. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +21 -16
  135. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +120 -6
  137. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  138. package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +137 -39
  139. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  140. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +106 -94
  141. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  142. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  143. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  144. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  145. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  147. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  148. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +120 -6
  150. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  152. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestService.sol/TestService.json +142 -14
  154. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  156. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  158. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +18 -2
  160. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  161. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  162. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  163. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  166. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  167. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  169. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  170. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  171. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  173. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  174. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  175. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  176. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  177. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  179. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  180. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  181. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  183. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  185. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  187. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  189. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  190. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  191. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  193. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  195. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  197. package/contracts/components/BaseComponent.sol +16 -4
  198. package/contracts/components/Distribution.sol +21 -16
  199. package/contracts/components/IBaseComponent.sol +9 -3
  200. package/contracts/components/IDistributionComponent.sol +2 -4
  201. package/contracts/components/IPoolComponent.sol +0 -2
  202. package/contracts/components/IProductComponent.sol +2 -4
  203. package/contracts/components/Pool.sol +24 -27
  204. package/contracts/components/Product.sol +41 -43
  205. package/contracts/experiment/cloning/Cloner.sol +47 -0
  206. package/contracts/instance/AccessManagedSimple.sol +115 -0
  207. package/contracts/instance/AccessManagerSimple.sol +692 -0
  208. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  209. package/contracts/instance/IInstance.sol +32 -47
  210. package/contracts/instance/IInstanceService.sol +30 -0
  211. package/contracts/instance/Instance.sol +423 -65
  212. package/contracts/instance/InstanceAccessManager.sol +288 -0
  213. package/contracts/instance/InstanceReader.sol +306 -0
  214. package/contracts/instance/InstanceService.sol +183 -0
  215. package/contracts/instance/InstanceServiceManager.sol +57 -0
  216. package/contracts/instance/base/ComponentServiceBase.sol +83 -8
  217. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  218. package/contracts/instance/base/ILifecycle.sol +3 -3
  219. package/contracts/instance/base/KeyValueStore.sol +49 -38
  220. package/contracts/instance/base/Lifecycle.sol +1 -1
  221. package/contracts/instance/module/IAccess.sol +38 -0
  222. package/contracts/instance/module/IBundle.sol +20 -0
  223. package/contracts/instance/module/IDistribution.sol +39 -0
  224. package/contracts/instance/module/IPolicy.sol +45 -0
  225. package/contracts/instance/module/IRisk.sol +11 -0
  226. package/contracts/instance/module/ISetup.sol +44 -0
  227. package/contracts/instance/module/ITreasury.sol +23 -0
  228. package/contracts/instance/service/ComponentOwnerService.sol +145 -100
  229. package/contracts/instance/service/DistributionService.sol +49 -15
  230. package/contracts/instance/service/DistributionServiceManager.sol +54 -0
  231. package/contracts/instance/service/IComponentOwnerService.sol +1 -1
  232. package/contracts/instance/service/IDistributionService.sol +1 -1
  233. package/contracts/instance/service/IPoolService.sol +1 -1
  234. package/contracts/instance/service/IProductService.sol +3 -3
  235. package/contracts/instance/service/PoolService.sol +97 -52
  236. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  237. package/contracts/registry/ChainNft.sol +40 -25
  238. package/contracts/registry/IRegistry.sol +48 -27
  239. package/contracts/registry/IRegistryService.sol +36 -15
  240. package/contracts/registry/Registry.sol +167 -168
  241. package/contracts/registry/RegistryService.sol +149 -166
  242. package/contracts/registry/RegistryServiceManager.sol +38 -10
  243. package/contracts/registry/TokenRegistry.sol +111 -0
  244. package/contracts/shared/ERC165.sol +7 -3
  245. package/contracts/shared/INftOwnable.sol +22 -0
  246. package/contracts/shared/IRegisterable.sol +3 -8
  247. package/contracts/{instance/base → shared}/IService.sol +3 -3
  248. package/contracts/shared/NftOwnable.sol +83 -34
  249. package/contracts/shared/ProxyManager.sol +3 -12
  250. package/contracts/shared/Registerable.sol +15 -42
  251. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  252. package/contracts/shared/Service.sol +55 -0
  253. package/contracts/shared/TokenHandler.sol +27 -0
  254. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  255. package/contracts/shared/Versionable.sol +3 -3
  256. package/contracts/test/TestFee.sol +2 -2
  257. package/contracts/test/TestRoleId.sol +1 -1
  258. package/contracts/test/TestService.sol +3 -5
  259. package/contracts/types/DistributorType.sol +55 -0
  260. package/contracts/types/Fee.sol +3 -3
  261. package/contracts/types/Key32.sol +8 -3
  262. package/contracts/types/NumberId.sol +52 -0
  263. package/contracts/types/ObjectType.sol +35 -14
  264. package/contracts/types/Referral.sol +85 -0
  265. package/contracts/types/RoleId.sol +60 -9
  266. package/contracts/types/StateId.sol +5 -1
  267. package/contracts/types/Timestamp.sol +7 -3
  268. package/contracts/types/UFixed.sol +128 -12
  269. package/contracts/types/Version.sol +4 -1
  270. package/package.json +4 -3
  271. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  272. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  273. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  274. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  275. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  276. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  277. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  278. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  279. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  280. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  281. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  282. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  283. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  284. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  285. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  286. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  287. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  288. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  289. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  290. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  291. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  292. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  293. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  294. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  295. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  296. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  297. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  298. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  299. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  300. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  301. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  302. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  303. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  304. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  305. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  306. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  307. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  308. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  309. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  310. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  311. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  312. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  313. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  314. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  315. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  316. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  317. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  318. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  319. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  320. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  321. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  322. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -964
  323. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  324. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  325. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  326. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  327. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  328. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -445
  329. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  330. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -602
  331. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  332. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -632
  333. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  334. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  335. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  336. package/contracts/instance/IInstanceLinked.sol +0 -8
  337. package/contracts/instance/base/InstanceBase.sol +0 -89
  338. package/contracts/instance/base/ModuleBase.sol +0 -57
  339. package/contracts/instance/base/ServiceBase.sol +0 -43
  340. package/contracts/instance/module/access/Access.sol +0 -149
  341. package/contracts/instance/module/access/IAccess.sol +0 -53
  342. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  343. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  344. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  345. package/contracts/instance/module/component/IComponent.sol +0 -28
  346. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  347. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  348. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  349. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  350. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  351. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  352. package/contracts/instance/module/risk/IRisk.sol +0 -26
  353. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  354. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  355. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  356. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  357. package/contracts/instance/service/ProductService.sol +0 -510
  358. package/contracts/registry/IChainNft.sol +0 -22
  359. package/contracts/shared/IOwnable.sol +0 -6
  360. package/contracts/test/TestDistribution.sol +0 -22
  361. package/contracts/test/TestPool.sol +0 -27
  362. package/contracts/test/TestProduct.sol +0 -74
  363. package/contracts/types/ReferralId.sol +0 -48
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
3
+ "buildInfo": "../../../build-info/d94c4e7447a44611140b51c5d1894429.json"
4
4
  }
@@ -107,56 +107,6 @@
107
107
  "stateMutability": "view",
108
108
  "type": "function"
109
109
  },
110
- {
111
- "inputs": [],
112
- "name": "getProcessingFee",
113
- "outputs": [
114
- {
115
- "components": [
116
- {
117
- "internalType": "UFixed",
118
- "name": "fractionalFee",
119
- "type": "uint256"
120
- },
121
- {
122
- "internalType": "uint256",
123
- "name": "fixedFee",
124
- "type": "uint256"
125
- }
126
- ],
127
- "internalType": "struct Fee",
128
- "name": "processingFee",
129
- "type": "tuple"
130
- }
131
- ],
132
- "stateMutability": "view",
133
- "type": "function"
134
- },
135
- {
136
- "inputs": [],
137
- "name": "getProductFee",
138
- "outputs": [
139
- {
140
- "components": [
141
- {
142
- "internalType": "UFixed",
143
- "name": "fractionalFee",
144
- "type": "uint256"
145
- },
146
- {
147
- "internalType": "uint256",
148
- "name": "fixedFee",
149
- "type": "uint256"
150
- }
151
- ],
152
- "internalType": "struct Fee",
153
- "name": "productFee",
154
- "type": "tuple"
155
- }
156
- ],
157
- "stateMutability": "view",
158
- "type": "function"
159
- },
160
110
  {
161
111
  "inputs": [
162
112
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
3
+ "buildInfo": "../../../build-info/d94c4e7447a44611140b51c5d1894429.json"
4
4
  }
@@ -95,6 +95,87 @@
95
95
  "stateMutability": "nonpayable",
96
96
  "type": "constructor"
97
97
  },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "registry",
103
+ "type": "address"
104
+ },
105
+ {
106
+ "internalType": "NftId",
107
+ "name": "nftId",
108
+ "type": "uint96"
109
+ }
110
+ ],
111
+ "name": "ErrorAlreadyLinked",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "contractAddress",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "ErrorContractNotRegistered",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "address",
129
+ "name": "account",
130
+ "type": "address"
131
+ }
132
+ ],
133
+ "name": "ErrorNotOwner",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [
138
+ {
139
+ "internalType": "address",
140
+ "name": "registryAddress",
141
+ "type": "address"
142
+ }
143
+ ],
144
+ "name": "ErrorNotRegistry",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [
149
+ {
150
+ "internalType": "address",
151
+ "name": "registryAddress",
152
+ "type": "address"
153
+ }
154
+ ],
155
+ "name": "ErrorRegisterableNotRegistry",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "ErrorRegistryAddressZero",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "address",
167
+ "name": "registry",
168
+ "type": "address"
169
+ }
170
+ ],
171
+ "name": "ErrorRegistryAlreadyInitialized",
172
+ "type": "error"
173
+ },
174
+ {
175
+ "inputs": [],
176
+ "name": "ErrorRegistryNotInitialized",
177
+ "type": "error"
178
+ },
98
179
  {
99
180
  "inputs": [],
100
181
  "name": "InvalidInitialization",
@@ -215,65 +296,6 @@
215
296
  "stateMutability": "view",
216
297
  "type": "function"
217
298
  },
218
- {
219
- "inputs": [],
220
- "name": "getFees",
221
- "outputs": [
222
- {
223
- "components": [
224
- {
225
- "internalType": "UFixed",
226
- "name": "fractionalFee",
227
- "type": "uint256"
228
- },
229
- {
230
- "internalType": "uint256",
231
- "name": "fixedFee",
232
- "type": "uint256"
233
- }
234
- ],
235
- "internalType": "struct Fee",
236
- "name": "",
237
- "type": "tuple"
238
- },
239
- {
240
- "components": [
241
- {
242
- "internalType": "UFixed",
243
- "name": "fractionalFee",
244
- "type": "uint256"
245
- },
246
- {
247
- "internalType": "uint256",
248
- "name": "fixedFee",
249
- "type": "uint256"
250
- }
251
- ],
252
- "internalType": "struct Fee",
253
- "name": "",
254
- "type": "tuple"
255
- },
256
- {
257
- "components": [
258
- {
259
- "internalType": "UFixed",
260
- "name": "fractionalFee",
261
- "type": "uint256"
262
- },
263
- {
264
- "internalType": "uint256",
265
- "name": "fixedFee",
266
- "type": "uint256"
267
- }
268
- ],
269
- "internalType": "struct Fee",
270
- "name": "",
271
- "type": "tuple"
272
- }
273
- ],
274
- "stateMutability": "view",
275
- "type": "function"
276
- },
277
299
  {
278
300
  "inputs": [],
279
301
  "name": "getInitialInfo",
@@ -348,7 +370,7 @@
348
370
  "outputs": [
349
371
  {
350
372
  "internalType": "NftId",
351
- "name": "nftId",
373
+ "name": "",
352
374
  "type": "uint96"
353
375
  }
354
376
  ],
@@ -368,19 +390,123 @@
368
390
  "stateMutability": "view",
369
391
  "type": "function"
370
392
  },
393
+ {
394
+ "inputs": [],
395
+ "name": "getProductNftId",
396
+ "outputs": [
397
+ {
398
+ "internalType": "NftId",
399
+ "name": "productNftId",
400
+ "type": "uint96"
401
+ }
402
+ ],
403
+ "stateMutability": "view",
404
+ "type": "function"
405
+ },
371
406
  {
372
407
  "inputs": [],
373
408
  "name": "getRegistry",
374
409
  "outputs": [
375
410
  {
376
411
  "internalType": "contract IRegistry",
377
- "name": "registry",
412
+ "name": "",
378
413
  "type": "address"
379
414
  }
380
415
  ],
381
416
  "stateMutability": "view",
382
417
  "type": "function"
383
418
  },
419
+ {
420
+ "inputs": [],
421
+ "name": "getSetupInfo",
422
+ "outputs": [
423
+ {
424
+ "components": [
425
+ {
426
+ "internalType": "NftId",
427
+ "name": "productNftId",
428
+ "type": "uint96"
429
+ },
430
+ {
431
+ "internalType": "contract TokenHandler",
432
+ "name": "tokenHandler",
433
+ "type": "address"
434
+ },
435
+ {
436
+ "internalType": "UFixed",
437
+ "name": "collateralizationLevel",
438
+ "type": "uint256"
439
+ },
440
+ {
441
+ "components": [
442
+ {
443
+ "internalType": "UFixed",
444
+ "name": "fractionalFee",
445
+ "type": "uint256"
446
+ },
447
+ {
448
+ "internalType": "uint256",
449
+ "name": "fixedFee",
450
+ "type": "uint256"
451
+ }
452
+ ],
453
+ "internalType": "struct Fee",
454
+ "name": "poolFee",
455
+ "type": "tuple"
456
+ },
457
+ {
458
+ "components": [
459
+ {
460
+ "internalType": "UFixed",
461
+ "name": "fractionalFee",
462
+ "type": "uint256"
463
+ },
464
+ {
465
+ "internalType": "uint256",
466
+ "name": "fixedFee",
467
+ "type": "uint256"
468
+ }
469
+ ],
470
+ "internalType": "struct Fee",
471
+ "name": "stakingFee",
472
+ "type": "tuple"
473
+ },
474
+ {
475
+ "components": [
476
+ {
477
+ "internalType": "UFixed",
478
+ "name": "fractionalFee",
479
+ "type": "uint256"
480
+ },
481
+ {
482
+ "internalType": "uint256",
483
+ "name": "fixedFee",
484
+ "type": "uint256"
485
+ }
486
+ ],
487
+ "internalType": "struct Fee",
488
+ "name": "performanceFee",
489
+ "type": "tuple"
490
+ },
491
+ {
492
+ "internalType": "bool",
493
+ "name": "isIntercepting",
494
+ "type": "bool"
495
+ },
496
+ {
497
+ "internalType": "address",
498
+ "name": "wallet",
499
+ "type": "address"
500
+ }
501
+ ],
502
+ "internalType": "struct ISetup.PoolSetupInfo",
503
+ "name": "setupInfo",
504
+ "type": "tuple"
505
+ }
506
+ ],
507
+ "stateMutability": "view",
508
+ "type": "function"
509
+ },
384
510
  {
385
511
  "inputs": [],
386
512
  "name": "getToken",
@@ -420,6 +546,13 @@
420
546
  "stateMutability": "view",
421
547
  "type": "function"
422
548
  },
549
+ {
550
+ "inputs": [],
551
+ "name": "linkToRegisteredNftId",
552
+ "outputs": [],
553
+ "stateMutability": "nonpayable",
554
+ "type": "function"
555
+ },
423
556
  {
424
557
  "inputs": [],
425
558
  "name": "lock",
@@ -540,6 +673,19 @@
540
673
  "stateMutability": "nonpayable",
541
674
  "type": "function"
542
675
  },
676
+ {
677
+ "inputs": [
678
+ {
679
+ "internalType": "NftId",
680
+ "name": "productNftId",
681
+ "type": "uint96"
682
+ }
683
+ ],
684
+ "name": "setProductNftId",
685
+ "outputs": [],
686
+ "stateMutability": "nonpayable",
687
+ "type": "function"
688
+ },
543
689
  {
544
690
  "inputs": [
545
691
  {
@@ -595,8 +741,42 @@
595
741
  "type": "function"
596
742
  }
597
743
  ],
598
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162001df038038062001df08339810160408190526200003491620007ed565b898989608c6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558a8560408051602081019091526000815262000096878786868686620004a2565b6000620000ca7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156200011a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200014491908101906200095e565b6080810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d2919062000a44565b620001fe5760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000252573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000278919062000a69565b600180546001600160a01b03199081166001600160a01b0393841617825560038054309083161790556004805490911692891692909217909155631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191690911790555050600580548d1515600160a01b0260ff60a01b198216811790925560068d90558b516007556020808d01516008558b516009558b810151600a558a51600b558a810151600c5560408051636b9bf08b60e01b815290516001600160a01b0394851694909316939093179850636b9bf08b9750600480840197509095509093509083900301905081865afa1580156200038b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003b1919062000a69565b600d80546001600160a01b0319166001600160a01b0392831617905560055460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa15801562000410573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000436919062000a69565b600e80546001600160a01b0319166001600160a01b0392909216919091179055638165cf9760e01b60009081526020527fdbb0e9856bd1e431ccdf71c70f456d2f44178629ace27e773b679a35c573f774805460ff191660011790555050505050505050505062000be4565b6001600160a01b038616620004fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f00000000006044820152606401620001f5565b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa15801562000548573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200056e919062000a44565b620005bc5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620001f5565b6001600160a01b03818116600160a01b6001600160601b0389168102919091177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3026200068c848262000b18565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b6001600160a01b0381168114620006e957600080fd5b50565b8051620006f981620006d3565b919050565b80516001600160601b0381168114620006f957600080fd5b80518015158114620006f957600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000762576200076262000727565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000793576200079362000727565b604052919050565b600060408284031215620007ae57600080fd5b604080519081016001600160401b0381118282101715620007d357620007d362000727565b604052825181526020928301519281019290925250919050565b6000806000806000806000806000806101a08b8d0312156200080e57600080fd5b8a516200081b81620006d3565b99506200082b60208c01620006fe565b985060408b01516200083d81620006d3565b97506200084d60608c0162000716565b96506200085d60808c0162000716565b955060a08b01519450620008758c60c08d016200079b565b9350620008878c6101008d016200079b565b9250620008998c6101408d016200079b565b91506101808b0151620008ac81620006d3565b809150509295989b9194979a5092959850565b805160ff81168114620006f957600080fd5b600082601f830112620008e357600080fd5b81516001600160401b03811115620008ff57620008ff62000727565b602062000915601f8301601f1916820162000768565b82815285828487010111156200092a57600080fd5b60005b838110156200094a5785810183015182820184015282016200092d565b506000928101909101919091529392505050565b6000602082840312156200097157600080fd5b81516001600160401b03808211156200098957600080fd5b9083019060e082860312156200099e57600080fd5b620009a86200073d565b620009b383620006fe565b8152620009c360208401620006fe565b6020820152620009d660408401620008bf565b6040820152620009e96060840162000716565b6060820152620009fc60808401620006ec565b608082015262000a0f60a08401620006ec565b60a082015260c08301518281111562000a2757600080fd5b62000a3587828601620008d1565b60c08301525095945050505050565b60006020828403121562000a5757600080fd5b62000a628262000716565b9392505050565b60006020828403121562000a7c57600080fd5b815162000a6281620006d3565b600181811c9082168062000a9e57607f821691505b60208210810362000abf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b1357600081815260208120601f850160051c8101602086101562000aee5750805b601f850160051c820191505b8181101562000b0f5782815560010162000afa565b5050505b505050565b81516001600160401b0381111562000b345762000b3462000727565b62000b4c8162000b45845462000a89565b8462000ac5565b602080601f83116001811462000b84576000841562000b6b5750858301515b600019600386901b1c1916600185901b17855562000b0f565b600085815260208120601f198616915b8281101562000bb55788860151825594840194600190910190840162000b94565b508582101562000bd45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6111fc8062000bf46000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806365effc1a116100ad578063d7f5e60911610071578063d7f5e6091461027a578063dab123251461028d578063db8d55f1146102a3578063de7b5d14146102e9578063f83d08ba146102fa57600080fd5b806365effc1a14610232578063826787661461024557806387ef9ba014610258578063893d20e81461026a578063a69df4b51461027257600080fd5b806321df0da7116100f457806321df0da7146101c657806354afef63146101d75780635ab1bd53146101df578063636450f5146101fd578063644c45e01461021257600080fd5b806301ffc9a7146101265780630fec111c14610168578063132996041461017e5780631eff4b22146101a3575b600080fd5b610153610134366004610aed565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610302565b60405161015f929190610b64565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101b86000805160206111a783398151915281565b60405190815260200161015f565b6004546001600160a01b031661018b565b6006546101b8565b6000805160206111a7833981519152546001600160a01b031661018b565b61021061020b366004610cb6565b6103b8565b005b61021a610420565b6040516001600160601b03909116815260200161015f565b610210610240366004610d79565b6104a0565b610210610253366004610df7565b61051b565b600554600160a01b900460ff16610153565b61018b6105e0565b61021061065b565b61021a610288366004610e3d565b6106ed565b61015361029b366004610e9f565b600192915050565b6102ab610777565b60405161015f93929190835181526020938401518482015282516040820152918301516060830152805160808301529091015160a082015260c00190565b6005546001600160a01b031661018b565b6102106108d0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610346610938565b604080518082018252600554600160a01b900460ff16151581526006546020808301919091526003546004549351959750939550869461039f9492936001600160a01b03938416931691600791600991600b9101610f03565b6040516020818303038152906040529350935050509091565b600d5460405163636450f560e01b81526001600160a01b039091169063636450f5906103ea9085908590600401610f70565b600060405180830381600087803b15801561040457600080fd5b505af1158015610418573d6000803e3d6000fd5b505050505050565b60006000805160206111a783398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190610fa7565b905090565b600e546001600160a01b031633146105095760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084015b60405180910390fd5b61051584848484610a9f565b50505050565b6105236105e0565b6001600160a01b0316336001600160a01b0316146105535760405162461bcd60e51b815260040161050090610fc4565b600d54604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156105c357600080fd5b505af11580156105d7573d6000803e3d6000fd5b50505050505050565b60006000805160206111a783398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190611010565b6106636105e0565b6001600160a01b0316336001600160a01b0316146106935760405162461bcd60e51b815260040161050090610fc4565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156106d957600080fd5b505af1158015610515573d6000803e3d6000fd5b600d5460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d539061072a9084908a908a908a908a9060040161102d565b6020604051808303816000875af1158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190610fa7565b9695505050505050565b6040805180820190915260008082526020820152604080518082019091526000808252602082015260408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff56107cf610420565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190610fa7565b60055460405163f2b246c360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b391906110ad565b60a081015160c082015160e0909201519097919650945092505050565b6108d86105e0565b6001600160a01b0316336001600160a01b0316146109085760405162461bcd60e51b815260040161050090610fc4565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016106bf565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060006000805160206111a783398151915290506040518060e0016040528061099b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610a059061116c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a319061116c565b8015610a7e5780601f10610a5357610100808354040283529160200191610a7e565b820191906000526020600020905b815481529060010190602001808311610a6157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610aff57600080fd5b81356001600160e01b031981168114610b1757600080fd5b9392505050565b6000815180845260005b81811015610b4457602081850181015186830182015201610b28565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610ba860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610bee610120840182610b1e565b90508281036020840152610c028185610b1e565b95945050505050565b6001600160601b0381168114610c2057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b60405290565b604051610120810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b600060408284031215610c9857600080fd5b610ca0610c39565b9050813581526020820135602082015292915050565b60008060608385031215610cc957600080fd5b8235610cd481610c0b565b9150610ce38460208501610c86565b90509250929050565b600082601f830112610cfd57600080fd5b813567ffffffffffffffff80821115610d1857610d18610c23565b604051601f8301601f19908116603f01168101908282118183101715610d4057610d40610c23565b81604052838152866020858801011115610d5957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610d8f57600080fd5b8435610d9a81610c0b565b9350602085013567ffffffffffffffff80821115610db757600080fd5b610dc388838901610cec565b94506040870135915080821115610dd957600080fd5b50610de687828801610cec565b949793965093946060013593505050565b600080600060c08486031215610e0c57600080fd5b610e168585610c86565b9250610e258560408601610c86565b9150610e348560808601610c86565b90509250925092565b60008060008060a08587031215610e5357600080fd5b610e5d8686610c86565b93506040850135925060608501359150608085013567ffffffffffffffff811115610e8757600080fd5b610e9387828801610cec565b91505092959194509250565b60008060408385031215610eb257600080fd5b823567ffffffffffffffff80821115610eca57600080fd5b610ed686838701610cec565b93506020850135915080821115610eec57600080fd5b50610ef985828601610cec565b9150509250929050565b865115158152602080880151908201526001600160a01b0386811660408301528516606082015283546080820152600184015460a08201526101408101835460c0830152600184015460e0830152825461010083015260018301546101208301525b979650505050505050565b6001600160601b038316815260608101610b17602083018480518252602090810151910152565b8051610fa281610c0b565b919050565b600060208284031215610fb957600080fd5b8151610b1781610c0b565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6001600160a01b0381168114610c2057600080fd5b60006020828403121561102257600080fd5b8151610b1781610ffb565b6001600160a01b0386168152611050602082018680518252602090810151910152565b83606082015282608082015260c060a08201526000610f6560c0830184610b1e565b8051610fa281610ffb565b60006040828403121561108f57600080fd5b611097610c39565b9050815181526020820151602082015292915050565b60006101e082840312156110c057600080fd5b6110c8610c62565b6110d183610f97565b81526110df60208401610f97565b60208201526110f060408401611072565b6040820152611102846060850161107d565b60608201526111148460a0850161107d565b60808201526111268460e0850161107d565b60a082015261113984610120850161107d565b60c082015261114c84610160850161107d565b60e082015261115f846101a0850161107d565b6101008201529392505050565b600181811c9082168061118057607f821691505b6020821081036111a057634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220267ed565f8f4a0d49ce2e88bd4c9d9a0df025cd3dd6f3f9335600c755a51441e64736f6c63430008140033",
599
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101215760003560e01c806365effc1a116100ad578063d7f5e60911610071578063d7f5e6091461027a578063dab123251461028d578063db8d55f1146102a3578063de7b5d14146102e9578063f83d08ba146102fa57600080fd5b806365effc1a14610232578063826787661461024557806387ef9ba014610258578063893d20e81461026a578063a69df4b51461027257600080fd5b806321df0da7116100f457806321df0da7146101c657806354afef63146101d75780635ab1bd53146101df578063636450f5146101fd578063644c45e01461021257600080fd5b806301ffc9a7146101265780630fec111c14610168578063132996041461017e5780631eff4b22146101a3575b600080fd5b610153610134366004610aed565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610302565b60405161015f929190610b64565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101b86000805160206111a783398151915281565b60405190815260200161015f565b6004546001600160a01b031661018b565b6006546101b8565b6000805160206111a7833981519152546001600160a01b031661018b565b61021061020b366004610cb6565b6103b8565b005b61021a610420565b6040516001600160601b03909116815260200161015f565b610210610240366004610d79565b6104a0565b610210610253366004610df7565b61051b565b600554600160a01b900460ff16610153565b61018b6105e0565b61021061065b565b61021a610288366004610e3d565b6106ed565b61015361029b366004610e9f565b600192915050565b6102ab610777565b60405161015f93929190835181526020938401518482015282516040820152918301516060830152805160808301529091015160a082015260c00190565b6005546001600160a01b031661018b565b6102106108d0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610346610938565b604080518082018252600554600160a01b900460ff16151581526006546020808301919091526003546004549351959750939550869461039f9492936001600160a01b03938416931691600791600991600b9101610f03565b6040516020818303038152906040529350935050509091565b600d5460405163636450f560e01b81526001600160a01b039091169063636450f5906103ea9085908590600401610f70565b600060405180830381600087803b15801561040457600080fd5b505af1158015610418573d6000803e3d6000fd5b505050505050565b60006000805160206111a783398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190610fa7565b905090565b600e546001600160a01b031633146105095760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084015b60405180910390fd5b61051584848484610a9f565b50505050565b6105236105e0565b6001600160a01b0316336001600160a01b0316146105535760405162461bcd60e51b815260040161050090610fc4565b600d54604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156105c357600080fd5b505af11580156105d7573d6000803e3d6000fd5b50505050505050565b60006000805160206111a783398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190611010565b6106636105e0565b6001600160a01b0316336001600160a01b0316146106935760405162461bcd60e51b815260040161050090610fc4565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156106d957600080fd5b505af1158015610515573d6000803e3d6000fd5b600d5460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d539061072a9084908a908a908a908a9060040161102d565b6020604051808303816000875af1158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190610fa7565b9695505050505050565b6040805180820190915260008082526020820152604080518082019091526000808252602082015260408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff56107cf610420565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190610fa7565b60055460405163f2b246c360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b391906110ad565b60a081015160c082015160e0909201519097919650945092505050565b6108d86105e0565b6001600160a01b0316336001600160a01b0316146109085760405162461bcd60e51b815260040161050090610fc4565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016106bf565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060006000805160206111a783398151915290506040518060e0016040528061099b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610a059061116c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a319061116c565b8015610a7e5780601f10610a5357610100808354040283529160200191610a7e565b820191906000526020600020905b815481529060010190602001808311610a6157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610aff57600080fd5b81356001600160e01b031981168114610b1757600080fd5b9392505050565b6000815180845260005b81811015610b4457602081850181015186830182015201610b28565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610ba860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610bee610120840182610b1e565b90508281036020840152610c028185610b1e565b95945050505050565b6001600160601b0381168114610c2057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b60405290565b604051610120810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b600060408284031215610c9857600080fd5b610ca0610c39565b9050813581526020820135602082015292915050565b60008060608385031215610cc957600080fd5b8235610cd481610c0b565b9150610ce38460208501610c86565b90509250929050565b600082601f830112610cfd57600080fd5b813567ffffffffffffffff80821115610d1857610d18610c23565b604051601f8301601f19908116603f01168101908282118183101715610d4057610d40610c23565b81604052838152866020858801011115610d5957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610d8f57600080fd5b8435610d9a81610c0b565b9350602085013567ffffffffffffffff80821115610db757600080fd5b610dc388838901610cec565b94506040870135915080821115610dd957600080fd5b50610de687828801610cec565b949793965093946060013593505050565b600080600060c08486031215610e0c57600080fd5b610e168585610c86565b9250610e258560408601610c86565b9150610e348560808601610c86565b90509250925092565b60008060008060a08587031215610e5357600080fd5b610e5d8686610c86565b93506040850135925060608501359150608085013567ffffffffffffffff811115610e8757600080fd5b610e9387828801610cec565b91505092959194509250565b60008060408385031215610eb257600080fd5b823567ffffffffffffffff80821115610eca57600080fd5b610ed686838701610cec565b93506020850135915080821115610eec57600080fd5b50610ef985828601610cec565b9150509250929050565b865115158152602080880151908201526001600160a01b0386811660408301528516606082015283546080820152600184015460a08201526101408101835460c0830152600184015460e0830152825461010083015260018301546101208301525b979650505050505050565b6001600160601b038316815260608101610b17602083018480518252602090810151910152565b8051610fa281610c0b565b919050565b600060208284031215610fb957600080fd5b8151610b1781610c0b565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6001600160a01b0381168114610c2057600080fd5b60006020828403121561102257600080fd5b8151610b1781610ffb565b6001600160a01b0386168152611050602082018680518252602090810151910152565b83606082015282608082015260c060a08201526000610f6560c0830184610b1e565b8051610fa281610ffb565b60006040828403121561108f57600080fd5b611097610c39565b9050815181526020820151602082015292915050565b60006101e082840312156110c057600080fd5b6110c8610c62565b6110d183610f97565b81526110df60208401610f97565b60208201526110f060408401611072565b6040820152611102846060850161107d565b60608201526111148460a0850161107d565b60808201526111268460e0850161107d565b60a082015261113984610120850161107d565b60c082015261114c84610160850161107d565b60e082015261115f846101a0850161107d565b6101008201529392505050565b600181811c9082168061118057607f821691505b6020821081036111a057634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220267ed565f8f4a0d49ce2e88bd4c9d9a0df025cd3dd6f3f9335600c755a51441e64736f6c63430008140033",
600
- "linkReferences": {},
601
- "deployedLinkReferences": {}
744
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162002286380380620022868339810160408190526200003491620007a1565b898989608c8a856200006c6301ffc9a760e01b600090815260205260008051602062002266833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009d878786868686620003ee565b6000620000b26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000102573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012c919081019062000912565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152639f07a2f160e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba9190620009f8565b620001e65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000260919062000a1d565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055634c0cba3d60e11b60009081526020527f8605f84a1fdbc6ff75d8a06315d161884729b429561b502d19c5a33135142c3a805460ff1916600117905550506008805460ff19168d1515179055505050600988905550508451600a5550602080850151600b558351600c5583810151600d558251600e5582810151600f5560075460408051636b9bf08b60e01b815290516001600160a01b0390921692636b9bf08b926004808401938290030181865afa1580156200035c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000382919062000a1d565b601080546001600160a01b0319166001600160a01b0392909216919091179055632d744d3360e11b60009081526020527f8b4532a0111795e202cfc84b9993b64ea185eec29ed9b6b664121b104b35bb00805460ff191660011790555050505050505050505062000b98565b6200041f6301ffc9a760e01b600090815260205260008051602062002266833981519152805460ff19166001179055565b6200042b8287620004f0565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620004aa838262000acc565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b03841617905562000516816200051a565b5050565b6001546001600160a01b031615620005555760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001dd565b6001600160a01b0381166200057d5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620005b55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa92505050801562000632575060408051601f3d908101601f191682019092526200062f91810190620009f8565b60015b6200065c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b80620005165760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001dd565b50565b6001600160a01b03811681146200068757600080fd5b8051620006ad816200068a565b919050565b80516001600160601b0381168114620006ad57600080fd5b80518015158114620006ad57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620007165762000716620006db565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007475762000747620006db565b604052919050565b6000604082840312156200076257600080fd5b604080519081016001600160401b0381118282101715620007875762000787620006db565b604052825181526020928301519281019290925250919050565b6000806000806000806000806000806101a08b8d031215620007c257600080fd5b8a51620007cf816200068a565b9950620007df60208c01620006b2565b985060408b0151620007f1816200068a565b97506200080160608c01620006ca565b96506200081160808c01620006ca565b955060a08b01519450620008298c60c08d016200074f565b93506200083b8c6101008d016200074f565b92506200084d8c6101408d016200074f565b91506101808b015162000860816200068a565b809150509295989b9194979a5092959850565b805160ff81168114620006ad57600080fd5b600082601f8301126200089757600080fd5b81516001600160401b03811115620008b357620008b3620006db565b6020620008c9601f8301601f191682016200071c565b8281528582848701011115620008de57600080fd5b60005b83811015620008fe578581018301518282018401528201620008e1565b506000928101909101919091529392505050565b6000602082840312156200092557600080fd5b81516001600160401b03808211156200093d57600080fd5b9083019060e082860312156200095257600080fd5b6200095c620006f1565b6200096783620006b2565b81526200097760208401620006b2565b60208201526200098a6040840162000873565b60408201526200099d60608401620006ca565b6060820152620009b060808401620006a0565b6080820152620009c360a08401620006a0565b60a082015260c083015182811115620009db57600080fd5b620009e98782860162000885565b60c08301525095945050505050565b60006020828403121562000a0b57600080fd5b62000a1682620006ca565b9392505050565b60006020828403121562000a3057600080fd5b815162000a16816200068a565b600181811c9082168062000a5257607f821691505b60208210810362000a7357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000ac757600081815260208120601f850160051c8101602086101562000aa25750805b601f850160051c820191505b8181101562000ac35782815560010162000aae565b5050505b505050565b81516001600160401b0381111562000ae85762000ae8620006db565b62000b008162000af9845462000a3d565b8462000a79565b602080601f83116001811462000b38576000841562000b1f5750858301515b600019600386901b1c1916600185901b17855562000ac3565b600085815260208120601f198616915b8281101562000b695788860151825594840194600190910190840162000b48565b508582101562000b885787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6116be8062000ba86000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c8063644c45e0116100b8578063a69df4b51161007c578063a69df4b5146102cf578063c200b809146102d7578063d7f5e609146102ec578063dab12325146102ff578063de7b5d1414610315578063f83d08ba1461032657600080fd5b8063644c45e01461027e57806365effc1a1461029657806382678766146102a957806387ef9ba0146102bc578063893d20e8146102c757600080fd5b80631eff4b221161010a5780631eff4b22146101f957806321df0da71461022e5780632a65c6881461023f57806354afef63146102525780635ab1bd531461025a578063636450f51461026b57600080fd5b806251884a1461014657806301ffc9a7146101775780630fec111c146101b457806313299604146101ca578063138461e0146101ef575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101a4610185366004610f98565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161016e565b6101bc61032e565b60405161016e92919061100f565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161016e565b6101f7610439565b005b6102207f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016e565b6006546001600160a01b03166101d7565b6101f761024d3660046110ce565b61065b565b600954610220565b6001546001600160a01b03166101d7565b6101f761027936600461117e565b6107bd565b600154600160a01b90046001600160601b031661015a565b6101f76102a4366004611241565b610825565b6101f76102b73660046112bf565b61089b565b60085460ff166101a4565b6101d7610976565b6101f7610a94565b6102df610b42565b60405161016e9190611305565b61015a6102fa3660046113aa565b610cbd565b6101a461030d36600461140c565b600192915050565b6007546001600160a01b03166101d7565b6101f7610d47565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610371610dc4565b506040805161010081018252600754600160a01b90046001600160601b031681526006546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d5481830152608084015283518085018552600e548152600f548183015260a084015260085460ff16151560c084015260055490911660e0830152915192935083926104219201611305565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561049b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104bf9190611485565b15610506576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661052f5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190611485565b6105c4576040516372657a5160e01b81526001600160a01b03821660048201526024016104fd565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063291906114ab565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610665610976565b90506001600160a01b038116158015906106885750336001600160a01b03821614155b156106a85760405163700dd81160e01b81523360048201526024016104fd565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610724573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107489190611485565b6107945760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104fd565b50600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60105460405163636450f560e01b81526001600160a01b039091169063636450f5906107ef90859085906004016114c8565b600060405180830381600087803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b505050505050565b6011546001600160a01b031633146108895760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104fd565b61089584848484610f4a565b50505050565b60006108a5610976565b90506001600160a01b038116158015906108c85750336001600160a01b03821614155b156108e85760405163700dd81160e01b81523360048201526024016104fd565b601054604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b15801561095857600080fd5b505af115801561096c573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ff9190611485565b15610a8457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7f919061150f565b905090565b506002546001600160a01b031690565b6000610a9e610976565b90506001600160a01b03811615801590610ac15750336001600160a01b03821614155b15610ae15760405163700dd81160e01b81523360048201526024016104fd565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b2757600080fd5b505af1158015610b3b573d6000803e3d6000fd5b5050505050565b610bb560408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a0820190815260006020820181905260409091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c23919061150f565b9050806001600160a01b03166355e343a9610c4e6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161016060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb7919061155c565b91505090565b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cfa9084908a908a908a908a906004016115fe565b6020604051808303816000875af1158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3d91906114ab565b9695505050505050565b6000610d51610976565b90506001600160a01b03811615801590610d745750336001600160a01b03821614155b15610d945760405163700dd81160e01b81523360048201526024016104fd565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b0d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e4b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e93610976565b6001600160a01b03168152602001826001018054610eb09061164e565b80601f0160208091040260200160405190810160405280929190818152602001828054610edc9061164e565b8015610f295780601f10610efe57610100808354040283529160200191610f29565b820191906000526020600020905b815481529060010190602001808311610f0c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610faa57600080fd5b81356001600160e01b031981168114610fc257600080fd5b9392505050565b6000815180845260005b81811015610fef57602081850181015186830182015201610fd3565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161105360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611099610120840182610fc9565b905082810360208401526110ad8185610fc9565b95945050505050565b6001600160601b03811681146110cb57600080fd5b50565b6000602082840312156110e057600080fd5b8135610fc2816110b6565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611124576111246110eb565b60405290565b604051610100810167ffffffffffffffff81118282101715611124576111246110eb565b60006040828403121561116057600080fd5b611168611101565b9050813581526020820135602082015292915050565b6000806060838503121561119157600080fd5b823561119c816110b6565b91506111ab846020850161114e565b90509250929050565b600082601f8301126111c557600080fd5b813567ffffffffffffffff808211156111e0576111e06110eb565b604051601f8301601f19908116603f01168101908282118183101715611208576112086110eb565b8160405283815286602085880101111561122157600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561125757600080fd5b8435611262816110b6565b9350602085013567ffffffffffffffff8082111561127f57600080fd5b61128b888389016111b4565b945060408701359150808211156112a157600080fd5b506112ae878288016111b4565b949793965093946060013593505050565b600080600060c084860312156112d457600080fd5b6112de858561114e565b92506112ed856040860161114e565b91506112fc856080860161114e565b90509250925092565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916113519084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b60008060008060a085870312156113c057600080fd5b6113ca868661114e565b93506040850135925060608501359150608085013567ffffffffffffffff8111156113f457600080fd5b611400878288016111b4565b91505092959194509250565b6000806040838503121561141f57600080fd5b823567ffffffffffffffff8082111561143757600080fd5b611443868387016111b4565b9350602085013591508082111561145957600080fd5b50611466858286016111b4565b9150509250929050565b8051801515811461148057600080fd5b919050565b60006020828403121561149757600080fd5b610fc282611470565b8051611480816110b6565b6000602082840312156114bd57600080fd5b8151610fc2816110b6565b6001600160601b038316815260608101610fc2602083018480518252602090810151910152565b6001600160a01b03811681146110cb57600080fd5b8051611480816114ef565b60006020828403121561152157600080fd5b8151610fc2816114ef565b60006040828403121561153e57600080fd5b611546611101565b9050815181526020820151602082015292915050565b6000610160828403121561156f57600080fd5b61157761112a565b611580836114a0565b815261158e60208401611504565b6020820152604083015160408201526115aa846060850161152c565b60608201526115bc8460a0850161152c565b60808201526115ce8460e0850161152c565b60a08201526115e06101208401611470565b60c08201526115f26101408401611504565b60e08201529392505050565b6001600160a01b0386168152611621602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061164360c0830184610fc9565b979650505050505050565b600181811c9082168061166257607f821691505b60208210810361168257634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212206934372a557a63c2cf04110022aca0d0323ce12aa456d18d47febfef4a6609f764736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
745
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101415760003560e01c8063644c45e0116100b8578063a69df4b51161007c578063a69df4b5146102cf578063c200b809146102d7578063d7f5e609146102ec578063dab12325146102ff578063de7b5d1414610315578063f83d08ba1461032657600080fd5b8063644c45e01461027e57806365effc1a1461029657806382678766146102a957806387ef9ba0146102bc578063893d20e8146102c757600080fd5b80631eff4b221161010a5780631eff4b22146101f957806321df0da71461022e5780632a65c6881461023f57806354afef63146102525780635ab1bd531461025a578063636450f51461026b57600080fd5b806251884a1461014657806301ffc9a7146101775780630fec111c146101b457806313299604146101ca578063138461e0146101ef575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101a4610185366004610f98565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161016e565b6101bc61032e565b60405161016e92919061100f565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161016e565b6101f7610439565b005b6102207f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016e565b6006546001600160a01b03166101d7565b6101f761024d3660046110ce565b61065b565b600954610220565b6001546001600160a01b03166101d7565b6101f761027936600461117e565b6107bd565b600154600160a01b90046001600160601b031661015a565b6101f76102a4366004611241565b610825565b6101f76102b73660046112bf565b61089b565b60085460ff166101a4565b6101d7610976565b6101f7610a94565b6102df610b42565b60405161016e9190611305565b61015a6102fa3660046113aa565b610cbd565b6101a461030d36600461140c565b600192915050565b6007546001600160a01b03166101d7565b6101f7610d47565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610371610dc4565b506040805161010081018252600754600160a01b90046001600160601b031681526006546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d5481830152608084015283518085018552600e548152600f548183015260a084015260085460ff16151560c084015260055490911660e0830152915192935083926104219201611305565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561049b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104bf9190611485565b15610506576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661052f5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190611485565b6105c4576040516372657a5160e01b81526001600160a01b03821660048201526024016104fd565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063291906114ab565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610665610976565b90506001600160a01b038116158015906106885750336001600160a01b03821614155b156106a85760405163700dd81160e01b81523360048201526024016104fd565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610724573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107489190611485565b6107945760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104fd565b50600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60105460405163636450f560e01b81526001600160a01b039091169063636450f5906107ef90859085906004016114c8565b600060405180830381600087803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b505050505050565b6011546001600160a01b031633146108895760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104fd565b61089584848484610f4a565b50505050565b60006108a5610976565b90506001600160a01b038116158015906108c85750336001600160a01b03821614155b156108e85760405163700dd81160e01b81523360048201526024016104fd565b601054604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b15801561095857600080fd5b505af115801561096c573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ff9190611485565b15610a8457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7f919061150f565b905090565b506002546001600160a01b031690565b6000610a9e610976565b90506001600160a01b03811615801590610ac15750336001600160a01b03821614155b15610ae15760405163700dd81160e01b81523360048201526024016104fd565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b2757600080fd5b505af1158015610b3b573d6000803e3d6000fd5b5050505050565b610bb560408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a0820190815260006020820181905260409091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c23919061150f565b9050806001600160a01b03166355e343a9610c4e6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161016060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb7919061155c565b91505090565b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cfa9084908a908a908a908a906004016115fe565b6020604051808303816000875af1158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3d91906114ab565b9695505050505050565b6000610d51610976565b90506001600160a01b03811615801590610d745750336001600160a01b03821614155b15610d945760405163700dd81160e01b81523360048201526024016104fd565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b0d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e4b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e93610976565b6001600160a01b03168152602001826001018054610eb09061164e565b80601f0160208091040260200160405190810160405280929190818152602001828054610edc9061164e565b8015610f295780601f10610efe57610100808354040283529160200191610f29565b820191906000526020600020905b815481529060010190602001808311610f0c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610faa57600080fd5b81356001600160e01b031981168114610fc257600080fd5b9392505050565b6000815180845260005b81811015610fef57602081850181015186830182015201610fd3565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161105360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611099610120840182610fc9565b905082810360208401526110ad8185610fc9565b95945050505050565b6001600160601b03811681146110cb57600080fd5b50565b6000602082840312156110e057600080fd5b8135610fc2816110b6565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611124576111246110eb565b60405290565b604051610100810167ffffffffffffffff81118282101715611124576111246110eb565b60006040828403121561116057600080fd5b611168611101565b9050813581526020820135602082015292915050565b6000806060838503121561119157600080fd5b823561119c816110b6565b91506111ab846020850161114e565b90509250929050565b600082601f8301126111c557600080fd5b813567ffffffffffffffff808211156111e0576111e06110eb565b604051601f8301601f19908116603f01168101908282118183101715611208576112086110eb565b8160405283815286602085880101111561122157600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561125757600080fd5b8435611262816110b6565b9350602085013567ffffffffffffffff8082111561127f57600080fd5b61128b888389016111b4565b945060408701359150808211156112a157600080fd5b506112ae878288016111b4565b949793965093946060013593505050565b600080600060c084860312156112d457600080fd5b6112de858561114e565b92506112ed856040860161114e565b91506112fc856080860161114e565b90509250925092565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916113519084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b60008060008060a085870312156113c057600080fd5b6113ca868661114e565b93506040850135925060608501359150608085013567ffffffffffffffff8111156113f457600080fd5b611400878288016111b4565b91505092959194509250565b6000806040838503121561141f57600080fd5b823567ffffffffffffffff8082111561143757600080fd5b611443868387016111b4565b9350602085013591508082111561145957600080fd5b50611466858286016111b4565b9150509250929050565b8051801515811461148057600080fd5b919050565b60006020828403121561149757600080fd5b610fc282611470565b8051611480816110b6565b6000602082840312156114bd57600080fd5b8151610fc2816110b6565b6001600160601b038316815260608101610fc2602083018480518252602090810151910152565b6001600160a01b03811681146110cb57600080fd5b8051611480816114ef565b60006020828403121561152157600080fd5b8151610fc2816114ef565b60006040828403121561153e57600080fd5b611546611101565b9050815181526020820151602082015292915050565b6000610160828403121561156f57600080fd5b61157761112a565b611580836114a0565b815261158e60208401611504565b6020820152604083015160408201526115aa846060850161152c565b60608201526115bc8460a0850161152c565b60808201526115ce8460e0850161152c565b60a08201526115e06101208401611470565b60c08201526115f26101408401611504565b60e08201529392505050565b6001600160a01b0386168152611621602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061164360c0830184610fc9565b979650505050505050565b600181811c9082168061166257607f821691505b60208210810361168257634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212206934372a557a63c2cf04110022aca0d0323ce12aa456d18d47febfef4a6609f764736f6c63430008140033",
746
+ "linkReferences": {
747
+ "contracts/types/NftId.sol": {
748
+ "NftIdLib": [
749
+ {
750
+ "length": 20,
751
+ "start": 4105
752
+ },
753
+ {
754
+ "length": 20,
755
+ "start": 4693
756
+ },
757
+ {
758
+ "length": 20,
759
+ "start": 5449
760
+ }
761
+ ]
762
+ }
763
+ },
764
+ "deployedLinkReferences": {
765
+ "contracts/types/NftId.sol": {
766
+ "NftIdLib": [
767
+ {
768
+ "length": 20,
769
+ "start": 1121
770
+ },
771
+ {
772
+ "length": 20,
773
+ "start": 1709
774
+ },
775
+ {
776
+ "length": 20,
777
+ "start": 2465
778
+ }
779
+ ]
780
+ }
781
+ }
602
782
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
3
+ "buildInfo": "../../../build-info/d94c4e7447a44611140b51c5d1894429.json"
4
4
  }