@etherisc/gif-next 0.0.2-d551b5e-892 → 0.0.2-d59d51e-694

Sign up to get free protection for your applications and to get access to all the features.
Files changed (569) hide show
  1. package/README.md +8 -13
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1410 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1343 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +799 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +969 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +808 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +73 -83
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +291 -1349
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +356 -181
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +366 -2977
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +602 -194
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +132 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +485 -337
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +509 -445
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +328 -145
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3468 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +6 -1
  36. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  38. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  39. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  40. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  42. package/artifacts/contracts/instance/module/{ISetup.sol/ISetup.json → IComponents.sol/IComponents.json} +2 -2
  43. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  45. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  46. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  47. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  48. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  49. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1091 -0
  50. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  51. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +723 -0
  52. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  53. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → pool/IBundleService.sol/IBundleService.json} +297 -341
  54. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  55. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1148 -0
  56. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  57. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1044 -0
  58. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  59. package/artifacts/contracts/pool/Pool.sol/Pool.json +1559 -0
  60. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  61. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1411 -0
  62. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +719 -0
  64. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  65. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +820 -0
  66. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +699 -0
  68. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  69. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1264 -0
  70. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +787 -0
  72. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  73. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +231 -204
  74. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  75. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  76. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  77. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +333 -296
  78. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  79. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IPricingService.sol/IPricingService.json} +253 -261
  80. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  81. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +989 -0
  82. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  83. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → product/IProductService.sol/IProductService.json} +132 -119
  84. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  85. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1132 -0
  86. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  87. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +731 -0
  88. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  89. package/artifacts/contracts/product/PricingService.sol/PricingService.json +969 -0
  90. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +755 -0
  92. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  93. package/artifacts/contracts/product/Product.sol/Product.json +1391 -0
  94. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  95. package/artifacts/contracts/product/ProductService.sol/ProductService.json +673 -0
  96. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +675 -0
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  99. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +370 -117
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +368 -222
  104. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  105. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  106. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/Registry.sol/Registry.json +463 -184
  108. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  109. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +322 -0
  110. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +438 -333
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +324 -136
  114. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  115. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1151 -0
  116. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +352 -109
  120. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  121. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  122. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  123. package/artifacts/contracts/shared/Component.sol/Component.json +890 -0
  124. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  125. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1461 -0
  126. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +765 -0
  128. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  129. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +207 -208
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  132. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  133. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IComponent.sol/IComponent.json} +275 -103
  134. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +854 -0
  136. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +699 -0
  138. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  139. package/artifacts/contracts/{instance/IInstanceBase.sol/IInstanceBase.json → shared/IKeyValueStore.sol/IKeyValueStore.json} +51 -21
  140. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  141. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  142. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  144. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  146. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  147. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  148. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  149. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +35 -0
  150. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  151. package/artifacts/contracts/shared/IService.sol/IService.json +84 -178
  152. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  154. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  155. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1030 -0
  156. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  157. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +581 -0
  158. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  159. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  160. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  161. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  162. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  163. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +109 -29
  164. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  165. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  166. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  167. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -61
  168. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -53
  170. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  171. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  172. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  173. package/artifacts/contracts/shared/Service.sol/Service.json +185 -165
  174. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  175. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  176. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  177. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  178. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  180. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  181. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1435 -0
  182. package/artifacts/contracts/staking/IStakingManager.sol/IStakingManager.dbg.json +4 -0
  183. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → staking/IStakingManager.sol/IStakingManager.json} +10 -10
  184. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  185. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +884 -0
  186. package/artifacts/contracts/staking/IStakingStore.sol/IStakingStore.dbg.json +4 -0
  187. package/artifacts/contracts/staking/IStakingStore.sol/IStakingStore.json +357 -0
  188. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  189. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +402 -0
  190. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  191. package/artifacts/contracts/staking/Staking.sol/Staking.json +2002 -0
  192. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  193. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +748 -0
  194. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  195. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +368 -0
  196. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  197. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1207 -0
  198. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  199. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  200. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  201. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +1690 -0
  202. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  203. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +494 -0
  204. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  205. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  206. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  207. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  208. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  209. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  210. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  211. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  212. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  213. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  214. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  215. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  216. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  217. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  218. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  219. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +185 -0
  220. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  221. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  222. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  223. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  224. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  225. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  226. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  227. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  228. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  229. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  230. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  231. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  232. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +174 -0
  234. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  235. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  236. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  238. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  239. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  240. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  242. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  243. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  244. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  245. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  246. package/contracts/distribution/Distribution.sol +263 -0
  247. package/contracts/distribution/DistributionService.sol +298 -0
  248. package/contracts/{instance/service → distribution}/DistributionServiceManager.sol +20 -20
  249. package/contracts/distribution/IDistributionComponent.sol +66 -0
  250. package/contracts/distribution/IDistributionService.sol +81 -0
  251. package/contracts/instance/BundleManager.sol +22 -25
  252. package/contracts/instance/IInstance.sol +57 -38
  253. package/contracts/instance/IInstanceService.sol +65 -14
  254. package/contracts/instance/Instance.sol +146 -378
  255. package/contracts/instance/InstanceAccessManager.sol +432 -177
  256. package/contracts/instance/InstanceAuthorizationsLib.sol +336 -0
  257. package/contracts/instance/InstanceReader.sol +136 -85
  258. package/contracts/instance/InstanceService.sol +305 -190
  259. package/contracts/instance/InstanceServiceManager.sol +12 -25
  260. package/contracts/instance/InstanceStore.sol +260 -0
  261. package/contracts/instance/base/BalanceStore.sol +118 -0
  262. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +8 -3
  263. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +16 -35
  264. package/contracts/instance/module/IAccess.sol +37 -21
  265. package/contracts/instance/module/IBundle.sol +8 -8
  266. package/contracts/instance/module/IComponents.sol +52 -0
  267. package/contracts/instance/module/IDistribution.sol +7 -4
  268. package/contracts/instance/module/IPolicy.sol +56 -17
  269. package/contracts/instance/module/IRisk.sol +1 -1
  270. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  271. package/contracts/pool/BundleService.sol +296 -0
  272. package/contracts/pool/BundleServiceManager.sol +42 -0
  273. package/contracts/pool/IBundleService.sol +106 -0
  274. package/contracts/pool/IPoolComponent.sol +112 -0
  275. package/contracts/pool/IPoolService.sol +147 -0
  276. package/contracts/pool/Pool.sol +299 -0
  277. package/contracts/pool/PoolService.sol +424 -0
  278. package/contracts/pool/PoolServiceManager.sol +42 -0
  279. package/contracts/product/ApplicationService.sol +254 -0
  280. package/contracts/product/ApplicationServiceManager.sol +38 -0
  281. package/contracts/product/ClaimService.sol +437 -0
  282. package/contracts/product/ClaimServiceManager.sol +38 -0
  283. package/contracts/product/IApplicationService.sol +62 -0
  284. package/contracts/product/IClaimService.sol +93 -0
  285. package/contracts/product/IPolicyService.sol +78 -0
  286. package/contracts/product/IPricingService.sol +39 -0
  287. package/contracts/product/IProductComponent.sol +42 -0
  288. package/contracts/product/IProductService.sol +33 -0
  289. package/contracts/product/PolicyService.sol +473 -0
  290. package/contracts/product/PolicyServiceManager.sol +42 -0
  291. package/contracts/product/PricingService.sol +301 -0
  292. package/contracts/product/PricingServiceManager.sol +42 -0
  293. package/contracts/product/Product.sol +377 -0
  294. package/contracts/product/ProductService.sol +124 -0
  295. package/contracts/product/ProductServiceManager.sol +42 -0
  296. package/contracts/registry/ChainNft.sol +14 -0
  297. package/contracts/registry/IRegistry.sol +74 -30
  298. package/contracts/registry/IRegistryService.sol +46 -28
  299. package/contracts/registry/ITransferInterceptor.sol +1 -0
  300. package/contracts/registry/Registry.sol +367 -237
  301. package/contracts/registry/RegistryAccessManager.sol +196 -0
  302. package/contracts/registry/RegistryService.sol +113 -205
  303. package/contracts/registry/RegistryServiceManager.sol +34 -42
  304. package/contracts/registry/ReleaseManager.sol +563 -0
  305. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  306. package/contracts/registry/TokenRegistry.sol +300 -57
  307. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  308. package/contracts/shared/Component.sol +286 -0
  309. package/contracts/shared/ComponentService.sol +595 -0
  310. package/contracts/shared/ComponentServiceManager.sol +35 -0
  311. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  312. package/contracts/shared/ERC165.sol +14 -12
  313. package/contracts/shared/IComponent.sol +74 -0
  314. package/contracts/shared/IComponentService.sol +91 -0
  315. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  316. package/contracts/{instance/base → shared}/IKeyValueStore.sol +14 -10
  317. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  318. package/contracts/shared/INftOwnable.sol +12 -11
  319. package/contracts/shared/IPolicyHolder.sol +45 -0
  320. package/contracts/shared/IRegisterable.sol +4 -6
  321. package/contracts/shared/IRegistryLinked.sol +11 -0
  322. package/contracts/shared/IService.sol +7 -4
  323. package/contracts/shared/IVersionable.sol +5 -48
  324. package/contracts/shared/InstanceLinkedComponent.sol +145 -0
  325. package/contracts/shared/KeyValueStore.sol +130 -0
  326. package/contracts/{instance/base → shared}/Lifecycle.sol +28 -7
  327. package/contracts/shared/NftIdSetManager.sol +65 -0
  328. package/contracts/shared/NftOwnable.sol +64 -80
  329. package/contracts/shared/PolicyHolder.sol +101 -0
  330. package/contracts/shared/ProxyManager.sol +126 -25
  331. package/contracts/shared/Registerable.sol +26 -41
  332. package/contracts/shared/RegistryLinked.sol +43 -0
  333. package/contracts/shared/Service.sol +45 -23
  334. package/contracts/shared/TokenHandler.sol +37 -6
  335. package/contracts/shared/Versionable.sol +4 -92
  336. package/contracts/staking/IStaking.sol +152 -0
  337. package/contracts/staking/IStakingManager.sol +15 -0
  338. package/contracts/staking/IStakingService.sol +162 -0
  339. package/contracts/staking/IStakingStore.sol +130 -0
  340. package/contracts/staking/StakeManagerLib.sol +156 -0
  341. package/contracts/staking/Staking.sol +502 -0
  342. package/contracts/staking/StakingManager.sol +65 -0
  343. package/contracts/staking/StakingReader.sol +147 -0
  344. package/contracts/staking/StakingService.sol +375 -0
  345. package/contracts/staking/StakingServiceManager.sol +44 -0
  346. package/contracts/staking/StakingStore.sol +329 -0
  347. package/contracts/staking/TargetManagerLib.sol +179 -0
  348. package/contracts/type/Amount.sol +114 -0
  349. package/contracts/{types → type}/Blocknumber.sol +20 -2
  350. package/contracts/type/ClaimId.sol +75 -0
  351. package/contracts/{types → type}/DistributorType.sol +2 -2
  352. package/contracts/{types → type}/Fee.sol +32 -22
  353. package/contracts/{types → type}/NftId.sol +17 -11
  354. package/contracts/{types → type}/NftIdSet.sol +1 -1
  355. package/contracts/{types → type}/ObjectType.sol +26 -9
  356. package/contracts/type/PayoutId.sol +82 -0
  357. package/contracts/{types → type}/Referral.sol +4 -0
  358. package/contracts/type/RoleId.sol +143 -0
  359. package/contracts/type/Seconds.sol +71 -0
  360. package/contracts/{types → type}/StateId.sol +24 -6
  361. package/contracts/{types → type}/Timestamp.sol +18 -13
  362. package/contracts/{types → type}/UFixed.sol +1 -0
  363. package/contracts/{types → type}/Version.sol +1 -0
  364. package/package.json +3 -3
  365. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  366. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  367. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -744
  368. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  369. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  370. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  371. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  372. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -275
  373. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  374. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  375. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  376. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -939
  377. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  378. package/artifacts/contracts/components/Product.sol/Product.json +0 -855
  379. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  380. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  381. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  382. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  383. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  384. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  385. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  386. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  387. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  388. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  389. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  390. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  391. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  392. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  393. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  394. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  395. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  396. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  397. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  398. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  399. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  400. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  401. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  402. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  403. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  404. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  405. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  406. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  407. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  408. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  409. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  410. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  411. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  412. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  413. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  414. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  415. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  416. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  417. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  418. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  419. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  420. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  421. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  422. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  423. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  424. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  425. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  426. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  427. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -285
  428. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  429. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  430. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  431. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  432. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -429
  433. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  434. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  435. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  436. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  437. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  438. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  439. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  440. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  441. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  442. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  443. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  444. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -684
  445. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  446. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  447. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  448. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  449. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  450. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  451. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  452. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  453. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  454. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -984
  455. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  456. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -464
  457. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  458. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1017
  459. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  460. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  461. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  462. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -789
  463. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  464. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -420
  465. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  466. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  467. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  468. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  469. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  470. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  471. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  472. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  473. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  474. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  475. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  476. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  477. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  478. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  479. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  480. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  481. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  482. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  483. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  484. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  485. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  486. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  487. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  488. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  489. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  490. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  491. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  492. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  493. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  494. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  495. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  496. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  497. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  498. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  499. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  500. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  501. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  502. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  503. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  504. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  505. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  506. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  507. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  508. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  509. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  510. package/contracts/components/BaseComponent.sol +0 -132
  511. package/contracts/components/Distribution.sol +0 -163
  512. package/contracts/components/IBaseComponent.sol +0 -31
  513. package/contracts/components/IDistributionComponent.sol +0 -44
  514. package/contracts/components/IPoolComponent.sol +0 -66
  515. package/contracts/components/IProductComponent.sol +0 -35
  516. package/contracts/components/Pool.sol +0 -267
  517. package/contracts/components/Product.sol +0 -292
  518. package/contracts/experiment/cloning/Cloner.sol +0 -47
  519. package/contracts/experiment/errors/Require.sol +0 -38
  520. package/contracts/experiment/errors/Revert.sol +0 -44
  521. package/contracts/experiment/inheritance/A.sol +0 -53
  522. package/contracts/experiment/inheritance/B.sol +0 -28
  523. package/contracts/experiment/inheritance/C.sol +0 -34
  524. package/contracts/experiment/inheritance/IA.sol +0 -13
  525. package/contracts/experiment/inheritance/IB.sol +0 -10
  526. package/contracts/experiment/inheritance/IC.sol +0 -12
  527. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  528. package/contracts/experiment/statemachine/ISM.sol +0 -25
  529. package/contracts/experiment/statemachine/SM.sol +0 -57
  530. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  531. package/contracts/experiment/types/TypeA.sol +0 -47
  532. package/contracts/experiment/types/TypeB.sol +0 -29
  533. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  534. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  535. package/contracts/instance/IInstanceBase.sol +0 -26
  536. package/contracts/instance/InstanceBase.sol +0 -41
  537. package/contracts/instance/base/ComponentServiceBase.sol +0 -72
  538. package/contracts/instance/base/IInstanceBase.sol +0 -23
  539. package/contracts/instance/base/KeyValueStore.sol +0 -172
  540. package/contracts/instance/module/ISetup.sol +0 -46
  541. package/contracts/instance/module/ITreasury.sol +0 -23
  542. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  543. package/contracts/instance/service/DistributionService.sol +0 -118
  544. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  545. package/contracts/instance/service/IDistributionService.sol +0 -12
  546. package/contracts/instance/service/IPolicyService.sol +0 -87
  547. package/contracts/instance/service/IPoolService.sol +0 -51
  548. package/contracts/instance/service/IProductService.sol +0 -40
  549. package/contracts/instance/service/PolicyService.sol +0 -513
  550. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  551. package/contracts/instance/service/PoolService.sol +0 -317
  552. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  553. package/contracts/instance/service/ProductService.sol +0 -173
  554. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  555. package/contracts/shared/ContractDeployerLib.sol +0 -72
  556. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  557. package/contracts/test/TestFee.sol +0 -25
  558. package/contracts/test/TestRegisterable.sol +0 -18
  559. package/contracts/test/TestRoleId.sol +0 -14
  560. package/contracts/test/TestService.sol +0 -24
  561. package/contracts/test/TestToken.sol +0 -26
  562. package/contracts/test/TestVersion.sol +0 -44
  563. package/contracts/test/TestVersionable.sol +0 -17
  564. package/contracts/types/ChainId.sol +0 -38
  565. package/contracts/types/NumberId.sol +0 -52
  566. package/contracts/types/RoleId.sol +0 -91
  567. /package/contracts/{types → type}/AddressSet.sol +0 -0
  568. /package/contracts/{types → type}/Key32.sol +0 -0
  569. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -3,90 +3,288 @@
3
3
  "contractName": "InstanceService",
4
4
  "sourceName": "contracts/instance/InstanceService.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
6
44
  {
7
45
  "inputs": [],
8
46
  "name": "ERC1167FailedCreateClone",
9
47
  "type": "error"
10
48
  },
49
+ {
50
+ "inputs": [],
51
+ "name": "ErrorInstanceServiceBundleManagerAuthorityMismatch",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "ErrorInstanceServiceBundleManagerZero",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "ErrorInstanceServiceBundleMangerInstanceMismatch",
62
+ "type": "error"
63
+ },
11
64
  {
12
65
  "inputs": [
13
66
  {
14
67
  "internalType": "address",
15
- "name": "registry",
68
+ "name": "component",
69
+ "type": "address"
70
+ }
71
+ ],
72
+ "name": "ErrorInstanceServiceComponentNotInstanceLinked",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "address",
79
+ "name": "componentAddress",
16
80
  "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorInstanceServiceComponentNotRegistered",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "ErrorInstanceServiceInstanceAccessManagerZero",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "ErrorInstanceServiceInstanceAddressZero",
94
+ "type": "error"
95
+ },
96
+ {
97
+ "inputs": [],
98
+ "name": "ErrorInstanceServiceInstanceAuthorityMismatch",
99
+ "type": "error"
100
+ },
101
+ {
102
+ "inputs": [
103
+ {
104
+ "internalType": "NftId",
105
+ "name": "instanceNftId",
106
+ "type": "uint96"
17
107
  },
18
108
  {
19
109
  "internalType": "NftId",
20
- "name": "nftId",
110
+ "name": "componentNftId",
21
111
  "type": "uint96"
22
112
  }
23
113
  ],
24
- "name": "ErrorAlreadyLinked",
114
+ "name": "ErrorInstanceServiceInstanceComponentMismatch",
115
+ "type": "error"
116
+ },
117
+ {
118
+ "inputs": [],
119
+ "name": "ErrorInstanceServiceInstanceReaderAddressZero",
120
+ "type": "error"
121
+ },
122
+ {
123
+ "inputs": [],
124
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch",
125
+ "type": "error"
126
+ },
127
+ {
128
+ "inputs": [],
129
+ "name": "ErrorInstanceServiceInstanceReaderInstanceMismatch2",
130
+ "type": "error"
131
+ },
132
+ {
133
+ "inputs": [],
134
+ "name": "ErrorInstanceServiceInstanceReaderSameAsMasterInstanceReader",
135
+ "type": "error"
136
+ },
137
+ {
138
+ "inputs": [],
139
+ "name": "ErrorInstanceServiceInstanceReaderZero",
140
+ "type": "error"
141
+ },
142
+ {
143
+ "inputs": [],
144
+ "name": "ErrorInstanceServiceInstanceStoreAuthorityMismatch",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [],
149
+ "name": "ErrorInstanceServiceInstanceStoreZero",
25
150
  "type": "error"
26
151
  },
27
152
  {
28
153
  "inputs": [
29
154
  {
30
155
  "internalType": "address",
31
- "name": "contractAddress",
156
+ "name": "componentAddress",
32
157
  "type": "address"
158
+ },
159
+ {
160
+ "internalType": "ObjectType",
161
+ "name": "expectedType",
162
+ "type": "uint8"
163
+ },
164
+ {
165
+ "internalType": "ObjectType",
166
+ "name": "componentType",
167
+ "type": "uint8"
33
168
  }
34
169
  ],
35
- "name": "ErrorContractNotRegistered",
170
+ "name": "ErrorInstanceServiceInvalidComponentType",
171
+ "type": "error"
172
+ },
173
+ {
174
+ "inputs": [],
175
+ "name": "ErrorInstanceServiceMasterBundleManagerAlreadySet",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [],
180
+ "name": "ErrorInstanceServiceMasterInstanceAccessManagerAlreadySet",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [],
185
+ "name": "ErrorInstanceServiceMasterInstanceAlreadySet",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [],
190
+ "name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [],
195
+ "name": "ErrorInstanceServiceMasterOzAccessManagerAlreadySet",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "inputs": [
200
+ {
201
+ "internalType": "NftId",
202
+ "name": "nftId",
203
+ "type": "uint96"
204
+ }
205
+ ],
206
+ "name": "ErrorInstanceServiceNotInstance",
36
207
  "type": "error"
37
208
  },
38
209
  {
39
210
  "inputs": [
40
211
  {
41
212
  "internalType": "address",
42
- "name": "account",
213
+ "name": "caller",
43
214
  "type": "address"
215
+ },
216
+ {
217
+ "internalType": "NftId",
218
+ "name": "instanceNftId",
219
+ "type": "uint96"
44
220
  }
45
221
  ],
46
- "name": "ErrorNotOwner",
222
+ "name": "ErrorInstanceServiceNotInstanceOwner",
47
223
  "type": "error"
48
224
  },
49
225
  {
50
226
  "inputs": [
51
227
  {
52
228
  "internalType": "address",
53
- "name": "registryAddress",
229
+ "name": "caller",
54
230
  "type": "address"
55
231
  }
56
232
  ],
57
- "name": "ErrorNotRegistry",
233
+ "name": "ErrorInstanceServiceRequestUnauhorized",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "inputs": [
238
+ {
239
+ "internalType": "NftId",
240
+ "name": "nftId",
241
+ "type": "uint96"
242
+ }
243
+ ],
244
+ "name": "ErrorNftOwnableAlreadyLinked",
58
245
  "type": "error"
59
246
  },
60
247
  {
61
248
  "inputs": [
62
249
  {
63
250
  "internalType": "address",
64
- "name": "registryAddress",
251
+ "name": "contractAddress",
65
252
  "type": "address"
66
253
  }
67
254
  ],
68
- "name": "ErrorRegisterableNotRegistry",
255
+ "name": "ErrorNftOwnableContractNotRegistered",
69
256
  "type": "error"
70
257
  },
71
258
  {
72
259
  "inputs": [],
73
- "name": "ErrorRegistryAddressZero",
260
+ "name": "ErrorNftOwnableInitialOwnerZero",
74
261
  "type": "error"
75
262
  },
76
263
  {
77
264
  "inputs": [
78
265
  {
79
266
  "internalType": "address",
80
- "name": "registry",
267
+ "name": "account",
81
268
  "type": "address"
82
269
  }
83
270
  ],
84
- "name": "ErrorRegistryAlreadyInitialized",
271
+ "name": "ErrorNftOwnableNotOwner",
272
+ "type": "error"
273
+ },
274
+ {
275
+ "inputs": [
276
+ {
277
+ "internalType": "address",
278
+ "name": "registryAddress",
279
+ "type": "address"
280
+ }
281
+ ],
282
+ "name": "ErrorNotRegistry",
85
283
  "type": "error"
86
284
  },
87
285
  {
88
286
  "inputs": [],
89
- "name": "ErrorRegistryNotInitialized",
287
+ "name": "ErrorServiceNotImplemented",
90
288
  "type": "error"
91
289
  },
92
290
  {
@@ -99,6 +297,19 @@
99
297
  "name": "NotInitializing",
100
298
  "type": "error"
101
299
  },
300
+ {
301
+ "anonymous": false,
302
+ "inputs": [
303
+ {
304
+ "indexed": false,
305
+ "internalType": "address",
306
+ "name": "authority",
307
+ "type": "address"
308
+ }
309
+ ],
310
+ "name": "AuthorityUpdated",
311
+ "type": "event"
312
+ },
102
313
  {
103
314
  "anonymous": false,
104
315
  "inputs": [
@@ -118,54 +329,47 @@
118
329
  {
119
330
  "indexed": false,
120
331
  "internalType": "address",
121
- "name": "clonedAccessManagerAddress",
332
+ "name": "clonedOzAccessManager",
122
333
  "type": "address"
123
334
  },
124
335
  {
125
336
  "indexed": false,
126
337
  "internalType": "address",
127
- "name": "clonedInstanceAddress",
338
+ "name": "clonedInstanceAccessManager",
128
339
  "type": "address"
129
340
  },
130
341
  {
131
342
  "indexed": false,
132
343
  "internalType": "address",
133
- "name": "clonedInstanceReaderAddress",
344
+ "name": "clonedInstance",
134
345
  "type": "address"
135
346
  },
136
347
  {
137
348
  "indexed": false,
138
- "internalType": "NftId",
139
- "name": "clonedInstanceNftId",
140
- "type": "uint96"
141
- }
142
- ],
143
- "name": "LogInstanceCloned",
144
- "type": "event"
145
- },
146
- {
147
- "anonymous": false,
148
- "inputs": [
149
- {
150
- "indexed": false,
151
- "internalType": "Version",
152
- "name": "version",
153
- "type": "uint24"
349
+ "internalType": "address",
350
+ "name": "clonedInstanceStore",
351
+ "type": "address"
154
352
  },
155
353
  {
156
354
  "indexed": false,
157
355
  "internalType": "address",
158
- "name": "implementation",
356
+ "name": "clonedBundleManager",
159
357
  "type": "address"
160
358
  },
161
359
  {
162
360
  "indexed": false,
163
361
  "internalType": "address",
164
- "name": "activatedBy",
362
+ "name": "clonedInstanceReader",
165
363
  "type": "address"
364
+ },
365
+ {
366
+ "indexed": false,
367
+ "internalType": "NftId",
368
+ "name": "clonedInstanceNftId",
369
+ "type": "uint96"
166
370
  }
167
371
  ],
168
- "name": "LogVersionableInitialized",
372
+ "name": "LogInstanceCloned",
169
373
  "type": "event"
170
374
  },
171
375
  {
@@ -183,12 +387,12 @@
183
387
  },
184
388
  {
185
389
  "inputs": [],
186
- "name": "NAME",
390
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
187
391
  "outputs": [
188
392
  {
189
- "internalType": "string",
393
+ "internalType": "bytes32",
190
394
  "name": "",
191
- "type": "string"
395
+ "type": "bytes32"
192
396
  }
193
397
  ],
194
398
  "stateMutability": "view",
@@ -209,61 +413,112 @@
209
413
  },
210
414
  {
211
415
  "inputs": [],
212
- "name": "createInstanceClone",
416
+ "name": "authority",
213
417
  "outputs": [
214
418
  {
215
- "internalType": "contract AccessManagerUpgradeableInitializeable",
216
- "name": "clonedAccessManager",
419
+ "internalType": "address",
420
+ "name": "",
217
421
  "type": "address"
422
+ }
423
+ ],
424
+ "stateMutability": "view",
425
+ "type": "function"
426
+ },
427
+ {
428
+ "inputs": [
429
+ {
430
+ "internalType": "NftId",
431
+ "name": "instanceNftId",
432
+ "type": "uint96"
218
433
  },
219
434
  {
220
- "internalType": "contract Instance",
221
- "name": "clonedInstance",
435
+ "internalType": "address",
436
+ "name": "targetAddress",
222
437
  "type": "address"
223
438
  },
439
+ {
440
+ "internalType": "string",
441
+ "name": "targetName",
442
+ "type": "string"
443
+ },
444
+ {
445
+ "internalType": "bytes4[][]",
446
+ "name": "selectors",
447
+ "type": "bytes4[][]"
448
+ },
449
+ {
450
+ "internalType": "RoleId[]",
451
+ "name": "roles",
452
+ "type": "uint64[]"
453
+ }
454
+ ],
455
+ "name": "createComponentTarget",
456
+ "outputs": [],
457
+ "stateMutability": "nonpayable",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [
224
462
  {
225
463
  "internalType": "NftId",
226
- "name": "clonedInstanceNftId",
464
+ "name": "instanceNftId",
227
465
  "type": "uint96"
228
466
  },
229
467
  {
230
- "internalType": "contract InstanceReader",
231
- "name": "clonedInstanceReader",
468
+ "internalType": "address",
469
+ "name": "targetAddress",
232
470
  "type": "address"
233
471
  },
234
472
  {
235
- "internalType": "contract BundleManager",
236
- "name": "clonedBundleManager",
237
- "type": "address"
473
+ "internalType": "string",
474
+ "name": "targetName",
475
+ "type": "string"
476
+ },
477
+ {
478
+ "internalType": "bytes4[][]",
479
+ "name": "selectors",
480
+ "type": "bytes4[][]"
481
+ },
482
+ {
483
+ "internalType": "RoleId[]",
484
+ "name": "roles",
485
+ "type": "uint64[]"
238
486
  }
239
487
  ],
488
+ "name": "createGifTarget",
489
+ "outputs": [],
240
490
  "stateMutability": "nonpayable",
241
491
  "type": "function"
242
492
  },
243
493
  {
244
494
  "inputs": [],
245
- "name": "getAccessManagerMaster",
495
+ "name": "createInstanceClone",
246
496
  "outputs": [
247
497
  {
248
- "internalType": "address",
249
- "name": "",
498
+ "internalType": "contract Instance",
499
+ "name": "clonedInstance",
250
500
  "type": "address"
501
+ },
502
+ {
503
+ "internalType": "NftId",
504
+ "name": "clonedInstanceNftId",
505
+ "type": "uint96"
251
506
  }
252
507
  ],
253
- "stateMutability": "view",
508
+ "stateMutability": "nonpayable",
254
509
  "type": "function"
255
510
  },
256
511
  {
257
512
  "inputs": [],
258
- "name": "getBundleManagerMaster",
513
+ "name": "getDomain",
259
514
  "outputs": [
260
515
  {
261
- "internalType": "address",
516
+ "internalType": "ObjectType",
262
517
  "name": "",
263
- "type": "address"
518
+ "type": "uint8"
264
519
  }
265
520
  ],
266
- "stateMutability": "view",
521
+ "stateMutability": "pure",
267
522
  "type": "function"
268
523
  },
269
524
  {
@@ -309,39 +564,8 @@
309
564
  }
310
565
  ],
311
566
  "internalType": "struct IRegistry.ObjectInfo",
312
- "name": "",
567
+ "name": "info",
313
568
  "type": "tuple"
314
- },
315
- {
316
- "internalType": "bytes",
317
- "name": "data",
318
- "type": "bytes"
319
- }
320
- ],
321
- "stateMutability": "view",
322
- "type": "function"
323
- },
324
- {
325
- "inputs": [],
326
- "name": "getInitializedVersion",
327
- "outputs": [
328
- {
329
- "internalType": "uint64",
330
- "name": "",
331
- "type": "uint64"
332
- }
333
- ],
334
- "stateMutability": "view",
335
- "type": "function"
336
- },
337
- {
338
- "inputs": [],
339
- "name": "getInstanceMaster",
340
- "outputs": [
341
- {
342
- "internalType": "address",
343
- "name": "",
344
- "type": "address"
345
569
  }
346
570
  ],
347
571
  "stateMutability": "view",
@@ -349,7 +573,7 @@
349
573
  },
350
574
  {
351
575
  "inputs": [],
352
- "name": "getInstanceReaderMaster",
576
+ "name": "getMasterInstanceReader",
353
577
  "outputs": [
354
578
  {
355
579
  "internalType": "address",
@@ -360,32 +584,6 @@
360
584
  "stateMutability": "view",
361
585
  "type": "function"
362
586
  },
363
- {
364
- "inputs": [],
365
- "name": "getMajorVersion",
366
- "outputs": [
367
- {
368
- "internalType": "VersionPart",
369
- "name": "majorVersion",
370
- "type": "uint8"
371
- }
372
- ],
373
- "stateMutability": "view",
374
- "type": "function"
375
- },
376
- {
377
- "inputs": [],
378
- "name": "getName",
379
- "outputs": [
380
- {
381
- "internalType": "string",
382
- "name": "",
383
- "type": "string"
384
- }
385
- ],
386
- "stateMutability": "pure",
387
- "type": "function"
388
- },
389
587
  {
390
588
  "inputs": [],
391
589
  "name": "getNftId",
@@ -439,119 +637,106 @@
439
637
  "type": "function"
440
638
  },
441
639
  {
442
- "inputs": [
443
- {
444
- "internalType": "uint256",
445
- "name": "idx",
446
- "type": "uint256"
447
- }
448
- ],
449
- "name": "getVersion",
450
- "outputs": [
451
- {
452
- "internalType": "Version",
453
- "name": "",
454
- "type": "uint24"
455
- }
456
- ],
457
- "stateMutability": "view",
640
+ "inputs": [],
641
+ "name": "initializeERC165",
642
+ "outputs": [],
643
+ "stateMutability": "nonpayable",
458
644
  "type": "function"
459
645
  },
460
646
  {
461
- "inputs": [],
462
- "name": "getVersionCount",
463
- "outputs": [
647
+ "inputs": [
464
648
  {
465
- "internalType": "uint256",
466
- "name": "",
467
- "type": "uint256"
649
+ "internalType": "address",
650
+ "name": "initialOwner",
651
+ "type": "address"
652
+ },
653
+ {
654
+ "internalType": "address",
655
+ "name": "registryAddress",
656
+ "type": "address"
468
657
  }
469
658
  ],
470
- "stateMutability": "view",
659
+ "name": "initializeNftOwnable",
660
+ "outputs": [],
661
+ "stateMutability": "nonpayable",
471
662
  "type": "function"
472
663
  },
473
664
  {
474
665
  "inputs": [
475
666
  {
476
- "internalType": "Version",
477
- "name": "_version",
478
- "type": "uint24"
667
+ "internalType": "address",
668
+ "name": "registryAddress",
669
+ "type": "address"
670
+ },
671
+ {
672
+ "internalType": "NftId",
673
+ "name": "parentNftId",
674
+ "type": "uint96"
675
+ },
676
+ {
677
+ "internalType": "ObjectType",
678
+ "name": "objectType",
679
+ "type": "uint8"
680
+ },
681
+ {
682
+ "internalType": "bool",
683
+ "name": "isInterceptor",
684
+ "type": "bool"
685
+ },
686
+ {
687
+ "internalType": "address",
688
+ "name": "initialOwner",
689
+ "type": "address"
690
+ },
691
+ {
692
+ "internalType": "bytes",
693
+ "name": "registryData",
694
+ "type": "bytes"
479
695
  }
480
696
  ],
481
- "name": "getVersionInfo",
482
- "outputs": [
483
- {
484
- "components": [
485
- {
486
- "internalType": "Version",
487
- "name": "version",
488
- "type": "uint24"
489
- },
490
- {
491
- "internalType": "address",
492
- "name": "implementation",
493
- "type": "address"
494
- },
495
- {
496
- "internalType": "address",
497
- "name": "activatedBy",
498
- "type": "address"
499
- },
500
- {
501
- "internalType": "Timestamp",
502
- "name": "activatedAt",
503
- "type": "uint40"
504
- },
505
- {
506
- "internalType": "Blocknumber",
507
- "name": "activatedIn",
508
- "type": "uint32"
509
- }
510
- ],
511
- "internalType": "struct IVersionable.VersionInfo",
512
- "name": "",
513
- "type": "tuple"
697
+ "name": "initializeRegisterable",
698
+ "outputs": [],
699
+ "stateMutability": "nonpayable",
700
+ "type": "function"
701
+ },
702
+ {
703
+ "inputs": [
704
+ {
705
+ "internalType": "address",
706
+ "name": "registryAddress",
707
+ "type": "address"
514
708
  }
515
709
  ],
516
- "stateMutability": "view",
710
+ "name": "initializeRegistryLinked",
711
+ "outputs": [],
712
+ "stateMutability": "nonpayable",
517
713
  "type": "function"
518
714
  },
519
715
  {
520
716
  "inputs": [
521
717
  {
522
718
  "internalType": "address",
523
- "name": "account",
719
+ "name": "registry",
524
720
  "type": "address"
525
721
  },
526
722
  {
527
- "internalType": "RoleId",
528
- "name": "role",
529
- "type": "uint64"
723
+ "internalType": "address",
724
+ "name": "authority",
725
+ "type": "address"
530
726
  },
531
727
  {
532
728
  "internalType": "address",
533
- "name": "instanceAddress",
729
+ "name": "initialOwner",
534
730
  "type": "address"
535
731
  }
536
732
  ],
537
- "name": "hasRole",
538
- "outputs": [
539
- {
540
- "internalType": "bool",
541
- "name": "",
542
- "type": "bool"
543
- }
544
- ],
545
- "stateMutability": "view",
733
+ "name": "initializeService",
734
+ "outputs": [],
735
+ "stateMutability": "nonpayable",
546
736
  "type": "function"
547
737
  },
548
738
  {
549
739
  "inputs": [
550
- {
551
- "internalType": "address",
552
- "name": "implementation",
553
- "type": "address"
554
- },
555
740
  {
556
741
  "internalType": "address",
557
742
  "name": "activatedBy",
@@ -563,25 +748,19 @@
563
748
  "type": "bytes"
564
749
  }
565
750
  ],
566
- "name": "initialize",
751
+ "name": "initializeVersionable",
567
752
  "outputs": [],
568
753
  "stateMutability": "nonpayable",
569
754
  "type": "function"
570
755
  },
571
756
  {
572
- "inputs": [
573
- {
574
- "internalType": "Version",
575
- "name": "_version",
576
- "type": "uint24"
577
- }
578
- ],
579
- "name": "isInitialized",
757
+ "inputs": [],
758
+ "name": "isConsumingScheduledOp",
580
759
  "outputs": [
581
760
  {
582
- "internalType": "bool",
761
+ "internalType": "bytes4",
583
762
  "name": "",
584
- "type": "bool"
763
+ "type": "bytes4"
585
764
  }
586
765
  ],
587
766
  "stateMutability": "view",
@@ -597,27 +776,70 @@
597
776
  {
598
777
  "inputs": [
599
778
  {
600
- "internalType": "address",
601
- "name": "accessManagerAddress",
602
- "type": "address"
603
- },
779
+ "internalType": "bytes4",
780
+ "name": "interfaceId",
781
+ "type": "bytes4"
782
+ }
783
+ ],
784
+ "name": "registerInterface",
785
+ "outputs": [],
786
+ "stateMutability": "nonpayable",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [
604
791
  {
605
792
  "internalType": "address",
606
793
  "name": "instanceAddress",
607
794
  "type": "address"
608
- },
795
+ }
796
+ ],
797
+ "name": "setAndRegisterMasterInstance",
798
+ "outputs": [
799
+ {
800
+ "internalType": "NftId",
801
+ "name": "masterInstanceNftId",
802
+ "type": "uint96"
803
+ }
804
+ ],
805
+ "stateMutability": "nonpayable",
806
+ "type": "function"
807
+ },
808
+ {
809
+ "inputs": [
609
810
  {
610
811
  "internalType": "address",
611
- "name": "instanceReaderAddress",
812
+ "name": "newAuthority",
612
813
  "type": "address"
613
- },
814
+ }
815
+ ],
816
+ "name": "setAuthority",
817
+ "outputs": [],
818
+ "stateMutability": "nonpayable",
819
+ "type": "function"
820
+ },
821
+ {
822
+ "inputs": [
823
+ {
824
+ "internalType": "bool",
825
+ "name": "locked",
826
+ "type": "bool"
827
+ }
828
+ ],
829
+ "name": "setComponentLocked",
830
+ "outputs": [],
831
+ "stateMutability": "nonpayable",
832
+ "type": "function"
833
+ },
834
+ {
835
+ "inputs": [
614
836
  {
615
837
  "internalType": "address",
616
- "name": "bundleManagerAddress",
838
+ "name": "instanceReaderAddress",
617
839
  "type": "address"
618
840
  }
619
841
  ],
620
- "name": "setMasterInstance",
842
+ "name": "setMasterInstanceReader",
621
843
  "outputs": [],
622
844
  "stateMutability": "nonpayable",
623
845
  "type": "function"
@@ -644,22 +866,12 @@
644
866
  {
645
867
  "inputs": [
646
868
  {
647
- "internalType": "address",
648
- "name": "implementation",
649
- "type": "address"
650
- },
651
- {
652
- "internalType": "address",
653
- "name": "activatedBy",
654
- "type": "address"
655
- },
656
- {
657
- "internalType": "bytes",
658
- "name": "data",
659
- "type": "bytes"
869
+ "internalType": "NftId",
870
+ "name": "instanceNftId",
871
+ "type": "uint96"
660
872
  }
661
873
  ],
662
- "name": "upgrade",
874
+ "name": "upgradeInstanceReader",
663
875
  "outputs": [],
664
876
  "stateMutability": "nonpayable",
665
877
  "type": "function"
@@ -667,331 +879,183 @@
667
879
  {
668
880
  "inputs": [
669
881
  {
670
- "internalType": "NftId",
671
- "name": "instanceNftId",
672
- "type": "uint96"
882
+ "internalType": "bytes",
883
+ "name": "data",
884
+ "type": "bytes"
673
885
  }
674
886
  ],
675
- "name": "upgradeInstanceReader",
887
+ "name": "upgradeVersionable",
676
888
  "outputs": [],
677
889
  "stateMutability": "nonpayable",
678
890
  "type": "function"
679
891
  }
680
892
  ],
681
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614547806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80635ab1bd53116100f9578063a745e3df11610097578063c22f980d11610071578063c22f980d14610526578063cde749f414610537578063cf7a1d7714610551578063eeff428e1461056457600080fd5b8063a745e3df146104e0578063b3c65015146104f3578063b88da7591461051357600080fd5b8063893d20e8116100d3578063893d20e81461047257806393c480541461047a578063946dfcfe1461048b578063a3f4df7e146104b257600080fd5b80635ab1bd531461042e578063644c45e01461043f578063872309c71461046a57600080fd5b80631a77e50c116101665780633a0b4b31116101405780633a0b4b31146102de5780633bd516ef146102ef5780634d459c90146103025780634f4213331461041b57600080fd5b80631a77e50c146102735780631eff4b221461029857806336147088146102cd57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063103bd5da14610222578063138461e01461023557806317d7de7c1461023f575b600080fd5b6101db6101bc366004613c15565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f86105af565b60405162ffffff90911681526020016101e7565b610214610639565b6040516101e7929190613c8f565b6101db610230366004613d60565b6107bb565b61023d61095b565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190613dab565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102bf7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6007546001600160a01b0316610280565b6005546001600160a01b0316610280565b61023d6102fd366004613dbe565b610b7d565b6103be610310366004613e2b565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206144f283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db610429366004613e2b565b611192565b6001546001600160a01b0316610280565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b6102bf600081565b610280611245565b6006546001600160a01b0316610280565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102bf565b6102666040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61023d6104ee366004613edd565b61135e565b6104fb6114b8565b6040516001600160401b0390911681526020016101e7565b6101f8610521366004613f81565b6114d9565b61023d610534366004613faf565b50565b61053f61152a565b60405160ff90911681526020016101e7565b61023d61055f366004613edd565b6115ad565b61056c6116b6565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a0016101e7565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610610573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190613fcc565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106bc6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610704611245565b6001600160a01b0316815260200182600101805461072190613fe9565b80601f016020809104026020016040519081016040528092919081815260200182805461074d90613fe9565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610801573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610825919061402e565b604051631517388760e21b81526001600160401b038716600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba919061404b565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038b1660248201526044016040805180830381865afa15801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109309190614078565b909250905063ffffffff81161561094e576000945050505050610954565b50925050505b9392505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e191906140b8565b15610a28576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610a515760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe91906140b8565b610ae6576040516372657a5160e01b81526001600160a01b0382166004820152602401610a1f565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5491906140de565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610b85611245565b6001600160a01b0316336001600160a01b031614610bb85760405163700dd81160e01b8152336004820152602401610a1f565b6004546001600160a01b031615610c295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6005546001600160a01b031615610c945760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610a1f565b6007546001600160a01b031615610d055760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6001600160a01b038416610d655760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b6001600160a01b038316610dbb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610a1f565b6001600160a01b038216610e1c5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a1f565b6001600160a01b038116610e7c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef7919061402e565b6001600160a01b031614610f5f5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610a1f565b611037826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc491906140de565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611002573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102691906140de565b6001600160601b0390811691161490565b61109b5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a1f565b6110dc816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b61113f5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610a1f565b5050600480546001600160a01b039687166001600160a01b031991821617909155600580549587169582169590951790945550600680549285169284169290921790915560078054919093169116179055565b6000806000805160206144f283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123e91906140fb565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ce91906140b8565b1561134e57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561132a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610634919061402e565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6113806105af565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156113c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e4919061404b565b6000805160206144d28339815191528054600160401b900460ff1680611417575080546001600160401b03808416911610155b156114355760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556114608585611e7a565b61146983612119565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106346000805160206144d2833981519152546001600160401b031690565b60006000805160206144f283398151915260010182815481106114fe576114fe614114565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006115346105af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190614144565b6000805160206144d28339815191528054600160401b810460ff1615906001600160401b03166000811580156115e05750825b90506000826001600160401b031660011480156115fc5750303b155b90508115801561160a575080155b156116285760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561165257845460ff60401b1916600160401b1785555b61165c8888611e7a565b6116668787612121565b83156116ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa158015611710573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173491906140de565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156117a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cc9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611821573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118459190614144565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156118ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cf919061402e565b60045490915081906118e9906001600160a01b0316612277565b604051632207fb6160e21b8152306004820152909a506001600160a01b038b169063881fed8490602401600060405180830381600087803b15801561192d57600080fd5b505af1158015611941573d6000803e3d6000fd5b505060055461195b92506001600160a01b03169050612277565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b1580156119c157600080fd5b505af11580156119d5573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611a24573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4c91908101906141ae565b508051600654909a50909150611a6a906001600160a01b0316612277565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b158015611ac257600080fd5b505af1158015611ad6573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015611b1d57600080fd5b505af1158015611b31573d6000803e3d6000fd5b5050600754611b4b92506001600160a01b03169050612277565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b158015611bab57600080fd5b505af1158015611bbf573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015611c0557600080fd5b505af1158015611c19573d6000803e3d6000fd5b50505050611c288b8b896122e9565b8a6001600160a01b03166325c471a0611c3f6136a6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611c98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbc919061404b565b8860006040518463ffffffff1660e01b8152600401611cdd939291906142a6565b600060405180830381600087803b158015611cf757600080fd5b505af1158015611d0b573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611d266136a6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da3919061404b565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611dea57600080fd5b505af1158015611dfe573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611e6594939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611e8261371e565b6000805160206144f28339815191526000611eb26000805160206144d2833981519152546001600160401b031690565b90506000611ebe6105af565b9050816001600160401b0316600103611eeb5760028301805462ffffff191662ffffff8316179055611f39565b600283015462ffffff90811690821611611f395760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a1f565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611fed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201191906142d6565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906114a99083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a961371e565b6000805160206144d28339815191528054600160401b810460ff1615906001600160401b03166000811580156121545750825b90506000826001600160401b031660011480156121705750303b155b90508115801561217e575080155b1561219c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121c657845460ff60401b1916600160401b1785555b6000868060200190518101906121dc91906142fd565b600380546001600160a01b039093166001600160a01b03199093168317905591506122079089613757565b612217631b4612f160e31b6137e4565b61222763777fa14760e11b6137e4565b50831561226e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166122e4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561235d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123819190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156123d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123fa9190614144565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015612464573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612488919061402e565b9050836001600160a01b03166325c471a06124a1613809565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156124fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251e919061404b565b8360006040518463ffffffff1660e01b815260040161253f939291906142a6565b600060405180830381600087803b15801561255957600080fd5b505af115801561256d573d6000803e3d6000fd5b50600092506002915061257d9050565b6040519080825280602002602001820160405280156125a6578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106125c4576125c4614114565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106125fb576125fb614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d858361262d613809565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612686573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126aa919061404b565b6040518463ffffffff1660e01b81526004016126c89392919061432c565b600060405180830381600087803b1580156126e257600080fd5b505af11580156126f6573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127949190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156127e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280d9190614144565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561286f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612893919061402e565b9050856001600160a01b03166325c471a06128ac613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612905573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612929919061404b565b8360006040518463ffffffff1660e01b815260040161294a939291906142a6565b600060405180830381600087803b15801561296457600080fd5b505af1158015612978573d6000803e3d6000fd5b5060009250600491506129889050565b6040519080825280602002602001820160405280156129b1578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106129cf576129cf614114565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b9082906001908110612a0657612a06614114565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b9082906002908110612a3d57612a3d614114565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906003908110612a7457612a74614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d8783612aa6613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b23919061404b565b6040518463ffffffff1660e01b8152600401612b419392919061432c565b600060405180830381600087803b158015612b5b57600080fd5b505af1158015612b6f573d6000803e3d6000fd5b506000925060059150612b7f9050565b604051908082528060200260200182016040528015612ba8578160200160208202803683370190505b509050630cc7e61460e01b81600081518110612bc657612bc6614114565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110612bfd57612bfd614114565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110612c3457612c34614114565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110612c6b57612c6b614114565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110612ca257612ca2614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d8783612cd4613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d51919061404b565b6040518463ffffffff1660e01b8152600401612d6f9392919061432c565b600060405180830381600087803b158015612d8957600080fd5b505af1158015612d9d573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e3b9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612e90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eb49190614144565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015612f19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f3d919061402e565b9050886001600160a01b03166325c471a0612f56613881565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd3919061404b565b8360006040518463ffffffff1660e01b8152600401612ff4939291906142a6565b600060405180830381600087803b15801561300e57600080fd5b505af1158015613022573d6000803e3d6000fd5b5060009250600591506130329050565b60405190808252806020026020018201604052801561305b578160200160208202803683370190505b5090506391ff6eaa60e01b8160008151811061307957613079614114565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b90829060019081106130b0576130b0614114565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106130e7576130e7614114565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b908290600390811061311e5761311e614114565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061315557613155614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b038a166308d6122d8a83613187613881565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156131e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613204919061404b565b6040518463ffffffff1660e01b81526004016132229392919061432c565b600060405180830381600087803b15801561323c57600080fd5b505af1158015613250573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156132ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132ee9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613343573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133679190614144565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c506f6c6963795365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa1580156133cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133ef919061402e565b90508a6001600160a01b03166325c471a06134086138bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613461573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613485919061404b565b8360006040518463ffffffff1660e01b81526004016134a6939291906142a6565b600060405180830381600087803b1580156134c057600080fd5b505af11580156134d4573d6000803e3d6000fd5b5060009250600391506134e49050565b60405190808252806020026020018201604052801561350d578160200160208202803683370190505b50905063bc8d400060e01b8160008151811061352b5761352b614114565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b908290600190811061356257613562614114565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b908290600290811061359957613599614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b038c166308d6122d8c836135cb6138bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613624573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613648919061404b565b6040518463ffffffff1660e01b81526004016136669392919061432c565b600060405180830381600087803b15801561368057600080fd5b505af1158015613694573d6000803e3d6000fd5b50505050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156136fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610634919061404b565b6000805160206144d283398151915254600160401b900460ff1661375557604051631afcd79f60e31b815260040160405180910390fd5b565b600061378560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61378d61152a565b60405160200161379e92919061439e565b604051602081830303815290604052905060006137ba846138f9565b905060006137cd8583603c84888861396a565b6137dd631b4612f160e31b6137e4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b815261283c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613940573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061396491906140de565b92915050565b6139ab6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6139b58287613a36565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613a258382614412565b5061226e6303fb044760e21b6137e4565b6001600160a01b038216613a8c5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610a1f565b600280546001600160a01b0319166001600160a01b038416179055613ab081613ab4565b5050565b6001546001600160a01b031615613aed5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a1f565b6001600160a01b038116613b145760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613b4a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613bc4575060408051601f3d908101601f19168201909252613bc1918101906140b8565b60015b613bec5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b80613ab05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a1f565b600060208284031215613c2757600080fd5b81356001600160e01b03198116811461095457600080fd5b60005b83811015613c5a578181015183820152602001613c42565b50506000910152565b60008151808452613c7b816020860160208601613c3f565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151613cd360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152613d19610120840182613c63565b90508281036020840152613d2d8185613c63565b95945050505050565b6001600160a01b038116811461053457600080fd5b6001600160401b038116811461053457600080fd5b600080600060608486031215613d7557600080fd5b8335613d8081613d36565b92506020840135613d9081613d4b565b91506040840135613da081613d36565b809150509250925092565b6020815260006109546020830184613c63565b60008060008060808587031215613dd457600080fd5b8435613ddf81613d36565b93506020850135613def81613d36565b92506040850135613dff81613d36565b91506060850135613e0f81613d36565b939692955090935050565b62ffffff8116811461053457600080fd5b600060208284031215613e3d57600080fd5b813561095481613e1a565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613e8057613e80613e48565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613eae57613eae613e48565b604052919050565b60006001600160401b03821115613ecf57613ecf613e48565b50601f01601f191660200190565b600080600060608486031215613ef257600080fd5b8335613efd81613d36565b92506020840135613f0d81613d36565b915060408401356001600160401b03811115613f2857600080fd5b8401601f81018613613f3957600080fd5b8035613f4c613f4782613eb6565b613e86565b818152876020838501011115613f6157600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215613f9357600080fd5b5035919050565b6001600160601b038116811461053457600080fd5b600060208284031215613fc157600080fd5b813561095481613f9a565b600060208284031215613fde57600080fd5b815161095481613e1a565b600181811c90821680613ffd57607f821691505b60208210810361401d57634e487b7160e01b600052602260045260246000fd5b50919050565b80516122e481613d36565b60006020828403121561404057600080fd5b815161095481613d36565b60006020828403121561405d57600080fd5b815161095481613d4b565b805180151581146122e457600080fd5b6000806040838503121561408b57600080fd5b61409483614068565b9150602083015163ffffffff811681146140ad57600080fd5b809150509250929050565b6000602082840312156140ca57600080fd5b61095482614068565b80516122e481613f9a565b6000602082840312156140f057600080fd5b815161095481613f9a565b60006020828403121561410d57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461053457600080fd5b80516122e48161412a565b60006020828403121561415657600080fd5b81516109548161412a565b600082601f83011261417257600080fd5b8151614180613f4782613eb6565b81815284602083860101111561419557600080fd5b6141a6826020830160208701613c3f565b949350505050565b600080604083850312156141c157600080fd5b82516001600160401b03808211156141d857600080fd5b9084019060e082870312156141ec57600080fd5b6141f4613e5e565b6141fd836140d3565b815261420b602084016140d3565b602082015261421c60408401614139565b604082015261422d60608401614068565b606082015261423e60808401614023565b608082015261424f60a08401614023565b60a082015260c08301518281111561426657600080fd5b61427288828601614161565b60c083015250602086015190945091508082111561428f57600080fd5b5061429c85828601614161565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b6000602082840312156142e857600080fd5b815164ffffffffff8116811461095457600080fd5b6000806040838503121561431057600080fd5b825161431b81613d36565b60208401519092506140ad81613d36565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b8181101561437f5784516001600160e01b03191683529383019391830191600101614359565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006143b16040830185613c63565b905060ff831660208301529392505050565b601f82111561440d57600081815260208120601f850160051c810160208610156143ea5750805b601f850160051c820191505b81811015614409578281556001016143f6565b5050505b505050565b81516001600160401b0381111561442b5761442b613e48565b61443f816144398454613fe9565b846143c3565b602080601f831160018114614474576000841561445c5750858301515b600019600386901b1c1916600185901b178555614409565b600085815260208120601f198616915b828110156144a357888601518255948401946001909101908401614484565b50858210156144c15787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205c8078de1c28525f369687b9108c09b7b5697f6ddcf28c8eb1bce83c63a9a53064736f6c63430008140033",
682
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80635ab1bd53116100f9578063a745e3df11610097578063c22f980d11610071578063c22f980d14610526578063cde749f414610537578063cf7a1d7714610551578063eeff428e1461056457600080fd5b8063a745e3df146104e0578063b3c65015146104f3578063b88da7591461051357600080fd5b8063893d20e8116100d3578063893d20e81461047257806393c480541461047a578063946dfcfe1461048b578063a3f4df7e146104b257600080fd5b80635ab1bd531461042e578063644c45e01461043f578063872309c71461046a57600080fd5b80631a77e50c116101665780633a0b4b31116101405780633a0b4b31146102de5780633bd516ef146102ef5780634d459c90146103025780634f4213331461041b57600080fd5b80631a77e50c146102735780631eff4b221461029857806336147088146102cd57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063103bd5da14610222578063138461e01461023557806317d7de7c1461023f575b600080fd5b6101db6101bc366004613c15565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f86105af565b60405162ffffff90911681526020016101e7565b610214610639565b6040516101e7929190613c8f565b6101db610230366004613d60565b6107bb565b61023d61095b565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190613dab565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102bf7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6007546001600160a01b0316610280565b6005546001600160a01b0316610280565b61023d6102fd366004613dbe565b610b7d565b6103be610310366004613e2b565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206144f283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db610429366004613e2b565b611192565b6001546001600160a01b0316610280565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b6102bf600081565b610280611245565b6006546001600160a01b0316610280565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102bf565b6102666040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61023d6104ee366004613edd565b61135e565b6104fb6114b8565b6040516001600160401b0390911681526020016101e7565b6101f8610521366004613f81565b6114d9565b61023d610534366004613faf565b50565b61053f61152a565b60405160ff90911681526020016101e7565b61023d61055f366004613edd565b6115ad565b61056c6116b6565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a0016101e7565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610610573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190613fcc565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106bc6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610704611245565b6001600160a01b0316815260200182600101805461072190613fe9565b80601f016020809104026020016040519081016040528092919081815260200182805461074d90613fe9565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610801573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610825919061402e565b604051631517388760e21b81526001600160401b038716600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba919061404b565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038b1660248201526044016040805180830381865afa15801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109309190614078565b909250905063ffffffff81161561094e576000945050505050610954565b50925050505b9392505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e191906140b8565b15610a28576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610a515760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe91906140b8565b610ae6576040516372657a5160e01b81526001600160a01b0382166004820152602401610a1f565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5491906140de565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610b85611245565b6001600160a01b0316336001600160a01b031614610bb85760405163700dd81160e01b8152336004820152602401610a1f565b6004546001600160a01b031615610c295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6005546001600160a01b031615610c945760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610a1f565b6007546001600160a01b031615610d055760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6001600160a01b038416610d655760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b6001600160a01b038316610dbb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610a1f565b6001600160a01b038216610e1c5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a1f565b6001600160a01b038116610e7c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef7919061402e565b6001600160a01b031614610f5f5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610a1f565b611037826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc491906140de565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611002573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102691906140de565b6001600160601b0390811691161490565b61109b5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a1f565b6110dc816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b61113f5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610a1f565b5050600480546001600160a01b039687166001600160a01b031991821617909155600580549587169582169590951790945550600680549285169284169290921790915560078054919093169116179055565b6000806000805160206144f283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123e91906140fb565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ce91906140b8565b1561134e57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561132a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610634919061402e565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6113806105af565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156113c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e4919061404b565b6000805160206144d28339815191528054600160401b900460ff1680611417575080546001600160401b03808416911610155b156114355760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556114608585611e7a565b61146983612119565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106346000805160206144d2833981519152546001600160401b031690565b60006000805160206144f283398151915260010182815481106114fe576114fe614114565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006115346105af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190614144565b6000805160206144d28339815191528054600160401b810460ff1615906001600160401b03166000811580156115e05750825b90506000826001600160401b031660011480156115fc5750303b155b90508115801561160a575080155b156116285760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561165257845460ff60401b1916600160401b1785555b61165c8888611e7a565b6116668787612121565b83156116ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa158015611710573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173491906140de565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156117a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cc9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611821573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118459190614144565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156118ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cf919061402e565b60045490915081906118e9906001600160a01b0316612277565b604051632207fb6160e21b8152306004820152909a506001600160a01b038b169063881fed8490602401600060405180830381600087803b15801561192d57600080fd5b505af1158015611941573d6000803e3d6000fd5b505060055461195b92506001600160a01b03169050612277565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b1580156119c157600080fd5b505af11580156119d5573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611a24573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4c91908101906141ae565b508051600654909a50909150611a6a906001600160a01b0316612277565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b158015611ac257600080fd5b505af1158015611ad6573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015611b1d57600080fd5b505af1158015611b31573d6000803e3d6000fd5b5050600754611b4b92506001600160a01b03169050612277565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b158015611bab57600080fd5b505af1158015611bbf573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015611c0557600080fd5b505af1158015611c19573d6000803e3d6000fd5b50505050611c288b8b896122e9565b8a6001600160a01b03166325c471a0611c3f6136a6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611c98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbc919061404b565b8860006040518463ffffffff1660e01b8152600401611cdd939291906142a6565b600060405180830381600087803b158015611cf757600080fd5b505af1158015611d0b573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611d266136a6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da3919061404b565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611dea57600080fd5b505af1158015611dfe573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611e6594939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611e8261371e565b6000805160206144f28339815191526000611eb26000805160206144d2833981519152546001600160401b031690565b90506000611ebe6105af565b9050816001600160401b0316600103611eeb5760028301805462ffffff191662ffffff8316179055611f39565b600283015462ffffff90811690821611611f395760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a1f565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611fed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201191906142d6565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906114a99083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a961371e565b6000805160206144d28339815191528054600160401b810460ff1615906001600160401b03166000811580156121545750825b90506000826001600160401b031660011480156121705750303b155b90508115801561217e575080155b1561219c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121c657845460ff60401b1916600160401b1785555b6000868060200190518101906121dc91906142fd565b600380546001600160a01b039093166001600160a01b03199093168317905591506122079089613757565b612217631b4612f160e31b6137e4565b61222763777fa14760e11b6137e4565b50831561226e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166122e4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561235d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123819190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156123d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123fa9190614144565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015612464573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612488919061402e565b9050836001600160a01b03166325c471a06124a1613809565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156124fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251e919061404b565b8360006040518463ffffffff1660e01b815260040161253f939291906142a6565b600060405180830381600087803b15801561255957600080fd5b505af115801561256d573d6000803e3d6000fd5b50600092506002915061257d9050565b6040519080825280602002602001820160405280156125a6578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106125c4576125c4614114565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106125fb576125fb614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d858361262d613809565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612686573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126aa919061404b565b6040518463ffffffff1660e01b81526004016126c89392919061432c565b600060405180830381600087803b1580156126e257600080fd5b505af11580156126f6573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127949190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156127e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280d9190614144565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561286f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612893919061402e565b9050856001600160a01b03166325c471a06128ac613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612905573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612929919061404b565b8360006040518463ffffffff1660e01b815260040161294a939291906142a6565b600060405180830381600087803b15801561296457600080fd5b505af1158015612978573d6000803e3d6000fd5b5060009250600491506129889050565b6040519080825280602002602001820160405280156129b1578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106129cf576129cf614114565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b9082906001908110612a0657612a06614114565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b9082906002908110612a3d57612a3d614114565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906003908110612a7457612a74614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d8783612aa6613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b23919061404b565b6040518463ffffffff1660e01b8152600401612b419392919061432c565b600060405180830381600087803b158015612b5b57600080fd5b505af1158015612b6f573d6000803e3d6000fd5b506000925060059150612b7f9050565b604051908082528060200260200182016040528015612ba8578160200160208202803683370190505b509050630cc7e61460e01b81600081518110612bc657612bc6614114565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110612bfd57612bfd614114565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110612c3457612c34614114565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110612c6b57612c6b614114565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110612ca257612ca2614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d8783612cd4613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d51919061404b565b6040518463ffffffff1660e01b8152600401612d6f9392919061432c565b600060405180830381600087803b158015612d8957600080fd5b505af1158015612d9d573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e3b9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612e90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eb49190614144565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015612f19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f3d919061402e565b9050886001600160a01b03166325c471a0612f56613881565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd3919061404b565b8360006040518463ffffffff1660e01b8152600401612ff4939291906142a6565b600060405180830381600087803b15801561300e57600080fd5b505af1158015613022573d6000803e3d6000fd5b5060009250600591506130329050565b60405190808252806020026020018201604052801561305b578160200160208202803683370190505b5090506391ff6eaa60e01b8160008151811061307957613079614114565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b90829060019081106130b0576130b0614114565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106130e7576130e7614114565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b908290600390811061311e5761311e614114565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061315557613155614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b038a166308d6122d8a83613187613881565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156131e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613204919061404b565b6040518463ffffffff1660e01b81526004016132229392919061432c565b600060405180830381600087803b15801561323c57600080fd5b505af1158015613250573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156132ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132ee9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613343573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133679190614144565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c506f6c6963795365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa1580156133cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133ef919061402e565b90508a6001600160a01b03166325c471a06134086138bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613461573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613485919061404b565b8360006040518463ffffffff1660e01b81526004016134a6939291906142a6565b600060405180830381600087803b1580156134c057600080fd5b505af11580156134d4573d6000803e3d6000fd5b5060009250600391506134e49050565b60405190808252806020026020018201604052801561350d578160200160208202803683370190505b50905063bc8d400060e01b8160008151811061352b5761352b614114565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b908290600190811061356257613562614114565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b908290600290811061359957613599614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b038c166308d6122d8c836135cb6138bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613624573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613648919061404b565b6040518463ffffffff1660e01b81526004016136669392919061432c565b600060405180830381600087803b15801561368057600080fd5b505af1158015613694573d6000803e3d6000fd5b50505050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156136fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610634919061404b565b6000805160206144d283398151915254600160401b900460ff1661375557604051631afcd79f60e31b815260040160405180910390fd5b565b600061378560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61378d61152a565b60405160200161379e92919061439e565b604051602081830303815290604052905060006137ba846138f9565b905060006137cd8583603c84888861396a565b6137dd631b4612f160e31b6137e4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b815261283c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613940573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061396491906140de565b92915050565b6139ab6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6139b58287613a36565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613a258382614412565b5061226e6303fb044760e21b6137e4565b6001600160a01b038216613a8c5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610a1f565b600280546001600160a01b0319166001600160a01b038416179055613ab081613ab4565b5050565b6001546001600160a01b031615613aed5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a1f565b6001600160a01b038116613b145760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613b4a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613bc4575060408051601f3d908101601f19168201909252613bc1918101906140b8565b60015b613bec5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b80613ab05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a1f565b600060208284031215613c2757600080fd5b81356001600160e01b03198116811461095457600080fd5b60005b83811015613c5a578181015183820152602001613c42565b50506000910152565b60008151808452613c7b816020860160208601613c3f565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151613cd360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152613d19610120840182613c63565b90508281036020840152613d2d8185613c63565b95945050505050565b6001600160a01b038116811461053457600080fd5b6001600160401b038116811461053457600080fd5b600080600060608486031215613d7557600080fd5b8335613d8081613d36565b92506020840135613d9081613d4b565b91506040840135613da081613d36565b809150509250925092565b6020815260006109546020830184613c63565b60008060008060808587031215613dd457600080fd5b8435613ddf81613d36565b93506020850135613def81613d36565b92506040850135613dff81613d36565b91506060850135613e0f81613d36565b939692955090935050565b62ffffff8116811461053457600080fd5b600060208284031215613e3d57600080fd5b813561095481613e1a565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613e8057613e80613e48565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613eae57613eae613e48565b604052919050565b60006001600160401b03821115613ecf57613ecf613e48565b50601f01601f191660200190565b600080600060608486031215613ef257600080fd5b8335613efd81613d36565b92506020840135613f0d81613d36565b915060408401356001600160401b03811115613f2857600080fd5b8401601f81018613613f3957600080fd5b8035613f4c613f4782613eb6565b613e86565b818152876020838501011115613f6157600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215613f9357600080fd5b5035919050565b6001600160601b038116811461053457600080fd5b600060208284031215613fc157600080fd5b813561095481613f9a565b600060208284031215613fde57600080fd5b815161095481613e1a565b600181811c90821680613ffd57607f821691505b60208210810361401d57634e487b7160e01b600052602260045260246000fd5b50919050565b80516122e481613d36565b60006020828403121561404057600080fd5b815161095481613d36565b60006020828403121561405d57600080fd5b815161095481613d4b565b805180151581146122e457600080fd5b6000806040838503121561408b57600080fd5b61409483614068565b9150602083015163ffffffff811681146140ad57600080fd5b809150509250929050565b6000602082840312156140ca57600080fd5b61095482614068565b80516122e481613f9a565b6000602082840312156140f057600080fd5b815161095481613f9a565b60006020828403121561410d57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461053457600080fd5b80516122e48161412a565b60006020828403121561415657600080fd5b81516109548161412a565b600082601f83011261417257600080fd5b8151614180613f4782613eb6565b81815284602083860101111561419557600080fd5b6141a6826020830160208701613c3f565b949350505050565b600080604083850312156141c157600080fd5b82516001600160401b03808211156141d857600080fd5b9084019060e082870312156141ec57600080fd5b6141f4613e5e565b6141fd836140d3565b815261420b602084016140d3565b602082015261421c60408401614139565b604082015261422d60608401614068565b606082015261423e60808401614023565b608082015261424f60a08401614023565b60a082015260c08301518281111561426657600080fd5b61427288828601614161565b60c083015250602086015190945091508082111561428f57600080fd5b5061429c85828601614161565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b6000602082840312156142e857600080fd5b815164ffffffffff8116811461095457600080fd5b6000806040838503121561431057600080fd5b825161431b81613d36565b60208401519092506140ad81613d36565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b8181101561437f5784516001600160e01b03191683529383019391830191600101614359565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006143b16040830185613c63565b905060ff831660208301529392505050565b601f82111561440d57600081815260208120601f850160051c810160208610156143ea5750805b601f850160051c820191505b81811015614409578281556001016143f6565b5050505b505050565b81516001600160401b0381111561442b5761442b613e48565b61443f816144398454613fe9565b846143c3565b602080601f831160018114614474576000841561445c5750858301515b600019600386901b1c1916600185901b178555614409565b600085815260208120601f198616915b828110156144a357888601518255948401946001909101908401614484565b50858210156144c15787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205c8078de1c28525f369687b9108c09b7b5697f6ddcf28c8eb1bce83c63a9a53064736f6c63430008140033",
893
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61426a80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80637a9e5e4b11610104578063b68d1809116100a2578063edabac0311610071578063edabac0314610431578063eeff428e14610442578063f7c34ee014610471578063feec11901461048457600080fd5b8063b68d1809146103f4578063bf7e214f14610403578063c22f980d1461040b578063dd38b49e1461041e57600080fd5b80638e32e979116100de5780638e32e979146103985780638fb36037146103ab578063ada9652e146103cc578063b03d2a8e146103e157600080fd5b80637a9e5e4b14610375578063872309c714610388578063893d20e81461039057600080fd5b8063329d6e741161017c578063644c45e01161014b578063644c45e01461030a578063675393bf1461033c5780636a778e731461034f5780636c6fbb281461036257600080fd5b8063329d6e74146102b757806336fc697e146102ca57806349bb9e4b146102d25780635ab1bd53146102e557600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed3660046135d9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610497565b60405162ffffff9091168152602001610218565b610245610521565b604051610218919061364b565b61025a6106e5565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f3660046135d9565b6108ec565b61025a6102b2366004613810565b610919565b61025a6102c53660046138a8565b6109be565b61025a610b0b565b61025a6102e03660046138dc565b610b51565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6000805160206141d5833981519152546001600160601b03165b6040516001600160601b039091168152602001610218565b61025a61034a36600461392b565b610c50565b61032461035d36600461392b565b610d5e565b61025a610370366004613ad6565b611615565b61025a61038336600461392b565b611635565b610283600081565b6102f26116b8565b61025a6103a6366004613b9a565b6117ef565b6103b3611a28565b6040516001600160e01b03199091168152602001610218565b6102836000805160206141d583398151915281565b61025a6103ef366004613be5565b611a60565b60405160468152602001610218565b6102f2611e04565b61025a610419366004613c02565b611e20565b61025a61042c366004613ad6565b611621565b6007546001600160a01b03166102f2565b61044a61204b565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b61025a61047f366004613c1f565b612a4d565b61025a61049236600461392b565b612ac4565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613c58565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f99190613c88565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106416116b8565b6001600160a01b0316815260200182600101805461065e90613ca5565b80601f016020809104026020016040519081016040528092919081815260200182805461068a90613ca5565b80156106d75780601f106106ac576101008083540402835291602001916106d7565b820191906000526020600020905b8154815290600101906020018083116106ba57829003601f168201915b505050505081525091505090565b60006000805160206141d583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610754573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107789190613cea565b156107a95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107bc6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108289190613cea565b6108505760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107a0565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c89190613c88565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108f4612c3c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610921612c3c565b61092b8287612a4d565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109b48382613d4d565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6109e0610497565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a449190613e0c565b6000805160206142158339815191528054600160401b900460ff1680610a77575080546001600160401b03808416911610155b15610a955760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610abf83612c75565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b13612c3c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206142158339815191528054600160401b810460ff1615906001600160401b0316600081158015610b845750825b90506000826001600160401b03166001148015610ba05750303b155b905081158015610bae575080155b15610bcc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bf657845460ff60401b1916600160401b1785555b610c008787612c7d565b8315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c58612c3c565b806001600160a01b03163b600003610c8e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634ecea1f160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610d08575060408051601f3d908101601f19168201909252610d0591810190613cea565b60015b610d305760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b80610d595760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107a0565b505b50565b6000610d686116b8565b6001600160a01b0316336001600160a01b031614610d9b5760405163086391f760e31b81523360048201526024016107a0565b6006546001600160a01b031615610dc557604051632c237de760e11b815260040160405180910390fd5b6004546001600160a01b031615610def57604051636519f6b960e01b815260040160405180910390fd5b6005546001600160a01b031615610e1957604051630157f74960e01b815260040160405180910390fd5b6008546001600160a01b031615610e4357604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610e6a576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed39190613e29565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3e9190613e29565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190613e29565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110149190613e29565b9050806001600160a01b03871661103e5760405163459e9b9760e01b815260040160405180910390fd5b6001600160a01b0385166110655760405163e267254160e01b815260040160405180910390fd5b6001600160a01b03831661108c57604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b0381166110b3576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111159190613e29565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561115c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111809190613e29565b6001600160a01b0316146111a7576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112099190613e29565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112749190613e29565b6001600160a01b03161461129b576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fd9190613e29565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113689190613e29565b6001600160a01b03161461138f57604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190613e29565b6001600160a01b03161461142257604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e9190613e29565b6001600160a01b0316146114b5576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115179190613e29565b600480546001600160a01b03199081166001600160a01b03938416179091556005805482168a84161790556006805482168e8416908117909155600780548316898516179055600880548316878516179055600980549092168484161790915560025490916000911663026bc43b8361158e6116b8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af11580156115db573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116039190810190613ea1565b519d9c50505050505050505050505050565b61162133600036612df7565b61162e8585858486612efd565b5050505050565b3361163e611e04565b6001600160a01b0316816001600160a01b0316146116795760405162d1953b60e31b81526001600160a01b03821660048201526024016107a0565b816001600160a01b03163b6000036116af576040516361798f2f60e11b81526001600160a01b03831660048201526024016107a0565b610d5982613086565b6000806000805160206141d583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174c9190613cea565b156117d9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d39190613e29565b91505090565b54600160601b90046001600160a01b0316919050565b6117f7612c3c565b61187783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190613c88565b603c60008560405180602001604052806000815250610919565b6001600160a01b038216156118945761188f826130e7565b611a03565b60006118a86001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192c9190613f73565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119959190613e29565b9050611a01816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fc9190613e29565b6130e7565b505b611a13634a531f3360e01b6108ec565b611a2363b68d180960e01b6108ec565b505050565b6000805160206141f5833981519152805460009190600160a01b900460ff16611a525760006117d3565b638fb3603760e01b91505090565b6001546001600160a01b0316604051630bee2f1560e11b81523360048201526001600160a01b0391909116906317dc5e2a90602401602060405180830381865afa158015611ab2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad69190613cea565b611af5576040516302613e9f60e51b81523360048201526024016107a0565b6040516301ffc9a760e01b8152639a29895960e01b6004820152339081906301ffc9a790602401602060405180830381865afa158015611b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5d9190613cea565b611b84576040516236c14d60e71b81526001600160a01b03821660048201526024016107a0565b6000611b986001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611be4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c0c9190810190613ea1565b60200151604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611c6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8f9190613cea565b15611cb85760405163aef351c360e01b81526001600160a01b03841660048201526024016107a0565b6040516305247a1760e51b81526001600160601b03821660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611d08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d309190810190613ea1565b608001519050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d989190613e29565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611de557600080fd5b505af1158015611df9573d6000803e3d6000fd5b505050505050505050565b6000805160206141f5833981519152546001600160a01b031690565b80611e336001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611e82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea69190613e29565b6001600160a01b0316336001600160a01b031614611ed9576040516302613e9f60e51b81523360048201526024016107a0565b6000611eed6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611f40573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f689190810190613ea1565b608081015160075491925090600090611f89906001600160a01b03166130f8565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611fd057600080fd5b505af1158015611fe4573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b15801561202b57600080fd5b505af115801561203f573d6000803e3d6000fd5b50505050505050505050565b600454600090819033908290612069906001600160a01b03166130f8565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b1580156120ad57600080fd5b505af11580156120c1573d6000803e3d6000fd5b50506006546120db92506001600160a01b031690506130f8565b9350836001600160a01b031663c0c53b8b826120ff6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b15801561215057600080fd5b505af1158015612164573d6000803e3d6000fd5b50506009546000925061218091506001600160a01b03166130f8565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156121c757600080fd5b505af11580156121db573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b15801561222257600080fd5b505af1158015612236573d6000803e3d6000fd5b50506007546000925061225291506001600160a01b03166130f8565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561229957600080fd5b505af11580156122ad573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b1580156122f457600080fd5b505af1158015612308573d6000803e3d6000fd5b50506008546000925061232491506001600160a01b03166130f8565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561236b57600080fd5b505af115801561237f573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b1580156123c557600080fd5b505af11580156123d9573d6000803e3d6000fd5b5050600554600092506123f591506001600160a01b03166130f8565b9050846001600160a01b03166325c471a061240e61316a565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612467573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248b9190613e0c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b1580156124e257600080fd5b505af11580156124f6573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b15801561253d57600080fd5b505af1158015612551573d6000803e3d6000fd5b5050604051630f749a8960e01b81526001600160a01b0384811660048301528b169250630f749a899150602401600060405180830381600087803b15801561259857600080fd5b505af11580156125ac573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__63a1b61ad4828a85888b6125e16001546001600160a01b031690565b6125e9610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561263e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126629190613f73565b60405160e089901b6001600160e01b03191681526001600160a01b0397881660048201529587166024870152938616604486015291851660648501528416608484015290921660a482015260ff90911660c482015260e40160006040518083038186803b1580156126d257600080fd5b505af41580156126e6573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f561270161316a565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af415801561275a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061277e9190613e0c565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156127c557600080fd5b505af11580156127d9573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af1158015612834573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261285c9190810190613ea1565b905080600001519750600360009054906101000a90046001600160a01b03166001600160a01b03166381d9b45f8973__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af41580156128d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128f79190613f90565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612940573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129649190613fb7565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526044820152606401600060405180830381600087803b1580156129b857600080fd5b505af11580156129cc573d6000803e3d6000fd5b5050604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b038c1660c082015290517eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d93509081900360e0019150a1505050505050509091565b612a55612c3c565b612a5e81610c50565b612a66610b0b565b6001600160a01b038216612a8d5760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206141d583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612acc6116b8565b6001600160a01b0316336001600160a01b031614612aff5760405163086391f760e31b81523360048201526024016107a0565b6007546001600160a01b0316612b28576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116612b4f57604051631aa1808560e31b815260040160405180910390fd5b6007546001600160a01b0390811690821603612b7e57604051630666e2a560e01b815260040160405180910390fd5b6006546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015612bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bf29190613e29565b6001600160a01b031614612c195760405163f026367160e01b815260040160405180910390fd5b50600780546001600160a01b0319166001600160a01b0392909216919091179055565b60008051602061421583398151915254600160401b900460ff16612c7357604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612c3c565b6000805160206142158339815191528054600160401b810460ff1615906001600160401b0316600081158015612cb05750825b90506000826001600160401b03166001148015612ccc5750303b155b905081158015612cda575080155b15612cf85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612d2257845460ff60401b1916600160401b1785555b60008087806020019051810190612d399190613fd0565b9250509150612d4982828b6117ef565b612d5860286131e1565b6131e1565b600280546001600160a01b0319166001600160a01b0392909216919091179055612d83612d53602d90565b600380546001600160a01b0319166001600160a01b0392909216919091179055612db36377cab3db60e11b6108ec565b50508315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c3e565b6000805160206141f5833981519152600080612e32612e14611e04565b8730612e24600460008a8c614012565b612e2d9161403c565b6132f4565b9150915081612ef55763ffffffff811615612ed257825460ff60a01b1916600160a01b178355612e60611e04565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612e8f9392919061406c565b600060405180830381600087803b158015612ea957600080fd5b505af1158015612ebd573d6000803e3d6000fd5b5050845460ff60a01b1916855550612ef59050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107a0565b505050505050565b6000612f098686613400565b5090506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f709190613e29565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090612fa190899089906004016140ac565b600060405180830381600087803b158015612fbb57600080fd5b505af1158015612fcf573d6000803e3d6000fd5b5050505060005b84518110156109b457816001600160a01b0316630c8ae53e87868481518110613001576130016140d0565b602002602001015188858151811061301b5761301b6140d0565b60200260200101516040518463ffffffff1660e01b8152600401613041939291906140e6565b600060405180830381600087803b15801561305b57600080fd5b505af115801561306f573d6000803e3d6000fd5b50505050808061307e90614159565b915050612fd6565b6000805160206141f583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6130ef612c3c565b610d5b816135b0565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116613165576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af41580156131bd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613e0c565b60006131f56001546001600160a01b031690565b6001600160a01b031663d39e60438361320c610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015613261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132859190613f73565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156132ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132ee9190613e29565b92915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516133639190614180565b600060405180830381855afa9150503d806000811461339e576040519150601f19603f3d011682016040523d82523d6000602084013e6133a3565b606091505b509150915081156133f55760408151106133d557808060200190518101906133cb919061419c565b90945092506133f5565b60208151106133f557808060200190518101906133f29190613cea565b93505b505094509492505050565b60008060006134176001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561346a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134929190810190613ea1565b90506134b081604001516134a4604690565b60ff9081169116141590565b156134d95760405163e3c2794960e01b81526001600160601b03871660048201526024016107a0565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa158015613523573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261354b9190810190613ea1565b90506135688160200151886001600160601b039081169116141590565b1561359c57805160405163a811346560e01b81526001600160601b03808a16600483015290911660248201526044016107a0565b608090910151905190969095509350505050565b6135b8612c3c565b610d5b81613086565b80356001600160e01b03198116811461316557600080fd5b6000602082840312156135eb57600080fd5b6135f4826135c1565b9392505050565b60005b838110156136165781810151838201526020016135fe565b50506000910152565b600081518084526136378160208601602086016135fb565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516136b460c08401826001600160a01b03169052565b5060c083015160e0808401526136ce61010084018261361f565b949350505050565b6001600160a01b0381168114610d5b57600080fd5b6001600160601b0381168114610d5b57600080fd5b60ff81168114610d5b57600080fd5b8015158114610d5b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156137555761375561371d565b60405290565b604051601f8201601f191681016001600160401b03811182821017156137835761378361371d565b604052919050565b60006001600160401b038211156137a4576137a461371d565b50601f01601f191660200190565b60006137c56137c08461378b565b61375b565b90508281528383830111156137d957600080fd5b828260208301376000602084830101529392505050565b600082601f83011261380157600080fd5b6135f4838335602085016137b2565b60008060008060008060c0878903121561382957600080fd5b8635613834816136d6565b95506020870135613844816136eb565b9450604087013561385481613700565b935060608701356138648161370f565b92506080870135613874816136d6565b915060a08701356001600160401b0381111561388f57600080fd5b61389b89828a016137f0565b9150509295509295509295565b6000602082840312156138ba57600080fd5b81356001600160401b038111156138d057600080fd5b6136ce848285016137f0565b600080604083850312156138ef57600080fd5b82356138fa816136d6565b915060208301356001600160401b0381111561391557600080fd5b613921858286016137f0565b9150509250929050565b60006020828403121561393d57600080fd5b81356135f4816136d6565b60006001600160401b038211156139615761396161371d565b5060051b60200190565b600082601f83011261397c57600080fd5b8135602061398c6137c083613948565b828152600592831b85018201928282019190878511156139ab57600080fd5b8387015b85811015613a455780356001600160401b038111156139ce5760008081fd5b8801603f81018a136139e05760008081fd5b8581013560406139f26137c083613948565b82815291851b8301810191888101908d841115613a0f5760008081fd5b938201935b83851015613a3457613a25856135c1565b82529389019390890190613a14565b8852505050938501935084016139af565b5090979650505050505050565b6001600160401b0381168114610d5b57600080fd5b600082601f830112613a7857600080fd5b81356020613a886137c083613948565b82815260059290921b84018101918181019086841115613aa757600080fd5b8286015b84811015613acb578035613abe81613a52565b8352918301918301613aab565b509695505050505050565b600080600080600060a08688031215613aee57600080fd5b8535613af9816136eb565b94506020860135613b09816136d6565b935060408601356001600160401b0380821115613b2557600080fd5b818801915088601f830112613b3957600080fd5b613b48898335602085016137b2565b94506060880135915080821115613b5e57600080fd5b613b6a89838a0161396b565b93506080880135915080821115613b8057600080fd5b50613b8d88828901613a67565b9150509295509295909350565b600080600060608486031215613baf57600080fd5b8335613bba816136d6565b92506020840135613bca816136d6565b91506040840135613bda816136d6565b809150509250925092565b600060208284031215613bf757600080fd5b81356135f48161370f565b600060208284031215613c1457600080fd5b81356135f4816136eb565b60008060408385031215613c3257600080fd5b8235613c3d816136d6565b91506020830135613c4d816136d6565b809150509250929050565b600060208284031215613c6a57600080fd5b815162ffffff811681146135f457600080fd5b8051613165816136eb565b600060208284031215613c9a57600080fd5b81516135f4816136eb565b600181811c90821680613cb957607f821691505b602082108103613cd957634e487b7160e01b600052602260045260246000fd5b50919050565b80516131658161370f565b600060208284031215613cfc57600080fd5b81516135f48161370f565b601f821115611a2357600081815260208120601f850160051c81016020861015613d2e5750805b601f850160051c820191505b81811015612ef557828155600101613d3a565b81516001600160401b03811115613d6657613d6661371d565b613d7a81613d748454613ca5565b84613d07565b602080601f831160018114613daf5760008415613d975750858301515b600019600386901b1c1916600185901b178555612ef5565b600085815260208120601f198616915b82811015613dde57888601518255948401946001909101908401613dbf565b5085821015613dfc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613e1e57600080fd5b81516135f481613a52565b600060208284031215613e3b57600080fd5b81516135f4816136d6565b8051613165816136d6565b805161316581613700565b600082601f830112613e6d57600080fd5b8151613e7b6137c08261378b565b818152846020838601011115613e9057600080fd5b6136ce8260208301602087016135fb565b600060208284031215613eb357600080fd5b81516001600160401b0380821115613eca57600080fd5b9083019060e08286031215613ede57600080fd5b613ee6613733565b613eef83613c7d565b8152613efd60208401613c7d565b6020820152613f0e60408401613e51565b6040820152613f1f60608401613cdf565b6060820152613f3060808401613e46565b6080820152613f4160a08401613e46565b60a082015260c083015182811115613f5857600080fd5b613f6487828601613e5c565b60c08301525095945050505050565b600060208284031215613f8557600080fd5b81516135f481613700565b600060208284031215613fa257600080fd5b815164ffffffffff811681146135f457600080fd5b600060208284031215613fc957600080fd5b5051919050565b600080600060608486031215613fe557600080fd5b8351613ff0816136d6565b6020850151909350614001816136d6565b6040850151909250613bda816136d6565b6000808585111561402257600080fd5b8386111561402f57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156140645780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6001600160a01b03831681526040602082018190526000906136ce9083018461361f565b634e487b7160e01b600052603260045260246000fd5b6060815260006140f9606083018661361f565b82810360208481019190915285518083528682019282019060005b8181101561413a5784516001600160e01b03191683529383019391830191600101614114565b50508093505050506001600160401b0383166040830152949350505050565b60006001820161417957634e487b7160e01b600052601160045260246000fd5b5060010190565b600082516141928184602087016135fb565b9190910192915050565b600080604083850312156141af57600080fd5b82516141ba8161370f565b602084015190925063ffffffff81168114613c4d57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220b650581009e64b3ec28466ae9833f24ae112c0571343947755df90034ee61cad64736f6c63430008140033",
894
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80637a9e5e4b11610104578063b68d1809116100a2578063edabac0311610071578063edabac0314610431578063eeff428e14610442578063f7c34ee014610471578063feec11901461048457600080fd5b8063b68d1809146103f4578063bf7e214f14610403578063c22f980d1461040b578063dd38b49e1461041e57600080fd5b80638e32e979116100de5780638e32e979146103985780638fb36037146103ab578063ada9652e146103cc578063b03d2a8e146103e157600080fd5b80637a9e5e4b14610375578063872309c714610388578063893d20e81461039057600080fd5b8063329d6e741161017c578063644c45e01161014b578063644c45e01461030a578063675393bf1461033c5780636a778e731461034f5780636c6fbb281461036257600080fd5b8063329d6e74146102b757806336fc697e146102ca57806349bb9e4b146102d25780635ab1bd53146102e557600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b221461025c578063214cdb801461029157806327bb7a33146102a457600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed3660046135d9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610497565b60405162ffffff9091168152602001610218565b610245610521565b604051610218919061364b565b61025a6106e5565b005b6102837f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b61025a61029f3660046135d9565b6108ec565b61025a6102b2366004613810565b610919565b61025a6102c53660046138a8565b6109be565b61025a610b0b565b61025a6102e03660046138dc565b610b51565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6000805160206141d5833981519152546001600160601b03165b6040516001600160601b039091168152602001610218565b61025a61034a36600461392b565b610c50565b61032461035d36600461392b565b610d5e565b61025a610370366004613ad6565b611615565b61025a61038336600461392b565b611635565b610283600081565b6102f26116b8565b61025a6103a6366004613b9a565b6117ef565b6103b3611a28565b6040516001600160e01b03199091168152602001610218565b6102836000805160206141d583398151915281565b61025a6103ef366004613be5565b611a60565b60405160468152602001610218565b6102f2611e04565b61025a610419366004613c02565b611e20565b61025a61042c366004613ad6565b611621565b6007546001600160a01b03166102f2565b61044a61204b565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b61025a61047f366004613c1f565b612a4d565b61025a61049236600461392b565b612ac4565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613c58565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f99190613c88565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106416116b8565b6001600160a01b0316815260200182600101805461065e90613ca5565b80601f016020809104026020016040519081016040528092919081815260200182805461068a90613ca5565b80156106d75780601f106106ac576101008083540402835291602001916106d7565b820191906000526020600020905b8154815290600101906020018083116106ba57829003601f168201915b505050505081525091505090565b60006000805160206141d583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015610754573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107789190613cea565b156107a95780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306107bc6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610804573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108289190613cea565b6108505760405163b9304b0d60e01b81526001600160a01b03821660048201526024016107a0565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156108a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c89190613c88565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6108f4612c3c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610921612c3c565b61092b8287612a4d565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109b48382613d4d565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6109e0610497565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610a20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a449190613e0c565b6000805160206142158339815191528054600160401b900460ff1680610a77575080546001600160401b03808416911610155b15610a955760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610abf83612c75565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610b13612c3c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206142158339815191528054600160401b810460ff1615906001600160401b0316600081158015610b845750825b90506000826001600160401b03166001148015610ba05750303b155b905081158015610bae575080155b15610bcc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bf657845460ff60401b1916600160401b1785555b610c008787612c7d565b8315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610c58612c3c565b806001600160a01b03163b600003610c8e5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152634ecea1f160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015610d08575060408051601f3d908101601f19168201909252610d0591810190613cea565b60015b610d305760405163fdeac91f60e01b81526001600160a01b03821660048201526024016107a0565b80610d595760405163fdeac91f60e01b81526001600160a01b03831660048201526024016107a0565b505b50565b6000610d686116b8565b6001600160a01b0316336001600160a01b031614610d9b5760405163086391f760e31b81523360048201526024016107a0565b6006546001600160a01b031615610dc557604051632c237de760e11b815260040160405180910390fd5b6004546001600160a01b031615610def57604051636519f6b960e01b815260040160405180910390fd5b6005546001600160a01b031615610e1957604051630157f74960e01b815260040160405180910390fd5b6008546001600160a01b031615610e4357604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610e6a576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610eaf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed39190613e29565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3e9190613e29565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f85573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa99190613e29565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ff0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110149190613e29565b9050806001600160a01b03871661103e5760405163459e9b9760e01b815260040160405180910390fd5b6001600160a01b0385166110655760405163e267254160e01b815260040160405180910390fd5b6001600160a01b03831661108c57604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b0381166110b3576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110f1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111159190613e29565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561115c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111809190613e29565b6001600160a01b0316146111a7576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112099190613e29565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112749190613e29565b6001600160a01b03161461129b576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112fd9190613e29565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113689190613e29565b6001600160a01b03161461138f57604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113fb9190613e29565b6001600160a01b03161461142257604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561146a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148e9190613e29565b6001600160a01b0316146114b5576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156114f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115179190613e29565b600480546001600160a01b03199081166001600160a01b03938416179091556005805482168a84161790556006805482168e8416908117909155600780548316898516179055600880548316878516179055600980549092168484161790915560025490916000911663026bc43b8361158e6116b8565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af11580156115db573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526116039190810190613ea1565b519d9c50505050505050505050505050565b61162133600036612df7565b61162e8585858486612efd565b5050505050565b3361163e611e04565b6001600160a01b0316816001600160a01b0316146116795760405162d1953b60e31b81526001600160a01b03821660048201526024016107a0565b816001600160a01b03163b6000036116af576040516361798f2f60e11b81526001600160a01b03831660048201526024016107a0565b610d5982613086565b6000806000805160206141d583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174c9190613cea565b156117d9576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156117af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117d39190613e29565b91505090565b54600160601b90046001600160a01b0316919050565b6117f7612c3c565b61187783846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611839573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061185d9190613c88565b603c60008560405180602001604052806000815250610919565b6001600160a01b038216156118945761188f826130e7565b611a03565b60006118a86001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611908573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192c9190613f73565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015611971573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119959190613e29565b9050611a01816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fc9190613e29565b6130e7565b505b611a13634a531f3360e01b6108ec565b611a2363b68d180960e01b6108ec565b505050565b6000805160206141f5833981519152805460009190600160a01b900460ff16611a525760006117d3565b638fb3603760e01b91505090565b6001546001600160a01b0316604051630bee2f1560e11b81523360048201526001600160a01b0391909116906317dc5e2a90602401602060405180830381865afa158015611ab2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ad69190613cea565b611af5576040516302613e9f60e51b81523360048201526024016107a0565b6040516301ffc9a760e01b8152639a29895960e01b6004820152339081906301ffc9a790602401602060405180830381865afa158015611b39573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b5d9190613cea565b611b84576040516236c14d60e71b81526001600160a01b03821660048201526024016107a0565b6000611b986001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611be4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611c0c9190810190613ea1565b60200151604051630a4d29dd60e31b81526001600160601b038216600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906352694ee890602401602060405180830381865af4158015611c6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8f9190613cea565b15611cb85760405163aef351c360e01b81526001600160a01b03841660048201526024016107a0565b6040516305247a1760e51b81526001600160601b03821660048201526000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611d08573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d309190810190613ea1565b608001519050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d989190613e29565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611de557600080fd5b505af1158015611df9573d6000803e3d6000fd5b505050505050505050565b6000805160206141f5833981519152546001600160a01b031690565b80611e336001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611e82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea69190613e29565b6001600160a01b0316336001600160a01b031614611ed9576040516302613e9f60e51b81523360048201526024016107a0565b6000611eed6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611f40573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f689190810190613ea1565b608081015160075491925090600090611f89906001600160a01b03166130f8565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611fd057600080fd5b505af1158015611fe4573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b15801561202b57600080fd5b505af115801561203f573d6000803e3d6000fd5b50505050505050505050565b600454600090819033908290612069906001600160a01b03166130f8565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b1580156120ad57600080fd5b505af11580156120c1573d6000803e3d6000fd5b50506006546120db92506001600160a01b031690506130f8565b9350836001600160a01b031663c0c53b8b826120ff6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b15801561215057600080fd5b505af1158015612164573d6000803e3d6000fd5b50506009546000925061218091506001600160a01b03166130f8565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b1580156121c757600080fd5b505af11580156121db573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b15801561222257600080fd5b505af1158015612236573d6000803e3d6000fd5b50506007546000925061225291506001600160a01b03166130f8565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561229957600080fd5b505af11580156122ad573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b1580156122f457600080fd5b505af1158015612308573d6000803e3d6000fd5b50506008546000925061232491506001600160a01b03166130f8565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561236b57600080fd5b505af115801561237f573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b1580156123c557600080fd5b505af11580156123d9573d6000803e3d6000fd5b5050600554600092506123f591506001600160a01b03166130f8565b9050846001600160a01b03166325c471a061240e61316a565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612467573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061248b9190613e0c565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b1580156124e257600080fd5b505af11580156124f6573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b15801561253d57600080fd5b505af1158015612551573d6000803e3d6000fd5b5050604051630f749a8960e01b81526001600160a01b0384811660048301528b169250630f749a899150602401600060405180830381600087803b15801561259857600080fd5b505af11580156125ac573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__63a1b61ad4828a85888b6125e16001546001600160a01b031690565b6125e9610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561263e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126629190613f73565b60405160e089901b6001600160e01b03191681526001600160a01b0397881660048201529587166024870152938616604486015291851660648501528416608484015290921660a482015260ff90911660c482015260e40160006040518083038186803b1580156126d257600080fd5b505af41580156126e6573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f561270161316a565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af415801561275a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061277e9190613e0c565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156127c557600080fd5b505af11580156127d9573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af1158015612834573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261285c9190810190613ea1565b905080600001519750600360009054906101000a90046001600160a01b03166001600160a01b03166381d9b45f8973__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af41580156128d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128f79190613f90565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612940573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129649190613fb7565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526044820152606401600060405180830381600087803b1580156129b857600080fd5b505af11580156129cc573d6000803e3d6000fd5b5050604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b038c1660c082015290517eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d93509081900360e0019150a1505050505050509091565b612a55612c3c565b612a5e81610c50565b612a66610b0b565b6001600160a01b038216612a8d5760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206141d583398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612acc6116b8565b6001600160a01b0316336001600160a01b031614612aff5760405163086391f760e31b81523360048201526024016107a0565b6007546001600160a01b0316612b28576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b038116612b4f57604051631aa1808560e31b815260040160405180910390fd5b6007546001600160a01b0390811690821603612b7e57604051630666e2a560e01b815260040160405180910390fd5b6006546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa158015612bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bf29190613e29565b6001600160a01b031614612c195760405163f026367160e01b815260040160405180910390fd5b50600780546001600160a01b0319166001600160a01b0392909216919091179055565b60008051602061421583398151915254600160401b900460ff16612c7357604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612c3c565b6000805160206142158339815191528054600160401b810460ff1615906001600160401b0316600081158015612cb05750825b90506000826001600160401b03166001148015612ccc5750303b155b905081158015612cda575080155b15612cf85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612d2257845460ff60401b1916600160401b1785555b60008087806020019051810190612d399190613fd0565b9250509150612d4982828b6117ef565b612d5860286131e1565b6131e1565b600280546001600160a01b0319166001600160a01b0392909216919091179055612d83612d53602d90565b600380546001600160a01b0319166001600160a01b0392909216919091179055612db36377cab3db60e11b6108ec565b50508315610c4757845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c3e565b6000805160206141f5833981519152600080612e32612e14611e04565b8730612e24600460008a8c614012565b612e2d9161403c565b6132f4565b9150915081612ef55763ffffffff811615612ed257825460ff60a01b1916600160a01b178355612e60611e04565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612e8f9392919061406c565b600060405180830381600087803b158015612ea957600080fd5b505af1158015612ebd573d6000803e3d6000fd5b5050845460ff60a01b1916855550612ef59050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016107a0565b505050505050565b6000612f098686613400565b5090506000816001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f709190613e29565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090612fa190899089906004016140ac565b600060405180830381600087803b158015612fbb57600080fd5b505af1158015612fcf573d6000803e3d6000fd5b5050505060005b84518110156109b457816001600160a01b0316630c8ae53e87868481518110613001576130016140d0565b602002602001015188858151811061301b5761301b6140d0565b60200260200101516040518463ffffffff1660e01b8152600401613041939291906140e6565b600060405180830381600087803b15801561305b57600080fd5b505af115801561306f573d6000803e3d6000fd5b50505050808061307e90614159565b915050612fd6565b6000805160206141f583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6130ef612c3c565b610d5b816135b0565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116613165576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af41580156131bd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051c9190613e0c565b60006131f56001546001600160a01b031690565b6001600160a01b031663d39e60438361320c610497565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015613261573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132859190613f73565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156132ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132ee9190613e29565b92915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516133639190614180565b600060405180830381855afa9150503d806000811461339e576040519150601f19603f3d011682016040523d82523d6000602084013e6133a3565b606091505b509150915081156133f55760408151106133d557808060200190518101906133cb919061419c565b90945092506133f5565b60208151106133f557808060200190518101906133f29190613cea565b93505b505094509492505050565b60008060006134176001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801561346a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134929190810190613ea1565b90506134b081604001516134a4604690565b60ff9081169116141590565b156134d95760405163e3c2794960e01b81526001600160601b03871660048201526024016107a0565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa158015613523573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261354b9190810190613ea1565b90506135688160200151886001600160601b039081169116141590565b1561359c57805160405163a811346560e01b81526001600160601b03808a16600483015290911660248201526044016107a0565b608090910151905190969095509350505050565b6135b8612c3c565b610d5b81613086565b80356001600160e01b03198116811461316557600080fd5b6000602082840312156135eb57600080fd5b6135f4826135c1565b9392505050565b60005b838110156136165781810151838201526020016135fe565b50506000910152565b600081518084526136378160208601602086016135fb565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516136b460c08401826001600160a01b03169052565b5060c083015160e0808401526136ce61010084018261361f565b949350505050565b6001600160a01b0381168114610d5b57600080fd5b6001600160601b0381168114610d5b57600080fd5b60ff81168114610d5b57600080fd5b8015158114610d5b57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156137555761375561371d565b60405290565b604051601f8201601f191681016001600160401b03811182821017156137835761378361371d565b604052919050565b60006001600160401b038211156137a4576137a461371d565b50601f01601f191660200190565b60006137c56137c08461378b565b61375b565b90508281528383830111156137d957600080fd5b828260208301376000602084830101529392505050565b600082601f83011261380157600080fd5b6135f4838335602085016137b2565b60008060008060008060c0878903121561382957600080fd5b8635613834816136d6565b95506020870135613844816136eb565b9450604087013561385481613700565b935060608701356138648161370f565b92506080870135613874816136d6565b915060a08701356001600160401b0381111561388f57600080fd5b61389b89828a016137f0565b9150509295509295509295565b6000602082840312156138ba57600080fd5b81356001600160401b038111156138d057600080fd5b6136ce848285016137f0565b600080604083850312156138ef57600080fd5b82356138fa816136d6565b915060208301356001600160401b0381111561391557600080fd5b613921858286016137f0565b9150509250929050565b60006020828403121561393d57600080fd5b81356135f4816136d6565b60006001600160401b038211156139615761396161371d565b5060051b60200190565b600082601f83011261397c57600080fd5b8135602061398c6137c083613948565b828152600592831b85018201928282019190878511156139ab57600080fd5b8387015b85811015613a455780356001600160401b038111156139ce5760008081fd5b8801603f81018a136139e05760008081fd5b8581013560406139f26137c083613948565b82815291851b8301810191888101908d841115613a0f5760008081fd5b938201935b83851015613a3457613a25856135c1565b82529389019390890190613a14565b8852505050938501935084016139af565b5090979650505050505050565b6001600160401b0381168114610d5b57600080fd5b600082601f830112613a7857600080fd5b81356020613a886137c083613948565b82815260059290921b84018101918181019086841115613aa757600080fd5b8286015b84811015613acb578035613abe81613a52565b8352918301918301613aab565b509695505050505050565b600080600080600060a08688031215613aee57600080fd5b8535613af9816136eb565b94506020860135613b09816136d6565b935060408601356001600160401b0380821115613b2557600080fd5b818801915088601f830112613b3957600080fd5b613b48898335602085016137b2565b94506060880135915080821115613b5e57600080fd5b613b6a89838a0161396b565b93506080880135915080821115613b8057600080fd5b50613b8d88828901613a67565b9150509295509295909350565b600080600060608486031215613baf57600080fd5b8335613bba816136d6565b92506020840135613bca816136d6565b91506040840135613bda816136d6565b809150509250925092565b600060208284031215613bf757600080fd5b81356135f48161370f565b600060208284031215613c1457600080fd5b81356135f4816136eb565b60008060408385031215613c3257600080fd5b8235613c3d816136d6565b91506020830135613c4d816136d6565b809150509250929050565b600060208284031215613c6a57600080fd5b815162ffffff811681146135f457600080fd5b8051613165816136eb565b600060208284031215613c9a57600080fd5b81516135f4816136eb565b600181811c90821680613cb957607f821691505b602082108103613cd957634e487b7160e01b600052602260045260246000fd5b50919050565b80516131658161370f565b600060208284031215613cfc57600080fd5b81516135f48161370f565b601f821115611a2357600081815260208120601f850160051c81016020861015613d2e5750805b601f850160051c820191505b81811015612ef557828155600101613d3a565b81516001600160401b03811115613d6657613d6661371d565b613d7a81613d748454613ca5565b84613d07565b602080601f831160018114613daf5760008415613d975750858301515b600019600386901b1c1916600185901b178555612ef5565b600085815260208120601f198616915b82811015613dde57888601518255948401946001909101908401613dbf565b5085821015613dfc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613e1e57600080fd5b81516135f481613a52565b600060208284031215613e3b57600080fd5b81516135f4816136d6565b8051613165816136d6565b805161316581613700565b600082601f830112613e6d57600080fd5b8151613e7b6137c08261378b565b818152846020838601011115613e9057600080fd5b6136ce8260208301602087016135fb565b600060208284031215613eb357600080fd5b81516001600160401b0380821115613eca57600080fd5b9083019060e08286031215613ede57600080fd5b613ee6613733565b613eef83613c7d565b8152613efd60208401613c7d565b6020820152613f0e60408401613e51565b6040820152613f1f60608401613cdf565b6060820152613f3060808401613e46565b6080820152613f4160a08401613e46565b60a082015260c083015182811115613f5857600080fd5b613f6487828601613e5c565b60c08301525095945050505050565b600060208284031215613f8557600080fd5b81516135f481613700565b600060208284031215613fa257600080fd5b815164ffffffffff811681146135f457600080fd5b600060208284031215613fc957600080fd5b5051919050565b600080600060608486031215613fe557600080fd5b8351613ff0816136d6565b6020850151909350614001816136d6565b6040850151909250613bda816136d6565b6000808585111561402257600080fd5b8386111561402f57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156140645780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6001600160a01b03831681526040602082018190526000906136ce9083018461361f565b634e487b7160e01b600052603260045260246000fd5b6060815260006140f9606083018661361f565b82810360208481019190915285518083528682019282019060005b8181101561413a5784516001600160e01b03191683529383019391830191600101614114565b50508093505050506001600160401b0383166040830152949350505050565b60006001820161417957634e487b7160e01b600052601160045260246000fd5b5060010190565b600082516141928184602087016135fb565b9190910192915050565b600080604083850312156141af57600080fd5b82516141ba8161370f565b602084015190925063ffffffff81168114613c4d57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220b650581009e64b3ec28466ae9833f24ae112c0571343947755df90034ee61cad64736f6c63430008140033",
683
895
  "linkReferences": {
684
- "contracts/types/Blocknumber.sol": {
685
- "BlocknumberLib": [
896
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
897
+ "InstanceAuthorizationsLib": [
686
898
  {
687
899
  "length": 20,
688
- "start": 4890
900
+ "start": 9880
689
901
  }
690
902
  ]
691
903
  },
692
- "contracts/types/NftId.sol": {
693
- "NftIdLib": [
904
+ "contracts/staking/TargetManagerLib.sol": {
905
+ "TargetManagerLib": [
694
906
  {
695
907
  "length": 20,
696
- "start": 2749
908
+ "start": 10610
697
909
  },
698
910
  {
699
911
  "length": 20,
700
- "start": 5034
912
+ "start": 10719
701
913
  }
702
914
  ]
703
915
  },
704
- "contracts/types/RoleId.sol": {
705
- "RoleIdLib": [
706
- {
707
- "length": 20,
708
- "start": 2454
709
- },
710
- {
711
- "length": 20,
712
- "start": 7576
713
- },
714
- {
715
- "length": 20,
716
- "start": 7807
717
- },
718
- {
719
- "length": 20,
720
- "start": 9722
721
- },
722
- {
723
- "length": 20,
724
- "start": 10118
725
- },
726
- {
727
- "length": 20,
728
- "start": 10757
729
- },
730
- {
731
- "length": 20,
732
- "start": 11263
733
- },
734
- {
735
- "length": 20,
736
- "start": 11821
737
- },
738
- {
739
- "length": 20,
740
- "start": 12463
741
- },
742
- {
743
- "length": 20,
744
- "start": 13024
745
- },
916
+ "contracts/type/NftId.sol": {
917
+ "NftIdLib": [
746
918
  {
747
919
  "length": 20,
748
- "start": 13665
920
+ "start": 1652
749
921
  },
750
922
  {
751
923
  "length": 20,
752
- "start": 14116
924
+ "start": 2048
753
925
  },
754
926
  {
755
927
  "length": 20,
756
- "start": 14329
928
+ "start": 6100
757
929
  },
758
930
  {
759
931
  "length": 20,
760
- "start": 14685
761
- },
932
+ "start": 7447
933
+ }
934
+ ]
935
+ },
936
+ "contracts/type/RoleId.sol": {
937
+ "RoleIdLib": [
762
938
  {
763
939
  "length": 20,
764
- "start": 14745
940
+ "start": 9491
765
941
  },
766
942
  {
767
943
  "length": 20,
768
- "start": 14805
944
+ "start": 10246
769
945
  },
770
946
  {
771
947
  "length": 20,
772
- "start": 14865
773
- }
774
- ]
775
- },
776
- "contracts/types/Timestamp.sol": {
777
- "TimestampLib": [
778
- {
779
- "length": 20,
780
- "start": 8429
948
+ "start": 12905
781
949
  }
782
950
  ]
783
951
  },
784
- "contracts/types/Version.sol": {
952
+ "contracts/type/Version.sol": {
785
953
  "VersionLib": [
786
954
  {
787
955
  "length": 20,
788
- "start": 1808
789
- },
790
- {
791
- "length": 20,
792
- "start": 5274
793
- },
794
- {
795
- "length": 20,
796
- "start": 5769
797
- },
798
- {
799
- "length": 20,
800
- "start": 6312
801
- },
802
- {
803
- "length": 20,
804
- "start": 6433
805
- },
806
- {
807
- "length": 20,
808
- "start": 9309
809
- },
810
- {
811
- "length": 20,
812
- "start": 9430
813
- },
814
- {
815
- "length": 20,
816
- "start": 10352
956
+ "start": 1444
817
957
  },
818
958
  {
819
959
  "length": 20,
820
- "start": 10473
960
+ "start": 2726
821
961
  },
822
962
  {
823
963
  "length": 20,
824
- "start": 12055
964
+ "start": 9962
825
965
  },
826
966
  {
827
967
  "length": 20,
828
- "start": 12176
829
- },
830
- {
831
- "length": 20,
832
- "start": 13258
833
- },
968
+ "start": 13069
969
+ }
970
+ ],
971
+ "VersionPartLib": [
834
972
  {
835
973
  "length": 20,
836
- "start": 13379
974
+ "start": 6580
837
975
  }
838
976
  ]
839
977
  }
840
978
  },
841
979
  "deployedLinkReferences": {
842
- "contracts/types/Blocknumber.sol": {
843
- "BlocknumberLib": [
980
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
981
+ "InstanceAuthorizationsLib": [
844
982
  {
845
983
  "length": 20,
846
- "start": 4576
984
+ "start": 9650
847
985
  }
848
986
  ]
849
987
  },
850
- "contracts/types/NftId.sol": {
851
- "NftIdLib": [
988
+ "contracts/staking/TargetManagerLib.sol": {
989
+ "TargetManagerLib": [
852
990
  {
853
991
  "length": 20,
854
- "start": 2435
992
+ "start": 10380
855
993
  },
856
994
  {
857
995
  "length": 20,
858
- "start": 4720
996
+ "start": 10489
859
997
  }
860
998
  ]
861
999
  },
862
- "contracts/types/RoleId.sol": {
863
- "RoleIdLib": [
864
- {
865
- "length": 20,
866
- "start": 2140
867
- },
868
- {
869
- "length": 20,
870
- "start": 7262
871
- },
872
- {
873
- "length": 20,
874
- "start": 7493
875
- },
876
- {
877
- "length": 20,
878
- "start": 9408
879
- },
880
- {
881
- "length": 20,
882
- "start": 9804
883
- },
884
- {
885
- "length": 20,
886
- "start": 10443
887
- },
888
- {
889
- "length": 20,
890
- "start": 10949
891
- },
892
- {
893
- "length": 20,
894
- "start": 11507
895
- },
896
- {
897
- "length": 20,
898
- "start": 12149
899
- },
900
- {
901
- "length": 20,
902
- "start": 12710
903
- },
1000
+ "contracts/type/NftId.sol": {
1001
+ "NftIdLib": [
904
1002
  {
905
1003
  "length": 20,
906
- "start": 13351
1004
+ "start": 1422
907
1005
  },
908
1006
  {
909
1007
  "length": 20,
910
- "start": 13802
1008
+ "start": 1818
911
1009
  },
912
1010
  {
913
1011
  "length": 20,
914
- "start": 14015
1012
+ "start": 5870
915
1013
  },
916
1014
  {
917
1015
  "length": 20,
918
- "start": 14371
919
- },
1016
+ "start": 7217
1017
+ }
1018
+ ]
1019
+ },
1020
+ "contracts/type/RoleId.sol": {
1021
+ "RoleIdLib": [
920
1022
  {
921
1023
  "length": 20,
922
- "start": 14431
1024
+ "start": 9261
923
1025
  },
924
1026
  {
925
1027
  "length": 20,
926
- "start": 14491
1028
+ "start": 10016
927
1029
  },
928
1030
  {
929
1031
  "length": 20,
930
- "start": 14551
1032
+ "start": 12675
931
1033
  }
932
1034
  ]
933
1035
  },
934
- "contracts/types/Timestamp.sol": {
935
- "TimestampLib": [
936
- {
937
- "length": 20,
938
- "start": 8115
939
- }
940
- ]
941
- },
942
- "contracts/types/Version.sol": {
1036
+ "contracts/type/Version.sol": {
943
1037
  "VersionLib": [
944
1038
  {
945
1039
  "length": 20,
946
- "start": 1494
947
- },
948
- {
949
- "length": 20,
950
- "start": 4960
951
- },
952
- {
953
- "length": 20,
954
- "start": 5455
955
- },
956
- {
957
- "length": 20,
958
- "start": 5998
959
- },
960
- {
961
- "length": 20,
962
- "start": 6119
963
- },
964
- {
965
- "length": 20,
966
- "start": 8995
967
- },
968
- {
969
- "length": 20,
970
- "start": 9116
971
- },
972
- {
973
- "length": 20,
974
- "start": 10038
975
- },
976
- {
977
- "length": 20,
978
- "start": 10159
1040
+ "start": 1214
979
1041
  },
980
1042
  {
981
1043
  "length": 20,
982
- "start": 11741
1044
+ "start": 2496
983
1045
  },
984
1046
  {
985
1047
  "length": 20,
986
- "start": 11862
1048
+ "start": 9732
987
1049
  },
988
1050
  {
989
1051
  "length": 20,
990
- "start": 12944
991
- },
1052
+ "start": 12839
1053
+ }
1054
+ ],
1055
+ "VersionPartLib": [
992
1056
  {
993
1057
  "length": 20,
994
- "start": 13065
1058
+ "start": 6350
995
1059
  }
996
1060
  ]
997
1061
  }