@etherisc/gif-next 0.0.2-ec436bf-674 → 0.0.2-ed1536c-164

Sign up to get free protection for your applications and to get access to all the features.
Files changed (552) hide show
  1. package/README.md +71 -14
  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 +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +454 -554
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +356 -176
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +458 -3052
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +612 -181
  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 +504 -322
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +524 -352
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +331 -108
  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/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +91 -2
  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/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +294 -361
  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/product/IPolicyService.sol/IPolicyService.json +701 -0
  78. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  79. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +257 -288
  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/BaseComponent.sol/BaseComponent.json → product/IProductService.sol/IProductService.json} +140 -86
  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 +340 -195
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +434 -194
  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 +429 -261
  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 +499 -338
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +320 -140
  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} +196 -216
  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/shared/IComponent.sol/IComponent.json +625 -0
  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/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -1
  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/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  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/distribution/DistributionServiceManager.sol +54 -0
  249. package/contracts/distribution/IDistributionComponent.sol +66 -0
  250. package/contracts/distribution/IDistributionService.sol +81 -0
  251. package/contracts/instance/BundleManager.sol +126 -0
  252. package/contracts/instance/IInstance.sol +62 -24
  253. package/contracts/instance/IInstanceService.sol +66 -13
  254. package/contracts/instance/Instance.sol +151 -366
  255. package/contracts/instance/InstanceAccessManager.sol +432 -177
  256. package/contracts/instance/InstanceAuthorizationsLib.sol +336 -0
  257. package/contracts/instance/InstanceReader.sol +143 -83
  258. package/contracts/instance/InstanceService.sol +309 -124
  259. package/contracts/instance/InstanceServiceManager.sol +12 -24
  260. package/contracts/instance/InstanceStore.sol +260 -0
  261. package/contracts/instance/base/BalanceStore.sol +118 -0
  262. package/contracts/instance/base/Cloneable.sol +51 -0
  263. package/contracts/instance/base/ObjectManager.sol +82 -0
  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 +76 -45
  298. package/contracts/registry/IRegistryService.sol +51 -16
  299. package/contracts/registry/ITransferInterceptor.sol +1 -0
  300. package/contracts/registry/Registry.sol +358 -269
  301. package/contracts/registry/RegistryAccessManager.sol +196 -0
  302. package/contracts/registry/RegistryService.sol +126 -259
  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 +65 -83
  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/type/NftIdSet.sol +62 -0
  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 -618
  368. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  369. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  370. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  371. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  372. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  373. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  374. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  375. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  376. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  377. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -782
  378. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  379. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  380. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  381. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  382. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  383. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  384. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  385. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  386. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  387. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  388. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  389. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  390. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  391. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  392. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  393. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  394. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  395. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  396. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  397. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  398. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  399. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  400. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  401. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  402. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  403. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  404. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  405. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  406. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  407. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  408. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  409. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  410. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  411. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  412. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  413. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  414. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  415. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  416. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  417. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  418. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  419. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  420. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  421. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  422. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  423. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  424. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  425. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  426. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  427. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  428. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  429. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  430. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  431. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  432. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  433. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  434. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  435. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  436. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  437. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  438. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  439. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  440. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  441. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -448
  442. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  443. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  444. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  445. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  446. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  447. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  448. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -855
  449. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  450. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -460
  451. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  452. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  453. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  454. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  455. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  456. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  457. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  458. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  459. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  460. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  461. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  462. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  463. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  464. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  465. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  466. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  467. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  468. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  469. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  470. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  471. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  472. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  473. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  474. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  475. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  476. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  477. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  478. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  479. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  480. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  481. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  482. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  483. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  484. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  485. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  486. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  487. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  488. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  489. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  490. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  491. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  492. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  493. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  494. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  495. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  496. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  497. package/contracts/components/BaseComponent.sol +0 -91
  498. package/contracts/components/Distribution.sol +0 -160
  499. package/contracts/components/IBaseComponent.sol +0 -25
  500. package/contracts/components/IDistributionComponent.sol +0 -44
  501. package/contracts/components/IPoolComponent.sol +0 -62
  502. package/contracts/components/IProductComponent.sol +0 -35
  503. package/contracts/components/Pool.sol +0 -243
  504. package/contracts/components/Product.sol +0 -297
  505. package/contracts/experiment/cloning/Cloner.sol +0 -47
  506. package/contracts/experiment/errors/Require.sol +0 -38
  507. package/contracts/experiment/errors/Revert.sol +0 -44
  508. package/contracts/experiment/inheritance/A.sol +0 -53
  509. package/contracts/experiment/inheritance/B.sol +0 -28
  510. package/contracts/experiment/inheritance/C.sol +0 -34
  511. package/contracts/experiment/inheritance/IA.sol +0 -13
  512. package/contracts/experiment/inheritance/IB.sol +0 -10
  513. package/contracts/experiment/inheritance/IC.sol +0 -12
  514. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  515. package/contracts/experiment/statemachine/ISM.sol +0 -25
  516. package/contracts/experiment/statemachine/SM.sol +0 -57
  517. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  518. package/contracts/experiment/types/TypeA.sol +0 -47
  519. package/contracts/experiment/types/TypeB.sol +0 -29
  520. package/contracts/instance/AccessManagedSimple.sol +0 -115
  521. package/contracts/instance/AccessManagerSimple.sol +0 -692
  522. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  523. package/contracts/instance/base/ComponentServiceBase.sol +0 -118
  524. package/contracts/instance/base/IInstanceBase.sol +0 -23
  525. package/contracts/instance/base/KeyValueStore.sol +0 -172
  526. package/contracts/instance/module/ISetup.sol +0 -44
  527. package/contracts/instance/module/ITreasury.sol +0 -23
  528. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  529. package/contracts/instance/service/DistributionService.sol +0 -87
  530. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  531. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  532. package/contracts/instance/service/IDistributionService.sol +0 -12
  533. package/contracts/instance/service/IPoolService.sol +0 -37
  534. package/contracts/instance/service/IProductService.sol +0 -107
  535. package/contracts/instance/service/PoolService.sol +0 -193
  536. package/contracts/instance/service/PoolServiceManager.sol +0 -53
  537. package/contracts/shared/ContractDeployerLib.sol +0 -72
  538. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  539. package/contracts/test/TestFee.sol +0 -25
  540. package/contracts/test/TestRegisterable.sol +0 -18
  541. package/contracts/test/TestRoleId.sol +0 -14
  542. package/contracts/test/TestService.sol +0 -24
  543. package/contracts/test/TestToken.sol +0 -26
  544. package/contracts/test/TestVersion.sol +0 -44
  545. package/contracts/test/TestVersionable.sol +0 -17
  546. package/contracts/types/ChainId.sol +0 -38
  547. package/contracts/types/NftIdSet.sol +0 -60
  548. package/contracts/types/NumberId.sol +0 -52
  549. package/contracts/types/RoleId.sol +0 -89
  550. /package/contracts/{types → type}/AddressSet.sol +0 -0
  551. /package/contracts/{types → type}/Key32.sol +0 -0
  552. /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"
168
+ }
169
+ ],
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"
33
204
  }
34
205
  ],
35
- "name": "ErrorContractNotRegistered",
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,27 +413,96 @@
209
413
  },
210
414
  {
211
415
  "inputs": [],
212
- "name": "createInstanceClone",
416
+ "name": "authority",
213
417
  "outputs": [
214
418
  {
215
- "internalType": "contract AccessManagerSimple",
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
464
  "name": "instanceNftId",
227
465
  "type": "uint96"
228
466
  },
229
467
  {
230
- "internalType": "contract InstanceReader",
231
- "name": "clonedInstanceReader",
468
+ "internalType": "address",
469
+ "name": "targetAddress",
470
+ "type": "address"
471
+ },
472
+ {
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[]"
486
+ }
487
+ ],
488
+ "name": "createGifTarget",
489
+ "outputs": [],
490
+ "stateMutability": "nonpayable",
491
+ "type": "function"
492
+ },
493
+ {
494
+ "inputs": [],
495
+ "name": "createInstanceClone",
496
+ "outputs": [
497
+ {
498
+ "internalType": "contract Instance",
499
+ "name": "clonedInstance",
232
500
  "type": "address"
501
+ },
502
+ {
503
+ "internalType": "NftId",
504
+ "name": "clonedInstanceNftId",
505
+ "type": "uint96"
233
506
  }
234
507
  ],
235
508
  "stateMutability": "nonpayable",
@@ -237,15 +510,15 @@
237
510
  },
238
511
  {
239
512
  "inputs": [],
240
- "name": "getAccessManagerMaster",
513
+ "name": "getDomain",
241
514
  "outputs": [
242
515
  {
243
- "internalType": "address",
516
+ "internalType": "ObjectType",
244
517
  "name": "",
245
- "type": "address"
518
+ "type": "uint8"
246
519
  }
247
520
  ],
248
- "stateMutability": "view",
521
+ "stateMutability": "pure",
249
522
  "type": "function"
250
523
  },
251
524
  {
@@ -281,75 +554,18 @@
281
554
  },
282
555
  {
283
556
  "internalType": "address",
284
- "name": "initialOwner",
285
- "type": "address"
286
- },
287
- {
288
- "internalType": "bytes",
289
- "name": "data",
290
- "type": "bytes"
291
- }
292
- ],
293
- "internalType": "struct IRegistry.ObjectInfo",
294
- "name": "",
295
- "type": "tuple"
296
- },
297
- {
298
- "internalType": "bytes",
299
- "name": "data",
300
- "type": "bytes"
301
- }
302
- ],
303
- "stateMutability": "view",
304
- "type": "function"
305
- },
306
- {
307
- "inputs": [],
308
- "name": "getInitializedVersion",
309
- "outputs": [
310
- {
311
- "internalType": "uint64",
312
- "name": "",
313
- "type": "uint64"
314
- }
315
- ],
316
- "stateMutability": "view",
317
- "type": "function"
318
- },
319
- {
320
- "inputs": [],
321
- "name": "getInstanceMaster",
322
- "outputs": [
323
- {
324
- "internalType": "address",
325
- "name": "",
326
- "type": "address"
327
- }
328
- ],
329
- "stateMutability": "view",
330
- "type": "function"
331
- },
332
- {
333
- "inputs": [],
334
- "name": "getInstanceReaderMaster",
335
- "outputs": [
336
- {
337
- "internalType": "address",
338
- "name": "",
339
- "type": "address"
340
- }
341
- ],
342
- "stateMutability": "view",
343
- "type": "function"
344
- },
345
- {
346
- "inputs": [],
347
- "name": "getMajorVersion",
348
- "outputs": [
349
- {
350
- "internalType": "VersionPart",
351
- "name": "majorVersion",
352
- "type": "uint8"
557
+ "name": "initialOwner",
558
+ "type": "address"
559
+ },
560
+ {
561
+ "internalType": "bytes",
562
+ "name": "data",
563
+ "type": "bytes"
564
+ }
565
+ ],
566
+ "internalType": "struct IRegistry.ObjectInfo",
567
+ "name": "info",
568
+ "type": "tuple"
353
569
  }
354
570
  ],
355
571
  "stateMutability": "view",
@@ -357,15 +573,15 @@
357
573
  },
358
574
  {
359
575
  "inputs": [],
360
- "name": "getName",
576
+ "name": "getMasterInstanceReader",
361
577
  "outputs": [
362
578
  {
363
- "internalType": "string",
579
+ "internalType": "address",
364
580
  "name": "",
365
- "type": "string"
581
+ "type": "address"
366
582
  }
367
583
  ],
368
- "stateMutability": "pure",
584
+ "stateMutability": "view",
369
585
  "type": "function"
370
586
  },
371
587
  {
@@ -420,120 +636,107 @@
420
636
  "stateMutability": "pure",
421
637
  "type": "function"
422
638
  },
639
+ {
640
+ "inputs": [],
641
+ "name": "initializeERC165",
642
+ "outputs": [],
643
+ "stateMutability": "nonpayable",
644
+ "type": "function"
645
+ },
423
646
  {
424
647
  "inputs": [
425
648
  {
426
- "internalType": "uint256",
427
- "name": "idx",
428
- "type": "uint256"
429
- }
430
- ],
431
- "name": "getVersion",
432
- "outputs": [
649
+ "internalType": "address",
650
+ "name": "initialOwner",
651
+ "type": "address"
652
+ },
433
653
  {
434
- "internalType": "Version",
435
- "name": "",
436
- "type": "uint24"
654
+ "internalType": "address",
655
+ "name": "registryAddress",
656
+ "type": "address"
437
657
  }
438
658
  ],
439
- "stateMutability": "view",
659
+ "name": "initializeNftOwnable",
660
+ "outputs": [],
661
+ "stateMutability": "nonpayable",
440
662
  "type": "function"
441
663
  },
442
664
  {
443
- "inputs": [],
444
- "name": "getVersionCount",
445
- "outputs": [
665
+ "inputs": [
446
666
  {
447
- "internalType": "uint256",
448
- "name": "",
449
- "type": "uint256"
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"
450
695
  }
451
696
  ],
452
- "stateMutability": "view",
697
+ "name": "initializeRegisterable",
698
+ "outputs": [],
699
+ "stateMutability": "nonpayable",
453
700
  "type": "function"
454
701
  },
455
702
  {
456
703
  "inputs": [
457
704
  {
458
- "internalType": "Version",
459
- "name": "_version",
460
- "type": "uint24"
461
- }
462
- ],
463
- "name": "getVersionInfo",
464
- "outputs": [
465
- {
466
- "components": [
467
- {
468
- "internalType": "Version",
469
- "name": "version",
470
- "type": "uint24"
471
- },
472
- {
473
- "internalType": "address",
474
- "name": "implementation",
475
- "type": "address"
476
- },
477
- {
478
- "internalType": "address",
479
- "name": "activatedBy",
480
- "type": "address"
481
- },
482
- {
483
- "internalType": "Timestamp",
484
- "name": "activatedAt",
485
- "type": "uint40"
486
- },
487
- {
488
- "internalType": "Blocknumber",
489
- "name": "activatedIn",
490
- "type": "uint32"
491
- }
492
- ],
493
- "internalType": "struct IVersionable.VersionInfo",
494
- "name": "",
495
- "type": "tuple"
705
+ "internalType": "address",
706
+ "name": "registryAddress",
707
+ "type": "address"
496
708
  }
497
709
  ],
498
- "stateMutability": "view",
710
+ "name": "initializeRegistryLinked",
711
+ "outputs": [],
712
+ "stateMutability": "nonpayable",
499
713
  "type": "function"
500
714
  },
501
715
  {
502
716
  "inputs": [
503
717
  {
504
718
  "internalType": "address",
505
- "name": "account",
719
+ "name": "registry",
506
720
  "type": "address"
507
721
  },
508
722
  {
509
- "internalType": "RoleId",
510
- "name": "role",
511
- "type": "uint64"
723
+ "internalType": "address",
724
+ "name": "authority",
725
+ "type": "address"
512
726
  },
513
727
  {
514
- "internalType": "NftId",
515
- "name": "instanceNftId",
516
- "type": "uint96"
517
- }
518
- ],
519
- "name": "hasRole",
520
- "outputs": [
521
- {
522
- "internalType": "bool",
523
- "name": "",
524
- "type": "bool"
728
+ "internalType": "address",
729
+ "name": "initialOwner",
730
+ "type": "address"
525
731
  }
526
732
  ],
527
- "stateMutability": "view",
733
+ "name": "initializeService",
734
+ "outputs": [],
735
+ "stateMutability": "nonpayable",
528
736
  "type": "function"
529
737
  },
530
738
  {
531
739
  "inputs": [
532
- {
533
- "internalType": "address",
534
- "name": "implementation",
535
- "type": "address"
536
- },
537
740
  {
538
741
  "internalType": "address",
539
742
  "name": "activatedBy",
@@ -545,25 +748,19 @@
545
748
  "type": "bytes"
546
749
  }
547
750
  ],
548
- "name": "initialize",
751
+ "name": "initializeVersionable",
549
752
  "outputs": [],
550
753
  "stateMutability": "nonpayable",
551
754
  "type": "function"
552
755
  },
553
756
  {
554
- "inputs": [
555
- {
556
- "internalType": "Version",
557
- "name": "_version",
558
- "type": "uint24"
559
- }
560
- ],
561
- "name": "isInitialized",
757
+ "inputs": [],
758
+ "name": "isConsumingScheduledOp",
562
759
  "outputs": [
563
760
  {
564
- "internalType": "bool",
761
+ "internalType": "bytes4",
565
762
  "name": "",
566
- "type": "bool"
763
+ "type": "bytes4"
567
764
  }
568
765
  ],
569
766
  "stateMutability": "view",
@@ -576,16 +773,35 @@
576
773
  "stateMutability": "nonpayable",
577
774
  "type": "function"
578
775
  },
776
+ {
777
+ "inputs": [
778
+ {
779
+ "internalType": "bytes4",
780
+ "name": "interfaceId",
781
+ "type": "bytes4"
782
+ }
783
+ ],
784
+ "name": "registerInterface",
785
+ "outputs": [],
786
+ "stateMutability": "nonpayable",
787
+ "type": "function"
788
+ },
579
789
  {
580
790
  "inputs": [
581
791
  {
582
792
  "internalType": "address",
583
- "name": "accessManagerMaster",
793
+ "name": "instanceAddress",
584
794
  "type": "address"
585
795
  }
586
796
  ],
587
- "name": "setAccessManagerMaster",
588
- "outputs": [],
797
+ "name": "setAndRegisterMasterInstance",
798
+ "outputs": [
799
+ {
800
+ "internalType": "NftId",
801
+ "name": "masterInstanceNftId",
802
+ "type": "uint96"
803
+ }
804
+ ],
589
805
  "stateMutability": "nonpayable",
590
806
  "type": "function"
591
807
  },
@@ -593,11 +809,24 @@
593
809
  "inputs": [
594
810
  {
595
811
  "internalType": "address",
596
- "name": "instanceMaster",
812
+ "name": "newAuthority",
597
813
  "type": "address"
598
814
  }
599
815
  ],
600
- "name": "setInstanceMaster",
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",
601
830
  "outputs": [],
602
831
  "stateMutability": "nonpayable",
603
832
  "type": "function"
@@ -606,11 +835,11 @@
606
835
  "inputs": [
607
836
  {
608
837
  "internalType": "address",
609
- "name": "instanceReaderMaster",
838
+ "name": "instanceReaderAddress",
610
839
  "type": "address"
611
840
  }
612
841
  ],
613
- "name": "setInstanceReaderMaster",
842
+ "name": "setMasterInstanceReader",
614
843
  "outputs": [],
615
844
  "stateMutability": "nonpayable",
616
845
  "type": "function"
@@ -637,253 +866,196 @@
637
866
  {
638
867
  "inputs": [
639
868
  {
640
- "internalType": "address",
641
- "name": "implementation",
642
- "type": "address"
643
- },
644
- {
645
- "internalType": "address",
646
- "name": "activatedBy",
647
- "type": "address"
648
- },
869
+ "internalType": "NftId",
870
+ "name": "instanceNftId",
871
+ "type": "uint96"
872
+ }
873
+ ],
874
+ "name": "upgradeInstanceReader",
875
+ "outputs": [],
876
+ "stateMutability": "nonpayable",
877
+ "type": "function"
878
+ },
879
+ {
880
+ "inputs": [
649
881
  {
650
882
  "internalType": "bytes",
651
883
  "name": "data",
652
884
  "type": "bytes"
653
885
  }
654
886
  ],
655
- "name": "upgrade",
887
+ "name": "upgradeVersionable",
656
888
  "outputs": [],
657
889
  "stateMutability": "nonpayable",
658
890
  "type": "function"
659
891
  }
660
892
  ],
661
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613470806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063a745e3df11610097578063cde749f411610071578063cde749f414610528578063cf7a1d7714610542578063d6277f9914610555578063eeff428e1461056857600080fd5b8063a745e3df146104e2578063b3c65015146104f5578063b88da7591461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a5780639c12c9c7146104a1578063a3f4df7e146104b457600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004612b1a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610580565b60405162ffffff90911681526020016101e7565b61021461060a565b6040516101e7929190612b94565b61022a61078c565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190612c3b565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004612c5f565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061341b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004612c5f565b6109ae565b61022a610405366004612c91565b610a61565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a610454366004612c91565b610aee565b6102ac600081565b61026d610b81565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6101db6104af366004612cd8565b610c9a565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104f0366004612db8565b610ed4565b6104fd61102e565b6040516001600160401b0390911681526020016101e7565b6101f8610523366004612e5c565b61104f565b6105306110a0565b60405160ff90911681526020016101e7565b61022a610550366004612db8565b611123565b61022a610563366004612c91565b61122c565b6105706112c0565b6040516101e79493929190612e75565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612ea9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061068d6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106d5610b81565b6001600160a01b031681526020018260010180546106f290612ec6565b80601f016020809104026020016040519081016040528092919081815260200182805461071e90612ec6565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108129190612f10565b15610859576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108825760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef9190612f10565b610917576040516372657a5160e01b81526001600160a01b0382166004820152602401610850565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109859190612f36565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061341b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5a9190612f53565b1192915050565b6005546001600160a01b031615610acc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610850565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b5f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610850565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190612f10565b15610c8a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612f77565b506002546001600160a01b031690565b600080610caf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610cfe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d2691908101906130a8565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9a9190612f77565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906130f9565b909250905063ffffffff811615610ec55760009650505050505050610ecd565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ef6610580565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5a91906130dc565b6000805160206133fb8339815191528054600160401b900460ff1680610f8d575080546001600160401b03808416911610155b15610fab5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610fd68585611975565b610fdf83611c14565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106056000805160206133fb833981519152546001600160401b031690565b600060008051602061341b833981519152600101828154811061107457611074613139565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006110aa610580565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156110ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610605919061314f565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b03166000811580156111565750825b90506000826001600160401b031660011480156111725750303b155b905081158015611180575080155b1561119e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c857845460ff60401b1916600160401b1785555b6111d28888611975565b6111dc8787611c1c565b831561122257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b03161561129e5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610850565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190612f36565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156113af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d39190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144c919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190612f77565b60045490915081906114f0906001600160a01b0316611d72565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b15801561153457600080fd5b505af1158015611548573d6000803e3d6000fd5b505060055461156292506001600160a01b03169050611d72565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a779261159c928e9291169088903390600401612e75565b600060405180830381600087803b1580156115b657600080fd5b505af11580156115ca573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611619573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611641919081019061316c565b50805160065490995090915061165f906001600160a01b0316611d72565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b1580156116b757600080fd5b505af11580156116cb573d6000803e3d6000fd5b505050506116d98a8a611de4565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a061174b612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c891906130dc565b8860006040518463ffffffff1660e01b81526004016117e9939291906131cf565b600060405180830381600087803b15801561180357600080fd5b505af1158015611817573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611832612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561188b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118af91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156118f657600080fd5b505af115801561190a573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61197d6126ee565b60008051602061341b83398151915260006119ad6000805160206133fb833981519152546001600160401b031690565b905060006119b9610580565b9050816001600160401b03166001036119e65760028301805462ffffff191662ffffff8316179055611a34565b600283015462ffffff90811690821611611a345760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610850565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0c91906131ff565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061101f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a96126ee565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b0316600081158015611c4f5750825b90506000826001600160401b03166001148015611c6b5750303b155b905081158015611c79575080155b15611c975760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cc157845460ff60401b1916600160401b1785555b600086806020019051810190611cd79190613226565b600380546001600160a01b039093166001600160a01b0319909316831790559150611d029082612727565b611d12631b4612f160e31b6127b4565b611d2263777fa14760e11b6127b4565b508315611d6957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611ddf576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7c9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef5919061314f565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f839190612f77565b9050826001600160a01b03166325c471a0611f9c6127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ff5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201991906130dc565b8360006040518463ffffffff1660e01b815260040161203a939291906131cf565b600060405180830381600087803b15801561205457600080fd5b505af1158015612068573d6000803e3d6000fd5b5060009250600291506120789050565b6040519080825280602002602001820160405280156120a1578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106120bf576120bf613139565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106120f6576120f6613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d84836121286127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a591906130dc565b6040518463ffffffff1660e01b81526004016121c393929190613255565b600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561226b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228f9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561236a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238e9190612f77565b9050846001600160a01b03166325c471a06123a7612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612400573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242491906130dc565b8360006040518463ffffffff1660e01b8152600401612445939291906131cf565b600060405180830381600087803b15801561245f57600080fd5b505af1158015612473573d6000803e3d6000fd5b5060009250600491506124839050565b6040519080825280602002602001820160405280156124ac578160200160208202803683370190505b5090506357f9680560e01b816000815181106124ca576124ca613139565b6001600160e01b0319909216602092830291909101909101528051635ea7f02760e11b908290600190811061250157612501613139565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061253857612538613139565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061256f5761256f613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166308d6122d86836125a1612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156125fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261e91906130dc565b6040518463ffffffff1660e01b815260040161263c93929190613255565b600060405180830381600087803b15801561265657600080fd5b505af115801561266a573d6000803e3d6000fd5b50505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156126ca573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906130dc565b6000805160206133fb83398151915254600160401b900460ff1661272557604051631afcd79f60e31b815260040160405180910390fd5b565b600061275560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61275d6110a0565b60405160200161276e9291906132c7565b6040516020818303038152906040529050600061278a84612851565b9050600061279d8583603c8488886128c2565b6127ad631b4612f160e31b6127b4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612898573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bc9190612f36565b92915050565b6129036301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61290d828761298e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161297d838261333b565b50611d696303fb044760e21b6127b4565b600280546001600160a01b0319166001600160a01b0384161790556129b2816129b6565b5050565b6001546001600160a01b0316156129ef5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610850565b6001600160a01b038116612a165760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612a4c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015612ac6575060408051601f3d908101601f19168201909252612ac391810190612f10565b60015b612aee5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b806129b25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610850565b50565b600060208284031215612b2c57600080fd5b81356001600160e01b031981168114610ecd57600080fd5b60005b83811015612b5f578181015183820152602001612b47565b50506000910152565b60008151808452612b80816020860160208601612b44565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151612bd860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612c1e610120840182612b68565b90508281036020840152612c328185612b68565b95945050505050565b602081526000610ecd6020830184612b68565b62ffffff81168114612b1757600080fd5b600060208284031215612c7157600080fd5b8135610ecd81612c4e565b6001600160a01b0381168114612b1757600080fd5b600060208284031215612ca357600080fd5b8135610ecd81612c7c565b6001600160401b0381168114612b1757600080fd5b6001600160601b0381168114612b1757600080fd5b600080600060608486031215612ced57600080fd5b8335612cf881612c7c565b92506020840135612d0881612cae565b91506040840135612d1881612cc3565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612d5b57612d5b612d23565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612d8957612d89612d23565b604052919050565b60006001600160401b03821115612daa57612daa612d23565b50601f01601f191660200190565b600080600060608486031215612dcd57600080fd5b8335612dd881612c7c565b92506020840135612de881612c7c565b915060408401356001600160401b03811115612e0357600080fd5b8401601f81018613612e1457600080fd5b8035612e27612e2282612d91565b612d61565b818152876020838501011115612e3c57600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215612e6e57600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b600060208284031215612ebb57600080fd5b8151610ecd81612c4e565b600181811c90821680612eda57607f821691505b602082108103612efa57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611ddf57600080fd5b600060208284031215612f2257600080fd5b610ecd82612f00565b8051611ddf81612cc3565b600060208284031215612f4857600080fd5b8151610ecd81612cc3565b600060208284031215612f6557600080fd5b5051919050565b8051611ddf81612c7c565b600060208284031215612f8957600080fd5b8151610ecd81612c7c565b60ff81168114612b1757600080fd5b8051611ddf81612f94565b600082601f830112612fbf57600080fd5b8151612fcd612e2282612d91565b818152846020838601011115612fe257600080fd5b612ff3826020830160208701612b44565b949350505050565b600060e0828403121561300d57600080fd5b613015612d39565b905061302082612f2b565b815261302e60208301612f2b565b602082015261303f60408301612fa3565b604082015261305060608301612f00565b606082015261306160808301612f6c565b608082015261307260a08301612f6c565b60a082015260c08201516001600160401b0381111561309057600080fd5b61309c84828501612fae565b60c08301525092915050565b6000602082840312156130ba57600080fd5b81516001600160401b038111156130d057600080fd5b612ff384828501612ffb565b6000602082840312156130ee57600080fd5b8151610ecd81612cae565b6000806040838503121561310c57600080fd5b61311583612f00565b9150602083015163ffffffff8116811461312e57600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561316157600080fd5b8151610ecd81612f94565b6000806040838503121561317f57600080fd5b82516001600160401b038082111561319657600080fd5b6131a286838701612ffb565b935060208501519150808211156131b857600080fd5b506131c585828601612fae565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b60006020828403121561321157600080fd5b815164ffffffffff81168114610ecd57600080fd5b6000806040838503121561323957600080fd5b825161324481612c7c565b602084015190925061312e81612c7c565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b818110156132a85784516001600160e01b03191683529383019391830191600101613282565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006132da6040830185612b68565b905060ff831660208301529392505050565b601f82111561333657600081815260208120601f850160051c810160208610156133135750805b601f850160051c820191505b818110156133325782815560010161331f565b5050505b505050565b81516001600160401b0381111561335457613354612d23565b613368816133628454612ec6565b846132ec565b602080601f83116001811461339d57600084156133855750858301515b600019600386901b1c1916600185901b178555613332565b600085815260208120601f198616915b828110156133cc578886015182559484019460019091019084016133ad565b50858210156133ea5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220de0c876bc402868bafdbca307498e0af3cabc5406728034671e2bdcfebb79ac164736f6c63430008140033",
662
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063a745e3df11610097578063cde749f411610071578063cde749f414610528578063cf7a1d7714610542578063d6277f9914610555578063eeff428e1461056857600080fd5b8063a745e3df146104e2578063b3c65015146104f5578063b88da7591461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a5780639c12c9c7146104a1578063a3f4df7e146104b457600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004612b1a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610580565b60405162ffffff90911681526020016101e7565b61021461060a565b6040516101e7929190612b94565b61022a61078c565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190612c3b565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004612c5f565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061341b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004612c5f565b6109ae565b61022a610405366004612c91565b610a61565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a610454366004612c91565b610aee565b6102ac600081565b61026d610b81565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6101db6104af366004612cd8565b610c9a565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104f0366004612db8565b610ed4565b6104fd61102e565b6040516001600160401b0390911681526020016101e7565b6101f8610523366004612e5c565b61104f565b6105306110a0565b60405160ff90911681526020016101e7565b61022a610550366004612db8565b611123565b61022a610563366004612c91565b61122c565b6105706112c0565b6040516101e79493929190612e75565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612ea9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061068d6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106d5610b81565b6001600160a01b031681526020018260010180546106f290612ec6565b80601f016020809104026020016040519081016040528092919081815260200182805461071e90612ec6565b801561076b5780601f106107405761010080835404028352916020019161076b565b820191906000526020600020905b81548152906001019060200180831161074e57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108129190612f10565b15610859576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108825760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ef9190612f10565b610917576040516372657a5160e01b81526001600160a01b0382166004820152602401610850565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610961573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109859190612f36565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60008060008051602061341b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5a9190612f53565b1192915050565b6005546001600160a01b031615610acc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610850565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b5f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610850565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610be6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0a9190612f10565b15610c8a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c66573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190612f77565b506002546001600160a01b031690565b600080610caf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610cfe573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610d2691908101906130a8565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9a9190612f77565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e2f91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610e81573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ea591906130f9565b909250905063ffffffff811615610ec55760009650505050505050610ecd565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ef6610580565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610f36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5a91906130dc565b6000805160206133fb8339815191528054600160401b900460ff1680610f8d575080546001600160401b03808416911610155b15610fab5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610fd68585611975565b610fdf83611c14565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106056000805160206133fb833981519152546001600160401b031690565b600060008051602061341b833981519152600101828154811061107457611074613139565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006110aa610580565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156110ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610605919061314f565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b03166000811580156111565750825b90506000826001600160401b031660011480156111725750303b155b905081158015611180575080155b1561119e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156111c857845460ff60401b1916600160401b1785555b6111d28888611975565b6111dc8787611c1c565b831561122257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b03161561129e5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610850565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa158015611317573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133b9190612f36565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156113af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d39190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611428573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144c919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156114b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114d69190612f77565b60045490915081906114f0906001600160a01b0316611d72565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b15801561153457600080fd5b505af1158015611548573d6000803e3d6000fd5b505060055461156292506001600160a01b03169050611d72565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a779261159c928e9291169088903390600401612e75565b600060405180830381600087803b1580156115b657600080fd5b505af11580156115ca573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611619573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611641919081019061316c565b50805160065490995090915061165f906001600160a01b0316611d72565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b1580156116b757600080fd5b505af11580156116cb573d6000803e3d6000fd5b505050506116d98a8a611de4565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b15801561171c57600080fd5b505af1158015611730573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a061174b612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156117a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117c891906130dc565b8860006040518463ffffffff1660e01b81526004016117e9939291906131cf565b600060405180830381600087803b15801561180357600080fd5b505af1158015611817573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611832612676565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561188b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118af91906130dc565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156118f657600080fd5b505af115801561190a573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61197d6126ee565b60008051602061341b83398151915260006119ad6000805160206133fb833981519152546001600160401b031690565b905060006119b9610580565b9050816001600160401b03166001036119e65760028301805462ffffff191662ffffff8316179055611a34565b600283015462ffffff90811690821611611a345760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610850565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0c91906131ff565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061101f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a96126ee565b6000805160206133fb8339815191528054600160401b810460ff1615906001600160401b0316600081158015611c4f5750825b90506000826001600160401b03166001148015611c6b5750303b155b905081158015611c79575080155b15611c975760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611cc157845460ff60401b1916600160401b1785555b600086806020019051810190611cd79190613226565b600380546001600160a01b039093166001600160a01b0319909316831790559150611d029082612727565b611d12631b4612f160e31b6127b4565b611d2263777fa14760e11b6127b4565b508315611d6957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611ddf576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e7c9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ed1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef5919061314f565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611f5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f839190612f77565b9050826001600160a01b03166325c471a0611f9c6127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611ff5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201991906130dc565b8360006040518463ffffffff1660e01b815260040161203a939291906131cf565b600060405180830381600087803b15801561205457600080fd5b505af1158015612068573d6000803e3d6000fd5b5060009250600291506120789050565b6040519080825280602002602001820160405280156120a1578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106120bf576120bf613139565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106120f6576120f6613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d84836121286127d9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a591906130dc565b6040518463ffffffff1660e01b81526004016121c393929190613255565b600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561226b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061228f9190612ea9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156122e4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612308919061314f565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561236a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238e9190612f77565b9050846001600160a01b03166325c471a06123a7612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612400573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061242491906130dc565b8360006040518463ffffffff1660e01b8152600401612445939291906131cf565b600060405180830381600087803b15801561245f57600080fd5b505af1158015612473573d6000803e3d6000fd5b5060009250600491506124839050565b6040519080825280602002602001820160405280156124ac578160200160208202803683370190505b5090506357f9680560e01b816000815181106124ca576124ca613139565b6001600160e01b0319909216602092830291909101909101528051635ea7f02760e11b908290600190811061250157612501613139565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061253857612538613139565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061256f5761256f613139565b6001600160e01b0319909216602092830291909101909101526001600160a01b0386166308d6122d86836125a1612815565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156125fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061261e91906130dc565b6040518463ffffffff1660e01b815260040161263c93929190613255565b600060405180830381600087803b15801561265657600080fd5b505af115801561266a573d6000803e3d6000fd5b50505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156126ca573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060591906130dc565b6000805160206133fb83398151915254600160401b900460ff1661272557604051631afcd79f60e31b815260040160405180910390fd5b565b600061275560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61275d6110a0565b60405160200161276e9291906132c7565b6040516020818303038152906040529050600061278a84612851565b9050600061279d8583603c8488886128c2565b6127ad631b4612f160e31b6127b4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016126ad565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015612898573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128bc9190612f36565b92915050565b6129036301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61290d828761298e565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161297d838261333b565b50611d696303fb044760e21b6127b4565b600280546001600160a01b0319166001600160a01b0384161790556129b2816129b6565b5050565b6001546001600160a01b0316156129ef5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610850565b6001600160a01b038116612a165760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612a4c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015612ac6575060408051601f3d908101601f19168201909252612ac391810190612f10565b60015b612aee5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610850565b806129b25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610850565b50565b600060208284031215612b2c57600080fd5b81356001600160e01b031981168114610ecd57600080fd5b60005b83811015612b5f578181015183820152602001612b47565b50506000910152565b60008151808452612b80816020860160208601612b44565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151612bd860a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152612c1e610120840182612b68565b90508281036020840152612c328185612b68565b95945050505050565b602081526000610ecd6020830184612b68565b62ffffff81168114612b1757600080fd5b600060208284031215612c7157600080fd5b8135610ecd81612c4e565b6001600160a01b0381168114612b1757600080fd5b600060208284031215612ca357600080fd5b8135610ecd81612c7c565b6001600160401b0381168114612b1757600080fd5b6001600160601b0381168114612b1757600080fd5b600080600060608486031215612ced57600080fd5b8335612cf881612c7c565b92506020840135612d0881612cae565b91506040840135612d1881612cc3565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612d5b57612d5b612d23565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612d8957612d89612d23565b604052919050565b60006001600160401b03821115612daa57612daa612d23565b50601f01601f191660200190565b600080600060608486031215612dcd57600080fd5b8335612dd881612c7c565b92506020840135612de881612c7c565b915060408401356001600160401b03811115612e0357600080fd5b8401601f81018613612e1457600080fd5b8035612e27612e2282612d91565b612d61565b818152876020838501011115612e3c57600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215612e6e57600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b600060208284031215612ebb57600080fd5b8151610ecd81612c4e565b600181811c90821680612eda57607f821691505b602082108103612efa57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611ddf57600080fd5b600060208284031215612f2257600080fd5b610ecd82612f00565b8051611ddf81612cc3565b600060208284031215612f4857600080fd5b8151610ecd81612cc3565b600060208284031215612f6557600080fd5b5051919050565b8051611ddf81612c7c565b600060208284031215612f8957600080fd5b8151610ecd81612c7c565b60ff81168114612b1757600080fd5b8051611ddf81612f94565b600082601f830112612fbf57600080fd5b8151612fcd612e2282612d91565b818152846020838601011115612fe257600080fd5b612ff3826020830160208701612b44565b949350505050565b600060e0828403121561300d57600080fd5b613015612d39565b905061302082612f2b565b815261302e60208301612f2b565b602082015261303f60408301612fa3565b604082015261305060608301612f00565b606082015261306160808301612f6c565b608082015261307260a08301612f6c565b60a082015260c08201516001600160401b0381111561309057600080fd5b61309c84828501612fae565b60c08301525092915050565b6000602082840312156130ba57600080fd5b81516001600160401b038111156130d057600080fd5b612ff384828501612ffb565b6000602082840312156130ee57600080fd5b8151610ecd81612cae565b6000806040838503121561310c57600080fd5b61311583612f00565b9150602083015163ffffffff8116811461312e57600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561316157600080fd5b8151610ecd81612f94565b6000806040838503121561317f57600080fd5b82516001600160401b038082111561319657600080fd5b6131a286838701612ffb565b935060208501519150808211156131b857600080fd5b506131c585828601612fae565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b60006020828403121561321157600080fd5b815164ffffffffff81168114610ecd57600080fd5b6000806040838503121561323957600080fd5b825161324481612c7c565b602084015190925061312e81612c7c565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b818110156132a85784516001600160e01b03191683529383019391830191600101613282565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006132da6040830185612b68565b905060ff831660208301529392505050565b601f82111561333657600081815260208120601f850160051c810160208610156133135750805b601f850160051c820191505b818110156133325782815560010161331f565b5050505b505050565b81516001600160401b0381111561335457613354612d23565b613368816133628454612ec6565b846132ec565b602080601f83116001811461339d57600084156133855750858301515b600019600386901b1c1916600185901b178555613332565b600085815260208120601f198616915b828110156133cc578886015182559484019460019091019084016133ad565b50858210156133ea5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220de0c876bc402868bafdbca307498e0af3cabc5406728034671e2bdcfebb79ac164736f6c63430008140033",
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",
663
895
  "linkReferences": {
664
- "contracts/types/Blocknumber.sol": {
665
- "BlocknumberLib": [
896
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
897
+ "InstanceAuthorizationsLib": [
666
898
  {
667
899
  "length": 20,
668
- "start": 2870
900
+ "start": 9880
669
901
  }
670
902
  ]
671
903
  },
672
- "contracts/types/NftId.sol": {
673
- "NftIdLib": [
904
+ "contracts/staking/TargetManagerLib.sol": {
905
+ "TargetManagerLib": [
674
906
  {
675
907
  "length": 20,
676
- "start": 2286
908
+ "start": 10610
677
909
  },
678
910
  {
679
911
  "length": 20,
680
- "start": 3302
912
+ "start": 10719
681
913
  }
682
914
  ]
683
915
  },
684
- "contracts/types/RoleId.sol": {
685
- "RoleIdLib": [
686
- {
687
- "length": 20,
688
- "start": 3851
689
- },
690
- {
691
- "length": 20,
692
- "start": 6308
693
- },
694
- {
695
- "length": 20,
696
- "start": 6539
697
- },
916
+ "contracts/type/NftId.sol": {
917
+ "NftIdLib": [
698
918
  {
699
919
  "length": 20,
700
- "start": 8437
920
+ "start": 1652
701
921
  },
702
922
  {
703
923
  "length": 20,
704
- "start": 8833
924
+ "start": 2048
705
925
  },
706
926
  {
707
927
  "length": 20,
708
- "start": 9472
928
+ "start": 6100
709
929
  },
710
930
  {
711
931
  "length": 20,
712
- "start": 9978
713
- },
932
+ "start": 7447
933
+ }
934
+ ]
935
+ },
936
+ "contracts/type/RoleId.sol": {
937
+ "RoleIdLib": [
714
938
  {
715
939
  "length": 20,
716
- "start": 10185
940
+ "start": 9491
717
941
  },
718
942
  {
719
943
  "length": 20,
720
- "start": 10541
944
+ "start": 10246
721
945
  },
722
946
  {
723
947
  "length": 20,
724
- "start": 10601
725
- }
726
- ]
727
- },
728
- "contracts/types/Timestamp.sol": {
729
- "TimestampLib": [
730
- {
731
- "length": 20,
732
- "start": 7144
948
+ "start": 12905
733
949
  }
734
950
  ]
735
951
  },
736
- "contracts/types/Version.sol": {
952
+ "contracts/type/Version.sol": {
737
953
  "VersionLib": [
738
954
  {
739
955
  "length": 20,
740
- "start": 1761
741
- },
742
- {
743
- "length": 20,
744
- "start": 4112
745
- },
746
- {
747
- "length": 20,
748
- "start": 4607
749
- },
750
- {
751
- "length": 20,
752
- "start": 5295
753
- },
754
- {
755
- "length": 20,
756
- "start": 5416
956
+ "start": 1444
757
957
  },
758
958
  {
759
959
  "length": 20,
760
- "start": 8024
960
+ "start": 2726
761
961
  },
762
962
  {
763
963
  "length": 20,
764
- "start": 8145
964
+ "start": 9962
765
965
  },
766
966
  {
767
967
  "length": 20,
768
- "start": 9067
769
- },
968
+ "start": 13069
969
+ }
970
+ ],
971
+ "VersionPartLib": [
770
972
  {
771
973
  "length": 20,
772
- "start": 9188
974
+ "start": 6580
773
975
  }
774
976
  ]
775
977
  }
776
978
  },
777
979
  "deployedLinkReferences": {
778
- "contracts/types/Blocknumber.sol": {
779
- "BlocknumberLib": [
980
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
981
+ "InstanceAuthorizationsLib": [
780
982
  {
781
983
  "length": 20,
782
- "start": 2556
984
+ "start": 9650
783
985
  }
784
986
  ]
785
987
  },
786
- "contracts/types/NftId.sol": {
787
- "NftIdLib": [
988
+ "contracts/staking/TargetManagerLib.sol": {
989
+ "TargetManagerLib": [
788
990
  {
789
991
  "length": 20,
790
- "start": 1972
992
+ "start": 10380
791
993
  },
792
994
  {
793
995
  "length": 20,
794
- "start": 2988
996
+ "start": 10489
795
997
  }
796
998
  ]
797
999
  },
798
- "contracts/types/RoleId.sol": {
799
- "RoleIdLib": [
800
- {
801
- "length": 20,
802
- "start": 3537
803
- },
804
- {
805
- "length": 20,
806
- "start": 5994
807
- },
808
- {
809
- "length": 20,
810
- "start": 6225
811
- },
1000
+ "contracts/type/NftId.sol": {
1001
+ "NftIdLib": [
812
1002
  {
813
1003
  "length": 20,
814
- "start": 8123
1004
+ "start": 1422
815
1005
  },
816
1006
  {
817
1007
  "length": 20,
818
- "start": 8519
1008
+ "start": 1818
819
1009
  },
820
1010
  {
821
1011
  "length": 20,
822
- "start": 9158
1012
+ "start": 5870
823
1013
  },
824
1014
  {
825
1015
  "length": 20,
826
- "start": 9664
827
- },
1016
+ "start": 7217
1017
+ }
1018
+ ]
1019
+ },
1020
+ "contracts/type/RoleId.sol": {
1021
+ "RoleIdLib": [
828
1022
  {
829
1023
  "length": 20,
830
- "start": 9871
1024
+ "start": 9261
831
1025
  },
832
1026
  {
833
1027
  "length": 20,
834
- "start": 10227
1028
+ "start": 10016
835
1029
  },
836
1030
  {
837
1031
  "length": 20,
838
- "start": 10287
839
- }
840
- ]
841
- },
842
- "contracts/types/Timestamp.sol": {
843
- "TimestampLib": [
844
- {
845
- "length": 20,
846
- "start": 6830
1032
+ "start": 12675
847
1033
  }
848
1034
  ]
849
1035
  },
850
- "contracts/types/Version.sol": {
1036
+ "contracts/type/Version.sol": {
851
1037
  "VersionLib": [
852
1038
  {
853
1039
  "length": 20,
854
- "start": 1447
855
- },
856
- {
857
- "length": 20,
858
- "start": 3798
859
- },
860
- {
861
- "length": 20,
862
- "start": 4293
863
- },
864
- {
865
- "length": 20,
866
- "start": 4981
867
- },
868
- {
869
- "length": 20,
870
- "start": 5102
1040
+ "start": 1214
871
1041
  },
872
1042
  {
873
1043
  "length": 20,
874
- "start": 7710
1044
+ "start": 2496
875
1045
  },
876
1046
  {
877
1047
  "length": 20,
878
- "start": 7831
1048
+ "start": 9732
879
1049
  },
880
1050
  {
881
1051
  "length": 20,
882
- "start": 8753
883
- },
1052
+ "start": 12839
1053
+ }
1054
+ ],
1055
+ "VersionPartLib": [
884
1056
  {
885
1057
  "length": 20,
886
- "start": 8874
1058
+ "start": 6350
887
1059
  }
888
1060
  ]
889
1061
  }