@etherisc/gif-next 0.0.2-f752d2a-551 → 0.0.2-f7b8c9f-436

Sign up to get free protection for your applications and to get access to all the features.
Files changed (282) hide show
  1. package/README.md +71 -0
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +166 -39
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +557 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +119 -39
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +177 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +108 -156
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +67 -139
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +417 -88
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +360 -51
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  36. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  37. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +913 -530
  38. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  39. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  40. package/artifacts/contracts/instance/Instance.sol/Instance.json +1043 -556
  41. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  42. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +224 -43
  43. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +51 -1
  45. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  47. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/IService.sol/IService.json +174 -53
  50. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +263 -45
  52. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  53. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +41 -23
  54. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  55. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  56. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
  57. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  58. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +220 -52
  59. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +55 -54
  64. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +56 -55
  67. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +22 -93
  69. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +22 -93
  72. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
  73. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
  74. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
  75. package/artifacts/contracts/instance/module/{compensation/ICompensation.sol/ICompensation.json → distribution/IDistribution.sol/IDistribution.json} +2 -2
  76. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
  77. package/artifacts/contracts/instance/module/{compensation/ICompensation.sol/ICompensationModule.json → distribution/IDistribution.sol/IDistributionModule.json} +2 -2
  78. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +61 -51
  81. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +61 -51
  83. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -14
  86. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -13
  88. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  90. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +104 -1
  91. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  92. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +126 -5
  93. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  94. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  95. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +326 -221
  96. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  97. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  98. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  99. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +326 -221
  100. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +350 -79
  102. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +630 -0
  104. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  105. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +176 -74
  106. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
  108. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  109. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +235 -50
  110. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  111. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +325 -51
  112. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  113. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +335 -53
  114. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  115. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +466 -71
  116. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
  118. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  119. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  120. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +298 -39
  122. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  123. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +745 -0
  124. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  126. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/Registry.sol/Registry.json +489 -120
  128. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  129. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +997 -0
  130. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +468 -0
  132. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  133. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  134. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  135. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  136. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  137. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  139. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  140. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  145. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  147. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  148. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  150. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  152. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
  153. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +557 -0
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  156. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestPool.sol/TestPool.json +417 -88
  158. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +407 -56
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  164. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestService.sol/TestService.json +267 -62
  166. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +89 -25
  171. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  172. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +50 -11
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  185. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
  186. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -0
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  188. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  196. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  198. package/contracts/components/BaseComponent.sol +12 -21
  199. package/contracts/components/Distribution.sol +155 -0
  200. package/contracts/components/IBaseComponent.sol +2 -2
  201. package/contracts/components/IDistributionComponent.sol +46 -0
  202. package/contracts/components/IPoolComponent.sol +15 -8
  203. package/contracts/components/IProductComponent.sol +26 -8
  204. package/contracts/components/Pool.sol +99 -27
  205. package/contracts/components/Product.sol +204 -22
  206. package/contracts/instance/IInstance.sol +12 -10
  207. package/contracts/instance/Instance.sol +28 -9
  208. package/contracts/instance/base/ComponentServiceBase.sol +13 -6
  209. package/contracts/instance/base/IInstanceBase.sol +11 -2
  210. package/contracts/instance/base/IKeyValueStore.sol +4 -3
  211. package/contracts/instance/base/InstanceBase.sol +19 -10
  212. package/contracts/instance/base/KeyValueStore.sol +12 -7
  213. package/contracts/instance/base/Lifecycle.sol +15 -10
  214. package/contracts/instance/base/ModuleBase.sol +22 -17
  215. package/contracts/instance/base/ServiceBase.sol +20 -13
  216. package/contracts/instance/module/access/Access.sol +3 -3
  217. package/contracts/instance/module/bundle/BundleModule.sol +10 -12
  218. package/contracts/instance/module/bundle/IBundle.sol +6 -11
  219. package/contracts/instance/module/component/ComponentModule.sol +34 -58
  220. package/contracts/instance/module/component/IComponent.sol +7 -32
  221. package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
  222. package/contracts/instance/module/distribution/IDistribution.sol +10 -0
  223. package/contracts/instance/module/policy/IPolicy.sol +13 -10
  224. package/contracts/instance/module/policy/PolicyModule.sol +35 -20
  225. package/contracts/instance/module/pool/IPoolModule.sol +4 -4
  226. package/contracts/instance/module/pool/PoolModule.sol +23 -15
  227. package/contracts/instance/module/risk/IRisk.sol +18 -2
  228. package/contracts/instance/module/risk/RiskModule.sol +56 -2
  229. package/contracts/instance/module/treasury/ITreasury.sol +32 -51
  230. package/contracts/instance/module/treasury/TokenHandler.sol +2 -2
  231. package/contracts/instance/module/treasury/TreasuryModule.sol +68 -89
  232. package/contracts/instance/service/ComponentOwnerService.sol +200 -95
  233. package/contracts/instance/service/DistributionService.sol +54 -0
  234. package/contracts/instance/service/IComponentOwnerService.sol +0 -2
  235. package/contracts/instance/service/IDistributionService.sol +12 -0
  236. package/contracts/instance/service/IPoolService.sol +7 -0
  237. package/contracts/instance/service/IProductService.sol +56 -7
  238. package/contracts/instance/service/PoolService.sol +49 -23
  239. package/contracts/instance/service/ProductService.sol +248 -92
  240. package/contracts/registry/ChainNft.sol +43 -15
  241. package/contracts/registry/IChainNft.sol +3 -2
  242. package/contracts/registry/IRegistry.sol +42 -26
  243. package/contracts/registry/IRegistryService.sol +29 -0
  244. package/contracts/registry/ITransferInterceptor.sol +6 -0
  245. package/contracts/registry/Registry.sol +384 -274
  246. package/contracts/registry/RegistryService.sol +368 -0
  247. package/contracts/registry/RegistryServiceManager.sol +43 -0
  248. package/contracts/shared/ContractDeployerLib.sol +72 -0
  249. package/contracts/shared/ERC165.sol +1 -1
  250. package/contracts/shared/INftOwnable.sol +22 -0
  251. package/contracts/shared/IRegisterable.sol +9 -16
  252. package/contracts/shared/IVersionable.sol +55 -11
  253. package/contracts/shared/NftOwnable.sol +136 -0
  254. package/contracts/shared/ProxyManager.sol +94 -0
  255. package/contracts/shared/Registerable.sol +62 -59
  256. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  257. package/contracts/shared/Versionable.sol +112 -54
  258. package/contracts/test/TestDistribution.sol +22 -0
  259. package/contracts/test/TestPool.sol +7 -2
  260. package/contracts/test/TestProduct.sol +37 -7
  261. package/contracts/test/TestRegisterable.sol +5 -6
  262. package/contracts/test/TestService.sol +5 -11
  263. package/contracts/types/Fee.sol +8 -3
  264. package/contracts/types/ObjectType.sol +24 -8
  265. package/contracts/types/ReferralId.sol +48 -0
  266. package/contracts/types/RiskId.sol +43 -0
  267. package/contracts/types/RoleId.sol +2 -2
  268. package/contracts/types/Version.sol +9 -0
  269. package/package.json +1 -1
  270. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  271. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  272. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  273. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  274. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  275. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  276. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  277. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  278. package/contracts/experiment/statemachine/README.md +0 -112
  279. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  280. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  281. package/contracts/registry/IRegistryLinked.sol +0 -8
  282. package/contracts/shared/IOwnable.sol +0 -6
@@ -3,6 +3,194 @@
3
3
  "contractName": "Registry",
4
4
  "sourceName": "contracts/registry/Registry.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registryOwner",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "VersionPart",
15
+ "name": "majorVersion",
16
+ "type": "uint8"
17
+ }
18
+ ],
19
+ "stateMutability": "nonpayable",
20
+ "type": "constructor"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "objectAddress",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ContractAlreadyRegistered",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "VersionPart",
37
+ "name": "majorVersion",
38
+ "type": "uint8"
39
+ }
40
+ ],
41
+ "name": "InvalidServiceVersion",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "ObjectType",
48
+ "name": "objectType",
49
+ "type": "uint8"
50
+ },
51
+ {
52
+ "internalType": "ObjectType",
53
+ "name": "parentType",
54
+ "type": "uint8"
55
+ }
56
+ ],
57
+ "name": "InvalidTypesCombination",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "NotOwner",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "NftId",
69
+ "name": "registrarNftId",
70
+ "type": "uint96"
71
+ }
72
+ ],
73
+ "name": "NotRegisteredContract",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "NotRegistryService",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [
83
+ {
84
+ "internalType": "NftId",
85
+ "name": "registrarNftId",
86
+ "type": "uint96"
87
+ }
88
+ ],
89
+ "name": "NotService",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "string",
96
+ "name": "name",
97
+ "type": "string"
98
+ },
99
+ {
100
+ "internalType": "VersionPart",
101
+ "name": "majorVersion",
102
+ "type": "uint8"
103
+ }
104
+ ],
105
+ "name": "ServiceNameAlreadyRegistered",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "ZeroParentAddress",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "anonymous": false,
115
+ "inputs": [
116
+ {
117
+ "indexed": true,
118
+ "internalType": "NftId",
119
+ "name": "nftId",
120
+ "type": "uint96"
121
+ },
122
+ {
123
+ "indexed": false,
124
+ "internalType": "ObjectType",
125
+ "name": "objectType",
126
+ "type": "uint8"
127
+ }
128
+ ],
129
+ "name": "LogApproval",
130
+ "type": "event"
131
+ },
132
+ {
133
+ "anonymous": false,
134
+ "inputs": [
135
+ {
136
+ "indexed": true,
137
+ "internalType": "NftId",
138
+ "name": "nftId",
139
+ "type": "uint96"
140
+ },
141
+ {
142
+ "indexed": false,
143
+ "internalType": "NftId",
144
+ "name": "parentNftId",
145
+ "type": "uint96"
146
+ },
147
+ {
148
+ "indexed": false,
149
+ "internalType": "ObjectType",
150
+ "name": "objectType",
151
+ "type": "uint8"
152
+ },
153
+ {
154
+ "indexed": false,
155
+ "internalType": "bool",
156
+ "name": "isInterceptor",
157
+ "type": "bool"
158
+ },
159
+ {
160
+ "indexed": false,
161
+ "internalType": "address",
162
+ "name": "objectAddress",
163
+ "type": "address"
164
+ },
165
+ {
166
+ "indexed": false,
167
+ "internalType": "address",
168
+ "name": "initialOwner",
169
+ "type": "address"
170
+ }
171
+ ],
172
+ "name": "LogRegistration",
173
+ "type": "event"
174
+ },
175
+ {
176
+ "anonymous": false,
177
+ "inputs": [
178
+ {
179
+ "indexed": false,
180
+ "internalType": "string",
181
+ "name": "serviceName",
182
+ "type": "string"
183
+ },
184
+ {
185
+ "indexed": false,
186
+ "internalType": "VersionPart",
187
+ "name": "majorVersion",
188
+ "type": "uint8"
189
+ }
190
+ ],
191
+ "name": "LogServiceNameRegistration",
192
+ "type": "event"
193
+ },
6
194
  {
7
195
  "inputs": [],
8
196
  "name": "EMPTY_URI",
@@ -18,10 +206,23 @@
18
206
  },
19
207
  {
20
208
  "inputs": [],
21
- "name": "getChainNft",
209
+ "name": "MAJOR_VERSION_MIN",
22
210
  "outputs": [
23
211
  {
24
- "internalType": "contract IChainNft",
212
+ "internalType": "uint256",
213
+ "name": "",
214
+ "type": "uint256"
215
+ }
216
+ ],
217
+ "stateMutability": "view",
218
+ "type": "function"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "NFT_LOCK_ADDRESS",
223
+ "outputs": [
224
+ {
225
+ "internalType": "address",
25
226
  "name": "",
26
227
  "type": "address"
27
228
  }
@@ -31,15 +232,15 @@
31
232
  },
32
233
  {
33
234
  "inputs": [],
34
- "name": "getData",
235
+ "name": "REGISTRY_SERVICE_TOKEN_SEQUENCE_ID",
35
236
  "outputs": [
36
237
  {
37
- "internalType": "bytes",
38
- "name": "data",
39
- "type": "bytes"
238
+ "internalType": "uint256",
239
+ "name": "",
240
+ "type": "uint256"
40
241
  }
41
242
  ],
42
- "stateMutability": "pure",
243
+ "stateMutability": "view",
43
244
  "type": "function"
44
245
  },
45
246
  {
@@ -48,27 +249,55 @@
48
249
  "internalType": "NftId",
49
250
  "name": "nftId",
50
251
  "type": "uint96"
252
+ },
253
+ {
254
+ "internalType": "ObjectType",
255
+ "name": "object",
256
+ "type": "uint8"
51
257
  }
52
258
  ],
53
- "name": "getName",
259
+ "name": "allowance",
54
260
  "outputs": [
55
261
  {
56
- "internalType": "string",
57
- "name": "name",
58
- "type": "string"
262
+ "internalType": "bool",
263
+ "name": "",
264
+ "type": "bool"
59
265
  }
60
266
  ],
61
267
  "stateMutability": "view",
62
268
  "type": "function"
63
269
  },
64
270
  {
65
- "inputs": [],
66
- "name": "getNftId",
67
- "outputs": [
271
+ "inputs": [
68
272
  {
69
273
  "internalType": "NftId",
70
- "name": "nftId",
274
+ "name": "serviceNftId",
71
275
  "type": "uint96"
276
+ },
277
+ {
278
+ "internalType": "ObjectType",
279
+ "name": "objectType",
280
+ "type": "uint8"
281
+ },
282
+ {
283
+ "internalType": "ObjectType",
284
+ "name": "parentType",
285
+ "type": "uint8"
286
+ }
287
+ ],
288
+ "name": "approve",
289
+ "outputs": [],
290
+ "stateMutability": "nonpayable",
291
+ "type": "function"
292
+ },
293
+ {
294
+ "inputs": [],
295
+ "name": "getChainNft",
296
+ "outputs": [
297
+ {
298
+ "internalType": "contract IChainNft",
299
+ "name": "",
300
+ "type": "address"
72
301
  }
73
302
  ],
74
303
  "stateMutability": "view",
@@ -109,9 +338,9 @@
109
338
  {
110
339
  "inputs": [
111
340
  {
112
- "internalType": "NftId",
113
- "name": "nftId",
114
- "type": "uint96"
341
+ "internalType": "address",
342
+ "name": "object",
343
+ "type": "address"
115
344
  }
116
345
  ],
117
346
  "name": "getObjectInfo",
@@ -133,6 +362,11 @@
133
362
  "name": "objectType",
134
363
  "type": "uint8"
135
364
  },
365
+ {
366
+ "internalType": "bool",
367
+ "name": "isInterceptor",
368
+ "type": "bool"
369
+ },
136
370
  {
137
371
  "internalType": "address",
138
372
  "name": "objectAddress",
@@ -150,26 +384,13 @@
150
384
  }
151
385
  ],
152
386
  "internalType": "struct IRegistry.ObjectInfo",
153
- "name": "info",
387
+ "name": "",
154
388
  "type": "tuple"
155
389
  }
156
390
  ],
157
391
  "stateMutability": "view",
158
392
  "type": "function"
159
393
  },
160
- {
161
- "inputs": [],
162
- "name": "getOwner",
163
- "outputs": [
164
- {
165
- "internalType": "address",
166
- "name": "owner",
167
- "type": "address"
168
- }
169
- ],
170
- "stateMutability": "view",
171
- "type": "function"
172
- },
173
394
  {
174
395
  "inputs": [
175
396
  {
@@ -178,25 +399,49 @@
178
399
  "type": "uint96"
179
400
  }
180
401
  ],
181
- "name": "getOwner",
402
+ "name": "getObjectInfo",
182
403
  "outputs": [
183
404
  {
184
- "internalType": "address",
405
+ "components": [
406
+ {
407
+ "internalType": "NftId",
408
+ "name": "nftId",
409
+ "type": "uint96"
410
+ },
411
+ {
412
+ "internalType": "NftId",
413
+ "name": "parentNftId",
414
+ "type": "uint96"
415
+ },
416
+ {
417
+ "internalType": "ObjectType",
418
+ "name": "objectType",
419
+ "type": "uint8"
420
+ },
421
+ {
422
+ "internalType": "bool",
423
+ "name": "isInterceptor",
424
+ "type": "bool"
425
+ },
426
+ {
427
+ "internalType": "address",
428
+ "name": "objectAddress",
429
+ "type": "address"
430
+ },
431
+ {
432
+ "internalType": "address",
433
+ "name": "initialOwner",
434
+ "type": "address"
435
+ },
436
+ {
437
+ "internalType": "bytes",
438
+ "name": "data",
439
+ "type": "bytes"
440
+ }
441
+ ],
442
+ "internalType": "struct IRegistry.ObjectInfo",
185
443
  "name": "",
186
- "type": "address"
187
- }
188
- ],
189
- "stateMutability": "view",
190
- "type": "function"
191
- },
192
- {
193
- "inputs": [],
194
- "name": "getParentNftId",
195
- "outputs": [
196
- {
197
- "internalType": "NftId",
198
- "name": "nftId",
199
- "type": "uint96"
444
+ "type": "tuple"
200
445
  }
201
446
  ],
202
447
  "stateMutability": "view",
@@ -204,24 +449,11 @@
204
449
  },
205
450
  {
206
451
  "inputs": [],
207
- "name": "getProtocolOwner",
452
+ "name": "getOwner",
208
453
  "outputs": [
209
454
  {
210
455
  "internalType": "address",
211
- "name": "",
212
- "type": "address"
213
- }
214
- ],
215
- "stateMutability": "view",
216
- "type": "function"
217
- },
218
- {
219
- "inputs": [],
220
- "name": "getRegistry",
221
- "outputs": [
222
- {
223
- "internalType": "contract IRegistry",
224
- "name": "registry",
456
+ "name": "owner",
225
457
  "type": "address"
226
458
  }
227
459
  ],
@@ -245,7 +477,7 @@
245
477
  "outputs": [
246
478
  {
247
479
  "internalType": "address",
248
- "name": "serviceAddress",
480
+ "name": "",
249
481
  "type": "address"
250
482
  }
251
483
  ],
@@ -253,34 +485,22 @@
253
485
  "type": "function"
254
486
  },
255
487
  {
256
- "inputs": [],
257
- "name": "getType",
258
- "outputs": [
488
+ "inputs": [
259
489
  {
260
- "internalType": "ObjectType",
261
- "name": "objectType",
262
- "type": "uint8"
490
+ "internalType": "NftId",
491
+ "name": "nftId",
492
+ "type": "uint96"
263
493
  }
264
494
  ],
265
- "stateMutability": "pure",
266
- "type": "function"
267
- },
268
- {
269
- "inputs": [
270
- {
271
- "internalType": "address",
272
- "name": "chainNft",
273
- "type": "address"
274
- },
495
+ "name": "getServiceName",
496
+ "outputs": [
275
497
  {
276
- "internalType": "address",
277
- "name": "protocolOwner",
278
- "type": "address"
498
+ "internalType": "string",
499
+ "name": "",
500
+ "type": "string"
279
501
  }
280
502
  ],
281
- "name": "initialize",
282
- "outputs": [],
283
- "stateMutability": "nonpayable",
503
+ "stateMutability": "view",
284
504
  "type": "function"
285
505
  },
286
506
  {
@@ -322,24 +542,86 @@
322
542
  "type": "function"
323
543
  },
324
544
  {
325
- "inputs": [],
326
- "name": "register",
545
+ "inputs": [
546
+ {
547
+ "internalType": "address",
548
+ "name": "contractAddress",
549
+ "type": "address"
550
+ }
551
+ ],
552
+ "name": "ownerOf",
327
553
  "outputs": [
554
+ {
555
+ "internalType": "address",
556
+ "name": "",
557
+ "type": "address"
558
+ }
559
+ ],
560
+ "stateMutability": "view",
561
+ "type": "function"
562
+ },
563
+ {
564
+ "inputs": [
328
565
  {
329
566
  "internalType": "NftId",
330
567
  "name": "nftId",
331
568
  "type": "uint96"
332
569
  }
333
570
  ],
334
- "stateMutability": "pure",
571
+ "name": "ownerOf",
572
+ "outputs": [
573
+ {
574
+ "internalType": "address",
575
+ "name": "",
576
+ "type": "address"
577
+ }
578
+ ],
579
+ "stateMutability": "view",
335
580
  "type": "function"
336
581
  },
337
582
  {
338
583
  "inputs": [
339
584
  {
340
- "internalType": "address",
341
- "name": "objectAddress",
342
- "type": "address"
585
+ "components": [
586
+ {
587
+ "internalType": "NftId",
588
+ "name": "nftId",
589
+ "type": "uint96"
590
+ },
591
+ {
592
+ "internalType": "NftId",
593
+ "name": "parentNftId",
594
+ "type": "uint96"
595
+ },
596
+ {
597
+ "internalType": "ObjectType",
598
+ "name": "objectType",
599
+ "type": "uint8"
600
+ },
601
+ {
602
+ "internalType": "bool",
603
+ "name": "isInterceptor",
604
+ "type": "bool"
605
+ },
606
+ {
607
+ "internalType": "address",
608
+ "name": "objectAddress",
609
+ "type": "address"
610
+ },
611
+ {
612
+ "internalType": "address",
613
+ "name": "initialOwner",
614
+ "type": "address"
615
+ },
616
+ {
617
+ "internalType": "bytes",
618
+ "name": "data",
619
+ "type": "bytes"
620
+ }
621
+ ],
622
+ "internalType": "struct IRegistry.ObjectInfo",
623
+ "name": "info",
624
+ "type": "tuple"
343
625
  }
344
626
  ],
345
627
  "name": "register",
@@ -355,28 +637,55 @@
355
637
  },
356
638
  {
357
639
  "inputs": [
358
- {
359
- "internalType": "NftId",
360
- "name": "parentNftId",
361
- "type": "uint96"
362
- },
363
- {
364
- "internalType": "ObjectType",
365
- "name": "objectType",
366
- "type": "uint8"
367
- },
368
640
  {
369
641
  "internalType": "address",
370
- "name": "initialOwner",
642
+ "name": "from",
371
643
  "type": "address"
372
644
  },
373
645
  {
374
- "internalType": "bytes",
375
- "name": "data",
376
- "type": "bytes"
646
+ "components": [
647
+ {
648
+ "internalType": "NftId",
649
+ "name": "nftId",
650
+ "type": "uint96"
651
+ },
652
+ {
653
+ "internalType": "NftId",
654
+ "name": "parentNftId",
655
+ "type": "uint96"
656
+ },
657
+ {
658
+ "internalType": "ObjectType",
659
+ "name": "objectType",
660
+ "type": "uint8"
661
+ },
662
+ {
663
+ "internalType": "bool",
664
+ "name": "isInterceptor",
665
+ "type": "bool"
666
+ },
667
+ {
668
+ "internalType": "address",
669
+ "name": "objectAddress",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "internalType": "address",
674
+ "name": "initialOwner",
675
+ "type": "address"
676
+ },
677
+ {
678
+ "internalType": "bytes",
679
+ "name": "data",
680
+ "type": "bytes"
681
+ }
682
+ ],
683
+ "internalType": "struct IRegistry.ObjectInfo",
684
+ "name": "info",
685
+ "type": "tuple"
377
686
  }
378
687
  ],
379
- "name": "registerObjectForInstance",
688
+ "name": "registerFrom",
380
689
  "outputs": [
381
690
  {
382
691
  "internalType": "NftId",
@@ -403,30 +712,34 @@
403
712
  "type": "bool"
404
713
  }
405
714
  ],
406
- "stateMutability": "pure",
715
+ "stateMutability": "view",
407
716
  "type": "function"
408
717
  }
409
718
  ],
410
- "bytecode": "0x608060405234801561001057600080fd5b5061260b806100206000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80635ef14b5e116100b8578063bc36dc911161007c578063bc36dc91146102ad578063c3c5a547146102c5578063d272ac1e146102d8578063df33330b1461030a578063e74d052f1461031d578063f16f93c21461033057600080fd5b80635ef14b5e1461024e578063644c45e014610261578063893d20e814610272578063a3bcd81d1461027a578063a48f42e01461028d57600080fd5b806331b62a3b1161010a57806331b62a3b146101e55780633bc5de30146101ed5780633fe9300e1461020a5780634420e48614610220578063485cc955146102335780635ab1bd531461024857600080fd5b8063015654ff1461014757806301ffc9a71461017157806315dae03e146101a55780631a848cfb146101b45780631aa3a008146101ca575b600080fd5b600a546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b61019561017f36600461201a565b6001600160e01b0319166306ecd8ef60e01b1490565b6040519015158152602001610168565b60405160148152602001610168565b6101bc610348565b604051908152602001610168565b60005b6040516001600160601b039091168152602001610168565b6101cd6103c1565b6040805160208101909152600081525b604051610168919061209b565b6101fd6040518060200160405280600081525081565b6101cd61022e3660046120c6565b610488565b6102466102413660046120e3565b610c5c565b005b30610154565b6101cd61025c3660046121ed565b610d61565b6007546001600160601b03166101cd565b610154610fcf565b610154610288366004612276565b6110d2565b6102a061029b3660046122d1565b611128565b60405161016891906122ee565b600754600160601b90046001600160a01b0316610154565b6101956102d33660046120c6565b61126a565b6101cd6102e63660046120c6565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101546103183660046122d1565b611307565b61019561032b3660046122d1565b611408565b6101fd61033e3660046122d1565b611462565b905090565b60006007600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103439190612361565b60004660010361043d5760085460408051632cc7144960e11b81529051610343926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043a9190612361565b90565b60085460408051632e85b1f360e01b81529051610343926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b6001600160a01b038116600090815260026020526040808220549051630a4d29dd60e31b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e919061237a565b61056f5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152631dfba64760e11b600482015282906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156105bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e0919061237a565b61062c5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c4500006044820152606401610566565b6000816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561066c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610690919061239c565b60ff808216600090815260036020526040902054919250166106f45760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030343a545950455f494e56414c49440000000000006044820152606401610566565b6000826001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610734573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075891906123b9565b905061076381611408565b6107bb5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5245472d3030353a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401610566565b60ff80831660009081526004602090815260408083206001600160601b038616845283835281842054600160c01b9004851684529091529020541661084c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030363a504152454e545f545950455f494e56414c496044820152601160fa1b6064820152608401610566565b60006007600c9054906101000a90046001600160a01b03166001600160a01b031663d0def521856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d491906123d6565b604051806020016040528060008152506040518363ffffffff1660e01b81526004016109019291906123f3565b6020604051808303816000875af1158015610920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109449190612361565b90508094506109bc846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561098a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ae919061239c565b60285b60ff90811691161490565b15610c49576040516301ffc9a760e01b8152631b4612f160e31b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa158015610a0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a32919061237a565b610a7e5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a5245472d3030373a4e4f545f53455256494345000000000000006044820152606401610566565b6000816001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ae69190810190612447565b90506000826001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4c919061239c565b9050600082604051602001610b61919061209b565b60408051601f1981840301815291815281516020928301206001600160601b038c16600090815260059093529120909150610b9c8482612515565b50600081815260066020908152604080832060ff861684529091529020546001600160a01b031615610c105760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030383a414c52454144595f524547495354455245446044820152606401610566565b600090815260066020908152604080832060ff9490941683529290522080546001600160a01b0319166001600160a01b038a1617905550505b610c53848661150e565b50505050919050565b600754600160601b90046001600160a01b031615610cc65760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b6064820152608401610566565b60098054336001600160a01b031991821617909155600a805482166001600160a01b0384811691909117909155600780546001600160601b0316600160601b92861692830217905560088054909216179055610d206117e2565b610d286119de565b600780546bffffffffffffffffffffffff19166001600160601b0392909216919091179055610d55611b50565b610d5d611d02565b5050565b6000610d6e8460c86109b1565b80610d7f5750610d7f8460d26109b1565b610dcb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3031303a545950455f494e56414c49440000000000006044820152606401610566565b600754604080516020810182526000808252915163d0def52160e01b81529192600160601b90046001600160a01b03169163d0def52191610e11918891906004016123f3565b6020604051808303816000875af1158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e549190612361565b905080915060006040518060c00160405280846001600160601b03168152602001886001600160601b031681526020018760ff16815260200160006001600160a01b03168152602001866001600160a01b0316815260200185815250905080600080856001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816003019081610fc19190612515565b509050505050949350505050565b6007546040516330b8415f60e01b81526001600160601b03909116600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561102e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611052919061237a565b61106657506009546001600160a01b031690565b60075460405163df33330b60e01b81526001600160601b039091166004820152309063df33330b90602401602060405180830381865afa1580156110ae573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034391906123d6565b600080836040516020016110e6919061209b565b60408051601f19818403018152918152815160209283012060009081526006835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082019290925260a08101919091526001600160601b0382811660009081526020818152604091829020825160c08101845281548086168252600160601b810490951692810192909252600160c01b90930460ff169181019190915260018201546001600160a01b039081166060830152600283015416608082015260038201805491929160a0840191906111e190612490565b80601f016020809104026020016040519081016040528092919081815260200182805461120d90612490565b801561125a5780601f1061122f5761010080835404028352916020019161125a565b820191906000526020600020905b81548152906001019060200180831161123d57829003601f168201915b5050505050815250509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611301919061237a565b92915050565b60075460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af415801561137c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a091906123b9565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156113e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130191906123d6565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016112c0565b6001600160601b038116600090815260056020526040902080546060919061148990612490565b80601f01602080910402602001604051908101604052809291908181526020018280546114b590612490565b80156115025780601f106114d757610100808354040283529160200191611502565b820191906000526020600020905b8154815290600101906020018083116114e557829003601f168201915b50505050509050919050565b600082905060006040518060c00160405280846001600160601b03168152602001856001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561156d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159191906123b9565b6001600160601b03168152602001856001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611601919061239c565b60ff168152602001836001600160a01b03168152602001856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611656573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167a91906123d6565b6001600160a01b03168152602001856001600160a01b0316633bc5de306040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ee9190810190612447565b90526001600160601b038085166000908152602081815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820180546001600160a01b039283166001600160a01b031991821617909155608084015160028401805491909316911617905560a0820151919250829160038201906117a19082612515565b505050506001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b039290921691909117905550565b60085460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa15801561182c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118509190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b1580156118a257600080fd5b505af11580156118b6573d6000803e3d6000fd5b5050505060006118c38290565b905060006040518060c00160405280836001600160601b031681526020016118e9600090565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052600a546001600160a01b03908116604080870191909152805180840182528481526060968701526001600160601b03808a16855284845293819020875181549489015192890151909616600160c01b0260ff60c01b19928616600160601b026001600160c01b031990951696909516959095179290921791909116919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a0820151919250829160038201906119d69082612515565b505050505050565b600854604051630559ea4760e01b81526002600482015260009182916001600160a01b0390911690630559ea4790602401602060405180830381865afa158015611a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a509190612361565b9050809150600860009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611acc9190612361565b8114611ada57611ada611eb0565b600854600a546040516340c10f1960e01b81526001600160a01b039182166004820152602481018490529116906340c10f1990604401600060405180830381600087803b158015611b2a57600080fd5b505af1158015611b3e573d6000803e3d6000fd5b50505050611b4c308361150e565b5090565b600360208190527f0ffe031ee7f67944a037276fd51f48fcc2fe05a729c43144606bc8777da8014f8054600160ff1991821681179092557f6117fee2f1274e1b392d2c3fe842478040a980d896757f38cbfe2ceebfa9f55f80548216831790557ff787d5ff306ee7ea1d7b35b5cacd5a837646921c113945dbc3a3b6329ce4003380548216831790557f3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e80548216831790557f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6580548216831790557f6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e80548216831790557fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c80548216831790557fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805482168317905560c860009081527f4ee5ee9bffee16640c2540fd7f6965fdc66a7e5f780f34dcd70130941a3eae078054909216831790915590919060d25b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f6ccc4a05ba84db57b26e1eca724a26bc49e11eb3a3513975525da73fd093530d8054600160ff1991821681179092557f4c2b21eba089fcb614eba18217d4f3f95e42177ede89c079f86306b133497c3080548216831790557faa0e0fe5d9929c265201b796d5196a8fc79d16a288275314ff2973541d58721a80548216831790557f23854806efa1d194aae4b21bf1927e22d50453dfa23086ded38c40c8955c637e80548216831790557fbdc45962c4e89b26bf7a29a39eab560d17e5064145716460fdc5986ae2da49bc80548216831790557f41f7e94f80001b9d612ad252f2dc06b77c5cc502088b7ac7f3641fc95d4a34e180548216831790557f2662d582402060579dffef7773c6b43725228b20e70069c9a8314d21465c105280548216831790557fecd1272a2d7402e39704b78db8ea4bd00d629fbfc046e55cc6c9d5ee5e9e5e7880548216831790557f5e5bbf8b42bd7b6d1aeb3e362a8afc07dddf1cd72e2816d91748f633a63aabc0805490911682179055603c600090815260046020527f2fc109324a9702a6c6d9ee4cb191009203224963472d729f754fd607ea2f8fd0906082611cde565b60085460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015611efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1e9190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b158015611f7057600080fd5b505af1158015611f84573d6000803e3d6000fd5b505050506000611f918290565b905060006040518060c00160405280836001600160601b03168152602001612005600860009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015610416573d6000803e3d6000fd5b6001600160601b0316815260200160146118fa565b60006020828403121561202c57600080fd5b81356001600160e01b03198116811461204457600080fd5b9392505050565b60005b8381101561206657818101518382015260200161204e565b50506000910152565b6000815180845261208781602086016020860161204b565b601f01601f19169290920160200192915050565b602081526000612044602083018461206f565b6001600160a01b03811681146120c357600080fd5b50565b6000602082840312156120d857600080fd5b8135612044816120ae565b600080604083850312156120f657600080fd5b8235612101816120ae565b91506020830135612111816120ae565b809150509250929050565b6001600160601b03811681146120c357600080fd5b60ff811681146120c357600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561217f5761217f612140565b604052919050565b600067ffffffffffffffff8211156121a1576121a1612140565b50601f01601f191660200190565b60006121c26121bd84612187565b612156565b90508281528383830111156121d657600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561220357600080fd5b843561220e8161211c565b9350602085013561221e81612131565b9250604085013561222e816120ae565b9150606085013567ffffffffffffffff81111561224a57600080fd5b8501601f8101871361225b57600080fd5b61226a878235602084016121af565b91505092959194509250565b6000806040838503121561228957600080fd5b823567ffffffffffffffff8111156122a057600080fd5b8301601f810185136122b157600080fd5b6122c0858235602084016121af565b925050602083013561211181612131565b6000602082840312156122e357600080fd5b81356120448161211c565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160c08084015261235960e084018261206f565b949350505050565b60006020828403121561237357600080fd5b5051919050565b60006020828403121561238c57600080fd5b8151801515811461204457600080fd5b6000602082840312156123ae57600080fd5b815161204481612131565b6000602082840312156123cb57600080fd5b81516120448161211c565b6000602082840312156123e857600080fd5b8151612044816120ae565b6001600160a01b03831681526040602082018190526000906123599083018461206f565b60006124256121bd84612187565b905082815283838301111561243957600080fd5b61204483602083018461204b565b60006020828403121561245957600080fd5b815167ffffffffffffffff81111561247057600080fd5b8201601f8101841361248157600080fd5b61235984825160208401612417565b600181811c908216806124a457607f821691505b6020821081036124c457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561251057600081815260208120601f850160051c810160208610156124f15750805b601f850160051c820191505b818110156119d6578281556001016124fd565b505050565b815167ffffffffffffffff81111561252f5761252f612140565b6125438161253d8454612490565b846124ca565b602080601f83116001811461257857600084156125605750858301515b600019600386901b1c1916600185901b1785556119d6565b600085815260208120601f198616915b828110156125a757888601518255948401946001909101908401612588565b50858210156125c55787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220e265f82879be20803445f374a863f310be9093b961a95716c734996db157b4ca64736f6c63430008140033",
411
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101425760003560e01c80635ef14b5e116100b8578063bc36dc911161007c578063bc36dc91146102ad578063c3c5a547146102c5578063d272ac1e146102d8578063df33330b1461030a578063e74d052f1461031d578063f16f93c21461033057600080fd5b80635ef14b5e1461024e578063644c45e014610261578063893d20e814610272578063a3bcd81d1461027a578063a48f42e01461028d57600080fd5b806331b62a3b1161010a57806331b62a3b146101e55780633bc5de30146101ed5780633fe9300e1461020a5780634420e48614610220578063485cc955146102335780635ab1bd531461024857600080fd5b8063015654ff1461014757806301ffc9a71461017157806315dae03e146101a55780631a848cfb146101b45780631aa3a008146101ca575b600080fd5b600a546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b61019561017f36600461201a565b6001600160e01b0319166306ecd8ef60e01b1490565b6040519015158152602001610168565b60405160148152602001610168565b6101bc610348565b604051908152602001610168565b60005b6040516001600160601b039091168152602001610168565b6101cd6103c1565b6040805160208101909152600081525b604051610168919061209b565b6101fd6040518060200160405280600081525081565b6101cd61022e3660046120c6565b610488565b6102466102413660046120e3565b610c5c565b005b30610154565b6101cd61025c3660046121ed565b610d61565b6007546001600160601b03166101cd565b610154610fcf565b610154610288366004612276565b6110d2565b6102a061029b3660046122d1565b611128565b60405161016891906122ee565b600754600160601b90046001600160a01b0316610154565b6101956102d33660046120c6565b61126a565b6101cd6102e63660046120c6565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101546103183660046122d1565b611307565b61019561032b3660046122d1565b611408565b6101fd61033e3660046122d1565b611462565b905090565b60006007600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561039d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103439190612361565b60004660010361043d5760085460408051632cc7144960e11b81529051610343926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043a9190612361565b90565b60085460408051632e85b1f360e01b81529051610343926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015610416573d6000803e3d6000fd5b6001600160a01b038116600090815260026020526040808220549051630a4d29dd60e31b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e919061237a565b61056f5760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030323a414c52454144595f5245474953544552454460448201526064015b60405180910390fd5b6040516301ffc9a760e01b8152631dfba64760e11b600482015282906001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156105bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e0919061237a565b61062c5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a5245472d3030333a4e4f545f524547495354455241424c4500006044820152606401610566565b6000816001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561066c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610690919061239c565b60ff808216600090815260036020526040902054919250166106f45760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3030343a545950455f494e56414c49440000000000006044820152606401610566565b6000826001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610734573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075891906123b9565b905061076381611408565b6107bb5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5245472d3030353a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401610566565b60ff80831660009081526004602090815260408083206001600160601b038616845283835281842054600160c01b9004851684529091529020541661084c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030363a504152454e545f545950455f494e56414c496044820152601160fa1b6064820152608401610566565b60006007600c9054906101000a90046001600160a01b03166001600160a01b031663d0def521856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d491906123d6565b604051806020016040528060008152506040518363ffffffff1660e01b81526004016109019291906123f3565b6020604051808303816000875af1158015610920573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109449190612361565b90508094506109bc846001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561098a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ae919061239c565b60285b60ff90811691161490565b15610c49576040516301ffc9a760e01b8152631b4612f160e31b600482015286906001600160a01b038216906301ffc9a790602401602060405180830381865afa158015610a0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a32919061237a565b610a7e5760405162461bcd60e51b815260206004820152601960248201527f4552524f523a5245472d3030373a4e4f545f53455256494345000000000000006044820152606401610566565b6000816001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610abe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ae69190810190612447565b90506000826001600160a01b031663cde749f46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4c919061239c565b9050600082604051602001610b61919061209b565b60408051601f1981840301815291815281516020928301206001600160601b038c16600090815260059093529120909150610b9c8482612515565b50600081815260066020908152604080832060ff861684529091529020546001600160a01b031615610c105760405162461bcd60e51b815260206004820181905260248201527f4552524f523a5245472d3030383a414c52454144595f524547495354455245446044820152606401610566565b600090815260066020908152604080832060ff9490941683529290522080546001600160a01b0319166001600160a01b038a1617905550505b610c53848661150e565b50505050919050565b600754600160601b90046001600160a01b031615610cc65760405162461bcd60e51b815260206004820152602160248201527f4552524f523a5245472d3030313a414c52454144595f494e495449414c495a456044820152601160fa1b6064820152608401610566565b60098054336001600160a01b031991821617909155600a805482166001600160a01b0384811691909117909155600780546001600160601b0316600160601b92861692830217905560088054909216179055610d206117e2565b610d286119de565b600780546bffffffffffffffffffffffff19166001600160601b0392909216919091179055610d55611b50565b610d5d611d02565b5050565b6000610d6e8460c86109b1565b80610d7f5750610d7f8460d26109b1565b610dcb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5245472d3031303a545950455f494e56414c49440000000000006044820152606401610566565b600754604080516020810182526000808252915163d0def52160e01b81529192600160601b90046001600160a01b03169163d0def52191610e11918891906004016123f3565b6020604051808303816000875af1158015610e30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e549190612361565b905080915060006040518060c00160405280846001600160601b03168152602001886001600160601b031681526020018760ff16815260200160006001600160a01b03168152602001866001600160a01b0316815260200185815250905080600080856001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060808201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a0820151816003019081610fc19190612515565b509050505050949350505050565b6007546040516330b8415f60e01b81526001600160601b03909116600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561102e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611052919061237a565b61106657506009546001600160a01b031690565b60075460405163df33330b60e01b81526001600160601b039091166004820152309063df33330b90602401602060405180830381865afa1580156110ae573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061034391906123d6565b600080836040516020016110e6919061209b565b60408051601f19818403018152918152815160209283012060009081526006835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160c0810182526000808252602082018190529181018290526060808201839052608082019290925260a08101919091526001600160601b0382811660009081526020818152604091829020825160c08101845281548086168252600160601b810490951692810192909252600160c01b90930460ff169181019190915260018201546001600160a01b039081166060830152600283015416608082015260038201805491929160a0840191906111e190612490565b80601f016020809104026020016040519081016040528092919081815260200182805461120d90612490565b801561125a5780601f1061122f5761010080835404028352916020019161125a565b820191906000526020600020905b81548152906001019060200180831161123d57829003601f168201915b5050505050815250509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156112dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611301919061237a565b92915050565b60075460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401602060405180830381865af415801561137c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113a091906123b9565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa1580156113e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130191906123d6565b6001600160601b03811660009081526020819052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016112c0565b6001600160601b038116600090815260056020526040902080546060919061148990612490565b80601f01602080910402602001604051908101604052809291908181526020018280546114b590612490565b80156115025780601f106114d757610100808354040283529160200191611502565b820191906000526020600020905b8154815290600101906020018083116114e557829003601f168201915b50505050509050919050565b600082905060006040518060c00160405280846001600160601b03168152602001856001600160a01b03166331b62a3b6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561156d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061159191906123b9565b6001600160601b03168152602001856001600160a01b03166315dae03e6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611601919061239c565b60ff168152602001836001600160a01b03168152602001856001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611656573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167a91906123d6565b6001600160a01b03168152602001856001600160a01b0316633bc5de306040518163ffffffff1660e01b8152600401600060405180830381865afa1580156116c6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ee9190810190612447565b90526001600160601b038085166000908152602081815260409182902084518154928601519386015160ff16600160c01b0260ff60c01b19948616600160601b026001600160c01b03199094169190951617919091179190911691909117815560608201516001820180546001600160a01b039283166001600160a01b031991821617909155608084015160028401805491909316911617905560a0820151919250829160038201906117a19082612515565b505050506001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b039290921691909117905550565b60085460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa15801561182c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118509190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b1580156118a257600080fd5b505af11580156118b6573d6000803e3d6000fd5b5050505060006118c38290565b905060006040518060c00160405280836001600160601b031681526020016118e9600090565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052600a546001600160a01b03908116604080870191909152805180840182528481526060968701526001600160601b03808a16855284845293819020875181549489015192890151909616600160c01b0260ff60c01b19928616600160601b026001600160c01b031990951696909516959095179290921791909116919091178255918301516001820180549184166001600160a01b031992831617905560808401516002830180549190941691161790915560a0820151919250829160038201906119d69082612515565b505050505050565b600854604051630559ea4760e01b81526002600482015260009182916001600160a01b0390911690630559ea4790602401602060405180830381865afa158015611a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a509190612361565b9050809150600860009054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611aa8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611acc9190612361565b8114611ada57611ada611eb0565b600854600a546040516340c10f1960e01b81526001600160a01b039182166004820152602481018490529116906340c10f1990604401600060405180830381600087803b158015611b2a57600080fd5b505af1158015611b3e573d6000803e3d6000fd5b50505050611b4c308361150e565b5090565b600360208190527f0ffe031ee7f67944a037276fd51f48fcc2fe05a729c43144606bc8777da8014f8054600160ff1991821681179092557f6117fee2f1274e1b392d2c3fe842478040a980d896757f38cbfe2ceebfa9f55f80548216831790557ff787d5ff306ee7ea1d7b35b5cacd5a837646921c113945dbc3a3b6329ce4003380548216831790557f3ba015d6b845e102ce2f76836007be82508e3543856f2a3c2ff4b56eb46d920e80548216831790557f01c8d1bf01472944f62fa726559c57c955f3535856e865cee78082252c0dbe6580548216831790557f6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e80548216831790557fe372c44748f4c2908ae7c0a1dc553464478b0394f70953faecd55173b039317c80548216831790557fc3d073881ce0daff4d900012573fe3b8d5b283519b2f509e59d1b978e7cf0fc5805482168317905560c860009081527f4ee5ee9bffee16640c2540fd7f6965fdc66a7e5f780f34dcd70130941a3eae078054909216831790915590919060d25b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f6ccc4a05ba84db57b26e1eca724a26bc49e11eb3a3513975525da73fd093530d8054600160ff1991821681179092557f4c2b21eba089fcb614eba18217d4f3f95e42177ede89c079f86306b133497c3080548216831790557faa0e0fe5d9929c265201b796d5196a8fc79d16a288275314ff2973541d58721a80548216831790557f23854806efa1d194aae4b21bf1927e22d50453dfa23086ded38c40c8955c637e80548216831790557fbdc45962c4e89b26bf7a29a39eab560d17e5064145716460fdc5986ae2da49bc80548216831790557f41f7e94f80001b9d612ad252f2dc06b77c5cc502088b7ac7f3641fc95d4a34e180548216831790557f2662d582402060579dffef7773c6b43725228b20e70069c9a8314d21465c105280548216831790557fecd1272a2d7402e39704b78db8ea4bd00d629fbfc046e55cc6c9d5ee5e9e5e7880548216831790557f5e5bbf8b42bd7b6d1aeb3e362a8afc07dddf1cd72e2816d91748f633a63aabc0805490911682179055603c600090815260046020527f2fc109324a9702a6c6d9ee4cb191009203224963472d729f754fd607ea2f8fd0906082611cde565b60085460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa158015611efa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1e9190612361565b600854600a546040516340c10f1960e01b81526001600160a01b0391821660048201526024810184905292935016906340c10f1990604401600060405180830381600087803b158015611f7057600080fd5b505af1158015611f84573d6000803e3d6000fd5b505050506000611f918290565b905060006040518060c00160405280836001600160601b03168152602001612005600860009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015610416573d6000803e3d6000fd5b6001600160601b0316815260200160146118fa565b60006020828403121561202c57600080fd5b81356001600160e01b03198116811461204457600080fd5b9392505050565b60005b8381101561206657818101518382015260200161204e565b50506000910152565b6000815180845261208781602086016020860161204b565b601f01601f19169290920160200192915050565b602081526000612044602083018461206f565b6001600160a01b03811681146120c357600080fd5b50565b6000602082840312156120d857600080fd5b8135612044816120ae565b600080604083850312156120f657600080fd5b8235612101816120ae565b91506020830135612111816120ae565b809150509250929050565b6001600160601b03811681146120c357600080fd5b60ff811681146120c357600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561217f5761217f612140565b604052919050565b600067ffffffffffffffff8211156121a1576121a1612140565b50601f01601f191660200190565b60006121c26121bd84612187565b612156565b90508281528383830111156121d657600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561220357600080fd5b843561220e8161211c565b9350602085013561221e81612131565b9250604085013561222e816120ae565b9150606085013567ffffffffffffffff81111561224a57600080fd5b8501601f8101871361225b57600080fd5b61226a878235602084016121af565b91505092959194509250565b6000806040838503121561228957600080fd5b823567ffffffffffffffff8111156122a057600080fd5b8301601f810185136122b157600080fd5b6122c0858235602084016121af565b925050602083013561211181612131565b6000602082840312156122e357600080fd5b81356120448161211c565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff6040840151166060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160c08084015261235960e084018261206f565b949350505050565b60006020828403121561237357600080fd5b5051919050565b60006020828403121561238c57600080fd5b8151801515811461204457600080fd5b6000602082840312156123ae57600080fd5b815161204481612131565b6000602082840312156123cb57600080fd5b81516120448161211c565b6000602082840312156123e857600080fd5b8151612044816120ae565b6001600160a01b03831681526040602082018190526000906123599083018461206f565b60006124256121bd84612187565b905082815283838301111561243957600080fd5b61204483602083018461204b565b60006020828403121561245957600080fd5b815167ffffffffffffffff81111561247057600080fd5b8201601f8101841361248157600080fd5b61235984825160208401612417565b600181811c908216806124a457607f821691505b6020821081036124c457634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561251057600081815260208120601f850160051c810160208610156124f15750805b601f850160051c820191505b818110156119d6578281556001016124fd565b505050565b815167ffffffffffffffff81111561252f5761252f612140565b6125438161253d8454612490565b846124ca565b602080601f83116001811461257857600084156125605750858301515b600019600386901b1c1916600185901b1785556119d6565b600085815260208120601f198616915b828110156125a757888601518255948401946001909101908401612588565b50858210156125c55787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220e265f82879be20803445f374a863f310be9093b961a95716c734996db157b4ca64736f6c63430008140033",
719
+ "bytecode": "0x60806040523480156200001157600080fd5b5060405162004f4e38038062004f4e833981016040819052620000349162001106565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790556001600160a01b038216620000cc5760405162461bcd60e51b815260206004820152601d60248201527f52656769737472793a207265676973747279206f776e6572206973203000000060448201526064015b60405180910390fd5b604051632b10f60d60e21b815260ff8216600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801562000122573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014891906200114b565b14620001d25760405162461bcd60e51b815260206004820152604c60248201527f52656769737472793a20696e697469616c206d616a6f722076657273696f6e2060448201527f6f662072656769737472792073657276696365206973206e6f74204d414a4f5260648201526b2fab22a929a4a7a72fa6a4a760a11b608482015260a401620000c3565b30604051620001e190620010e1565b6001600160a01b039091168152602001604051809103906000f0801580156200020e573d6000803e3d6000fd5b50600a80546001600160a01b03929092166001600160a01b031992831681179091556009805490921617905562000244620002a8565b6200024f82620004c9565b6200025a8262000876565b6200026462000bfb565b632c1c764b60e11b60009081526020527f330b954bf9f765b6e8b2dcd4fd8b23c51c31546ad5eadfc4df3e97d1a1a5476e805460ff1916600117905550506200134b565b600a5460408051632cc7144960e11b815290516000926001600160a01b03169163598e28929160048083019260209291908290030181865afa158015620002f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200031991906200114b565b9050600081600a546040516340c10f1960e01b815260016004820152602481018590529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200036d57600080fd5b505af115801562000382573d6000803e3d6000fd5b505050506040518060e00160405280826001600160601b03168152602001620003b062000f5560201b60201c565b6001600160601b03168152602001600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528285529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c08201516003820190620004c290826200120a565b5050505050565b600a54604051630559ea4760e01b8152600260048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa15801562000514573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200053a91906200114b565b600a5460408051632e85b1f360e01b8152905192935083926000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa1580156200058a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005b091906200114b565b83146200063f57620005c162000f5a565b600a5460408051632e85b1f360e01b8152905162000637926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa1580156200060e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200063491906200114b565b90565b90506200068f565b600a5460408051632cc7144960e11b815290516200068c926001600160a01b03169163598e28929160048083019260209291908290030181865afa1580156200060e573d6000803e3d6000fd5b90505b600a546040516340c10f1960e01b81526001600160a01b03868116600483015260248201869052909116906340c10f1990604401600060405180830381600087803b158015620006de57600080fd5b505af1158015620006f3573d6000803e3d6000fd5b505050506040518060e00160405280836001600160601b03168152602001826001600160601b0316815260200162000730620010cd60201b60201c565b60ff908116825260006020808401829052306040808601919091526001600160a01b038a8116606080880191909152825180850184528581526080978801526001600160601b03808b16865260018086529584902089518154968b0151958b0151938b01511515600160c81b0260ff60c81b1994909916600160c01b029390931661ffff60c01b199583166c01000000000000000000000000026001600160c01b031990971693909216929092179490941792909216929092179390931783559284015190820180549184166001600160a01b031992831617905560a08401516002830180549190941691161790915560c082015160038201906200083690826200120a565b505030600090815260026020526040902080546001600160601b039094166001600160601b03199485168117909155600880549094161790925550505050565b600a54604051630559ea4760e01b8152600360048201526000916001600160a01b031690630559ea4790602401602060405180830381865afa158015620008c1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620008e791906200114b565b9050600081600a546040516340c10f1960e01b81526001600160a01b038681166004830152602482018690529293509116906340c10f1990604401600060405180830381600087803b1580156200093d57600080fd5b505af115801562000952573d6000803e3d6000fd5b50506040805160e0810182526001600160601b0385811680835260085482166020808501918252602885870190815260006060870181815233608089019081526001600160a01b038f811660a08b019081528b518088018d5285815260c08c019081529885526001968790529a909320895181549751955193511515600160c81b0260ff60c81b1960ff909516600160c01b029490941661ffff60c01b19968b166c01000000000000000000000000026001600160c01b031990991691909a16179690961793909316969096179590951783555190820180549185166001600160a01b031992831617905594516002820180549190941695169490941790915551909350909150600382019062000a6a90826200120a565b505033600090815260026020908152604080832080546001600160601b0319166001600160601b03871617905580518082018252600f81526e52656769737472795365727669636560881b81840152905190935062000acc91849101620012d6565b60408051808303601f19018152828252805160209182012060008181526007909252918120632392b61b60e21b845260036004850152919350339273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c90602401602060405180830381865af415801562000b44573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000b6a919062001326565b60ff1681526020808201929092526040908101600090812080546001600160a01b0319166001600160a01b0395909516949094179093556001600160601b03861683526006909152902062000bc083826200120a565b5050600880546001600160601b039093166c0100000000000000000000000002600160601b600160c01b031990931692909217909155505050565b7f6ccc4a05ba84db57b26e1eca724a26bc49e11eb3a3513975525da73fd093530d805460ff191660019081179091556028600090815260046020527f2b634da6ab875d88498f503820d9b51f6eb10d3d2f378c32aef2289b509f3def9062000c61601490565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000c95603290565b60ff1660ff168152602001908152602001600020600062000cbb620010cd60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000cef606e90565b60ff1660ff168152602001908152602001600020600062000d15620010d260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000d49607890565b60ff1660ff168152602001908152602001600020600062000d6f620010d260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000da3608290565b60ff1660ff168152602001908152602001600020600062000dc9620010d260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000dfd608c90565b60ff1660ff168152602001908152602001600020600062000e23620010d260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000e5760d290565b60ff1660ff168152602001908152602001600020600062000e7d620010d760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000eb160dc90565b60ff1660ff168152602001908152602001600020600062000ed7620010dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000f0b603c90565b60ff1660ff168152602001908152602001600020600062000f31620010dc60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b600090565b600a5460408051632e85b1f360e01b815290516000926001600160a01b031691632e85b1f39160048083019260209291908290030181865afa15801562000fa5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fcb91906200114b565b600a546040516340c10f1960e01b815260016004820152602481018390529192506001600160a01b0316906340c10f1990604401600060405180830381600087803b1580156200101a57600080fd5b505af11580156200102f573d6000803e3d6000fd5b50505050600062001046826200063460201b60201c565b90506040518060e00160405280826001600160601b03168152602001620010ba600a60009054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200060e573d6000803e3d6000fd5b6001600160601b03168152602001620003c15b601490565b603290565b606e90565b608c90565b611e7d80620030d183390190565b805160ff811681146200110157600080fd5b919050565b600080604083850312156200111a57600080fd5b82516001600160a01b03811681146200113257600080fd5b91506200114260208401620010ef565b90509250929050565b6000602082840312156200115e57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200119057607f821691505b602082108103620011b157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200120557600081815260208120601f850160051c81016020861015620011e05750805b601f850160051c820191505b818110156200120157828155600101620011ec565b5050505b505050565b81516001600160401b0381111562001226576200122662001165565b6200123e816200123784546200117b565b84620011b7565b602080601f8311600181146200127657600084156200125d5750858301515b600019600386901b1c1916600185901b17855562001201565b600085815260208120601f198616915b82811015620012a75788860151825594840194600190910190840162001286565b5085821015620012c65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b818110156200130557858101830151858201604001528201620012e7565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156200133957600080fd5b6200134482620010ef565b9392505050565b611d76806200135b6000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c80638b09a5f0116100b8578063bb826b621161007c578063bb826b621461017e578063bc36dc91146102e8578063c3c5a547146102f9578063d272ac1e1461030c578063e285c9c41461033e578063e74d052f1461034657600080fd5b80638b09a5f01461027c578063a3bcd81d1461029c578063a48f42e0146102af578063a5df9e4e146102c2578063b69b2e11146102d557600080fd5b806338bb429a116100ff57806338bb429a146101ed5780633fe9300e146102005780634cd361ad146102235780635f15615114610238578063893d20e81461027457600080fd5b806301ffc9a71461013c5780630dab67c51461017e57806314afd79e146101945780631a848cfb146101bf57806321e18ac8146101c7575b600080fd5b61016961014a366004611598565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610186600381565b604051908152602001610175565b6101a76101a23660046115f1565b610359565b6040516001600160a01b039091168152602001610175565b61018661046f565b6101d5610137366004611805565b6040516001600160601b039091168152602001610175565b6101a76101fb366004611855565b6104e2565b6102166040518060200160405280600081525081565b60405161017591906118c2565b6102366102313660046118d5565b610538565b005b610169610246366004611920565b6001600160601b0391909116600090815260036020908152604080832060ff94851684529091529020541690565b6101a761078f565b61028f61028a3660046115f1565b61079a565b6040516101759190611959565b6101a76102aa3660046119dc565b610901565b61028f6102bd366004611855565b610957565b6101d56102d0366004611a37565b610a29565b6102166102e3366004611855565b6113bd565b6009546001600160a01b03166101a7565b6101696103073660046115f1565b611469565b6101d561031a3660046115f1565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101a7600181565b610169610354366004611855565b611500565b6009546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af41580156103dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104019190611a6c565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104699190611a89565b92915050565b600954604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa1580156104b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dd9190611aa6565b905090565b60095460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024016103c0565b61054061078f565b6001600160a01b0316336001600160a01b031614610571576040516330cd747160e01b815260040160405180910390fd5b6001600160601b038381166000908152600160208181526040808420909201546001600160a01b0316808452600290915291819020549051630a4d29dd60e31b8152921660048301529073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156105f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061b9190611abf565b156106495760405163b9b633df60e01b81526001600160601b03851660048201526024015b60405180910390fd5b6001600160601b03841660009081526001602052604090205461068490600160c01b900460ff16610678602890565b60ff9081169116141590565b156106ad5760405163025b2d4960e41b81526001600160601b0385166004820152602401610640565b60ff80841660009081526004602090815260408083208685168452909152902054161580156106fb575060ff8084166000908152600560209081526040808320868516845290915290205416155b1561072657604051638880f20760e01b815260ff808516600483015283166024820152604401610640565b6001600160601b038416600081815260036020908152604080832060ff881680855290835292819020805460ff19166001179055519182527fe26cfba837db0d7c153ec866fbad0352b9052133ad3e374829bc342a828f19e3910160405180910390a250505050565b60006104dd30610359565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c08401919061087890611adc565b80601f01602080910402602001604051908101604052809291908181526020018280546108a490611adc565b80156108f15780601f106108c6576101008083540402835291602001916108f1565b820191906000526020600020905b8154815290600101906020018083116108d457829003601f168201915b5050505050815250509050919050565b6000808360405160200161091591906118c2565b60408051601f19818403018152918152815160209283012060009081526007835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c08401919061087890611adc565b600854600160601b90046001600160601b03166000908152600160208190526040822001546001600160a01b03163314610a76576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549495929492939260c084019190610b1990611adc565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4590611adc565b8015610b925780601f10610b6757610100808354040283529160200191610b92565b820191906000526020600020905b815481529060010190602001808311610b7557829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610bd15760405163b0014c0760e01b815260040160405180910390fd5b6000610beb8860600151896080015186606001518561155a565b60095460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610c36929091879190600401611b16565b6020604051808303816000875af1158015610c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c799190611aa6565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081610dcc9190611b9a565b50505060808901516001600160a01b0316156112ca5760ff8088166000908152600460209081526040808320888516845290915281205490911615159003610e3457604051638880f20760e01b815260ff808916600483015285166024820152604401610640565b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611abf565b15610ef95760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610640565b6001600160a01b038116600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038b16179055610f4688610f3b602890565b60ff90811691161490565b156112c4576000808b60c00151806020019051810190610f669190611c5a565b91509150600082604051602001610f7d91906118c2565b60408051808303601f19018152908290528051602090910120632b10f60d60e21b825260ff84166004830152915060039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610fea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100e9190611aa6565b10806111c35750604051632b10f60d60e21b815260ff8316600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801561106a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108e9190611aa6565b1180156111c357506000818152600760205260408082209051632b10f60d60e21b815260ff85166004820152829073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c9060019073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611117573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113b9190611aa6565b6111459190611cdd565b6040518263ffffffff1660e01b815260040161116391815260200190565b602060405180830381865af4158015611180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a49190611cfe565b60ff1681526020810191909152604001600020546001600160a01b0316145b156111e65760405163124574bd60e01b815260ff83166004820152602401610640565b600081815260076020908152604080832060ff861684529091529020546001600160a01b03161561122e5782826040516361b38f9b60e01b8152600401610640929190611d1b565b6001600160601b038c1660009081526006602052604090206112508482611b9a565b50600081815260076020908152604080832060ff861684529091529081902080546001600160a01b0319166001600160a01b038716179055517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f88906112b89085908590611d1b565b60405180910390a15050505b5061131c565b60ff808816600090815260056020908152604080832088851684529091528120549091161515900361131c57604051638880f20760e01b815260ff808916600483015285166024820152604401610640565b876001600160601b03167f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878a602001518b604001518c606001518d608001518e60a001516040516113a99594939291906001600160601b0395909516855260ff93909316602085015290151560408401526001600160a01b03908116606084015216608082015260a00190565b60405180910390a250505050505050919050565b6001600160601b03811660009081526006602052604090208054606091906113e490611adc565b80601f016020809104026020016040519081016040528092919081815260200182805461141090611adc565b801561145d5780601f106114325761010080835404028352916020019161145d565b820191906000526020600020905b81548152906001019060200180831161144057829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156114dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104699190611abf565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016114bf565b60006001600160a01b03841661157f578215611577575080611590565b506000611590565b841561158c575082611590565b5060005b949350505050565b6000602082840312156115aa57600080fd5b81356001600160e01b0319811681146115c257600080fd5b9392505050565b6001600160a01b03811681146115de57600080fd5b50565b80356115ec816115c9565b919050565b60006020828403121561160357600080fd5b81356115c2816115c9565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156116475761164761160e565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156116765761167661160e565b604052919050565b6001600160601b03811681146115de57600080fd5b80356115ec8161167e565b60ff811681146115de57600080fd5b80356115ec8161169e565b80151581146115de57600080fd5b80356115ec816116b8565b600067ffffffffffffffff8211156116eb576116eb61160e565b50601f01601f191660200190565b600061170c611707846116d1565b61164d565b905082815283838301111561172057600080fd5b828260208301376000602084830101529392505050565b600082601f83011261174857600080fd5b6115c2838335602085016116f9565b600060e0828403121561176957600080fd5b611771611624565b905061177c82611693565b815261178a60208301611693565b602082015261179b604083016116ad565b60408201526117ac606083016116c6565b60608201526117bd608083016115e1565b60808201526117ce60a083016115e1565b60a082015260c082013567ffffffffffffffff8111156117ed57600080fd5b6117f984828501611737565b60c08301525092915050565b6000806040838503121561181857600080fd5b8235611823816115c9565b9150602083013567ffffffffffffffff81111561183f57600080fd5b61184b85828601611757565b9150509250929050565b60006020828403121561186757600080fd5b81356115c28161167e565b60005b8381101561188d578181015183820152602001611875565b50506000910152565b600081518084526118ae816020860160208601611872565b601f01601f19169290920160200192915050565b6020815260006115c26020830184611896565b6000806000606084860312156118ea57600080fd5b83356118f58161167e565b925060208401356119058161169e565b915060408401356119158161169e565b809150509250925092565b6000806040838503121561193357600080fd5b823561193e8161167e565b9150602083013561194e8161169e565b809150509250929050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516119c260c08401826001600160a01b03169052565b5060c083015160e080840152611590610100840182611896565b600080604083850312156119ef57600080fd5b823567ffffffffffffffff811115611a0657600080fd5b8301601f81018513611a1757600080fd5b611a26858235602084016116f9565b925050602083013561194e8161169e565b600060208284031215611a4957600080fd5b813567ffffffffffffffff811115611a6057600080fd5b61159084828501611757565b600060208284031215611a7e57600080fd5b81516115c28161167e565b600060208284031215611a9b57600080fd5b81516115c2816115c9565b600060208284031215611ab857600080fd5b5051919050565b600060208284031215611ad157600080fd5b81516115c2816116b8565b600181811c90821680611af057607f821691505b602082108103611b1057634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03848116825283166020820152606060408201819052600090611b4290830184611896565b95945050505050565b601f821115611b9557600081815260208120601f850160051c81016020861015611b725750805b601f850160051c820191505b81811015611b9157828155600101611b7e565b5050505b505050565b815167ffffffffffffffff811115611bb457611bb461160e565b611bc881611bc28454611adc565b84611b4b565b602080601f831160018114611bfd5760008415611be55750858301515b600019600386901b1c1916600185901b178555611b91565b600085815260208120601f198616915b82811015611c2c57888601518255948401946001909101908401611c0d565b5085821015611c4a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008060408385031215611c6d57600080fd5b825167ffffffffffffffff811115611c8457600080fd5b8301601f81018513611c9557600080fd5b8051611ca3611707826116d1565b818152866020838501011115611cb857600080fd5b611cc9826020830160208601611872565b809450505050602083015161194e8161169e565b8181038181111561046957634e487b7160e01b600052601160045260246000fd5b600060208284031215611d1057600080fd5b81516115c28161169e565b604081526000611d2e6040830185611896565b905060ff83166020830152939250505056fea2646970667358221220480af3f8219cec7bfaae6bec8c78a857a10d9af85332cacdcc637b40287c6a1d64736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e7d38038062001e7d833981016040819052620000349162000165565b60405180606001604052806029815260200162001e54602991396040805180820190915260048152632224a82960e11b602082015260006200007783826200023c565b5060016200008682826200023c565b5050506001600160a01b038116620000e45760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4e46542d3031303a52454749535452595f5a45524f0000000000604482015260640160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d819055620001109062000131565b600e8190556200012290600a6200041d565b600f555060046010556200046a565b60005b811562000160578062000147816200042b565b9150620001589050600a8362000447565b915062000134565b919050565b6000602082840312156200017857600080fd5b81516001600160a01b03811681146200019057600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001c257607f821691505b602082108103620001e357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023757600081815260208120601f850160051c81016020861015620002125750805b601f850160051c820191505b8181101562000233578281556001016200021e565b5050505b505050565b81516001600160401b0381111562000258576200025862000197565b6200027081620002698454620001ad565b84620001e9565b602080601f831160018114620002a857600084156200028f5750858301515b600019600386901b1c1916600185901b17855562000233565b600085815260208120601f198616915b82811015620002d957888601518255948401946001909101908401620002b8565b5085821015620002f85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200035f57816000190482111562000343576200034362000308565b808516156200035157918102915b93841c939080029062000323565b509250929050565b600082620003785750600162000417565b81620003875750600062000417565b8160018114620003a05760028114620003ab57620003cb565b600191505062000417565b60ff841115620003bf57620003bf62000308565b50506001821b62000417565b5060208310610133831016604e8410600b8410161715620003f0575081810a62000417565b620003fc83836200031e565b806000190482111562000413576200041362000308565b0290505b92915050565b600062000190838362000367565b60006001820162000440576200044062000308565b5060010190565b6000826200046557634e487b7160e01b600052601260045260246000fd5b500490565b6119da806200047a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80634f6ccce7116100f9578063a2309ff811610097578063c87b56dd11610071578063c87b56dd146103a8578063e985e9c5146103bb578063f21de1e8146103ce578063f76f8d78146103df57600080fd5b8063a2309ff814610385578063a3f4df7e1461038d578063b88d4fde1461039557600080fd5b806370a08231116100d357806370a0823114610344578063862440e21461035757806395d89b411461036a578063a22cb4651461037257600080fd5b80634f6ccce714610315578063598e2892146103285780636352211e1461033157600080fd5b806323b872dd1161016657806340c10f191161014057806340c10f19146102b157806342842e0e146102c457806342966c68146102d75780634f558e79146102ea57600080fd5b806323b872dd146102825780632e85b1f3146102955780632f745c591461029e57600080fd5b8063081812fc116101a2578063081812fc14610227578063095ea7b31461025257806318160ddd14610267578063221375a61461026f57600080fd5b806301ffc9a7146101c95780630559ea47146101f157806306fdde0314610212575b600080fd5b6101dc6101d7366004611391565b610402565b60405190151581526020015b60405180910390f35b6102046101ff3660046113b5565b61042d565b6040519081526020016101e8565b61021a610462565b6040516101e89190611414565b61023a6102353660046113b5565b6104f4565b6040516001600160a01b0390911681526020016101e8565b610265610260366004611443565b61051d565b005b600854610204565b61020461027d366004611519565b61052c565b610265610290366004611577565b6105ea565b61020461083581565b6102046102ac366004611443565b610693565b6102656102bf366004611443565b6106f8565b6102656102d2366004611577565b610741565b6102656102e53660046113b5565b61075c565b6101dc6102f83660046113b5565b6000908152600260205260409020546001600160a01b0316151590565b6102046103233660046113b5565b6107b3565b61020461044d81565b61023a61033f3660046113b5565b61080c565b6102046103523660046115b3565b610817565b6102656103653660046115ce565b61085f565b61021a6108fc565b610265610380366004611615565b61090b565b601154610204565b61021a610916565b6102656103a3366004611651565b610932565b61021a6103b63660046113b5565b61094f565b6101dc6103c93660046116cd565b6109f9565b600c546001600160a01b031661023a565b61021a604051806040016040528060048152602001632224a82960e11b81525081565b60006001600160e01b0319821663780e9d6360e01b1480610427575061042782610a27565b92915050565b6000600e54600d54600f54846104439190611716565b61044d919061172d565b610458906064611716565b610427919061172d565b60606000805461047190611740565b80601f016020809104026020016040519081016040528092919081815260200182805461049d90611740565b80156104ea5780601f106104bf576101008083540402835291602001916104ea565b820191906000526020600020905b8154815290600101906020018083116104cd57829003601f168201915b5050505050905090565b60006104ff82610a77565b506000828152600460205260409020546001600160a01b0316610427565b610528828233610ab0565b5050565b600c546000906001600160a01b031633146105625760405162461bcd60e51b81526004016105599061177a565b60405180910390fd5b61056a610abd565b90506001600160a01b038316156105a3576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105c4576000818152600b602052604090206105c28382611809565b505b6105ce8482610ae4565b601180549060006105de836118c9565b91905055509392505050565b6105f5838383610afe565b6000818152600a60205260409020546001600160a01b03161561068e576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b15801561067557600080fd5b505af1158015610689573d6000803e3d6000fd5b505050505b505050565b600061069e83610817565b82106106cf5760405163295f44f760e21b81526001600160a01b038416600482015260248101839052604401610559565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b031633146107225760405162461bcd60e51b81526004016105599061177a565b60118054906000610732836118c9565b91905055506105288282610ae4565b61068e83838360405180602001604052806000815250610932565b600c546001600160a01b031633146107865760405162461bcd60e51b81526004016105599061177a565b61078f81610a77565b5061079981610b83565b6000818152600b602052604081206107b09161132d565b50565b60006107be60085490565b82106107e75760405163295f44f760e21b81526000600482015260248101839052604401610559565b600882815481106107fa576107fa6118e2565b90600052602060002001549050919050565b600061042782610a77565b60006001600160a01b038216610843576040516322718ad960e21b815260006004820152602401610559565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108895760405162461bcd60e51b81526004016105599061177a565b60008151116108da5760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4352472d3031313a5552495f454d5054590000000000000000006044820152606401610559565b6108e382610a77565b506000828152600b6020526040902061068e8282611809565b60606001805461047190611740565b610528338383610bbe565b60405180606001604052806029815260200161197c6029913981565b61093d8484846105ea565b61094984848484610c5d565b50505050565b606061095a82610a77565b506000828152600b60205260409020805461097490611740565b80601f01602080910402602001604051908101604052809291908181526020018280546109a090611740565b80156109ed5780601f106109c2576101008083540402835291602001916109ed565b820191906000526020600020905b8154815290600101906020018083116109d057829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610a5857506001600160e01b03198216635b5e139f60e01b145b8061042757506301ffc9a760e01b6001600160e01b0319831614610427565b6000818152600260205260408120546001600160a01b03168061042757604051637e27328960e01b815260048101849052602401610559565b61068e8383836001610d86565b6000610aca60105461042d565b601080549192506000610adc836118c9565b919050555090565b610528828260405180602001604052806000815250610e8c565b6001600160a01b038216610b2857604051633250574960e11b815260006004820152602401610559565b6000610b35838333610ea3565b9050836001600160a01b0316816001600160a01b031614610949576040516364283d7b60e01b81526001600160a01b0380861660048301526024820184905282166044820152606401610559565b6000610b926000836000610ea3565b90506001600160a01b03811661052857604051637e27328960e01b815260048101839052602401610559565b6001600160a01b038216610bf057604051630b61174360e31b81526001600160a01b0383166004820152602401610559565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561094957604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610c9f9033908890879087906004016118f8565b6020604051808303816000875af1925050508015610cda575060408051601f3d908101601f19168201909252610cd791810190611935565b60015b610d43573d808015610d08576040519150601f19603f3d011682016040523d82523d6000602084013e610d0d565b606091505b508051600003610d3b57604051633250574960e11b81526001600160a01b0385166004820152602401610559565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610d7f57604051633250574960e11b81526001600160a01b0385166004820152602401610559565b5050505050565b8080610d9a57506001600160a01b03821615155b15610e5c576000610daa84610a77565b90506001600160a01b03831615801590610dd65750826001600160a01b0316816001600160a01b031614155b8015610de95750610de781846109f9565b155b15610e125760405163a9fbf51f60e01b81526001600160a01b0384166004820152602401610559565b8115610e5a5783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610e968383610f78565b61068e6000848484610c5d565b600080610eb1858585610fdd565b90506001600160a01b038116610f0e57610f0984600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f31565b846001600160a01b0316816001600160a01b031614610f3157610f3181856110d6565b6001600160a01b038516610f4d57610f4884611167565b610f70565b846001600160a01b0316816001600160a01b031614610f7057610f708585611216565b949350505050565b6001600160a01b038216610fa257604051633250574960e11b815260006004820152602401610559565b6000610fb083836000610ea3565b90506001600160a01b0381161561068e576040516339e3563760e11b815260006004820152602401610559565b6000828152600260205260408120546001600160a01b039081169083161561100a5761100a818486611266565b6001600160a01b0381161561104857611027600085600080610d86565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b03851615611077576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b60006110e183610817565b600083815260076020526040902054909150808214611134576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061117990600190611952565b600083815260096020526040812054600880549394509092849081106111a1576111a16118e2565b9060005260206000200154905080600883815481106111c2576111c26118e2565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806111fa576111fa611965565b6001900381819060005260206000200160009055905550505050565b6000600161122384610817565b61122d9190611952565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112718383836112ca565b61068e576001600160a01b03831661129f57604051637e27328960e01b815260048101829052602401610559565b60405163177e802f60e01b81526001600160a01b038316600482015260248101829052604401610559565b60006001600160a01b03831615801590610f705750826001600160a01b0316846001600160a01b03161480611304575061130484846109f9565b80610f705750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461133990611740565b6000825580601f10611349575050565b601f0160209004906000526020600020908101906107b091905b808211156113775760008155600101611363565b5090565b6001600160e01b0319811681146107b057600080fd5b6000602082840312156113a357600080fd5b81356113ae8161137b565b9392505050565b6000602082840312156113c757600080fd5b5035919050565b6000815180845260005b818110156113f4576020818501810151868301820152016113d8565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006113ae60208301846113ce565b80356001600160a01b038116811461143e57600080fd5b919050565b6000806040838503121561145657600080fd5b61145f83611427565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561149e5761149e61146d565b604051601f8501601f19908116603f011681019082821181831017156114c6576114c661146d565b816040528093508581528686860111156114df57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261150a57600080fd5b6113ae83833560208501611483565b60008060006060848603121561152e57600080fd5b61153784611427565b925061154560208501611427565b9150604084013567ffffffffffffffff81111561156157600080fd5b61156d868287016114f9565b9150509250925092565b60008060006060848603121561158c57600080fd5b61159584611427565b92506115a360208501611427565b9150604084013590509250925092565b6000602082840312156115c557600080fd5b6113ae82611427565b600080604083850312156115e157600080fd5b82359150602083013567ffffffffffffffff8111156115ff57600080fd5b61160b858286016114f9565b9150509250929050565b6000806040838503121561162857600080fd5b61163183611427565b91506020830135801515811461164657600080fd5b809150509250929050565b6000806000806080858703121561166757600080fd5b61167085611427565b935061167e60208601611427565b925060408501359150606085013567ffffffffffffffff8111156116a157600080fd5b8501601f810187136116b257600080fd5b6116c187823560208401611483565b91505092959194509250565b600080604083850312156116e057600080fd5b6116e983611427565b91506116f760208401611427565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761042757610427611700565b8082018082111561042757610427611700565b600181811c9082168061175457607f821691505b60208210810361177457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526021908201527f4552524f523a4e46542d3030313a43414c4c45525f4e4f545f524547495354526040820152605960f81b606082015260800190565b601f82111561068e57600081815260208120601f850160051c810160208610156117e25750805b601f850160051c820191505b81811015611801578281556001016117ee565b505050505050565b815167ffffffffffffffff8111156118235761182361146d565b611837816118318454611740565b846117bb565b602080601f83116001811461186c57600084156118545750858301515b600019600386901b1c1916600185901b178555611801565b600085815260208120601f198616915b8281101561189b5788860151825594840194600190910190840161187c565b50858210156118b95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118db576118db611700565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192b908301846113ce565b9695505050505050565b60006020828403121561194757600080fd5b81516113ae8161137b565b8181038181111561042757610427611700565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279a2646970667358221220aa4ab71e5429c269fe81515c2906cdaaf8874f3b8f505fee48d0453385a68c9264736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c205265676973747279",
720
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101375760003560e01c80638b09a5f0116100b8578063bb826b621161007c578063bb826b621461017e578063bc36dc91146102e8578063c3c5a547146102f9578063d272ac1e1461030c578063e285c9c41461033e578063e74d052f1461034657600080fd5b80638b09a5f01461027c578063a3bcd81d1461029c578063a48f42e0146102af578063a5df9e4e146102c2578063b69b2e11146102d557600080fd5b806338bb429a116100ff57806338bb429a146101ed5780633fe9300e146102005780634cd361ad146102235780635f15615114610238578063893d20e81461027457600080fd5b806301ffc9a71461013c5780630dab67c51461017e57806314afd79e146101945780631a848cfb146101bf57806321e18ac8146101c7575b600080fd5b61016961014a366004611598565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610186600381565b604051908152602001610175565b6101a76101a23660046115f1565b610359565b6040516001600160a01b039091168152602001610175565b61018661046f565b6101d5610137366004611805565b6040516001600160601b039091168152602001610175565b6101a76101fb366004611855565b6104e2565b6102166040518060200160405280600081525081565b60405161017591906118c2565b6102366102313660046118d5565b610538565b005b610169610246366004611920565b6001600160601b0391909116600090815260036020908152604080832060ff94851684529091529020541690565b6101a761078f565b61028f61028a3660046115f1565b61079a565b6040516101759190611959565b6101a76102aa3660046119dc565b610901565b61028f6102bd366004611855565b610957565b6101d56102d0366004611a37565b610a29565b6102166102e3366004611855565b6113bd565b6009546001600160a01b03166101a7565b6101696103073660046115f1565b611469565b6101d561031a3660046115f1565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101a7600181565b610169610354366004611855565b611500565b6009546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b03909116600482015290929190911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af41580156103dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104019190611a6c565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa158015610445573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104699190611a89565b92915050565b600954604080516318160ddd60e01b815290516000926001600160a01b0316916318160ddd9160048083019260209291908290030181865afa1580156104b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104dd9190611aa6565b905090565b60095460405163046e44af60e11b81526001600160601b03831660048201526000916001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024016103c0565b61054061078f565b6001600160a01b0316336001600160a01b031614610571576040516330cd747160e01b815260040160405180910390fd5b6001600160601b038381166000908152600160208181526040808420909201546001600160a01b0316808452600290915291819020549051630a4d29dd60e31b8152921660048301529073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af41580156105f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061b9190611abf565b156106495760405163b9b633df60e01b81526001600160601b03851660048201526024015b60405180910390fd5b6001600160601b03841660009081526001602052604090205461068490600160c01b900460ff16610678602890565b60ff9081169116141590565b156106ad5760405163025b2d4960e41b81526001600160601b0385166004820152602401610640565b60ff80841660009081526004602090815260408083208685168452909152902054161580156106fb575060ff8084166000908152600560209081526040808320868516845290915290205416155b1561072657604051638880f20760e01b815260ff808516600483015283166024820152604401610640565b6001600160601b038416600081815260036020908152604080832060ff881680855290835292819020805460ff19166001179055519182527fe26cfba837db0d7c153ec866fbad0352b9052133ad3e374829bc342a828f19e3910160405180910390a250505050565b60006104dd30610359565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c08401919061087890611adc565b80601f01602080910402602001604051908101604052809291908181526020018280546108a490611adc565b80156108f15780601f106108c6576101008083540402835291602001916108f1565b820191906000526020600020905b8154815290600101906020018083116108d457829003601f168201915b5050505050815250509050919050565b6000808360405160200161091591906118c2565b60408051601f19818403018152918152815160209283012060009081526007835281812060ff871682529092529020546001600160a01b031691505092915050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c08401919061087890611adc565b600854600160601b90046001600160601b03166000908152600160208190526040822001546001600160a01b03163314610a76576040516395d3b24b60e01b815260040160405180910390fd5b6040808301516020808501516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549495929492939260c084019190610b1990611adc565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4590611adc565b8015610b925780601f10610b6757610100808354040283529160200191610b92565b820191906000526020600020905b815481529060010190602001808311610b7557829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610bd15760405163b0014c0760e01b815260040160405180910390fd5b6000610beb8860600151896080015186606001518561155a565b60095460a08a01516040805160208101825260008082529151631109bad360e11b815294955090936001600160a01b039093169263221375a692610c36929091879190600401611b16565b6020604051808303816000875af1158015610c55573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c799190611aa6565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c0820151816003019081610dcc9190611b9a565b50505060808901516001600160a01b0316156112ca5760ff8088166000908152600460209081526040808320888516845290915281205490911615159003610e3457604051638880f20760e01b815260ff808916600483015285166024820152604401610640565b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed09190611abf565b15610ef95760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610640565b6001600160a01b038116600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038b16179055610f4688610f3b602890565b60ff90811691161490565b156112c4576000808b60c00151806020019051810190610f669190611c5a565b91509150600082604051602001610f7d91906118c2565b60408051808303601f19018152908290528051602090910120632b10f60d60e21b825260ff84166004830152915060039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015610fea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100e9190611aa6565b10806111c35750604051632b10f60d60e21b815260ff8316600482015260039073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af415801561106a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061108e9190611aa6565b1180156111c357506000818152600760205260408082209051632b10f60d60e21b815260ff85166004820152829073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90638e4ad86c9060019073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015611117573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113b9190611aa6565b6111459190611cdd565b6040518263ffffffff1660e01b815260040161116391815260200190565b602060405180830381865af4158015611180573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a49190611cfe565b60ff1681526020810191909152604001600020546001600160a01b0316145b156111e65760405163124574bd60e01b815260ff83166004820152602401610640565b600081815260076020908152604080832060ff861684529091529020546001600160a01b03161561122e5782826040516361b38f9b60e01b8152600401610640929190611d1b565b6001600160601b038c1660009081526006602052604090206112508482611b9a565b50600081815260076020908152604080832060ff861684529091529081902080546001600160a01b0319166001600160a01b038716179055517f61a7c276e668b50bec61296f0af36680712490afcfd5df73ff24b8c8a3c33f88906112b89085908590611d1b565b60405180910390a15050505b5061131c565b60ff808816600090815260056020908152604080832088851684529091528120549091161515900361131c57604051638880f20760e01b815260ff808916600483015285166024820152604401610640565b876001600160601b03167f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878a602001518b604001518c606001518d608001518e60a001516040516113a99594939291906001600160601b0395909516855260ff93909316602085015290151560408401526001600160a01b03908116606084015216608082015260a00190565b60405180910390a250505050505050919050565b6001600160601b03811660009081526006602052604090208054606091906113e490611adc565b80601f016020809104026020016040519081016040528092919081815260200182805461141090611adc565b801561145d5780601f106114325761010080835404028352916020019161145d565b820191906000526020600020905b81548152906001019060200180831161144057829003601f168201915b50505050509050919050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af41580156114dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104699190611abf565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf906024016114bf565b60006001600160a01b03841661157f578215611577575080611590565b506000611590565b841561158c575082611590565b5060005b949350505050565b6000602082840312156115aa57600080fd5b81356001600160e01b0319811681146115c257600080fd5b9392505050565b6001600160a01b03811681146115de57600080fd5b50565b80356115ec816115c9565b919050565b60006020828403121561160357600080fd5b81356115c2816115c9565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156116475761164761160e565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156116765761167661160e565b604052919050565b6001600160601b03811681146115de57600080fd5b80356115ec8161167e565b60ff811681146115de57600080fd5b80356115ec8161169e565b80151581146115de57600080fd5b80356115ec816116b8565b600067ffffffffffffffff8211156116eb576116eb61160e565b50601f01601f191660200190565b600061170c611707846116d1565b61164d565b905082815283838301111561172057600080fd5b828260208301376000602084830101529392505050565b600082601f83011261174857600080fd5b6115c2838335602085016116f9565b600060e0828403121561176957600080fd5b611771611624565b905061177c82611693565b815261178a60208301611693565b602082015261179b604083016116ad565b60408201526117ac606083016116c6565b60608201526117bd608083016115e1565b60808201526117ce60a083016115e1565b60a082015260c082013567ffffffffffffffff8111156117ed57600080fd5b6117f984828501611737565b60c08301525092915050565b6000806040838503121561181857600080fd5b8235611823816115c9565b9150602083013567ffffffffffffffff81111561183f57600080fd5b61184b85828601611757565b9150509250929050565b60006020828403121561186757600080fd5b81356115c28161167e565b60005b8381101561188d578181015183820152602001611875565b50506000910152565b600081518084526118ae816020860160208601611872565b601f01601f19169290920160200192915050565b6020815260006115c26020830184611896565b6000806000606084860312156118ea57600080fd5b83356118f58161167e565b925060208401356119058161169e565b915060408401356119158161169e565b809150509250925092565b6000806040838503121561193357600080fd5b823561193e8161167e565b9150602083013561194e8161169e565b809150509250929050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516119c260c08401826001600160a01b03169052565b5060c083015160e080840152611590610100840182611896565b600080604083850312156119ef57600080fd5b823567ffffffffffffffff811115611a0657600080fd5b8301601f81018513611a1757600080fd5b611a26858235602084016116f9565b925050602083013561194e8161169e565b600060208284031215611a4957600080fd5b813567ffffffffffffffff811115611a6057600080fd5b61159084828501611757565b600060208284031215611a7e57600080fd5b81516115c28161167e565b600060208284031215611a9b57600080fd5b81516115c2816115c9565b600060208284031215611ab857600080fd5b5051919050565b600060208284031215611ad157600080fd5b81516115c2816116b8565b600181811c90821680611af057607f821691505b602082108103611b1057634e487b7160e01b600052602260045260246000fd5b50919050565b6001600160a01b03848116825283166020820152606060408201819052600090611b4290830184611896565b95945050505050565b601f821115611b9557600081815260208120601f850160051c81016020861015611b725750805b601f850160051c820191505b81811015611b9157828155600101611b7e565b5050505b505050565b815167ffffffffffffffff811115611bb457611bb461160e565b611bc881611bc28454611adc565b84611b4b565b602080601f831160018114611bfd5760008415611be55750858301515b600019600386901b1c1916600185901b178555611b91565b600085815260208120601f198616915b82811015611c2c57888601518255948401946001909101908401611c0d565b5085821015611c4a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008060408385031215611c6d57600080fd5b825167ffffffffffffffff811115611c8457600080fd5b8301601f81018513611c9557600080fd5b8051611ca3611707826116d1565b818152866020838501011115611cb857600080fd5b611cc9826020830160208601611872565b809450505050602083015161194e8161169e565b8181038181111561046957634e487b7160e01b600052601160045260246000fd5b600060208284031215611d1057600080fd5b81516115c28161169e565b604081526000611d2e6040830185611896565b905060ff83166020830152939250505056fea2646970667358221220480af3f8219cec7bfaae6bec8c78a857a10d9af85332cacdcc637b40287c6a1d64736f6c63430008140033",
412
721
  "linkReferences": {
413
722
  "contracts/types/NftId.sol": {
414
723
  "NftIdLib": [
415
724
  {
416
725
  "length": 20,
417
- "start": 1248
726
+ "start": 5885
727
+ },
728
+ {
729
+ "length": 20,
730
+ "start": 6257
418
731
  },
419
732
  {
420
733
  "length": 20,
421
- "start": 4116
734
+ "start": 6424
422
735
  },
423
736
  {
424
737
  "length": 20,
425
- "start": 4802
738
+ "start": 8653
426
739
  },
427
740
  {
428
741
  "length": 20,
429
- "start": 4962
742
+ "start": 10236
430
743
  }
431
744
  ]
432
745
  },
@@ -434,7 +747,37 @@
434
747
  "ObjectTypeLib": [
435
748
  {
436
749
  "length": 20,
437
- "start": 5216
750
+ "start": 10387
751
+ }
752
+ ]
753
+ },
754
+ "contracts/types/Version.sol": {
755
+ "VersionLib": [
756
+ {
757
+ "length": 20,
758
+ "start": 2825
759
+ },
760
+ {
761
+ "length": 20,
762
+ "start": 9241
763
+ }
764
+ ],
765
+ "VersionPartLib": [
766
+ {
767
+ "length": 20,
768
+ "start": 231
769
+ },
770
+ {
771
+ "length": 20,
772
+ "start": 8971
773
+ },
774
+ {
775
+ "length": 20,
776
+ "start": 9099
777
+ },
778
+ {
779
+ "length": 20,
780
+ "start": 9272
438
781
  }
439
782
  ]
440
783
  }
@@ -444,19 +787,23 @@
444
787
  "NftIdLib": [
445
788
  {
446
789
  "length": 20,
447
- "start": 1216
790
+ "start": 930
448
791
  },
449
792
  {
450
793
  "length": 20,
451
- "start": 4084
794
+ "start": 1302
452
795
  },
453
796
  {
454
797
  "length": 20,
455
- "start": 4770
798
+ "start": 1469
456
799
  },
457
800
  {
458
801
  "length": 20,
459
- "start": 4930
802
+ "start": 3698
803
+ },
804
+ {
805
+ "length": 20,
806
+ "start": 5281
460
807
  }
461
808
  ]
462
809
  },
@@ -464,7 +811,29 @@
464
811
  "ObjectTypeLib": [
465
812
  {
466
813
  "length": 20,
467
- "start": 5184
814
+ "start": 5432
815
+ }
816
+ ]
817
+ },
818
+ "contracts/types/Version.sol": {
819
+ "VersionLib": [
820
+ {
821
+ "length": 20,
822
+ "start": 4286
823
+ }
824
+ ],
825
+ "VersionPartLib": [
826
+ {
827
+ "length": 20,
828
+ "start": 4016
829
+ },
830
+ {
831
+ "length": 20,
832
+ "start": 4144
833
+ },
834
+ {
835
+ "length": 20,
836
+ "start": 4317
468
837
  }
469
838
  ]
470
839
  }