@etherisc/gif-next 0.0.2-d5522f6-712 → 0.0.2-d5b7b78-706

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/README.md +73 -1
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +832 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +747 -103
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +137 -114
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +743 -26
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +737 -58
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +692 -178
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +517 -135
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -79
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1003 -393
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +194 -197
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1015 -781
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +440 -176
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +120 -263
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +369 -299
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +330 -89
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +178 -158
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +61 -78
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +363 -301
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +305 -80
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1211 -172
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +456 -71
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +275 -185
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +155 -245
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → instance/service/IClaimService.sol/IClaimService.json} +159 -147
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +728 -161
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +60 -291
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +81 -152
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +22 -174
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +244 -379
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +311 -114
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +289 -192
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +313 -76
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +206 -206
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +305 -76
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +117 -5
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +112 -198
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +131 -27
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +18 -18
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +216 -234
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +300 -81
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +70 -69
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +151 -50
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +22 -174
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +114 -157
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +135 -214
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  170. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  173. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  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 +17 -4
  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/NumberId.sol/NumberIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  186. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  194. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  196. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  198. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  200. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  202. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  204. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  208. package/contracts/components/Component.sol +251 -0
  209. package/contracts/components/Distribution.sol +199 -83
  210. package/contracts/components/IComponent.sol +74 -0
  211. package/contracts/components/IDistributionComponent.sol +44 -17
  212. package/contracts/components/IPoolComponent.sol +88 -41
  213. package/contracts/components/IProductComponent.sol +10 -5
  214. package/contracts/components/Pool.sol +209 -182
  215. package/contracts/components/Product.sol +118 -126
  216. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
  217. package/contracts/instance/BundleManager.sol +14 -16
  218. package/contracts/instance/Cloneable.sol +7 -2
  219. package/contracts/instance/IInstance.sol +52 -16
  220. package/contracts/instance/IInstanceService.sol +37 -5
  221. package/contracts/instance/Instance.sol +126 -75
  222. package/contracts/instance/InstanceAccessManager.sol +383 -164
  223. package/contracts/instance/InstanceReader.sol +9 -34
  224. package/contracts/instance/InstanceService.sol +277 -127
  225. package/contracts/instance/InstanceServiceManager.sol +1 -1
  226. package/contracts/instance/ObjectManager.sol +10 -29
  227. package/contracts/instance/base/ComponentService.sol +134 -0
  228. package/contracts/instance/base/KeyValueStore.sol +5 -2
  229. package/contracts/instance/base/Lifecycle.sol +11 -2
  230. package/contracts/instance/module/IAccess.sol +22 -16
  231. package/contracts/instance/module/IBundle.sol +2 -1
  232. package/contracts/instance/module/IComponents.sol +35 -0
  233. package/contracts/instance/module/IDistribution.sol +2 -0
  234. package/contracts/instance/module/IPolicy.sol +30 -3
  235. package/contracts/instance/module/ISetup.sol +7 -20
  236. package/contracts/instance/service/ApplicationService.sol +350 -0
  237. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  238. package/contracts/instance/service/BundleService.sol +84 -42
  239. package/contracts/instance/service/BundleServiceManager.sol +1 -1
  240. package/contracts/instance/service/ClaimService.sol +151 -0
  241. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  242. package/contracts/instance/service/DistributionService.sol +393 -46
  243. package/contracts/instance/service/DistributionServiceManager.sol +1 -1
  244. package/contracts/instance/service/IApplicationService.sol +82 -0
  245. package/contracts/instance/service/IBundleService.sol +30 -12
  246. package/contracts/instance/service/IClaimService.sol +61 -0
  247. package/contracts/instance/service/IDistributionService.sol +86 -0
  248. package/contracts/instance/service/IPolicyService.sol +27 -49
  249. package/contracts/instance/service/IPoolService.sol +17 -2
  250. package/contracts/instance/service/PolicyService.sol +149 -285
  251. package/contracts/instance/service/PolicyServiceManager.sol +2 -2
  252. package/contracts/instance/service/PoolService.sol +136 -61
  253. package/contracts/instance/service/PoolServiceManager.sol +1 -1
  254. package/contracts/instance/service/ProductService.sol +62 -34
  255. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  256. package/contracts/registry/ChainNft.sol +8 -0
  257. package/contracts/registry/IRegistry.sol +18 -8
  258. package/contracts/registry/IRegistryService.sol +19 -10
  259. package/contracts/registry/ITransferInterceptor.sol +1 -0
  260. package/contracts/registry/Registry.sol +142 -71
  261. package/contracts/registry/RegistryAccessManager.sol +31 -25
  262. package/contracts/registry/RegistryService.sol +94 -130
  263. package/contracts/registry/RegistryServiceManager.sol +13 -13
  264. package/contracts/registry/ReleaseManager.sol +94 -120
  265. package/contracts/registry/TokenRegistry.sol +19 -13
  266. package/contracts/shared/ERC165.sol +14 -12
  267. package/contracts/shared/INftOwnable.sol +11 -10
  268. package/contracts/shared/IPolicyHolder.sol +26 -0
  269. package/contracts/shared/IRegisterable.sol +4 -6
  270. package/contracts/shared/IRegistryLinked.sol +12 -0
  271. package/contracts/shared/IService.sol +2 -0
  272. package/contracts/shared/IVersionable.sol +4 -47
  273. package/contracts/shared/NftOwnable.sol +66 -80
  274. package/contracts/shared/PolicyHolder.sol +81 -0
  275. package/contracts/shared/ProxyManager.sol +100 -25
  276. package/contracts/shared/Registerable.sol +16 -32
  277. package/contracts/shared/RegistryLinked.sol +48 -0
  278. package/contracts/shared/Service.sol +19 -19
  279. package/contracts/shared/TokenHandler.sol +11 -5
  280. package/contracts/shared/Versionable.sol +4 -92
  281. package/contracts/test/TestRegisterable.sol +1 -1
  282. package/contracts/test/TestService.sol +1 -1
  283. package/contracts/types/Blocknumber.sol +1 -0
  284. package/contracts/types/ClaimId.sol +52 -0
  285. package/contracts/types/DistributorType.sol +2 -2
  286. package/contracts/types/Fee.sol +1 -0
  287. package/contracts/types/NftId.sol +8 -0
  288. package/contracts/types/ObjectType.sol +10 -5
  289. package/contracts/types/PayoutId.sol +54 -0
  290. package/contracts/types/Referral.sol +4 -0
  291. package/contracts/types/RoleId.sol +18 -11
  292. package/contracts/types/Seconds.sol +54 -0
  293. package/contracts/types/StateId.sol +1 -0
  294. package/contracts/types/Timestamp.sol +13 -13
  295. package/contracts/types/UFixed.sol +1 -0
  296. package/contracts/types/Version.sol +1 -0
  297. package/package.json +3 -3
  298. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  299. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  300. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  301. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  302. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  303. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  305. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  306. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  307. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  308. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  310. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  312. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  314. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  316. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  318. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  320. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  322. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  325. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  327. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  329. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  331. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  333. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  335. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  337. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  339. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  340. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  341. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  342. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  343. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  344. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  345. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  346. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  347. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  348. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  349. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  350. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  351. package/contracts/components/BaseComponent.sol +0 -159
  352. package/contracts/components/IBaseComponent.sol +0 -34
  353. package/contracts/experiment/cloning/Cloner.sol +0 -47
  354. package/contracts/experiment/errors/Require.sol +0 -38
  355. package/contracts/experiment/errors/Revert.sol +0 -44
  356. package/contracts/experiment/inheritance/A.sol +0 -53
  357. package/contracts/experiment/inheritance/B.sol +0 -28
  358. package/contracts/experiment/inheritance/C.sol +0 -34
  359. package/contracts/experiment/inheritance/IA.sol +0 -13
  360. package/contracts/experiment/inheritance/IB.sol +0 -10
  361. package/contracts/experiment/inheritance/IC.sol +0 -12
  362. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  363. package/contracts/experiment/statemachine/ISM.sol +0 -25
  364. package/contracts/experiment/statemachine/SM.sol +0 -57
  365. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  366. package/contracts/experiment/types/TypeA.sol +0 -47
  367. package/contracts/experiment/types/TypeB.sol +0 -29
  368. package/contracts/instance/IInstanceBase.sol +0 -26
  369. package/contracts/instance/InstanceBase.sol +0 -41
  370. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  371. package/contracts/instance/base/IInstanceBase.sol +0 -23
  372. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  373. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  374. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -6,131 +6,173 @@
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "ObjectType",
10
- "name": "componentType",
11
- "type": "uint8"
9
+ "internalType": "address",
10
+ "name": "component",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
12
17
  }
13
18
  ],
14
- "name": "ComponentTypeInvalid",
19
+ "name": "ErrorComponentServiceAlreadyRegistered",
15
20
  "type": "error"
16
21
  },
17
22
  {
18
23
  "inputs": [
19
24
  {
20
25
  "internalType": "address",
21
- "name": "registry",
26
+ "name": "component",
22
27
  "type": "address"
23
- },
24
- {
25
- "internalType": "NftId",
26
- "name": "nftId",
27
- "type": "uint96"
28
28
  }
29
29
  ],
30
- "name": "ErrorAlreadyLinked",
30
+ "name": "ErrorComponentServiceComponentLocked",
31
31
  "type": "error"
32
32
  },
33
33
  {
34
34
  "inputs": [
35
+ {
36
+ "internalType": "NftId",
37
+ "name": "instanceNftId",
38
+ "type": "uint96"
39
+ },
40
+ {
41
+ "internalType": "RoleId",
42
+ "name": "requiredRole",
43
+ "type": "uint64"
44
+ },
35
45
  {
36
46
  "internalType": "address",
37
- "name": "componentAddress",
47
+ "name": "sender",
38
48
  "type": "address"
39
49
  }
40
50
  ],
41
- "name": "ErrorComponentServiceBaseComponentLocked",
51
+ "name": "ErrorComponentServiceExpectedRoleMissing",
42
52
  "type": "error"
43
53
  },
44
54
  {
45
55
  "inputs": [
46
56
  {
47
57
  "internalType": "address",
48
- "name": "contractAddress",
58
+ "name": "component",
49
59
  "type": "address"
60
+ },
61
+ {
62
+ "internalType": "ObjectType",
63
+ "name": "requiredType",
64
+ "type": "uint8"
65
+ },
66
+ {
67
+ "internalType": "ObjectType",
68
+ "name": "componentType",
69
+ "type": "uint8"
50
70
  }
51
71
  ],
52
- "name": "ErrorContractNotRegistered",
72
+ "name": "ErrorComponentServiceInvalidType",
53
73
  "type": "error"
54
74
  },
55
75
  {
56
76
  "inputs": [
57
77
  {
58
78
  "internalType": "address",
59
- "name": "target",
79
+ "name": "component",
60
80
  "type": "address"
61
81
  }
62
82
  ],
63
- "name": "ErrorIAccessTargetLocked",
83
+ "name": "ErrorComponentServiceNotComponent",
64
84
  "type": "error"
65
85
  },
66
86
  {
67
87
  "inputs": [
68
88
  {
69
89
  "internalType": "address",
70
- "name": "account",
90
+ "name": "component",
91
+ "type": "address"
92
+ },
93
+ {
94
+ "internalType": "address",
95
+ "name": "initialOwner",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "internalType": "address",
100
+ "name": "sender",
71
101
  "type": "address"
72
102
  }
73
103
  ],
74
- "name": "ErrorNotOwner",
104
+ "name": "ErrorComponentServiceSenderNotOwner",
75
105
  "type": "error"
76
106
  },
77
107
  {
78
108
  "inputs": [
79
109
  {
80
110
  "internalType": "address",
81
- "name": "registryAddress",
111
+ "name": "target",
82
112
  "type": "address"
83
113
  }
84
114
  ],
85
- "name": "ErrorNotRegistry",
115
+ "name": "ErrorIAccessTargetLocked",
86
116
  "type": "error"
87
117
  },
88
118
  {
89
119
  "inputs": [
90
120
  {
91
121
  "internalType": "address",
92
- "name": "registryAddress",
122
+ "name": "caller",
93
123
  "type": "address"
94
124
  }
95
125
  ],
96
- "name": "ErrorRegisterableNotRegistry",
126
+ "name": "ErrorIServiceCallerUnknown",
97
127
  "type": "error"
98
128
  },
99
129
  {
100
- "inputs": [],
101
- "name": "ErrorRegistryAddressZero",
130
+ "inputs": [
131
+ {
132
+ "internalType": "NftId",
133
+ "name": "nftId",
134
+ "type": "uint96"
135
+ }
136
+ ],
137
+ "name": "ErrorNftOwnableAlreadyLinked",
102
138
  "type": "error"
103
139
  },
104
140
  {
105
141
  "inputs": [
106
142
  {
107
143
  "internalType": "address",
108
- "name": "registry",
144
+ "name": "contractAddress",
109
145
  "type": "address"
110
146
  }
111
147
  ],
112
- "name": "ErrorRegistryAlreadyInitialized",
148
+ "name": "ErrorNftOwnableContractNotRegistered",
113
149
  "type": "error"
114
150
  },
115
151
  {
116
152
  "inputs": [],
117
- "name": "ErrorRegistryNotInitialized",
153
+ "name": "ErrorNftOwnableInitialOwnerZero",
118
154
  "type": "error"
119
155
  },
120
156
  {
121
157
  "inputs": [
122
158
  {
123
- "internalType": "RoleId",
124
- "name": "expected",
125
- "type": "uint64"
126
- },
159
+ "internalType": "address",
160
+ "name": "account",
161
+ "type": "address"
162
+ }
163
+ ],
164
+ "name": "ErrorNftOwnableNotOwner",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
127
169
  {
128
170
  "internalType": "address",
129
- "name": "caller",
171
+ "name": "registryAddress",
130
172
  "type": "address"
131
173
  }
132
174
  ],
133
- "name": "ExpectedRoleMissing",
175
+ "name": "ErrorNotRegistry",
134
176
  "type": "error"
135
177
  },
136
178
  {
@@ -170,29 +212,17 @@
170
212
  "type": "event"
171
213
  },
172
214
  {
173
- "anonymous": false,
174
- "inputs": [
175
- {
176
- "indexed": false,
177
- "internalType": "Version",
178
- "name": "version",
179
- "type": "uint24"
180
- },
181
- {
182
- "indexed": false,
183
- "internalType": "address",
184
- "name": "implementation",
185
- "type": "address"
186
- },
215
+ "inputs": [],
216
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
217
+ "outputs": [
187
218
  {
188
- "indexed": false,
189
- "internalType": "address",
190
- "name": "activatedBy",
191
- "type": "address"
219
+ "internalType": "bytes32",
220
+ "name": "",
221
+ "type": "bytes32"
192
222
  }
193
223
  ],
194
- "name": "LogVersionableInitialized",
195
- "type": "event"
224
+ "stateMutability": "view",
225
+ "type": "function"
196
226
  },
197
227
  {
198
228
  "inputs": [],
@@ -281,26 +311,8 @@
281
311
  }
282
312
  ],
283
313
  "internalType": "struct IRegistry.ObjectInfo",
284
- "name": "",
314
+ "name": "info",
285
315
  "type": "tuple"
286
- },
287
- {
288
- "internalType": "bytes",
289
- "name": "data",
290
- "type": "bytes"
291
- }
292
- ],
293
- "stateMutability": "view",
294
- "type": "function"
295
- },
296
- {
297
- "inputs": [],
298
- "name": "getInitializedVersion",
299
- "outputs": [
300
- {
301
- "internalType": "uint64",
302
- "name": "",
303
- "type": "uint64"
304
316
  }
305
317
  ],
306
318
  "stateMutability": "view",
@@ -373,10 +385,10 @@
373
385
  },
374
386
  {
375
387
  "inputs": [],
376
- "name": "getRegistryService",
388
+ "name": "getRegistryAddress",
377
389
  "outputs": [
378
390
  {
379
- "internalType": "contract IRegistryService",
391
+ "internalType": "address",
380
392
  "name": "",
381
393
  "type": "address"
382
394
  }
@@ -386,25 +398,19 @@
386
398
  },
387
399
  {
388
400
  "inputs": [],
389
- "name": "getVersion",
401
+ "name": "getRegistryService",
390
402
  "outputs": [
391
403
  {
392
- "internalType": "Version",
404
+ "internalType": "contract IRegistryService",
393
405
  "name": "",
394
- "type": "uint24"
406
+ "type": "address"
395
407
  }
396
408
  ],
397
- "stateMutability": "pure",
409
+ "stateMutability": "view",
398
410
  "type": "function"
399
411
  },
400
412
  {
401
- "inputs": [
402
- {
403
- "internalType": "uint256",
404
- "name": "idx",
405
- "type": "uint256"
406
- }
407
- ],
413
+ "inputs": [],
408
414
  "name": "getVersion",
409
415
  "outputs": [
410
416
  {
@@ -413,87 +419,68 @@
413
419
  "type": "uint24"
414
420
  }
415
421
  ],
416
- "stateMutability": "view",
422
+ "stateMutability": "pure",
417
423
  "type": "function"
418
424
  },
419
425
  {
420
426
  "inputs": [],
421
- "name": "getVersionCount",
422
- "outputs": [
423
- {
424
- "internalType": "uint256",
425
- "name": "",
426
- "type": "uint256"
427
- }
428
- ],
429
- "stateMutability": "view",
427
+ "name": "initializeERC165",
428
+ "outputs": [],
429
+ "stateMutability": "nonpayable",
430
430
  "type": "function"
431
431
  },
432
432
  {
433
433
  "inputs": [
434
434
  {
435
- "internalType": "Version",
436
- "name": "_version",
437
- "type": "uint24"
438
- }
439
- ],
440
- "name": "getVersionInfo",
441
- "outputs": [
435
+ "internalType": "address",
436
+ "name": "initialOwner",
437
+ "type": "address"
438
+ },
442
439
  {
443
- "components": [
444
- {
445
- "internalType": "Version",
446
- "name": "version",
447
- "type": "uint24"
448
- },
449
- {
450
- "internalType": "address",
451
- "name": "implementation",
452
- "type": "address"
453
- },
454
- {
455
- "internalType": "address",
456
- "name": "activatedBy",
457
- "type": "address"
458
- },
459
- {
460
- "internalType": "Timestamp",
461
- "name": "activatedAt",
462
- "type": "uint40"
463
- },
464
- {
465
- "internalType": "Blocknumber",
466
- "name": "activatedIn",
467
- "type": "uint32"
468
- }
469
- ],
470
- "internalType": "struct IVersionable.VersionInfo",
471
- "name": "",
472
- "type": "tuple"
440
+ "internalType": "address",
441
+ "name": "registryAddress",
442
+ "type": "address"
473
443
  }
474
444
  ],
475
- "stateMutability": "view",
445
+ "name": "initializeNftOwnable",
446
+ "outputs": [],
447
+ "stateMutability": "nonpayable",
476
448
  "type": "function"
477
449
  },
478
450
  {
479
451
  "inputs": [
480
452
  {
481
453
  "internalType": "address",
482
- "name": "implementation",
454
+ "name": "registryAddress",
483
455
  "type": "address"
484
456
  },
457
+ {
458
+ "internalType": "NftId",
459
+ "name": "parentNftId",
460
+ "type": "uint96"
461
+ },
462
+ {
463
+ "internalType": "ObjectType",
464
+ "name": "objectType",
465
+ "type": "uint8"
466
+ },
467
+ {
468
+ "internalType": "bool",
469
+ "name": "isInterceptor",
470
+ "type": "bool"
471
+ },
485
472
  {
486
473
  "internalType": "address",
487
- "name": "activatedBy",
474
+ "name": "initialOwner",
488
475
  "type": "address"
489
476
  },
490
477
  {
491
478
  "internalType": "bytes",
492
- "name": "data",
479
+ "name": "registryData",
493
480
  "type": "bytes"
494
481
  }
495
482
  ],
496
- "name": "initialize",
483
+ "name": "initializeRegisterable",
497
484
  "outputs": [],
498
485
  "stateMutability": "nonpayable",
499
486
  "type": "function"
@@ -501,20 +488,50 @@
501
488
  {
502
489
  "inputs": [
503
490
  {
504
- "internalType": "Version",
505
- "name": "_version",
506
- "type": "uint24"
491
+ "internalType": "address",
492
+ "name": "registryAddress",
493
+ "type": "address"
507
494
  }
508
495
  ],
509
- "name": "isInitialized",
510
- "outputs": [
496
+ "name": "initializeRegistryLinked",
497
+ "outputs": [],
498
+ "stateMutability": "nonpayable",
499
+ "type": "function"
500
+ },
501
+ {
502
+ "inputs": [
511
503
  {
512
- "internalType": "bool",
513
- "name": "",
514
- "type": "bool"
504
+ "internalType": "address",
505
+ "name": "registry",
506
+ "type": "address"
507
+ },
508
+ {
509
+ "internalType": "address",
510
+ "name": "initialOwner",
511
+ "type": "address"
515
512
  }
516
513
  ],
517
- "stateMutability": "view",
514
+ "name": "initializeService",
515
+ "outputs": [],
516
+ "stateMutability": "nonpayable",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "inputs": [
521
+ {
522
+ "internalType": "address",
523
+ "name": "activatedBy",
524
+ "type": "address"
525
+ },
526
+ {
527
+ "internalType": "bytes",
528
+ "name": "data",
529
+ "type": "bytes"
530
+ }
531
+ ],
532
+ "name": "initializeVersionable",
533
+ "outputs": [],
534
+ "stateMutability": "nonpayable",
518
535
  "type": "function"
519
536
  },
520
537
  {
@@ -543,6 +560,19 @@
543
560
  "stateMutability": "nonpayable",
544
561
  "type": "function"
545
562
  },
563
+ {
564
+ "inputs": [
565
+ {
566
+ "internalType": "bytes4",
567
+ "name": "interfaceId",
568
+ "type": "bytes4"
569
+ }
570
+ ],
571
+ "name": "registerInterface",
572
+ "outputs": [],
573
+ "stateMutability": "nonpayable",
574
+ "type": "function"
575
+ },
546
576
  {
547
577
  "inputs": [
548
578
  {
@@ -642,64 +672,42 @@
642
672
  },
643
673
  {
644
674
  "inputs": [
645
- {
646
- "internalType": "address",
647
- "name": "implementation",
648
- "type": "address"
649
- },
650
- {
651
- "internalType": "address",
652
- "name": "activatedBy",
653
- "type": "address"
654
- },
655
675
  {
656
676
  "internalType": "bytes",
657
677
  "name": "data",
658
678
  "type": "bytes"
659
679
  }
660
680
  ],
661
- "name": "upgrade",
681
+ "name": "upgradeVersionable",
662
682
  "outputs": [],
663
683
  "stateMutability": "nonpayable",
664
684
  "type": "function"
665
685
  }
666
686
  ],
667
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612fa5806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c8063893d20e8116100c3578063b6b412ba1161007c578063b6b412ba14610454578063b88da75914610467578063caf4e3d41461047a578063cc9fc59a14610482578063cde749f41461048a578063cf7a1d771461049257600080fd5b8063893d20e8146103ca5780638f997f6d146103d2578063946dfcfe146103e5578063a745e3df1461040c578063b3c650151461041f578063b68d18091461043f57600080fd5b80634420e486116101155780634420e486146102235780634d459c901461024e5780634f421333146103675780635ab1bd531461037a578063644c45e01461039f5780637cef4842146103b757600080fd5b806301ffc9a71461015d578063095e2b721461019f5780630d8e6e2c146101b45780630fec111c146101d0578063138461e0146101e65780631eff4b22146101ee575b600080fd5b61018a61016b366004612246565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101b26101ad3660046123c4565b6104a5565b005b6101bc61053e565b60405162ffffff9091168152602001610196565b6101d86105c8565b604051610196929190612461565b6101b261071b565b6102157f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610196565b61023661023136600461251d565b61093d565b6040516001600160601b039091168152602001610196565b61030a61025c36600461254b565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612f5083398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610196565b61018a61037536600461254b565b610c0e565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610196565b600154600160a01b90046001600160601b0316610236565b6101b26103c5366004612577565b610cc1565b610387610d42565b6101b26103e03660046123c4565b610e5b565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610215565b6101b261041a3660046125ae565b610fbe565b610427611118565b6040516001600160401b039091168152602001610196565b606e5b60405160ff9091168152602001610196565b6101b261046236600461263f565b611139565b6101bc610475366004612674565b6112a6565b6103876112f7565b610387611394565b6104426113be565b6101b26104a03660046125ae565b611441565b6000806104b2606e61154a565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a9061050490899085906004016126bd565b600060405180830381600087803b15801561051e57600080fd5b505af1158015610532573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561059f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c391906126e2565b905090565b6105d0612150565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061061c6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610664610d42565b6001600160a01b03168152602001826001018054610681906126ff565b80601f01602080910402602001604051908101604052809291908181526020018280546106ad906126ff565b80156106fa5780601f106106cf576101008083540402835291602001916106fa565b820191906000526020600020905b8154815290600101906020018083116106dd57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561077d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a19190612749565b156107e8576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108115760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087e9190612749565b6108a6576040516372657a5160e01b81526001600160a01b03821660048201526024016107df565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156108f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610914919061277b565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60003382610949612150565b60606109536112f7565b604051635d96628960e01b81526001600160a01b03858116600483015286811660248301529190911690635d966289906044016000604051808303816000875af11580156109a5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109cd91908101906128a9565b6020820151919350915060006109e2826117c1565b905060006109ee611394565b6001600160a01b031663103bd5da88610a05611858565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201526001600160401b0390911660248201529085166044820152606401602060405180830381865afa158015610a61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a859190612749565b905080610ac857610a94611858565b6040516351302f8160e01b81526001600160401b0390911660048201526001600160a01b03881660248201526044016107df565b845197506060610ad661218e565b610adf866118d0565b6040516348ffb75560e11b815291935091506001600160a01b038516906391ff6eaa90610b12908d908590600401612a28565b600060405180830381600087803b158015610b2c57600080fd5b505af1158015610b40573d6000803e3d6000fd5b50505050610b4c611394565b6001600160a01b03166386ebbf42868d856040518463ffffffff1660e01b8152600401610b7b93929190612a46565b600060405180830381600087803b158015610b9557600080fd5b505af1158015610ba9573d6000803e3d6000fd5b50505050876001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610be857600080fd5b505af1158015610bfc573d6000803e3d6000fd5b50505050505050505050505050919050565b600080600080516020612f5083398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba9190612a79565b1192915050565b6000610ccd606e61154a565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b158015610d2557600080fd5b505af1158015610d39573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcb9190612749565b15610e4b57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610e27573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c39190612a92565b506002546001600160a01b031690565b6000610e67606e61154a565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ece9190612a92565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015610f22573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f4a9190810190612aaf565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee01890610f85908890859060ff90600401612b2c565b600060405180830381600087803b158015610f9f57600080fd5b505af1158015610fb3573d6000803e3d6000fd5b505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610fe061053e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611020573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110449190612b79565b600080516020612f308339815191528054600160401b900460ff1680611077575080546001600160401b03808416911610155b156110955760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110c085856118f8565b6110c983611b97565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105c3600080516020612f30833981519152546001600160401b031690565b600080611146606e61154a565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561118a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ae9190612a92565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161024060405180830381865afa158015611205573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112299190612cbe565b60a0810188905260c081018790526040516354e750a160e11b81529091506001600160a01b0385169063a9cea1429061126b908590859060ff90600401612cdb565b600060405180830381600087803b15801561128557600080fd5b505af1158015611299573d6000803e3d6000fd5b5050505050505050505050565b6000600080516020612f5083398151915260010182815481106112cb576112cb612d0b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061130c6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6113256113be565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561136a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138e9190612a92565b92915050565b6000806113a96001546001600160a01b031690565b6001600160a01b031663d39e6043604661131d565b60006113c861053e565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561141d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c39190612d21565b600080516020612f308339815191528054600160401b810460ff1615906001600160401b03166000811580156114745750825b90506000826001600160401b031660011480156114905750303b155b90508115801561149e575080155b156114bc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114e657845460ff60401b1916600160401b1785555b6114f088886118f8565b6114fa8787611b9f565b831561154057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b611552612150565b6000806115676001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156115ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115d69190810190612d3e565b92506115ec83604001518560ff90811691161490565b61162e5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107df565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611684573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ac9190810190612d3e565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117199190612a92565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611766573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178a9190612749565b156117b957608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107df565b505050915091565b6000806117d66001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611825573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261184d9190810190612d3e565b608001519392505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af41580156118ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c39190612b79565b60606118da61218e565b828060200190518101906118ee9190612d72565b9094909350915050565b611900611d6e565b600080516020612f508339815191526000611930600080516020612f30833981519152546001600160401b031690565b9050600061193c61053e565b9050816001600160401b03166001036119695760028301805462ffffff191662ffffff83161790556119b7565b600283015462ffffff908116908216116119b75760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107df565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611a6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8f9190612dcc565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906111099083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610158611d6e565b600080516020612f308339815191528054600160401b810460ff1615906001600160401b0316600081158015611bd25750825b90506000826001600160401b03166001148015611bee5750303b155b905081158015611bfc575080155b15611c1a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c4457845460ff60401b1916600160401b1785555b60008087806020019051810190611c5b9190612df3565b9092509050611c6a828a611da7565b6001546001600160a01b031663d39e6043608c611c856113be565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611cca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cee9190612a92565b600380546001600160a01b0319166001600160a01b0392909216919091179055611d1e6308bcea6160e01b611e12565b50508315610d3957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b600080516020612f3083398151915254600160401b900460ff16611da557604051631afcd79f60e31b815260040160405180910390fd5b565b6000606e611db36113be565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611de884611e37565b90506000611dfb8583603c848888611ea2565b611e0b637b6a51fd60e01b611e12565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611e7e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138e919061277b565b611ee36301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611eed8287611f6e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611f5d8382612e70565b50610d396303fb044760e21b611e12565b6001600160a01b038216611fc45760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016107df565b600280546001600160a01b0319166001600160a01b038416179055611fe881611fec565b5050565b6001546001600160a01b0316156120255760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107df565b6001600160a01b03811661204c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036120825760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107df565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156120fc575060408051601f3d908101601f191682019092526120f991810190612749565b60015b6121245760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107df565b80611fe85760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107df565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850190945281845283015290610120820190815260006020820181905260409091015290565b60006020828403121561225857600080fd5b81356001600160e01b03198116811461227057600080fd5b9392505050565b80356001600160c01b03198116811461228f57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156122cc576122cc612294565b60405290565b60405160e081016001600160401b03811182821017156122cc576122cc612294565b60405161018081016001600160401b03811182821017156122cc576122cc612294565b604051601f8201601f191681016001600160401b038111828210171561233f5761233f612294565b604052919050565b60006001600160401b0382111561236057612360612294565b50601f01601f191660200190565b600082601f83011261237f57600080fd5b813561239261238d82612347565b612317565b8181528460208386010111156123a757600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156123d757600080fd5b6123e083612277565b915060208301356001600160401b038111156123fb57600080fd5b6124078582860161236e565b9150509250929050565b60005b8381101561242c578181015183820152602001612414565b50506000910152565b6000815180845261244d816020860160208601612411565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516124a560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526124eb610120840182612435565b905082810360208401526124ff8185612435565b95945050505050565b6001600160a01b038116811461214d57600080fd5b60006020828403121561252f57600080fd5b813561227081612508565b62ffffff8116811461214d57600080fd5b60006020828403121561255d57600080fd5b81356122708161253a565b60ff8116811461214d57600080fd5b6000806040838503121561258a57600080fd5b61259383612277565b915060208301356125a381612568565b809150509250929050565b6000806000606084860312156125c357600080fd5b83356125ce81612508565b925060208401356125de81612508565b915060408401356001600160401b038111156125f957600080fd5b6126058682870161236e565b9150509250925092565b60006040828403121561262157600080fd5b6126296122aa565b9050813581526020820135602082015292915050565b6000806080838503121561265257600080fd5b61265c848461260f565b915061266b846040850161260f565b90509250929050565b60006020828403121561268657600080fd5b5035919050565b6001600160601b03815116825260006020820151604060208501526126b56040850182612435565b949350505050565b6001600160401b0360c01b831681526040602082015260006126b5604083018461268d565b6000602082840312156126f457600080fd5b81516122708161253a565b600181811c9082168061271357607f821691505b60208210810361273357634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461228f57600080fd5b60006020828403121561275b57600080fd5b61227082612739565b80516001600160601b038116811461228f57600080fd5b60006020828403121561278d57600080fd5b61227082612764565b805161228f81612568565b805161228f81612508565b60006127ba61238d84612347565b90508281528383830111156127ce57600080fd5b612270836020830184612411565b600082601f8301126127ed57600080fd5b612270838351602085016127ac565b600060e0828403121561280e57600080fd5b6128166122d2565b905061282182612764565b815261282f60208301612764565b602082015261284060408301612796565b604082015261285160608301612739565b6060820152612862608083016127a1565b608082015261287360a083016127a1565b60a082015260c08201516001600160401b0381111561289157600080fd5b61289d848285016127dc565b60c08301525092915050565b600080604083850312156128bc57600080fd5b82516001600160401b03808211156128d357600080fd5b6128df868387016127fc565b935060208501519150808211156128f557600080fd5b50612407858286016127dc565b80516001600160a01b03168252602081015161292960208401826001600160a01b03169052565b50604081015161294460408401826001600160601b03169052565b50606081015161295f60608401826001600160601b03169052565b50608081015161297c608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c08101516101006129b28185018380518252602090810151910152565b60e083015191506101406129d28186018480518252602090810151910152565b9083015180516101808601526020908101516101a086015261012084015180516101c087015201516101e085015282015115156102008401525061016001516001600160a01b031661022090910152565b505050565b6001600160601b038316815261026081016122706020830184612902565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906124ff90830184612435565b600060208284031215612a8b57600080fd5b5051919050565b600060208284031215612aa457600080fd5b815161227081612508565b600060208284031215612ac157600080fd5b81516001600160401b0380821115612ad857600080fd5b9083019060408286031215612aec57600080fd5b612af46122aa565b612afd83612764565b8152602083015182811115612b1157600080fd5b612b1d878286016127dc565b60208301525095945050505050565b6001600160401b0360c01b84168152606060208201526000612b51606083018561268d565b905060ff83166040830152949350505050565b6001600160401b038116811461214d57600080fd5b600060208284031215612b8b57600080fd5b815161227081612b64565b600060408284031215612ba857600080fd5b612bb06122aa565b9050815181526020820151602082015292915050565b60006102408284031215612bd957600080fd5b612be16122f4565b9050612bec826127a1565b8152612bfa602083016127a1565b6020820152612c0b60408301612764565b6040820152612c1c60608301612764565b6060820152612c2e8360808401612b96565b6080820152612c408360c08401612b96565b60a0820152610100612c5484828501612b96565b60c0830152610140612c6885828601612b96565b60e0840152612c7b856101808601612b96565b82840152612c8d856101c08601612b96565b610120840152612ca06102008501612739565b9083015250612cb261022083016127a1565b61016082015292915050565b60006102408284031215612cd157600080fd5b6122708383612bc6565b6001600160601b03841681526102808101612cf96020830185612902565b60ff8316610260830152949350505050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612d3357600080fd5b815161227081612568565b600060208284031215612d5057600080fd5b81516001600160401b03811115612d6657600080fd5b6126b5848285016127fc565b6000806102608385031215612d8657600080fd5b82516001600160401b03811115612d9c57600080fd5b8301601f81018513612dad57600080fd5b612dbc858251602084016127ac565b92505061266b8460208501612bc6565b600060208284031215612dde57600080fd5b815164ffffffffff8116811461227057600080fd5b60008060408385031215612e0657600080fd5b8251612e1181612508565b60208401519092506125a381612508565b601f821115612a2357600081815260208120601f850160051c81016020861015612e495750805b601f850160051c820191505b81811015612e6857828155600101612e55565b505050505050565b81516001600160401b03811115612e8957612e89612294565b612e9d81612e9784546126ff565b84612e22565b602080601f831160018114612ed25760008415612eba5750858301515b600019600386901b1c1916600185901b178555612e68565b600085815260208120601f198616915b82811015612f0157888601518255948401946001909101908401612ee2565b5085821015612f1f5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212206761779bf026b8fce7a18f2365d091408d7d093d09b541acc06f212c15a367c964736f6c63430008140033",
668
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101585760003560e01c8063893d20e8116100c3578063b6b412ba1161007c578063b6b412ba14610454578063b88da75914610467578063caf4e3d41461047a578063cc9fc59a14610482578063cde749f41461048a578063cf7a1d771461049257600080fd5b8063893d20e8146103ca5780638f997f6d146103d2578063946dfcfe146103e5578063a745e3df1461040c578063b3c650151461041f578063b68d18091461043f57600080fd5b80634420e486116101155780634420e486146102235780634d459c901461024e5780634f421333146103675780635ab1bd531461037a578063644c45e01461039f5780637cef4842146103b757600080fd5b806301ffc9a71461015d578063095e2b721461019f5780630d8e6e2c146101b45780630fec111c146101d0578063138461e0146101e65780631eff4b22146101ee575b600080fd5b61018a61016b366004612246565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101b26101ad3660046123c4565b6104a5565b005b6101bc61053e565b60405162ffffff9091168152602001610196565b6101d86105c8565b604051610196929190612461565b6101b261071b565b6102157f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610196565b61023661023136600461251d565b61093d565b6040516001600160601b039091168152602001610196565b61030a61025c36600461254b565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612f5083398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610196565b61018a61037536600461254b565b610c0e565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610196565b600154600160a01b90046001600160601b0316610236565b6101b26103c5366004612577565b610cc1565b610387610d42565b6101b26103e03660046123c4565b610e5b565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610215565b6101b261041a3660046125ae565b610fbe565b610427611118565b6040516001600160401b039091168152602001610196565b606e5b60405160ff9091168152602001610196565b6101b261046236600461263f565b611139565b6101bc610475366004612674565b6112a6565b6103876112f7565b610387611394565b6104426113be565b6101b26104a03660046125ae565b611441565b6000806104b2606e61154a565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a9061050490899085906004016126bd565b600060405180830381600087803b15801561051e57600080fd5b505af1158015610532573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561059f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c391906126e2565b905090565b6105d0612150565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061061c6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610664610d42565b6001600160a01b03168152602001826001018054610681906126ff565b80601f01602080910402602001604051908101604052809291908181526020018280546106ad906126ff565b80156106fa5780601f106106cf576101008083540402835291602001916106fa565b820191906000526020600020905b8154815290600101906020018083116106dd57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561077d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a19190612749565b156107e8576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108115760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087e9190612749565b6108a6576040516372657a5160e01b81526001600160a01b03821660048201526024016107df565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156108f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610914919061277b565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60003382610949612150565b60606109536112f7565b604051635d96628960e01b81526001600160a01b03858116600483015286811660248301529190911690635d966289906044016000604051808303816000875af11580156109a5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526109cd91908101906128a9565b6020820151919350915060006109e2826117c1565b905060006109ee611394565b6001600160a01b031663103bd5da88610a05611858565b6040516001600160e01b031960e085901b1681526001600160a01b0392831660048201526001600160401b0390911660248201529085166044820152606401602060405180830381865afa158015610a61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a859190612749565b905080610ac857610a94611858565b6040516351302f8160e01b81526001600160401b0390911660048201526001600160a01b03881660248201526044016107df565b845197506060610ad661218e565b610adf866118d0565b6040516348ffb75560e11b815291935091506001600160a01b038516906391ff6eaa90610b12908d908590600401612a28565b600060405180830381600087803b158015610b2c57600080fd5b505af1158015610b40573d6000803e3d6000fd5b50505050610b4c611394565b6001600160a01b03166386ebbf42868d856040518463ffffffff1660e01b8152600401610b7b93929190612a46565b600060405180830381600087803b158015610b9557600080fd5b505af1158015610ba9573d6000803e3d6000fd5b50505050876001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610be857600080fd5b505af1158015610bfc573d6000803e3d6000fd5b50505050505050505050505050919050565b600080600080516020612f5083398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba9190612a79565b1192915050565b6000610ccd606e61154a565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b158015610d2557600080fd5b505af1158015610d39573d6000803e3d6000fd5b50505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610da7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcb9190612749565b15610e4b57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610e27573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c39190612a92565b506002546001600160a01b031690565b6000610e67606e61154a565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ece9190612a92565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015610f22573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f4a9190810190612aaf565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee01890610f85908890859060ff90600401612b2c565b600060405180830381600087803b158015610f9f57600080fd5b505af1158015610fb3573d6000803e3d6000fd5b505050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610fe061053e565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611020573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110449190612b79565b600080516020612f308339815191528054600160401b900460ff1680611077575080546001600160401b03808416911610155b156110955760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110c085856118f8565b6110c983611b97565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105c3600080516020612f30833981519152546001600160401b031690565b600080611146606e61154a565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561118a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ae9190612a92565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161024060405180830381865afa158015611205573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112299190612cbe565b60a0810188905260c081018790526040516354e750a160e11b81529091506001600160a01b0385169063a9cea1429061126b908590859060ff90600401612cdb565b600060405180830381600087803b15801561128557600080fd5b505af1158015611299573d6000803e3d6000fd5b5050505050505050505050565b6000600080516020612f5083398151915260010182815481106112cb576112cb612d0b565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60008061130c6001546001600160a01b031690565b6001600160a01b031663d39e604360285b6113256113be565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561136a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138e9190612a92565b92915050565b6000806113a96001546001600160a01b031690565b6001600160a01b031663d39e6043604661131d565b60006113c861053e565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561141d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c39190612d21565b600080516020612f308339815191528054600160401b810460ff1615906001600160401b03166000811580156114745750825b90506000826001600160401b031660011480156114905750303b155b90508115801561149e575080155b156114bc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156114e657845460ff60401b1916600160401b1785555b6114f088886118f8565b6114fa8787611b9f565b831561154057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b611552612150565b6000806115676001546001600160a01b031690565b6040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa1580156115ae573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115d69190810190612d3e565b92506115ec83604001518560ff90811691161490565b61162e5760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b60448201526064016107df565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611684573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116ac9190810190612d3e565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117199190612a92565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611766573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178a9190612749565b156117b957608085015160405163d53987e560e01b81526001600160a01b0390911660048201526024016107df565b505050915091565b6000806117d66001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611825573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261184d9190810190612d3e565b608001519392505050565b6040516368aebf7b60e01b8152610190600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af41580156118ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105c39190612b79565b60606118da61218e565b828060200190518101906118ee9190612d72565b9094909350915050565b611900611d6e565b600080516020612f508339815191526000611930600080516020612f30833981519152546001600160401b031690565b9050600061193c61053e565b9050816001600160401b03166001036119695760028301805462ffffff191662ffffff83161790556119b7565b600283015462ffffff908116908216116119b75760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016107df565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611a6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8f9190612dcc565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906111099083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b610158611d6e565b600080516020612f308339815191528054600160401b810460ff1615906001600160401b0316600081158015611bd25750825b90506000826001600160401b03166001148015611bee5750303b155b905081158015611bfc575080155b15611c1a5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611c4457845460ff60401b1916600160401b1785555b60008087806020019051810190611c5b9190612df3565b9092509050611c6a828a611da7565b6001546001600160a01b031663d39e6043608c611c856113be565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611cca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cee9190612a92565b600380546001600160a01b0319166001600160a01b0392909216919091179055611d1e6308bcea6160e01b611e12565b50508315610d3957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a150505050505050565b600080516020612f3083398151915254600160401b900460ff16611da557604051631afcd79f60e31b815260040160405180910390fd5b565b6000606e611db36113be565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611de884611e37565b90506000611dfb8583603c848888611ea2565b611e0b637b6a51fd60e01b611e12565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611e7e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138e919061277b565b611ee36301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b611eed8287611f6e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611f5d8382612e70565b50610d396303fb044760e21b611e12565b6001600160a01b038216611fc45760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016107df565b600280546001600160a01b0319166001600160a01b038416179055611fe881611fec565b5050565b6001546001600160a01b0316156120255760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016107df565b6001600160a01b03811661204c5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036120825760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107df565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263102da10360e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156120fc575060408051601f3d908101601f191682019092526120f991810190612749565b60015b6121245760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107df565b80611fe85760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107df565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850190945281845283015290610120820190815260006020820181905260409091015290565b60006020828403121561225857600080fd5b81356001600160e01b03198116811461227057600080fd5b9392505050565b80356001600160c01b03198116811461228f57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156122cc576122cc612294565b60405290565b60405160e081016001600160401b03811182821017156122cc576122cc612294565b60405161018081016001600160401b03811182821017156122cc576122cc612294565b604051601f8201601f191681016001600160401b038111828210171561233f5761233f612294565b604052919050565b60006001600160401b0382111561236057612360612294565b50601f01601f191660200190565b600082601f83011261237f57600080fd5b813561239261238d82612347565b612317565b8181528460208386010111156123a757600080fd5b816020850160208301376000918101602001919091529392505050565b600080604083850312156123d757600080fd5b6123e083612277565b915060208301356001600160401b038111156123fb57600080fd5b6124078582860161236e565b9150509250929050565b60005b8381101561242c578181015183820152602001612414565b50506000910152565b6000815180845261244d816020860160208601612411565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516124a560a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526124eb610120840182612435565b905082810360208401526124ff8185612435565b95945050505050565b6001600160a01b038116811461214d57600080fd5b60006020828403121561252f57600080fd5b813561227081612508565b62ffffff8116811461214d57600080fd5b60006020828403121561255d57600080fd5b81356122708161253a565b60ff8116811461214d57600080fd5b6000806040838503121561258a57600080fd5b61259383612277565b915060208301356125a381612568565b809150509250929050565b6000806000606084860312156125c357600080fd5b83356125ce81612508565b925060208401356125de81612508565b915060408401356001600160401b038111156125f957600080fd5b6126058682870161236e565b9150509250925092565b60006040828403121561262157600080fd5b6126296122aa565b9050813581526020820135602082015292915050565b6000806080838503121561265257600080fd5b61265c848461260f565b915061266b846040850161260f565b90509250929050565b60006020828403121561268657600080fd5b5035919050565b6001600160601b03815116825260006020820151604060208501526126b56040850182612435565b949350505050565b6001600160401b0360c01b831681526040602082015260006126b5604083018461268d565b6000602082840312156126f457600080fd5b81516122708161253a565b600181811c9082168061271357607f821691505b60208210810361273357634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461228f57600080fd5b60006020828403121561275b57600080fd5b61227082612739565b80516001600160601b038116811461228f57600080fd5b60006020828403121561278d57600080fd5b61227082612764565b805161228f81612568565b805161228f81612508565b60006127ba61238d84612347565b90508281528383830111156127ce57600080fd5b612270836020830184612411565b600082601f8301126127ed57600080fd5b612270838351602085016127ac565b600060e0828403121561280e57600080fd5b6128166122d2565b905061282182612764565b815261282f60208301612764565b602082015261284060408301612796565b604082015261285160608301612739565b6060820152612862608083016127a1565b608082015261287360a083016127a1565b60a082015260c08201516001600160401b0381111561289157600080fd5b61289d848285016127dc565b60c08301525092915050565b600080604083850312156128bc57600080fd5b82516001600160401b03808211156128d357600080fd5b6128df868387016127fc565b935060208501519150808211156128f557600080fd5b50612407858286016127dc565b80516001600160a01b03168252602081015161292960208401826001600160a01b03169052565b50604081015161294460408401826001600160601b03169052565b50606081015161295f60608401826001600160601b03169052565b50608081015161297c608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c08101516101006129b28185018380518252602090810151910152565b60e083015191506101406129d28186018480518252602090810151910152565b9083015180516101808601526020908101516101a086015261012084015180516101c087015201516101e085015282015115156102008401525061016001516001600160a01b031661022090910152565b505050565b6001600160601b038316815261026081016122706020830184612902565b6001600160601b03841681526001600160a01b03831660208201526060604082018190526000906124ff90830184612435565b600060208284031215612a8b57600080fd5b5051919050565b600060208284031215612aa457600080fd5b815161227081612508565b600060208284031215612ac157600080fd5b81516001600160401b0380821115612ad857600080fd5b9083019060408286031215612aec57600080fd5b612af46122aa565b612afd83612764565b8152602083015182811115612b1157600080fd5b612b1d878286016127dc565b60208301525095945050505050565b6001600160401b0360c01b84168152606060208201526000612b51606083018561268d565b905060ff83166040830152949350505050565b6001600160401b038116811461214d57600080fd5b600060208284031215612b8b57600080fd5b815161227081612b64565b600060408284031215612ba857600080fd5b612bb06122aa565b9050815181526020820151602082015292915050565b60006102408284031215612bd957600080fd5b612be16122f4565b9050612bec826127a1565b8152612bfa602083016127a1565b6020820152612c0b60408301612764565b6040820152612c1c60608301612764565b6060820152612c2e8360808401612b96565b6080820152612c408360c08401612b96565b60a0820152610100612c5484828501612b96565b60c0830152610140612c6885828601612b96565b60e0840152612c7b856101808601612b96565b82840152612c8d856101c08601612b96565b610120840152612ca06102008501612739565b9083015250612cb261022083016127a1565b61016082015292915050565b60006102408284031215612cd157600080fd5b6122708383612bc6565b6001600160601b03841681526102808101612cf96020830185612902565b60ff8316610260830152949350505050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612d3357600080fd5b815161227081612568565b600060208284031215612d5057600080fd5b81516001600160401b03811115612d6657600080fd5b6126b5848285016127fc565b6000806102608385031215612d8657600080fd5b82516001600160401b03811115612d9c57600080fd5b8301601f81018513612dad57600080fd5b612dbc858251602084016127ac565b92505061266b8460208501612bc6565b600060208284031215612dde57600080fd5b815164ffffffffff8116811461227057600080fd5b60008060408385031215612e0657600080fd5b8251612e1181612508565b60208401519092506125a381612508565b601f821115612a2357600081815260208120601f850160051c81016020861015612e495750805b601f850160051c820191505b81811015612e6857828155600101612e55565b505050505050565b81516001600160401b03811115612e8957612e89612294565b612e9d81612e9784546126ff565b84612e22565b602080601f831160018114612ed25760008415612eba5750858301515b600019600386901b1c1916600185901b178555612e68565b600085815260208120601f198616915b82811015612f0157888601518255948401946001909101908401612ee2565b5085821015612f1f5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212206761779bf026b8fce7a18f2365d091408d7d093d09b541acc06f212c15a367c964736f6c63430008140033",
687
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6131f080620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063b6b412ba11610097578063cde749f411610071578063cde749f4146103c3578063ea866572146103cb578063f21de1e8146102f2578063f7c34ee0146103de57600080fd5b8063b6b412ba146103a0578063caf4e3d4146103b3578063cc9fc59a146103bb57600080fd5b8063893d20e8116100d3578063893d20e81461035b5780638f997f6d14610363578063ada9652e14610376578063b68d18091461038b57600080fd5b8063644c45e014610317578063675393bf146103355780637cef48421461034857600080fd5b8063214cdb801161016657806336fc697e1161014057806336fc697e146102ac5780634420e486146102b457806349bb9e4b146102df5780635ab1bd53146102f257600080fd5b8063214cdb801461027357806327bb7a3314610286578063329d6e741461029957600080fd5b806301ffc9a7146101ae578063095e2b72146101f05780630d8e6e2c146102055780630fec111c14610221578063138461e0146102365780631eff4b221461023e575b600080fd5b6101db6101bc3660046124f8565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102036101fe366004612676565b6103f1565b005b61020d61048a565b60405162ffffff90911681526020016101e7565b610229610514565b6040516101e79190612713565b6102036106c8565b6102657f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6102036102813660046124f8565b6108cf565b6102036102943660046127e5565b6108fc565b6102036102a736600461287d565b610988565b610203610ad5565b6102c76102c23660046128b1565b610b1b565b6040516001600160601b0390911681526020016101e7565b6102036102ed3660046128ce565b610be0565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b60008051602061317b833981519152546001600160601b03166102c7565b6102036103433660046128b1565b610cdf565b6102036103563660046128ec565b610ded565b6102ff610e65565b610203610371366004612676565b610f9c565b61026560008051602061317b83398151915281565b606e5b60405160ff90911681526020016101e7565b6102036103ae366004612953565b6110ff565b6102ff61126c565b6102ff611309565b61038e611333565b6102036103d9366004612988565b6113aa565b6102036103ec366004612988565b611442565b6000806103fe606e6114b9565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a9061045090899085906004016129de565b600060405180830381600087803b15801561046a57600080fd5b505af115801561047e573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612a03565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c490612a28565b80601f01602080910402602001604051908101604052809291908181526020018280546105f090612a28565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b50505050508152505090506040518060e0016040528061065b600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106ac610e65565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061317b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075b9190612a6d565b1561078c5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061079f6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190612a6d565b6108335760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610783565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab9190612a95565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d761175b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61090461175b565b61090e8287611442565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161097e8382612b01565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109aa61048a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0e9190612bd5565b60008051602061319b8339815191528054600160401b900460ff1680610a41575080546001600160401b03808416911610155b15610a5f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a8983611794565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610add61175b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080610b3486606e610b2f61179c565b611813565b92965090945092509050856000610b4961126c565b604051635d96628960e01b81526001600160a01b03848116600483015287811660248301529190911690635d966289906044016000604051808303816000875af1158015610b9b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc39190810190612c58565b805197509050610bd4848389611c44565b50505050505050919050565b60008051602061319b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610c135750825b90506000826001600160401b03166001148015610c2f5750303b155b905081158015610c3d575080155b15610c5b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c8557845460ff60401b1916600160401b1785555b610c8f878761229e565b8315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ce761175b565b806001600160a01b03163b600003610d1d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610d97575060408051601f3d908101601f19168201909252610d9491810190612a6d565b60015b610dbf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b80610de85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610783565b505b50565b6000610df9606e6114b9565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b158015610e5157600080fd5b505af1158015610cd6573d6000803e3d6000fd5b60008060008051602061317b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef99190612a6d565b15610f86576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f809190612d2a565b91505090565b54600160601b90046001600160a01b0316919050565b6000610fa8606e6114b9565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610feb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100f9190612d2a565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611063573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261108b9190810190612d47565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee018906110c6908890859060ff90600401612dc6565b600060405180830381600087803b1580156110e057600080fd5b505af11580156110f4573d6000803e3d6000fd5b505050505050505050565b60008061110c606e6114b9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111749190612d2a565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161014060405180830381865afa1580156111cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ef9190612e2e565b6080810188905260a08101879052604051630cbc6b8960e01b81529091506001600160a01b03851690630cbc6b8990611231908590859060ff90600401612f6a565b600060405180830381600087803b15801561124b57600080fd5b505af115801561125f573d6000803e3d6000fd5b5050505050505050505050565b6000806112816001546001600160a01b031690565b6001600160a01b031663d39e604360285b61129a611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113039190612d2a565b92915050565b60008061131e6001546001600160a01b031690565b6001600160a01b031663d39e60436046611292565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611386573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612f9a565b6113b261175b565b61143282836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114189190612a95565b603c600085604051806020016040528060008152506108fc565b610de8637b6a51fd60e01b6108cf565b61144a61175b565b61145381610cdf565b61145b610ad5565b6001600160a01b0382166114825760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061317b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611548573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115709190810190612c58565b925061158683604001518560ff90811691161490565b6115c85760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610783565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561161e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116469190810190612c58565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561168f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b39190612d2a565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611700573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117249190612a6d565b1561175357608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610783565b505050915091565b60008051602061319b83398151915254600160401b900460ff1661179257604051631afcd79f60e31b815260040160405180910390fd5b565b6101a961175b565b6040516368aebf7b60e01b81526005600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af41580156117ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612bd5565b60003381808061182b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015611873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118979190612a95565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156118f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119169190612a6d565b1561194d5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610783565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa15801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190612a6d565b6119e7576040516359bff0e360e11b81526001600160a01b0389166004820152602401610783565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a27573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4f9190810190612c58565b9050611a6681604001518960ff9081169116141590565b15611aa6576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610783565b60a08101516001600160a01b0386811690821614611af85760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610783565b81602001519350611b0884612461565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6e9190612d2a565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa158015611bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bed9190612a6d565b905080611c3657604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b0389166044820152606401610783565b505050505093509350935093565b60606000836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cab9190612e2e565b90506000611cc16001546001600160a01b031690565b60408084015190516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3e9190810190612c58565b6080015190506000611d586001546001600160a01b031690565b60608401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611dad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611dd59190810190612c58565b6080015160405163054cb8d160e31b81526001600160601b03871660048201529091506001600160a01b03831690632a65c68890602401600060405180830381600087803b158015611e2657600080fd5b505af1158015611e3a573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0384169250632a65c6889150602401600060405180830381600087803b158015611e8857600080fd5b505af1158015611e9c573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0389169250632a65c6889150602401600060405180830381600087803b158015611eea57600080fd5b505af1158015611efe573d6000803e3d6000fd5b50505050856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f3d57600080fd5b505af1158015611f51573d6000803e3d6000fd5b50505050866001600160a01b031663fbc1a3a086886001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611fa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc89190612e2e565b6040518363ffffffff1660e01b8152600401611fe5929190612fb7565b600060405180830381600087803b158015611fff57600080fd5b505af1158015612013573d6000803e3d6000fd5b5060009250600191506120239050565b60405190808252806020026020018201604052801561205657816020015b60608152602001906001900390816120415790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061208a5761208a612fd5565b602002602001018190525063b6b412ba60e01b816000815181106120b0576120b0612fd5565b60200260200101516000815181106120ca576120ca612fd5565b6001600160e01b0319929092166020928302919091019091015260408051600180825281830190925260009181602001602082028036833701905050905061211061179c565b8160008151811061212357612123612fd5565b60200260200101906001600160401b031690816001600160401b03168152505061214b611309565b6001600160a01b0316636c6fbb2861216b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038d81166004830152919091169063d272ac1e90602401602060405180830381865afa1580156121b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d79190612a95565b8a8b6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612216573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261223e9190810190612feb565b86866040518663ffffffff1660e01b8152600401612260959493929190613077565b600060405180830381600087803b15801561227a57600080fd5b505af115801561228e573d6000803e3d6000fd5b5050505050505050509392505050565b60008051602061319b8339815191528054600160401b810460ff1615906001600160401b03166000811580156122d15750825b90506000826001600160401b031660011480156122ed5750303b155b9050811580156122fb575080155b156123195760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561234357845460ff60401b1916600160401b1785555b6000808780602001905181019061235a919061314b565b9092509050612369828a6113aa565b6001546001600160a01b031663d39e6043608c612384611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156123c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ed9190612d2a565b600280546001600160a01b0319166001600160a01b039290921691909117905561241d6308bcea6160e01b6108cf565b50508315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ccd565b6000806124766001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156124c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124ed9190810190612c58565b608001519392505050565b60006020828403121561250a57600080fd5b81356001600160e01b03198116811461252257600080fd5b9392505050565b80356001600160c01b03198116811461254157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561257e5761257e612546565b60405290565b60405160e081016001600160401b038111828210171561257e5761257e612546565b60405161010081016001600160401b038111828210171561257e5761257e612546565b604051601f8201601f191681016001600160401b03811182821017156125f1576125f1612546565b604052919050565b60006001600160401b0382111561261257612612612546565b50601f01601f191660200190565b600082601f83011261263157600080fd5b813561264461263f826125f9565b6125c9565b81815284602083860101111561265957600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561268957600080fd5b61269283612529565b915060208301356001600160401b038111156126ad57600080fd5b6126b985828601612620565b9150509250929050565b60005b838110156126de5781810151838201526020016126c6565b50506000910152565b600081518084526126ff8160208601602086016126c3565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161277c60c08401826001600160a01b03169052565b5060c083015160e0808401526127966101008401826126e7565b949350505050565b6001600160a01b0381168114610dea57600080fd5b6001600160601b0381168114610dea57600080fd5b60ff81168114610dea57600080fd5b8015158114610dea57600080fd5b60008060008060008060c087890312156127fe57600080fd5b86356128098161279e565b95506020870135612819816127b3565b94506040870135612829816127c8565b93506060870135612839816127d7565b925060808701356128498161279e565b915060a08701356001600160401b0381111561286457600080fd5b61287089828a01612620565b9150509295509295509295565b60006020828403121561288f57600080fd5b81356001600160401b038111156128a557600080fd5b61279684828501612620565b6000602082840312156128c357600080fd5b81356125228161279e565b600080604083850312156128e157600080fd5b82356126928161279e565b600080604083850312156128ff57600080fd5b61290883612529565b91506020830135612918816127c8565b809150509250929050565b60006040828403121561293557600080fd5b61293d61255c565b9050813581526020820135602082015292915050565b6000806080838503121561296657600080fd5b6129708484612923565b915061297f8460408501612923565b90509250929050565b6000806040838503121561299b57600080fd5b82356129a68161279e565b915060208301356129188161279e565b6001600160601b038151168252600060208201516040602085015261279660408501826126e7565b6001600160401b0360c01b8316815260406020820152600061279660408301846129b6565b600060208284031215612a1557600080fd5b815162ffffff8116811461252257600080fd5b600181811c90821680612a3c57607f821691505b602082108103612a5c57634e487b7160e01b600052602260045260246000fd5b50919050565b8051612541816127d7565b600060208284031215612a7f57600080fd5b8151612522816127d7565b8051612541816127b3565b600060208284031215612aa757600080fd5b8151612522816127b3565b601f821115612afc57600081815260208120601f850160051c81016020861015612ad95750805b601f850160051c820191505b81811015612af857828155600101612ae5565b5050505b505050565b81516001600160401b03811115612b1a57612b1a612546565b612b2e81612b288454612a28565b84612ab2565b602080601f831160018114612b635760008415612b4b5750858301515b600019600386901b1c1916600185901b178555612af8565b600085815260208120601f198616915b82811015612b9257888601518255948401946001909101908401612b73565b5085821015612bb05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610dea57600080fd5b600060208284031215612be757600080fd5b815161252281612bc0565b8051612541816127c8565b80516125418161279e565b6000612c1661263f846125f9565b9050828152838383011115612c2a57600080fd5b6125228360208301846126c3565b600082601f830112612c4957600080fd5b61252283835160208501612c08565b600060208284031215612c6a57600080fd5b81516001600160401b0380821115612c8157600080fd5b9083019060e08286031215612c9557600080fd5b612c9d612584565b612ca683612a8a565b8152612cb460208401612a8a565b6020820152612cc560408401612bf2565b6040820152612cd660608401612a62565b6060820152612ce760808401612bfd565b6080820152612cf860a08401612bfd565b60a082015260c083015182811115612d0f57600080fd5b612d1b87828601612c38565b60c08301525095945050505050565b600060208284031215612d3c57600080fd5b81516125228161279e565b600060208284031215612d5957600080fd5b81516001600160401b0380821115612d7057600080fd5b9083019060408286031215612d8457600080fd5b612d8c61255c565b8251612d97816127b3565b8152602083015182811115612dab57600080fd5b612db787828601612c38565b60208301525095945050505050565b6001600160401b0360c01b84168152606060208201526000612deb60608301856129b6565b905060ff83166040830152949350505050565b600060408284031215612e1057600080fd5b612e1861255c565b9050815181526020820151602082015292915050565b60006101408284031215612e4157600080fd5b612e496125a6565b612e5283612bfd565b8152612e6060208401612bfd565b6020820152612e7160408401612a8a565b6040820152612e8260608401612a8a565b6060820152612e948460808501612dfe565b6080820152612ea68460c08501612dfe565b60a0820152612eb86101008401612a62565b60c0820152612eca6101208401612bfd565b60e08201529392505050565b60018060a01b038082511683528060208301511660208401525060408101516001600160601b03808216604085015280606084015116606085015250506080810151612f2f608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151151561010083015260e001516001600160a01b031661012090910152565b6001600160601b03841681526101808101612f886020830185612ed6565b60ff8316610160830152949350505050565b600060208284031215612fac57600080fd5b8151612522816127c8565b6001600160601b038316815261016081016125226020830184612ed6565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612ffd57600080fd5b81516001600160401b0381111561301357600080fd5b8201601f8101841361302457600080fd5b61279684825160208401612c08565b600081518084526020808501945080840160005b8381101561306c5781516001600160401b031687529582019590820190600101613047565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a060408401526130a860a08401876126e7565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561312657868403601f19018652825180518086529089019089860190845b818110156131115783516001600160e01b0319168352928b0192918b01916001016130eb565b505096890196945050918701916001016130c9565b505050868103608088015261313b8189613033565b9c9b505050505050505050505050565b6000806040838503121561315e57600080fd5b82516131698161279e565b60208401519092506129188161279e56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220fa4dbba136e8c5ea58feb6167de7d4411b5635324f56a2aad664f3b0526c9a5b64736f6c63430008140033",
688
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063b6b412ba11610097578063cde749f411610071578063cde749f4146103c3578063ea866572146103cb578063f21de1e8146102f2578063f7c34ee0146103de57600080fd5b8063b6b412ba146103a0578063caf4e3d4146103b3578063cc9fc59a146103bb57600080fd5b8063893d20e8116100d3578063893d20e81461035b5780638f997f6d14610363578063ada9652e14610376578063b68d18091461038b57600080fd5b8063644c45e014610317578063675393bf146103355780637cef48421461034857600080fd5b8063214cdb801161016657806336fc697e1161014057806336fc697e146102ac5780634420e486146102b457806349bb9e4b146102df5780635ab1bd53146102f257600080fd5b8063214cdb801461027357806327bb7a3314610286578063329d6e741461029957600080fd5b806301ffc9a7146101ae578063095e2b72146101f05780630d8e6e2c146102055780630fec111c14610221578063138461e0146102365780631eff4b221461023e575b600080fd5b6101db6101bc3660046124f8565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102036101fe366004612676565b6103f1565b005b61020d61048a565b60405162ffffff90911681526020016101e7565b610229610514565b6040516101e79190612713565b6102036106c8565b6102657f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6102036102813660046124f8565b6108cf565b6102036102943660046127e5565b6108fc565b6102036102a736600461287d565b610988565b610203610ad5565b6102c76102c23660046128b1565b610b1b565b6040516001600160601b0390911681526020016101e7565b6102036102ed3660046128ce565b610be0565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b60008051602061317b833981519152546001600160601b03166102c7565b6102036103433660046128b1565b610cdf565b6102036103563660046128ec565b610ded565b6102ff610e65565b610203610371366004612676565b610f9c565b61026560008051602061317b83398151915281565b606e5b60405160ff90911681526020016101e7565b6102036103ae366004612953565b6110ff565b6102ff61126c565b6102ff611309565b61038e611333565b6102036103d9366004612988565b6113aa565b6102036103ec366004612988565b611442565b6000806103fe606e6114b9565b81516040805180820182526001600160601b03831681526020810188905290516317b0844560e11b8152939550919350916001600160a01b03841690632f61088a9061045090899085906004016129de565b600060405180830381600087803b15801561046a57600080fd5b505af115801561047e573d6000803e3d6000fd5b50505050505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156104eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612a03565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b909104161515918101919091526001820180549192916060840191906105c490612a28565b80601f01602080910402602001604051908101604052809291908181526020018280546105f090612a28565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b50505050508152505090506040518060e0016040528061065b600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b031681526020016106ac610e65565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061317b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075b9190612a6d565b1561078c5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b3061079f6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190612a6d565b6108335760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610783565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab9190612a95565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108d761175b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61090461175b565b61090e8287611442565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161097e8382612b01565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6109aa61048a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0e9190612bd5565b60008051602061319b8339815191528054600160401b900460ff1680610a41575080546001600160401b03808416911610155b15610a5f5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a8983611794565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610add61175b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080808080610b3486606e610b2f61179c565b611813565b92965090945092509050856000610b4961126c565b604051635d96628960e01b81526001600160a01b03848116600483015287811660248301529190911690635d966289906044016000604051808303816000875af1158015610b9b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bc39190810190612c58565b805197509050610bd4848389611c44565b50505050505050919050565b60008051602061319b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610c135750825b90506000826001600160401b03166001148015610c2f5750303b155b905081158015610c3d575080155b15610c5b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610c8557845460ff60401b1916600160401b1785555b610c8f878761229e565b8315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610ce761175b565b806001600160a01b03163b600003610d1d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610d97575060408051601f3d908101601f19168201909252610d9491810190612a6d565b60015b610dbf5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610783565b80610de85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610783565b505b50565b6000610df9606e6114b9565b604051633e77a42160e11b81526001600160c01b03198616600482015260ff851660248201529092506001600160a01b0383169150637cef484290604401600060405180830381600087803b158015610e5157600080fd5b505af1158015610cd6573d6000803e3d6000fd5b60008060008051602061317b83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef99190612a6d565b15610f86576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f809190612d2a565b91505090565b54600160601b90046001600160a01b0316919050565b6000610fa8606e6114b9565b9150506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610feb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100f9190612d2a565b60405163887b1fa960e01b81526001600160c01b0319861660048201529091506000906001600160a01b0383169063887b1fa990602401600060405180830381865afa158015611063573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261108b9190810190612d47565b602081018590526040516314eddc0360e31b81529091506001600160a01b0384169063a76ee018906110c6908890859060ff90600401612dc6565b600060405180830381600087803b1580156110e057600080fd5b505af11580156110f4573d6000803e3d6000fd5b505050505050505050565b60008061110c606e6114b9565b915091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611150573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111749190612d2a565b835160405163242bdc1960e21b81526001600160601b0382166004820152919250906000906001600160a01b038416906390af70649060240161014060405180830381865afa1580156111cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ef9190612e2e565b6080810188905260a08101879052604051630cbc6b8960e01b81529091506001600160a01b03851690630cbc6b8990611231908590859060ff90600401612f6a565b600060405180830381600087803b15801561124b57600080fd5b505af115801561125f573d6000803e3d6000fd5b5050505050505050505050565b6000806112816001546001600160a01b031690565b6001600160a01b031663d39e604360285b61129a611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156112df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113039190612d2a565b92915050565b60008061131e6001546001600160a01b031690565b6001600160a01b031663d39e60436046611292565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611386573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612f9a565b6113b261175b565b61143282836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114189190612a95565b603c600085604051806020016040528060008152506108fc565b610de8637b6a51fd60e01b6108cf565b61144a61175b565b61145381610cdf565b61145b610ad5565b6001600160a01b0382166114825760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061317b83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082015260015490919081906001600160a01b03166040516308b09a5f60e41b81523360048201529091506001600160a01b03821690638b09a5f090602401600060405180830381865afa158015611548573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115709190810190612c58565b925061158683604001518560ff90811691161490565b6115c85760405162461bcd60e51b815260206004820152601360248201527213d0929150d517d516541157d2539590531251606a1b6044820152606401610783565b60208301516040516305247a1760e51b81526001600160601b0390911660048201526000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561161e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116469190810190612c58565b6080015190508092506000836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801561168f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116b39190612d2a565b6080860151604051629b7b3560e61b81526001600160a01b0391821660048201529192508216906326decd4090602401602060405180830381865afa158015611700573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117249190612a6d565b1561175357608085015160405163d53987e560e01b81526001600160a01b039091166004820152602401610783565b505050915091565b60008051602061319b83398151915254600160401b900460ff1661179257604051631afcd79f60e31b815260040160405180910390fd5b565b6101a961175b565b6040516368aebf7b60e01b81526005600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af41580156117ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050f9190612bd5565b60003381808061182b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038a81166004830152919091169063d272ac1e90602401602060405180830381865afa158015611873573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118979190612a95565b6040516330b8415f60e01b81526001600160601b038216600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156118f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119169190612a6d565b1561194d5760405162b8422b60e71b81526001600160a01b03891660048201526001600160601b0382166024820152604401610783565b6040516301ffc9a760e01b81526396c8ab0560e01b60048201528895506001600160a01b038616906301ffc9a790602401602060405180830381865afa15801561199b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bf9190612a6d565b6119e7576040516359bff0e360e11b81526001600160a01b0389166004820152602401610783565b6000856001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611a27573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4f9190810190612c58565b9050611a6681604001518960ff9081169116141590565b15611aa6576040808201519051634a2e948760e11b81526001600160a01b038b16600482015260ff808b1660248301529091166044820152606401610783565b60a08101516001600160a01b0386811690821614611af85760a0820151604051632b50a20960e21b81526001600160a01b03808d16600483015291821660248201529087166044820152606401610783565b81602001519350611b0884612461565b94506000856001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6e9190612d2a565b6040516368fc2b7760e11b81526001600160401b038b1660048201526001600160a01b03898116602483015291925060009183169063d1f856ee90604401602060405180830381865afa158015611bc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bed9190612a6d565b905080611c3657604051636af540d960e01b81526001600160601b03871660048201526001600160401b038b1660248201526001600160a01b0389166044820152606401610783565b505050505093509350935093565b60606000836001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cab9190612e2e565b90506000611cc16001546001600160a01b031690565b60408084015190516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611d16573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3e9190810190612c58565b6080015190506000611d586001546001600160a01b031690565b60608401516040516305247a1760e51b81526001600160601b0390911660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611dad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611dd59190810190612c58565b6080015160405163054cb8d160e31b81526001600160601b03871660048201529091506001600160a01b03831690632a65c68890602401600060405180830381600087803b158015611e2657600080fd5b505af1158015611e3a573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0384169250632a65c6889150602401600060405180830381600087803b158015611e8857600080fd5b505af1158015611e9c573d6000803e3d6000fd5b505060405163054cb8d160e31b81526001600160601b03881660048201526001600160a01b0389169250632a65c6889150602401600060405180830381600087803b158015611eea57600080fd5b505af1158015611efe573d6000803e3d6000fd5b50505050856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015611f3d57600080fd5b505af1158015611f51573d6000803e3d6000fd5b50505050866001600160a01b031663fbc1a3a086886001600160a01b031663c200b8096040518163ffffffff1660e01b815260040161014060405180830381865afa158015611fa4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fc89190612e2e565b6040518363ffffffff1660e01b8152600401611fe5929190612fb7565b600060405180830381600087803b158015611fff57600080fd5b505af1158015612013573d6000803e3d6000fd5b5060009250600191506120239050565b60405190808252806020026020018201604052801561205657816020015b60608152602001906001900390816120415790505b5060408051600180825281830190925291925060208083019080368337019050508160008151811061208a5761208a612fd5565b602002602001018190525063b6b412ba60e01b816000815181106120b0576120b0612fd5565b60200260200101516000815181106120ca576120ca612fd5565b6001600160e01b0319929092166020928302919091019091015260408051600180825281830190925260009181602001602082028036833701905050905061211061179c565b8160008151811061212357612123612fd5565b60200260200101906001600160401b031690816001600160401b03168152505061214b611309565b6001600160a01b0316636c6fbb2861216b6001546001600160a01b031690565b604051636939560f60e11b81526001600160a01b038d81166004830152919091169063d272ac1e90602401602060405180830381865afa1580156121b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121d79190612a95565b8a8b6001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015612216573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261223e9190810190612feb565b86866040518663ffffffff1660e01b8152600401612260959493929190613077565b600060405180830381600087803b15801561227a57600080fd5b505af115801561228e573d6000803e3d6000fd5b5050505050505050509392505050565b60008051602061319b8339815191528054600160401b810460ff1615906001600160401b03166000811580156122d15750825b90506000826001600160401b031660011480156122ed5750303b155b9050811580156122fb575080155b156123195760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561234357845460ff60401b1916600160401b1785555b6000808780602001905181019061235a919061314b565b9092509050612369828a6113aa565b6001546001600160a01b031663d39e6043608c612384611333565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156123c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123ed9190612d2a565b600280546001600160a01b0319166001600160a01b039290921691909117905561241d6308bcea6160e01b6108cf565b50508315610cd657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610ccd565b6000806124766001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156124c5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526124ed9190810190612c58565b608001519392505050565b60006020828403121561250a57600080fd5b81356001600160e01b03198116811461252257600080fd5b9392505050565b80356001600160c01b03198116811461254157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561257e5761257e612546565b60405290565b60405160e081016001600160401b038111828210171561257e5761257e612546565b60405161010081016001600160401b038111828210171561257e5761257e612546565b604051601f8201601f191681016001600160401b03811182821017156125f1576125f1612546565b604052919050565b60006001600160401b0382111561261257612612612546565b50601f01601f191660200190565b600082601f83011261263157600080fd5b813561264461263f826125f9565b6125c9565b81815284602083860101111561265957600080fd5b816020850160208301376000918101602001919091529392505050565b6000806040838503121561268957600080fd5b61269283612529565b915060208301356001600160401b038111156126ad57600080fd5b6126b985828601612620565b9150509250929050565b60005b838110156126de5781810151838201526020016126c6565b50506000910152565b600081518084526126ff8160208601602086016126c3565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161277c60c08401826001600160a01b03169052565b5060c083015160e0808401526127966101008401826126e7565b949350505050565b6001600160a01b0381168114610dea57600080fd5b6001600160601b0381168114610dea57600080fd5b60ff81168114610dea57600080fd5b8015158114610dea57600080fd5b60008060008060008060c087890312156127fe57600080fd5b86356128098161279e565b95506020870135612819816127b3565b94506040870135612829816127c8565b93506060870135612839816127d7565b925060808701356128498161279e565b915060a08701356001600160401b0381111561286457600080fd5b61287089828a01612620565b9150509295509295509295565b60006020828403121561288f57600080fd5b81356001600160401b038111156128a557600080fd5b61279684828501612620565b6000602082840312156128c357600080fd5b81356125228161279e565b600080604083850312156128e157600080fd5b82356126928161279e565b600080604083850312156128ff57600080fd5b61290883612529565b91506020830135612918816127c8565b809150509250929050565b60006040828403121561293557600080fd5b61293d61255c565b9050813581526020820135602082015292915050565b6000806080838503121561296657600080fd5b6129708484612923565b915061297f8460408501612923565b90509250929050565b6000806040838503121561299b57600080fd5b82356129a68161279e565b915060208301356129188161279e565b6001600160601b038151168252600060208201516040602085015261279660408501826126e7565b6001600160401b0360c01b8316815260406020820152600061279660408301846129b6565b600060208284031215612a1557600080fd5b815162ffffff8116811461252257600080fd5b600181811c90821680612a3c57607f821691505b602082108103612a5c57634e487b7160e01b600052602260045260246000fd5b50919050565b8051612541816127d7565b600060208284031215612a7f57600080fd5b8151612522816127d7565b8051612541816127b3565b600060208284031215612aa757600080fd5b8151612522816127b3565b601f821115612afc57600081815260208120601f850160051c81016020861015612ad95750805b601f850160051c820191505b81811015612af857828155600101612ae5565b5050505b505050565b81516001600160401b03811115612b1a57612b1a612546565b612b2e81612b288454612a28565b84612ab2565b602080601f831160018114612b635760008415612b4b5750858301515b600019600386901b1c1916600185901b178555612af8565b600085815260208120601f198616915b82811015612b9257888601518255948401946001909101908401612b73565b5085821015612bb05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610dea57600080fd5b600060208284031215612be757600080fd5b815161252281612bc0565b8051612541816127c8565b80516125418161279e565b6000612c1661263f846125f9565b9050828152838383011115612c2a57600080fd5b6125228360208301846126c3565b600082601f830112612c4957600080fd5b61252283835160208501612c08565b600060208284031215612c6a57600080fd5b81516001600160401b0380821115612c8157600080fd5b9083019060e08286031215612c9557600080fd5b612c9d612584565b612ca683612a8a565b8152612cb460208401612a8a565b6020820152612cc560408401612bf2565b6040820152612cd660608401612a62565b6060820152612ce760808401612bfd565b6080820152612cf860a08401612bfd565b60a082015260c083015182811115612d0f57600080fd5b612d1b87828601612c38565b60c08301525095945050505050565b600060208284031215612d3c57600080fd5b81516125228161279e565b600060208284031215612d5957600080fd5b81516001600160401b0380821115612d7057600080fd5b9083019060408286031215612d8457600080fd5b612d8c61255c565b8251612d97816127b3565b8152602083015182811115612dab57600080fd5b612db787828601612c38565b60208301525095945050505050565b6001600160401b0360c01b84168152606060208201526000612deb60608301856129b6565b905060ff83166040830152949350505050565b600060408284031215612e1057600080fd5b612e1861255c565b9050815181526020820151602082015292915050565b60006101408284031215612e4157600080fd5b612e496125a6565b612e5283612bfd565b8152612e6060208401612bfd565b6020820152612e7160408401612a8a565b6040820152612e8260608401612a8a565b6060820152612e948460808501612dfe565b6080820152612ea68460c08501612dfe565b60a0820152612eb86101008401612a62565b60c0820152612eca6101208401612bfd565b60e08201529392505050565b60018060a01b038082511683528060208301511660208401525060408101516001600160601b03808216604085015280606084015116606085015250506080810151612f2f608084018280518252602090810151910152565b5060a0810151805160c0840152602081015160e08401525060c0810151151561010083015260e001516001600160a01b031661012090910152565b6001600160601b03841681526101808101612f886020830185612ed6565b60ff8316610160830152949350505050565b600060208284031215612fac57600080fd5b8151612522816127c8565b6001600160601b038316815261016081016125226020830184612ed6565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612ffd57600080fd5b81516001600160401b0381111561301357600080fd5b8201601f8101841361302457600080fd5b61279684825160208401612c08565b600081518084526020808501945080840160005b8381101561306c5781516001600160401b031687529582019590820190600101613047565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a060408401526130a860a08401876126e7565b8381036060850152855180825282820190600581901b830184018489016000805b8481101561312657868403601f19018652825180518086529089019089860190845b818110156131115783516001600160e01b0319168352928b0192918b01916001016130eb565b505096890196945050918701916001016130c9565b505050868103608088015261313b8189613033565b9c9b505050505050505050505050565b6000806040838503121561315e57600080fd5b82516131698161279e565b60208401519092506129188161279e56fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220fa4dbba136e8c5ea58feb6167de7d4411b5635324f56a2aad664f3b0526c9a5b64736f6c63430008140033",
669
689
  "linkReferences": {
670
- "contracts/types/Blocknumber.sol": {
671
- "BlocknumberLib": [
672
- {
673
- "length": 20,
674
- "start": 3478
675
- }
676
- ]
677
- },
678
690
  "contracts/types/NftId.sol": {
679
691
  "NftIdLib": [
680
692
  {
681
693
  "length": 20,
682
- "start": 2173
694
+ "start": 2019
683
695
  },
684
696
  {
685
697
  "length": 20,
686
- "start": 3751
687
- }
688
- ]
689
- },
690
- "contracts/types/RoleId.sol": {
691
- "RoleIdLib": [
698
+ "start": 3969
699
+ },
692
700
  {
693
701
  "length": 20,
694
- "start": 6572
702
+ "start": 6558
695
703
  }
696
704
  ]
697
705
  },
698
- "contracts/types/Timestamp.sol": {
699
- "TimestampLib": [
706
+ "contracts/types/RoleId.sol": {
707
+ "RoleIdLib": [
700
708
  {
701
709
  "length": 20,
702
- "start": 7019
710
+ "start": 6299
703
711
  }
704
712
  ]
705
713
  },
@@ -707,53 +715,43 @@
707
715
  "VersionLib": [
708
716
  {
709
717
  "length": 20,
710
- "start": 1695
718
+ "start": 1431
711
719
  },
712
720
  {
713
721
  "length": 20,
714
- "start": 4346
715
- },
722
+ "start": 2672
723
+ }
724
+ ],
725
+ "VersionPartLib": [
716
726
  {
717
727
  "length": 20,
718
- "start": 5405
728
+ "start": 5170
719
729
  }
720
730
  ]
721
731
  }
722
732
  },
723
733
  "deployedLinkReferences": {
724
- "contracts/types/Blocknumber.sol": {
725
- "BlocknumberLib": [
726
- {
727
- "length": 20,
728
- "start": 3164
729
- }
730
- ]
731
- },
732
734
  "contracts/types/NftId.sol": {
733
735
  "NftIdLib": [
734
736
  {
735
737
  "length": 20,
736
- "start": 1859
738
+ "start": 1789
737
739
  },
738
740
  {
739
741
  "length": 20,
740
- "start": 3437
741
- }
742
- ]
743
- },
744
- "contracts/types/RoleId.sol": {
745
- "RoleIdLib": [
742
+ "start": 3739
743
+ },
746
744
  {
747
745
  "length": 20,
748
- "start": 6258
746
+ "start": 6328
749
747
  }
750
748
  ]
751
749
  },
752
- "contracts/types/Timestamp.sol": {
753
- "TimestampLib": [
750
+ "contracts/types/RoleId.sol": {
751
+ "RoleIdLib": [
754
752
  {
755
753
  "length": 20,
756
- "start": 6705
754
+ "start": 6069
757
755
  }
758
756
  ]
759
757
  },
@@ -761,15 +759,17 @@
761
759
  "VersionLib": [
762
760
  {
763
761
  "length": 20,
764
- "start": 1381
762
+ "start": 1201
765
763
  },
766
764
  {
767
765
  "length": 20,
768
- "start": 4032
769
- },
766
+ "start": 2442
767
+ }
768
+ ],
769
+ "VersionPartLib": [
770
770
  {
771
771
  "length": 20,
772
- "start": 5091
772
+ "start": 4940
773
773
  }
774
774
  ]
775
775
  }