@etherisc/gif-next 0.0.2-e37834a-021 → 0.0.2-e3f4f82-063

Sign up to get free protection for your applications and to get access to all the features.
Files changed (366) 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 +2 -61
  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 +253 -68
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +272 -45
  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 +732 -1219
  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 +2327 -1324
  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 +1422 -0
  60. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +931 -0
  62. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +508 -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 +188 -3
  100. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +120 -34
  102. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  103. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +346 -24
  104. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +460 -0
  106. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  107. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +269 -86
  108. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +488 -0
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +199 -112
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +297 -18
  116. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  118. package/artifacts/contracts/registry/Registry.sol/Registry.json +167 -166
  119. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +447 -39
  121. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +105 -48
  123. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  124. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  125. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  127. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  128. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/module/component/ComponentModule.sol/ComponentModule.json → shared/INftOwnable.sol/INftOwnable.json} +67 -57
  130. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +80 -3
  132. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/IService.sol/IService.json} +76 -35
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +32 -6
  137. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +21 -16
  139. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  140. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +120 -6
  141. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  142. package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +137 -39
  143. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  144. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/Service.sol/Service.json} +106 -94
  145. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  146. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  147. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  148. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  149. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  150. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  152. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +120 -6
  154. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  156. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestService.sol/TestService.json +142 -14
  158. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  160. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  162. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +18 -2
  164. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  165. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  166. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  167. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  170. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  171. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  173. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  175. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  177. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  179. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  181. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  183. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  185. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  187. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  189. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  191. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  193. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  194. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  195. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  196. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  197. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  199. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  200. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  201. package/contracts/components/BaseComponent.sol +16 -4
  202. package/contracts/components/Distribution.sol +23 -15
  203. package/contracts/components/IBaseComponent.sol +9 -3
  204. package/contracts/components/IDistributionComponent.sol +2 -4
  205. package/contracts/components/IPoolComponent.sol +1 -3
  206. package/contracts/components/IProductComponent.sol +2 -4
  207. package/contracts/components/Pool.sol +33 -32
  208. package/contracts/components/Product.sol +52 -62
  209. package/contracts/experiment/cloning/Cloner.sol +47 -0
  210. package/contracts/instance/AccessManagedSimple.sol +115 -0
  211. package/contracts/instance/AccessManagerSimple.sol +692 -0
  212. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  213. package/contracts/instance/IInstance.sol +47 -47
  214. package/contracts/instance/IInstanceService.sol +30 -0
  215. package/contracts/instance/Instance.sol +423 -65
  216. package/contracts/instance/InstanceAccessManager.sol +288 -0
  217. package/contracts/instance/InstanceReader.sol +315 -0
  218. package/contracts/instance/InstanceService.sol +198 -0
  219. package/contracts/instance/InstanceServiceManager.sol +57 -0
  220. package/contracts/instance/base/ComponentServiceBase.sol +93 -8
  221. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  222. package/contracts/instance/base/ILifecycle.sol +3 -3
  223. package/contracts/instance/base/KeyValueStore.sol +49 -38
  224. package/contracts/instance/base/Lifecycle.sol +1 -1
  225. package/contracts/instance/module/IAccess.sol +38 -0
  226. package/contracts/instance/module/IBundle.sol +20 -0
  227. package/contracts/instance/module/IDistribution.sol +39 -0
  228. package/contracts/instance/module/IPolicy.sol +45 -0
  229. package/contracts/instance/module/IRisk.sol +11 -0
  230. package/contracts/instance/module/ISetup.sol +47 -0
  231. package/contracts/instance/module/ITreasury.sol +23 -0
  232. package/contracts/instance/service/ComponentOwnerService.sol +145 -100
  233. package/contracts/instance/service/DistributionService.sol +49 -15
  234. package/contracts/instance/service/DistributionServiceManager.sol +54 -0
  235. package/contracts/instance/service/IComponentOwnerService.sol +1 -1
  236. package/contracts/instance/service/IDistributionService.sol +1 -1
  237. package/contracts/instance/service/IPoolService.sol +7 -1
  238. package/contracts/instance/service/IProductService.sol +9 -6
  239. package/contracts/instance/service/PoolService.sol +101 -46
  240. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  241. package/contracts/instance/service/ProductService.sol +170 -118
  242. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  243. package/contracts/registry/ChainNft.sol +40 -25
  244. package/contracts/registry/IRegistry.sol +35 -27
  245. package/contracts/registry/IRegistryService.sol +36 -15
  246. package/contracts/registry/Registry.sol +137 -179
  247. package/contracts/registry/RegistryService.sol +149 -166
  248. package/contracts/registry/RegistryServiceManager.sol +38 -10
  249. package/contracts/registry/TokenRegistry.sol +111 -0
  250. package/contracts/shared/ERC165.sol +7 -3
  251. package/contracts/shared/INftOwnable.sol +22 -0
  252. package/contracts/shared/IRegisterable.sol +3 -8
  253. package/contracts/{instance/base → shared}/IService.sol +3 -3
  254. package/contracts/shared/NftOwnable.sol +85 -38
  255. package/contracts/shared/ProxyManager.sol +3 -12
  256. package/contracts/shared/Registerable.sol +15 -42
  257. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  258. package/contracts/shared/Service.sol +55 -0
  259. package/contracts/shared/TokenHandler.sol +27 -0
  260. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  261. package/contracts/shared/Versionable.sol +3 -3
  262. package/contracts/test/TestFee.sol +2 -2
  263. package/contracts/test/TestRoleId.sol +1 -1
  264. package/contracts/test/TestService.sol +3 -5
  265. package/contracts/types/DistributorType.sol +55 -0
  266. package/contracts/types/Fee.sol +3 -3
  267. package/contracts/types/Key32.sol +8 -3
  268. package/contracts/types/NumberId.sol +52 -0
  269. package/contracts/types/ObjectType.sol +35 -14
  270. package/contracts/types/Referral.sol +85 -0
  271. package/contracts/types/RoleId.sol +61 -9
  272. package/contracts/types/StateId.sol +5 -1
  273. package/contracts/types/Timestamp.sol +7 -3
  274. package/contracts/types/UFixed.sol +128 -12
  275. package/contracts/types/Version.sol +4 -1
  276. package/package.json +4 -3
  277. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  278. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  279. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  280. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  281. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  282. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  283. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  284. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  285. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  286. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  287. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  288. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  289. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  290. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -297
  291. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  292. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  293. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -297
  294. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  295. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  296. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  297. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  298. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -117
  299. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +0 -4
  300. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +0 -10
  301. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +0 -4
  302. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +0 -4
  303. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +0 -10
  304. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  305. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  306. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -284
  307. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  308. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -284
  309. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  310. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  311. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  312. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -164
  313. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  314. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -164
  315. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  316. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  317. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -113
  318. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  319. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -131
  320. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  321. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  322. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -638
  323. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  324. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  325. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  326. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -638
  327. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  328. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  329. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  330. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  331. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +0 -4
  332. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +0 -445
  333. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  334. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -602
  335. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  336. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -632
  337. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
  338. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
  339. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  340. package/contracts/instance/IInstanceLinked.sol +0 -8
  341. package/contracts/instance/base/InstanceBase.sol +0 -89
  342. package/contracts/instance/base/ModuleBase.sol +0 -57
  343. package/contracts/instance/base/ServiceBase.sol +0 -43
  344. package/contracts/instance/module/access/Access.sol +0 -149
  345. package/contracts/instance/module/access/IAccess.sol +0 -53
  346. package/contracts/instance/module/bundle/BundleModule.sol +0 -134
  347. package/contracts/instance/module/bundle/IBundle.sol +0 -53
  348. package/contracts/instance/module/component/ComponentModule.sol +0 -71
  349. package/contracts/instance/module/component/IComponent.sol +0 -28
  350. package/contracts/instance/module/distribution/DistributionModule.sol +0 -17
  351. package/contracts/instance/module/distribution/IDistribution.sol +0 -10
  352. package/contracts/instance/module/policy/IPolicy.sol +0 -63
  353. package/contracts/instance/module/policy/PolicyModule.sol +0 -91
  354. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  355. package/contracts/instance/module/pool/PoolModule.sol +0 -95
  356. package/contracts/instance/module/risk/IRisk.sol +0 -26
  357. package/contracts/instance/module/risk/RiskModule.sol +0 -62
  358. package/contracts/instance/module/treasury/ITreasury.sol +0 -84
  359. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  360. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -131
  361. package/contracts/registry/IChainNft.sol +0 -22
  362. package/contracts/shared/IOwnable.sol +0 -6
  363. package/contracts/test/TestDistribution.sol +0 -22
  364. package/contracts/test/TestPool.sol +0 -27
  365. package/contracts/test/TestProduct.sol +0 -74
  366. package/contracts/types/ReferralId.sol +0 -48
@@ -89,70 +89,11 @@
89
89
  },
90
90
  {
91
91
  "inputs": [],
92
- "name": "getFees",
93
- "outputs": [
94
- {
95
- "components": [
96
- {
97
- "internalType": "UFixed",
98
- "name": "fractionalFee",
99
- "type": "uint256"
100
- },
101
- {
102
- "internalType": "uint256",
103
- "name": "fixedFee",
104
- "type": "uint256"
105
- }
106
- ],
107
- "internalType": "struct Fee",
108
- "name": "poolFee",
109
- "type": "tuple"
110
- },
111
- {
112
- "components": [
113
- {
114
- "internalType": "UFixed",
115
- "name": "fractionalFee",
116
- "type": "uint256"
117
- },
118
- {
119
- "internalType": "uint256",
120
- "name": "fixedFee",
121
- "type": "uint256"
122
- }
123
- ],
124
- "internalType": "struct Fee",
125
- "name": "stakingFee",
126
- "type": "tuple"
127
- },
128
- {
129
- "components": [
130
- {
131
- "internalType": "UFixed",
132
- "name": "fractionalFee",
133
- "type": "uint256"
134
- },
135
- {
136
- "internalType": "uint256",
137
- "name": "fixedFee",
138
- "type": "uint256"
139
- }
140
- ],
141
- "internalType": "struct Fee",
142
- "name": "performanceFee",
143
- "type": "tuple"
144
- }
145
- ],
146
- "stateMutability": "view",
147
- "type": "function"
148
- },
149
- {
150
- "inputs": [],
151
- "name": "isVerifying",
92
+ "name": "isConfirmingApplication",
152
93
  "outputs": [
153
94
  {
154
95
  "internalType": "bool",
155
- "name": "verifying",
96
+ "name": "isConfirmingApplication",
156
97
  "type": "bool"
157
98
  }
158
99
  ],
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
3
+ "buildInfo": "../../../build-info/ce7db40ae97aa24df12e0a58cae71404.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/ce7db40ae97aa24df12e0a58cae71404.json"
4
4
  }
@@ -27,7 +27,7 @@
27
27
  },
28
28
  {
29
29
  "internalType": "bool",
30
- "name": "verifying",
30
+ "name": "isConfirmingApplication",
31
31
  "type": "bool"
32
32
  },
33
33
  {
@@ -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,128 @@
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": "bool",
498
+ "name": "isConfirmingApplication",
499
+ "type": "bool"
500
+ },
501
+ {
502
+ "internalType": "address",
503
+ "name": "wallet",
504
+ "type": "address"
505
+ }
506
+ ],
507
+ "internalType": "struct ISetup.PoolSetupInfo",
508
+ "name": "setupInfo",
509
+ "type": "tuple"
510
+ }
511
+ ],
512
+ "stateMutability": "view",
513
+ "type": "function"
514
+ },
384
515
  {
385
516
  "inputs": [],
386
517
  "name": "getToken",
@@ -409,17 +540,24 @@
409
540
  },
410
541
  {
411
542
  "inputs": [],
412
- "name": "isVerifying",
543
+ "name": "isConfirmingApplication",
413
544
  "outputs": [
414
545
  {
415
546
  "internalType": "bool",
416
- "name": "verifying",
547
+ "name": "isConfirmingApplication",
417
548
  "type": "bool"
418
549
  }
419
550
  ],
420
551
  "stateMutability": "view",
421
552
  "type": "function"
422
553
  },
554
+ {
555
+ "inputs": [],
556
+ "name": "linkToRegisteredNftId",
557
+ "outputs": [],
558
+ "stateMutability": "nonpayable",
559
+ "type": "function"
560
+ },
423
561
  {
424
562
  "inputs": [],
425
563
  "name": "lock",
@@ -540,6 +678,19 @@
540
678
  "stateMutability": "nonpayable",
541
679
  "type": "function"
542
680
  },
681
+ {
682
+ "inputs": [
683
+ {
684
+ "internalType": "NftId",
685
+ "name": "productNftId",
686
+ "type": "uint96"
687
+ }
688
+ ],
689
+ "name": "setProductNftId",
690
+ "outputs": [],
691
+ "stateMutability": "nonpayable",
692
+ "type": "function"
693
+ },
543
694
  {
544
695
  "inputs": [
545
696
  {
@@ -595,8 +746,42 @@
595
746
  "type": "function"
596
747
  }
597
748
  ],
598
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162001df038038062001df08339810160408190526200003491620007ed565b898989608c6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558a8560408051602081019091526000815262000096878786868686620004a2565b6000620000ca7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156200011a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200014491908101906200095e565b6080810151600580546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152630de7806f60e41b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d2919062000a44565b620001fe5760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600560009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000252573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000278919062000a69565b600180546001600160a01b03199081166001600160a01b0393841617825560038054309083161790556004805490911692891692909217909155631b1599eb60e21b60009081526020527f82dc1aafdf8e16d475718790c9464a2912866acb395e292abd1ea37be80f5b28805460ff191690911790555050600580548d1515600160a01b0260ff60a01b198216811790925560068d90558b516007556020808d01516008558b516009558b810151600a558a51600b558a810151600c5560408051636b9bf08b60e01b815290516001600160a01b0394851694909316939093179850636b9bf08b9750600480840197509095509093509083900301905081865afa1580156200038b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003b1919062000a69565b600d80546001600160a01b0319166001600160a01b0392831617905560055460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa15801562000410573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000436919062000a69565b600e80546001600160a01b0319166001600160a01b0392909216919091179055638165cf9760e01b60009081526020527fdbb0e9856bd1e431ccdf71c70f456d2f44178629ace27e773b679a35c573f774805460ff191660011790555050505050505050505062000be4565b6001600160a01b038616620004fa5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f00000000006044820152606401620001f5565b6040516301ffc9a760e01b8152636882e63f60e11b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa15801562000548573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200056e919062000a44565b620005bc5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620001f5565b6001600160a01b03818116600160a01b6001600160601b0389168102919091177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3009081557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30180546001600160a01b031961ffff60a01b1990911660ff8b1690940260ff60a81b191693909317600160a81b8915150217929092169286169290921790557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3026200068c848262000b18565b5063a6d3826560e01b60009081526020527f164a5a3a3a16df858f794c5fc01b962add2c2151ae53ddb31581eabdf1156730805460ff191660011790555050505050505050565b6001600160a01b0381168114620006e957600080fd5b50565b8051620006f981620006d3565b919050565b80516001600160601b0381168114620006f957600080fd5b80518015158114620006f957600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000762576200076262000727565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000793576200079362000727565b604052919050565b600060408284031215620007ae57600080fd5b604080519081016001600160401b0381118282101715620007d357620007d362000727565b604052825181526020928301519281019290925250919050565b6000806000806000806000806000806101a08b8d0312156200080e57600080fd5b8a516200081b81620006d3565b99506200082b60208c01620006fe565b985060408b01516200083d81620006d3565b97506200084d60608c0162000716565b96506200085d60808c0162000716565b955060a08b01519450620008758c60c08d016200079b565b9350620008878c6101008d016200079b565b9250620008998c6101408d016200079b565b91506101808b0151620008ac81620006d3565b809150509295989b9194979a5092959850565b805160ff81168114620006f957600080fd5b600082601f830112620008e357600080fd5b81516001600160401b03811115620008ff57620008ff62000727565b602062000915601f8301601f1916820162000768565b82815285828487010111156200092a57600080fd5b60005b838110156200094a5785810183015182820184015282016200092d565b506000928101909101919091529392505050565b6000602082840312156200097157600080fd5b81516001600160401b03808211156200098957600080fd5b9083019060e082860312156200099e57600080fd5b620009a86200073d565b620009b383620006fe565b8152620009c360208401620006fe565b6020820152620009d660408401620008bf565b6040820152620009e96060840162000716565b6060820152620009fc60808401620006ec565b608082015262000a0f60a08401620006ec565b60a082015260c08301518281111562000a2757600080fd5b62000a3587828601620008d1565b60c08301525095945050505050565b60006020828403121562000a5757600080fd5b62000a628262000716565b9392505050565b60006020828403121562000a7c57600080fd5b815162000a6281620006d3565b600181811c9082168062000a9e57607f821691505b60208210810362000abf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b1357600081815260208120601f850160051c8101602086101562000aee5750805b601f850160051c820191505b8181101562000b0f5782815560010162000afa565b5050505b505050565b81516001600160401b0381111562000b345762000b3462000727565b62000b4c8162000b45845462000a89565b8462000ac5565b602080601f83116001811462000b84576000841562000b6b5750858301515b600019600386901b1c1916600185901b17855562000b0f565b600085815260208120601f198616915b8281101562000bb55788860151825594840194600190910190840162000b94565b508582101562000bd45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6111fc8062000bf46000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806365effc1a116100ad578063d7f5e60911610071578063d7f5e6091461027a578063dab123251461028d578063db8d55f1146102a3578063de7b5d14146102e9578063f83d08ba146102fa57600080fd5b806365effc1a14610232578063826787661461024557806387ef9ba014610258578063893d20e81461026a578063a69df4b51461027257600080fd5b806321df0da7116100f457806321df0da7146101c657806354afef63146101d75780635ab1bd53146101df578063636450f5146101fd578063644c45e01461021257600080fd5b806301ffc9a7146101265780630fec111c14610168578063132996041461017e5780631eff4b22146101a3575b600080fd5b610153610134366004610aed565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610302565b60405161015f929190610b64565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101b86000805160206111a783398151915281565b60405190815260200161015f565b6004546001600160a01b031661018b565b6006546101b8565b6000805160206111a7833981519152546001600160a01b031661018b565b61021061020b366004610cb6565b6103b8565b005b61021a610420565b6040516001600160601b03909116815260200161015f565b610210610240366004610d79565b6104a0565b610210610253366004610df7565b61051b565b600554600160a01b900460ff16610153565b61018b6105e0565b61021061065b565b61021a610288366004610e3d565b6106ed565b61015361029b366004610e9f565b600192915050565b6102ab610777565b60405161015f93929190835181526020938401518482015282516040820152918301516060830152805160808301529091015160a082015260c00190565b6005546001600160a01b031661018b565b6102106108d0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610346610938565b604080518082018252600554600160a01b900460ff16151581526006546020808301919091526003546004549351959750939550869461039f9492936001600160a01b03938416931691600791600991600b9101610f03565b6040516020818303038152906040529350935050509091565b600d5460405163636450f560e01b81526001600160a01b039091169063636450f5906103ea9085908590600401610f70565b600060405180830381600087803b15801561040457600080fd5b505af1158015610418573d6000803e3d6000fd5b505050505050565b60006000805160206111a783398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190610fa7565b905090565b600e546001600160a01b031633146105095760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084015b60405180910390fd5b61051584848484610a9f565b50505050565b6105236105e0565b6001600160a01b0316336001600160a01b0316146105535760405162461bcd60e51b815260040161050090610fc4565b600d54604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156105c357600080fd5b505af11580156105d7573d6000803e3d6000fd5b50505050505050565b60006000805160206111a783398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190611010565b6106636105e0565b6001600160a01b0316336001600160a01b0316146106935760405162461bcd60e51b815260040161050090610fc4565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156106d957600080fd5b505af1158015610515573d6000803e3d6000fd5b600d5460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d539061072a9084908a908a908a908a9060040161102d565b6020604051808303816000875af1158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190610fa7565b9695505050505050565b6040805180820190915260008082526020820152604080518082019091526000808252602082015260408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff56107cf610420565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190610fa7565b60055460405163f2b246c360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b391906110ad565b60a081015160c082015160e0909201519097919650945092505050565b6108d86105e0565b6001600160a01b0316336001600160a01b0316146109085760405162461bcd60e51b815260040161050090610fc4565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016106bf565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060006000805160206111a783398151915290506040518060e0016040528061099b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610a059061116c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a319061116c565b8015610a7e5780601f10610a5357610100808354040283529160200191610a7e565b820191906000526020600020905b815481529060010190602001808311610a6157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610aff57600080fd5b81356001600160e01b031981168114610b1757600080fd5b9392505050565b6000815180845260005b81811015610b4457602081850181015186830182015201610b28565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610ba860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610bee610120840182610b1e565b90508281036020840152610c028185610b1e565b95945050505050565b6001600160601b0381168114610c2057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b60405290565b604051610120810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b600060408284031215610c9857600080fd5b610ca0610c39565b9050813581526020820135602082015292915050565b60008060608385031215610cc957600080fd5b8235610cd481610c0b565b9150610ce38460208501610c86565b90509250929050565b600082601f830112610cfd57600080fd5b813567ffffffffffffffff80821115610d1857610d18610c23565b604051601f8301601f19908116603f01168101908282118183101715610d4057610d40610c23565b81604052838152866020858801011115610d5957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610d8f57600080fd5b8435610d9a81610c0b565b9350602085013567ffffffffffffffff80821115610db757600080fd5b610dc388838901610cec565b94506040870135915080821115610dd957600080fd5b50610de687828801610cec565b949793965093946060013593505050565b600080600060c08486031215610e0c57600080fd5b610e168585610c86565b9250610e258560408601610c86565b9150610e348560808601610c86565b90509250925092565b60008060008060a08587031215610e5357600080fd5b610e5d8686610c86565b93506040850135925060608501359150608085013567ffffffffffffffff811115610e8757600080fd5b610e9387828801610cec565b91505092959194509250565b60008060408385031215610eb257600080fd5b823567ffffffffffffffff80821115610eca57600080fd5b610ed686838701610cec565b93506020850135915080821115610eec57600080fd5b50610ef985828601610cec565b9150509250929050565b865115158152602080880151908201526001600160a01b0386811660408301528516606082015283546080820152600184015460a08201526101408101835460c0830152600184015460e0830152825461010083015260018301546101208301525b979650505050505050565b6001600160601b038316815260608101610b17602083018480518252602090810151910152565b8051610fa281610c0b565b919050565b600060208284031215610fb957600080fd5b8151610b1781610c0b565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6001600160a01b0381168114610c2057600080fd5b60006020828403121561102257600080fd5b8151610b1781610ffb565b6001600160a01b0386168152611050602082018680518252602090810151910152565b83606082015282608082015260c060a08201526000610f6560c0830184610b1e565b8051610fa281610ffb565b60006040828403121561108f57600080fd5b611097610c39565b9050815181526020820151602082015292915050565b60006101e082840312156110c057600080fd5b6110c8610c62565b6110d183610f97565b81526110df60208401610f97565b60208201526110f060408401611072565b6040820152611102846060850161107d565b60608201526111148460a0850161107d565b60808201526111268460e0850161107d565b60a082015261113984610120850161107d565b60c082015261114c84610160850161107d565b60e082015261115f846101a0850161107d565b6101008201529392505050565b600181811c9082168061118057607f821691505b6020821081036111a057634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220267ed565f8f4a0d49ce2e88bd4c9d9a0df025cd3dd6f3f9335600c755a51441e64736f6c63430008140033",
599
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101215760003560e01c806365effc1a116100ad578063d7f5e60911610071578063d7f5e6091461027a578063dab123251461028d578063db8d55f1146102a3578063de7b5d14146102e9578063f83d08ba146102fa57600080fd5b806365effc1a14610232578063826787661461024557806387ef9ba014610258578063893d20e81461026a578063a69df4b51461027257600080fd5b806321df0da7116100f457806321df0da7146101c657806354afef63146101d75780635ab1bd53146101df578063636450f5146101fd578063644c45e01461021257600080fd5b806301ffc9a7146101265780630fec111c14610168578063132996041461017e5780631eff4b22146101a3575b600080fd5b610153610134366004610aed565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610170610302565b60405161015f929190610b64565b6003546001600160a01b03165b6040516001600160a01b03909116815260200161015f565b6101b86000805160206111a783398151915281565b60405190815260200161015f565b6004546001600160a01b031661018b565b6006546101b8565b6000805160206111a7833981519152546001600160a01b031661018b565b61021061020b366004610cb6565b6103b8565b005b61021a610420565b6040516001600160601b03909116815260200161015f565b610210610240366004610d79565b6104a0565b610210610253366004610df7565b61051b565b600554600160a01b900460ff16610153565b61018b6105e0565b61021061065b565b61021a610288366004610e3d565b6106ed565b61015361029b366004610e9f565b600192915050565b6102ab610777565b60405161015f93929190835181526020938401518482015282516040820152918301516060830152805160808301529091015160a082015260c00190565b6005546001600160a01b031661018b565b6102106108d0565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610346610938565b604080518082018252600554600160a01b900460ff16151581526006546020808301919091526003546004549351959750939550869461039f9492936001600160a01b03938416931691600791600991600b9101610f03565b6040516020818303038152906040529350935050509091565b600d5460405163636450f560e01b81526001600160a01b039091169063636450f5906103ea9085908590600401610f70565b600060405180830381600087803b15801561040457600080fd5b505af1158015610418573d6000803e3d6000fd5b505050505050565b60006000805160206111a783398151915254604051636939560f60e11b81523060048201526001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190610fa7565b905090565b600e546001600160a01b031633146105095760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084015b60405180910390fd5b61051584848484610a9f565b50505050565b6105236105e0565b6001600160a01b0316336001600160a01b0316146105535760405162461bcd60e51b815260040161050090610fc4565b600d54604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156105c357600080fd5b505af11580156105d7573d6000803e3d6000fd5b50505050505050565b60006000805160206111a783398151915254604051630a57ebcf60e11b81523060048201526001600160a01b03909116906314afd79e90602401602060405180830381865afa158015610637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190611010565b6106636105e0565b6001600160a01b0316336001600160a01b0316146106935760405162461bcd60e51b815260040161050090610fc4565b600154604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156106d957600080fd5b505af1158015610515573d6000803e3d6000fd5b600d5460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d539061072a9084908a908a908a908a9060040161102d565b6020604051808303816000875af1158015610749573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076d9190610fa7565b9695505050505050565b6040805180820190915260008082526020820152604080518082019091526000808252602082015260408051808201909152600080825260208201526005546000906001600160a01b0316639ae31ff56107cf610420565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610813573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108379190610fa7565b60055460405163f2b246c360e01b81526001600160601b03831660048201529192506000916001600160a01b039091169063f2b246c3906024016101e060405180830381865afa15801561088f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b391906110ad565b60a081015160c082015160e0909201519097919650945092505050565b6108d86105e0565b6001600160a01b0316336001600160a01b0316146109085760405162461bcd60e51b815260040161050090610fc4565b60015460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016106bf565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060006000805160206111a783398151915290506040518060e0016040528061099b600090565b6001600160601b0390811682528354600160a01b908190049091166020830152600184015490810460ff9081166040840152600160a81b820416151560608301523060808301526001600160a01b031660a082015260028301805460c090920191610a059061116c565b80601f0160208091040260200160405190810160405280929190818152602001828054610a319061116c565b8015610a7e5780601f10610a5357610100808354040283529160200191610a7e565b820191906000526020600020905b815481529060010190602001808311610a6157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610aff57600080fd5b81356001600160e01b031981168114610b1757600080fd5b9392505050565b6000815180845260005b81811015610b4457602081850181015186830182015201610b28565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610ba860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610bee610120840182610b1e565b90508281036020840152610c028185610b1e565b95945050505050565b6001600160601b0381168114610c2057600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b60405290565b604051610120810167ffffffffffffffff81118282101715610c5c57610c5c610c23565b600060408284031215610c9857600080fd5b610ca0610c39565b9050813581526020820135602082015292915050565b60008060608385031215610cc957600080fd5b8235610cd481610c0b565b9150610ce38460208501610c86565b90509250929050565b600082601f830112610cfd57600080fd5b813567ffffffffffffffff80821115610d1857610d18610c23565b604051601f8301601f19908116603f01168101908282118183101715610d4057610d40610c23565b81604052838152866020858801011115610d5957600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060808587031215610d8f57600080fd5b8435610d9a81610c0b565b9350602085013567ffffffffffffffff80821115610db757600080fd5b610dc388838901610cec565b94506040870135915080821115610dd957600080fd5b50610de687828801610cec565b949793965093946060013593505050565b600080600060c08486031215610e0c57600080fd5b610e168585610c86565b9250610e258560408601610c86565b9150610e348560808601610c86565b90509250925092565b60008060008060a08587031215610e5357600080fd5b610e5d8686610c86565b93506040850135925060608501359150608085013567ffffffffffffffff811115610e8757600080fd5b610e9387828801610cec565b91505092959194509250565b60008060408385031215610eb257600080fd5b823567ffffffffffffffff80821115610eca57600080fd5b610ed686838701610cec565b93506020850135915080821115610eec57600080fd5b50610ef985828601610cec565b9150509250929050565b865115158152602080880151908201526001600160a01b0386811660408301528516606082015283546080820152600184015460a08201526101408101835460c0830152600184015460e0830152825461010083015260018301546101208301525b979650505050505050565b6001600160601b038316815260608101610b17602083018480518252602090810151910152565b8051610fa281610c0b565b919050565b600060208284031215610fb957600080fd5b8151610b1781610c0b565b60208082526017908201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6001600160a01b0381168114610c2057600080fd5b60006020828403121561102257600080fd5b8151610b1781610ffb565b6001600160a01b0386168152611050602082018680518252602090810151910152565b83606082015282608082015260c060a08201526000610f6560c0830184610b1e565b8051610fa281610ffb565b60006040828403121561108f57600080fd5b611097610c39565b9050815181526020820151602082015292915050565b60006101e082840312156110c057600080fd5b6110c8610c62565b6110d183610f97565b81526110df60208401610f97565b60208201526110f060408401611072565b6040820152611102846060850161107d565b60608201526111148460a0850161107d565b60808201526111268460e0850161107d565b60a082015261113984610120850161107d565b60c082015261114c84610160850161107d565b60e082015261115f846101a0850161107d565b6101008201529392505050565b600181811c9082168061118057607f821691505b6020821081036111a057634e487b7160e01b600052602260045260246000fd5b5091905056fe6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300a2646970667358221220267ed565f8f4a0d49ce2e88bd4c9d9a0df025cd3dd6f3f9335600c755a51441e64736f6c63430008140033",
600
- "linkReferences": {},
601
- "deployedLinkReferences": {}
749
+ "bytecode": "0x60806040523480156200001157600080fd5b50604051620027b0380380620027b08339810160408190526200003491620008e3565b898989608c8a856200006c6301ffc9a760e01b600090815260205260008051602062002790833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009d878786868686620004ca565b6000620000b26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000102573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012c919081019062000a54565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263aa67ed7b60e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba919062000b3a565b620001e65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000260919062000b5f565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055634c0cba3d60e11b60009081526020527f8605f84a1fdbc6ff75d8a06315d161884729b429561b502d19c5a33135142c3a805460ff1916600117905550506008805460ff19168d1515179055505050600988905550508451600a5550602080850151600b558351600c5583810151600d558251600e55820151600f5560405188906200032690620007be565b6001600160a01b039091168152602001604051809103906000f08015801562000353573d6000803e3d6000fd5b50601080546001600160a01b0319166001600160a01b0392831617905560075460408051636b9bf08b60e01b815290519190921691636b9bf08b9160048083019260209291908290030181865afa158015620003b3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d9919062000b5f565b601180546001600160a01b0319166001600160a01b0392831617905560075460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa15801562000438573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045e919062000b5f565b601280546001600160a01b0319166001600160a01b0392909216919091179055630b3506e360e01b60009081526020527f6ebdbb83e7117c53e41822f4ab4ade5cd2dce1a5e2e70971e3bc361182ed77c2805460ff191660011790555050505050505050505062000cda565b620004fb6301ffc9a760e01b600090815260205260008051602062002790833981519152805460ff19166001179055565b620005078287620005cc565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000586838262000c0e565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b6001600160a01b038216620006245760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401620001dd565b600280546001600160a01b0319166001600160a01b0384161790556200064a816200064e565b5050565b6001546001600160a01b031615620006895760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001dd565b6001600160a01b038116620006b15760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620006e95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000766575060408051601f3d908101601f19168201909252620007639181019062000b3a565b60015b620007905760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b806200064a5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001dd565b50565b6103fd806200239383390190565b6001600160a01b0381168114620007bb57600080fd5b8051620007ef81620007cc565b919050565b80516001600160601b0381168114620007ef57600080fd5b80518015158114620007ef57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156200085857620008586200081d565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200088957620008896200081d565b604052919050565b600060408284031215620008a457600080fd5b604080519081016001600160401b0381118282101715620008c957620008c96200081d565b604052825181526020928301519281019290925250919050565b6000806000806000806000806000806101a08b8d0312156200090457600080fd5b8a516200091181620007cc565b99506200092160208c01620007f4565b985060408b01516200093381620007cc565b97506200094360608c016200080c565b96506200095360808c016200080c565b955060a08b015194506200096b8c60c08d0162000891565b93506200097d8c6101008d0162000891565b92506200098f8c6101408d0162000891565b91506101808b0151620009a281620007cc565b809150509295989b9194979a5092959850565b805160ff81168114620007ef57600080fd5b600082601f830112620009d957600080fd5b81516001600160401b03811115620009f557620009f56200081d565b602062000a0b601f8301601f191682016200085e565b828152858284870101111562000a2057600080fd5b60005b8381101562000a4057858101830151828201840152820162000a23565b506000928101909101919091529392505050565b60006020828403121562000a6757600080fd5b81516001600160401b038082111562000a7f57600080fd5b9083019060e0828603121562000a9457600080fd5b62000a9e62000833565b62000aa983620007f4565b815262000ab960208401620007f4565b602082015262000acc60408401620009b5565b604082015262000adf606084016200080c565b606082015262000af260808401620007e2565b608082015262000b0560a08401620007e2565b60a082015260c08301518281111562000b1d57600080fd5b62000b2b87828601620009c7565b60c08301525095945050505050565b60006020828403121562000b4d57600080fd5b62000b58826200080c565b9392505050565b60006020828403121562000b7257600080fd5b815162000b5881620007cc565b600181811c9082168062000b9457607f821691505b60208210810362000bb557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c0957600081815260208120601f850160051c8101602086101562000be45750805b601f850160051c820191505b8181101562000c055782815560010162000bf0565b5050505b505050565b81516001600160401b0381111562000c2a5762000c2a6200081d565b62000c428162000c3b845462000b7f565b8462000bbb565b602080601f83116001811462000c7a576000841562000c615750858301515b600019600386901b1c1916600185901b17855562000c05565b600085815260208120601f198616915b8281101562000cab5788860151825594840194600190910190840162000c8a565b508582101562000cca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6116a98062000cea6000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c8063644c45e0116100b8578063c200b8091161007c578063c200b809146102cc578063d6320725146102e1578063d7f5e609146102ec578063dab12325146102ff578063de7b5d1414610315578063f83d08ba1461032657600080fd5b8063644c45e01461027e57806365effc1a1461029657806382678766146102a9578063893d20e8146102bc578063a69df4b5146102c457600080fd5b80631eff4b221161010a5780631eff4b22146101f957806321df0da71461022e5780632a65c6881461023f57806354afef63146102525780635ab1bd531461025a578063636450f51461026b57600080fd5b806251884a1461014657806301ffc9a7146101775780630fec111c146101b457806313299604146101ca578063138461e0146101ef575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101a4610185366004610f56565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161016e565b6101bc61032e565b60405161016e929190610fcd565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161016e565b6101f7610441565b005b6102207f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016e565b6006546001600160a01b03166101d7565b6101f761024d36600461108c565b610663565b600954610220565b6001546001600160a01b03166101d7565b6101f761027936600461113c565b6107b2565b600154600160a01b90046001600160601b031661015a565b6101f76102a43660046111ff565b61081a565b6101f76102b736600461127d565b610890565b6101d7610958565b6101f7610a76565b6102d4610b0b565b60405161016e91906112c3565b60085460ff166101a4565b61015a6102fa366004611382565b610c8d565b6101a461030d3660046113e4565b600192915050565b6007546001600160a01b03166101d7565b6101f7610d17565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610371610d82565b506040805161012081018252600754600160a01b90046001600160601b031681526010546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d5481830152608084015283518085018552600e548152600f548183015260a0840152600060c084015260085460ff16151560e08401526005549091166101008301529151929350839261042992016112c3565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156104a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c7919061145d565b1561050e576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105375760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a4919061145d565b6105cc576040516372657a5160e01b81526001600160a01b0382166004820152602401610505565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610616573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063a9190611483565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b61066b610958565b6001600160a01b0316336001600160a01b03161461069e5760405163700dd81160e01b8152336004820152602401610505565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af415801561071a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073e919061145d565b61078a5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c7265616479207365740000000000006044820152606401610505565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60115460405163636450f560e01b81526001600160a01b039091169063636450f5906107e490859085906004016114a0565b600060405180830381600087803b1580156107fe57600080fd5b505af1158015610812573d6000803e3d6000fd5b505050505050565b6012546001600160a01b0316331461087e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610505565b61088a84848484610f08565b50505050565b610898610958565b6001600160a01b0316336001600160a01b0316146108cb5760405163700dd81160e01b8152336004820152602401610505565b601154604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b15801561093b57600080fd5b505af115801561094f573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e1919061145d565b15610a6657600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610a3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6191906114e7565b905090565b506002546001600160a01b031690565b610a7e610958565b6001600160a01b0316336001600160a01b031614610ab15760405163700dd81160e01b8152336004820152602401610505565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610af757600080fd5b505af115801561088a573d6000803e3d6000fd5b610b8560408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf391906114e7565b9050806001600160a01b03166355e343a9610c1e6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161018060405180830381865afa158015610c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c879190611534565b91505090565b60115460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cca9084908a908a908a908a906004016115e9565b6020604051808303816000875af1158015610ce9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0d9190611483565b9695505050505050565b610d1f610958565b6001600160a01b0316336001600160a01b031614610d525760405163700dd81160e01b8152336004820152602401610505565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610add565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e096001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e51610958565b6001600160a01b03168152602001826001018054610e6e90611639565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9a90611639565b8015610ee75780601f10610ebc57610100808354040283529160200191610ee7565b820191906000526020600020905b815481529060010190602001808311610eca57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610f6857600080fd5b81356001600160e01b031981168114610f8057600080fd5b9392505050565b6000815180845260005b81811015610fad57602081850181015186830182015201610f91565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161101160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611057610120840182610f87565b9050828103602084015261106b8185610f87565b95945050505050565b6001600160601b038116811461108957600080fd5b50565b60006020828403121561109e57600080fd5b8135610f8081611074565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110e2576110e26110a9565b60405290565b604051610120810167ffffffffffffffff811182821017156110e2576110e26110a9565b60006040828403121561111e57600080fd5b6111266110bf565b9050813581526020820135602082015292915050565b6000806060838503121561114f57600080fd5b823561115a81611074565b9150611169846020850161110c565b90509250929050565b600082601f83011261118357600080fd5b813567ffffffffffffffff8082111561119e5761119e6110a9565b604051601f8301601f19908116603f011681019082821181831017156111c6576111c66110a9565b816040528381528660208588010111156111df57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561121557600080fd5b843561122081611074565b9350602085013567ffffffffffffffff8082111561123d57600080fd5b61124988838901611172565b9450604087013591508082111561125f57600080fd5b5061126c87828801611172565b949793965093946060013593505050565b600080600060c0848603121561129257600080fd5b61129c858561110c565b92506112ab856040860161110c565b91506112ba856080860161110c565b90509250925092565b81516001600160601b031681526020808301516101808301916112f0908401826001600160a01b03169052565b50604083015160408301526060830151611317606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525092915050565b60008060008060a0858703121561139857600080fd5b6113a2868661110c565b93506040850135925060608501359150608085013567ffffffffffffffff8111156113cc57600080fd5b6113d887828801611172565b91505092959194509250565b600080604083850312156113f757600080fd5b823567ffffffffffffffff8082111561140f57600080fd5b61141b86838701611172565b9350602085013591508082111561143157600080fd5b5061143e85828601611172565b9150509250929050565b8051801515811461145857600080fd5b919050565b60006020828403121561146f57600080fd5b610f8082611448565b805161145881611074565b60006020828403121561149557600080fd5b8151610f8081611074565b6001600160601b038316815260608101610f80602083018480518252602090810151910152565b6001600160a01b038116811461108957600080fd5b8051611458816114c7565b6000602082840312156114f957600080fd5b8151610f80816114c7565b60006040828403121561151657600080fd5b61151e6110bf565b9050815181526020820151602082015292915050565b6000610180828403121561154757600080fd5b61154f6110e8565b61155883611478565b8152611566602084016114dc565b6020820152604083015160408201526115828460608501611504565b60608201526115948460a08501611504565b60808201526115a68460e08501611504565b60a08201526115b86101208401611448565b60c08201526115ca6101408401611448565b60e08201526115dc61016084016114dc565b6101008201529392505050565b6001600160a01b038616815261160c602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061162e60c0830184610f87565b979650505050505050565b600181811c9082168061164d57607f821691505b60208210810361166d57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212200c6ecef4b7abf4051e9808b4b49ae03a50a14af022b939964eedbb5d4341171664736f6c63430008140033608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea26469706673582212205dcbb6c5ddae5c31498dff1c0933ab8c0d284bb07f5e69fd452d43a18212e70964736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
750
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101415760003560e01c8063644c45e0116100b8578063c200b8091161007c578063c200b809146102cc578063d6320725146102e1578063d7f5e609146102ec578063dab12325146102ff578063de7b5d1414610315578063f83d08ba1461032657600080fd5b8063644c45e01461027e57806365effc1a1461029657806382678766146102a9578063893d20e8146102bc578063a69df4b5146102c457600080fd5b80631eff4b221161010a5780631eff4b22146101f957806321df0da71461022e5780632a65c6881461023f57806354afef63146102525780635ab1bd531461025a578063636450f51461026b57600080fd5b806251884a1461014657806301ffc9a7146101775780630fec111c146101b457806313299604146101ca578063138461e0146101ef575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101a4610185366004610f56565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161016e565b6101bc61032e565b60405161016e929190610fcd565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161016e565b6101f7610441565b005b6102207f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016e565b6006546001600160a01b03166101d7565b6101f761024d36600461108c565b610663565b600954610220565b6001546001600160a01b03166101d7565b6101f761027936600461113c565b6107b2565b600154600160a01b90046001600160601b031661015a565b6101f76102a43660046111ff565b61081a565b6101f76102b736600461127d565b610890565b6101d7610958565b6101f7610a76565b6102d4610b0b565b60405161016e91906112c3565b60085460ff166101a4565b61015a6102fa366004611382565b610c8d565b6101a461030d3660046113e4565b600192915050565b6007546001600160a01b03166101d7565b6101f7610d17565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610371610d82565b506040805161012081018252600754600160a01b90046001600160601b031681526010546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d5481830152608084015283518085018552600e548152600f548183015260a0840152600060c084015260085460ff16151560e08401526005549091166101008301529151929350839261042992016112c3565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156104a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c7919061145d565b1561050e576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105375760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a4919061145d565b6105cc576040516372657a5160e01b81526001600160a01b0382166004820152602401610505565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610616573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063a9190611483565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b61066b610958565b6001600160a01b0316336001600160a01b03161461069e5760405163700dd81160e01b8152336004820152602401610505565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af415801561071a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073e919061145d565b61078a5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c7265616479207365740000000000006044820152606401610505565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60115460405163636450f560e01b81526001600160a01b039091169063636450f5906107e490859085906004016114a0565b600060405180830381600087803b1580156107fe57600080fd5b505af1158015610812573d6000803e3d6000fd5b505050505050565b6012546001600160a01b0316331461087e5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b6064820152608401610505565b61088a84848484610f08565b50505050565b610898610958565b6001600160a01b0316336001600160a01b0316146108cb5760405163700dd81160e01b8152336004820152602401610505565b601154604051634133c3b360e11b8152845160048201526020808601516024830152845160448301528085015160648301528351608483015283015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b15801561093b57600080fd5b505af115801561094f573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e1919061145d565b15610a6657600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610a3d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6191906114e7565b905090565b506002546001600160a01b031690565b610a7e610958565b6001600160a01b0316336001600160a01b031614610ab15760405163700dd81160e01b8152336004820152602401610505565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610af757600080fd5b505af115801561088a573d6000803e3d6000fd5b610b8560408051610120810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a082019081526000602082018190526040820181905260609091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf391906114e7565b9050806001600160a01b03166355e343a9610c1e6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161018060405180830381865afa158015610c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c879190611534565b91505090565b60115460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cca9084908a908a908a908a906004016115e9565b6020604051808303816000875af1158015610ce9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0d9190611483565b9695505050505050565b610d1f610958565b6001600160a01b0316336001600160a01b031614610d525760405163700dd81160e01b8152336004820152602401610505565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610add565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e096001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e51610958565b6001600160a01b03168152602001826001018054610e6e90611639565b80601f0160208091040260200160405190810160405280929190818152602001828054610e9a90611639565b8015610ee75780601f10610ebc57610100808354040283529160200191610ee7565b820191906000526020600020905b815481529060010190602001808311610eca57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610f6857600080fd5b81356001600160e01b031981168114610f8057600080fd5b9392505050565b6000815180845260005b81811015610fad57602081850181015186830182015201610f91565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161101160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611057610120840182610f87565b9050828103602084015261106b8185610f87565b95945050505050565b6001600160601b038116811461108957600080fd5b50565b60006020828403121561109e57600080fd5b8135610f8081611074565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110e2576110e26110a9565b60405290565b604051610120810167ffffffffffffffff811182821017156110e2576110e26110a9565b60006040828403121561111e57600080fd5b6111266110bf565b9050813581526020820135602082015292915050565b6000806060838503121561114f57600080fd5b823561115a81611074565b9150611169846020850161110c565b90509250929050565b600082601f83011261118357600080fd5b813567ffffffffffffffff8082111561119e5761119e6110a9565b604051601f8301601f19908116603f011681019082821181831017156111c6576111c66110a9565b816040528381528660208588010111156111df57600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561121557600080fd5b843561122081611074565b9350602085013567ffffffffffffffff8082111561123d57600080fd5b61124988838901611172565b9450604087013591508082111561125f57600080fd5b5061126c87828801611172565b949793965093946060013593505050565b600080600060c0848603121561129257600080fd5b61129c858561110c565b92506112ab856040860161110c565b91506112ba856080860161110c565b90509250925092565b81516001600160601b031681526020808301516101808301916112f0908401826001600160a01b03169052565b50604083015160408301526060830151611317606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525092915050565b60008060008060a0858703121561139857600080fd5b6113a2868661110c565b93506040850135925060608501359150608085013567ffffffffffffffff8111156113cc57600080fd5b6113d887828801611172565b91505092959194509250565b600080604083850312156113f757600080fd5b823567ffffffffffffffff8082111561140f57600080fd5b61141b86838701611172565b9350602085013591508082111561143157600080fd5b5061143e85828601611172565b9150509250929050565b8051801515811461145857600080fd5b919050565b60006020828403121561146f57600080fd5b610f8082611448565b805161145881611074565b60006020828403121561149557600080fd5b8151610f8081611074565b6001600160601b038316815260608101610f80602083018480518252602090810151910152565b6001600160a01b038116811461108957600080fd5b8051611458816114c7565b6000602082840312156114f957600080fd5b8151610f80816114c7565b60006040828403121561151657600080fd5b61151e6110bf565b9050815181526020820151602082015292915050565b6000610180828403121561154757600080fd5b61154f6110e8565b61155883611478565b8152611566602084016114dc565b6020820152604083015160408201526115828460608501611504565b60608201526115948460a08501611504565b60808201526115a68460e08501611504565b60a08201526115b86101208401611448565b60c08201526115ca6101408401611448565b60e08201526115dc61016084016114dc565b6101008201529392505050565b6001600160a01b038616815261160c602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061162e60c0830184610f87565b979650505050505050565b600181811c9082168061164d57607f821691505b60208210810361166d57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212200c6ecef4b7abf4051e9808b4b49ae03a50a14af022b939964eedbb5d4341171664736f6c63430008140033",
751
+ "linkReferences": {
752
+ "contracts/types/NftId.sol": {
753
+ "NftIdLib": [
754
+ {
755
+ "length": 20,
756
+ "start": 4435
757
+ },
758
+ {
759
+ "length": 20,
760
+ "start": 5005
761
+ },
762
+ {
763
+ "length": 20,
764
+ "start": 5741
765
+ }
766
+ ]
767
+ }
768
+ },
769
+ "deployedLinkReferences": {
770
+ "contracts/types/NftId.sol": {
771
+ "NftIdLib": [
772
+ {
773
+ "length": 20,
774
+ "start": 1129
775
+ },
776
+ {
777
+ "length": 20,
778
+ "start": 1699
779
+ },
780
+ {
781
+ "length": 20,
782
+ "start": 2435
783
+ }
784
+ ]
785
+ }
786
+ }
602
787
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
3
+ "buildInfo": "../../../build-info/ce7db40ae97aa24df12e0a58cae71404.json"
4
4
  }