@etherisc/gif-next 0.0.2-ef2f083-203 → 0.0.2-efd035d-094

Sign up to get free protection for your applications and to get access to all the features.
Files changed (585) hide show
  1. package/README.md +72 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1416 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1349 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +975 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +814 -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 +537 -309
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +343 -173
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +530 -3074
  20. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +708 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +228 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +726 -308
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +536 -310
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +360 -94
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3642 -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/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  37. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  38. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  42. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  44. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  45. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  47. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  48. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  49. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  50. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  51. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → oracle/IOracle.sol/IOracle.json} +2 -2
  52. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  53. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +718 -0
  54. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  55. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → oracle/IOracleService.sol/IOracleService.json} +269 -174
  56. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  57. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1133 -0
  58. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  59. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +868 -0
  60. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +714 -0
  62. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1105 -0
  64. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +746 -0
  66. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  67. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +297 -358
  68. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  69. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1154 -0
  70. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  71. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1065 -0
  72. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  73. package/artifacts/contracts/pool/Pool.sol/Pool.json +1565 -0
  74. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  75. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1432 -0
  76. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +738 -0
  78. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  79. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +834 -0
  80. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +722 -0
  82. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  83. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1278 -0
  84. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  85. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +810 -0
  86. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  87. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +233 -200
  88. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  89. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +759 -0
  90. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  91. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +707 -0
  92. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  93. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +259 -284
  94. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  95. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +995 -0
  96. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  97. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → product/IProductService.sol/IProductService.json} +147 -87
  98. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  99. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1146 -0
  100. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +754 -0
  102. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  103. package/artifacts/contracts/product/PricingService.sol/PricingService.json +983 -0
  104. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +778 -0
  106. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  107. package/artifacts/contracts/product/Product.sol/Product.json +1397 -0
  108. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  109. package/artifacts/contracts/product/ProductService.sol/ProductService.json +679 -0
  110. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +694 -0
  112. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  113. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  114. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +371 -218
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  117. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +448 -191
  118. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  119. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  120. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/Registry.sol/Registry.json +577 -294
  122. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +407 -0
  124. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  125. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +515 -337
  126. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +328 -144
  128. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  129. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +1292 -0
  130. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.dbg.json +4 -0
  131. package/artifacts/contracts/registry/ServiceAuthorizationsLib.sol/ServiceAuthorizationsLib.json +137 -0
  132. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  133. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +351 -100
  134. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  135. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → shared/AccessManagerCustom.sol/AccessManagerCustom.json} +122 -11
  136. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  137. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1715 -0
  138. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  139. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1728 -0
  140. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1806 -0
  142. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1824 -0
  144. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  145. package/artifacts/contracts/shared/Component.sol/Component.json +896 -0
  146. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  147. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1490 -0
  148. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  149. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +792 -0
  150. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +225 -180
  152. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  153. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  154. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  155. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  156. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  157. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  158. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  159. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +631 -0
  160. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +867 -0
  162. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  163. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  164. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  165. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
  166. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  167. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  168. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  169. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  170. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  171. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +207 -0
  172. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  173. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
  174. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  175. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  176. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  177. package/artifacts/contracts/shared/IService.sol/IService.json +88 -176
  178. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  179. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  180. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  181. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  182. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  183. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
  184. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  185. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  186. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  187. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  188. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  189. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  190. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  191. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +115 -29
  192. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  193. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +320 -0
  194. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  195. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +330 -62
  196. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  197. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +132 -53
  198. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  199. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  200. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  201. package/artifacts/contracts/shared/Service.sol/Service.json +191 -165
  202. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  203. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  204. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  205. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  206. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  207. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  208. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  209. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  210. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  211. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +993 -0
  212. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  213. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +444 -0
  214. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  215. package/artifacts/contracts/staking/Staking.sol/Staking.json +2045 -0
  216. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  217. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +777 -0
  218. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  219. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  220. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  221. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1324 -0
  222. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  223. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +726 -0
  224. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  225. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2189 -0
  226. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  227. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  228. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  229. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  230. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  231. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  232. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  233. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  234. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  235. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  236. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  238. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  239. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  240. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  241. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  242. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  243. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  244. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  245. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  246. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  247. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +105 -0
  248. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  249. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  250. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  252. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  253. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  254. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  255. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  256. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  257. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  258. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  260. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  261. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  262. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  263. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  264. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  265. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  266. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  267. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  268. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  269. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  270. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  271. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  272. package/contracts/distribution/Distribution.sol +261 -0
  273. package/contracts/distribution/DistributionService.sol +298 -0
  274. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  275. package/contracts/distribution/IDistributionComponent.sol +66 -0
  276. package/contracts/distribution/IDistributionService.sol +81 -0
  277. package/contracts/instance/BundleManager.sol +126 -0
  278. package/contracts/instance/IInstance.sol +68 -19
  279. package/contracts/instance/IInstanceService.sol +64 -13
  280. package/contracts/instance/Instance.sol +157 -364
  281. package/contracts/instance/InstanceAdmin.sol +331 -0
  282. package/contracts/instance/InstanceAuthorizationsLib.sol +377 -0
  283. package/contracts/instance/InstanceReader.sol +172 -72
  284. package/contracts/instance/InstanceService.sol +301 -97
  285. package/contracts/instance/InstanceServiceManager.sol +12 -24
  286. package/contracts/instance/InstanceStore.sol +281 -0
  287. package/contracts/instance/base/BalanceStore.sol +118 -0
  288. package/contracts/instance/base/Cloneable.sol +51 -0
  289. package/contracts/instance/base/ObjectCounter.sol +21 -0
  290. package/contracts/instance/base/ObjectManager.sol +82 -0
  291. package/contracts/instance/module/IAccess.sol +29 -21
  292. package/contracts/instance/module/IBundle.sol +8 -7
  293. package/contracts/instance/module/IComponents.sol +52 -0
  294. package/contracts/instance/module/IDistribution.sol +7 -4
  295. package/contracts/instance/module/IPolicy.sol +56 -17
  296. package/contracts/instance/module/IRisk.sol +1 -1
  297. package/contracts/{test/Usdc.sol → mock/Dip.sol} +5 -5
  298. package/contracts/oracle/IOracle.sol +20 -0
  299. package/contracts/oracle/IOracleComponent.sol +16 -0
  300. package/contracts/oracle/IOracleService.sol +42 -0
  301. package/contracts/oracle/Oracle.sol +122 -0
  302. package/contracts/oracle/OracleService.sol +191 -0
  303. package/contracts/oracle/OracleServiceManager.sol +42 -0
  304. package/contracts/pool/BundleService.sol +296 -0
  305. package/contracts/pool/BundleServiceManager.sol +42 -0
  306. package/contracts/pool/IBundleService.sol +106 -0
  307. package/contracts/pool/IPoolComponent.sol +112 -0
  308. package/contracts/pool/IPoolService.sol +150 -0
  309. package/contracts/pool/Pool.sol +299 -0
  310. package/contracts/pool/PoolService.sol +453 -0
  311. package/contracts/pool/PoolServiceManager.sol +42 -0
  312. package/contracts/product/ApplicationService.sol +254 -0
  313. package/contracts/product/ApplicationServiceManager.sol +38 -0
  314. package/contracts/product/ClaimService.sol +442 -0
  315. package/contracts/product/ClaimServiceManager.sol +38 -0
  316. package/contracts/product/IApplicationService.sol +62 -0
  317. package/contracts/product/IClaimService.sol +93 -0
  318. package/contracts/product/IPolicyService.sol +78 -0
  319. package/contracts/product/IPricingService.sol +39 -0
  320. package/contracts/product/IProductComponent.sol +42 -0
  321. package/contracts/product/IProductService.sol +33 -0
  322. package/contracts/product/PolicyService.sol +475 -0
  323. package/contracts/product/PolicyServiceManager.sol +42 -0
  324. package/contracts/product/PricingService.sol +301 -0
  325. package/contracts/product/PricingServiceManager.sol +42 -0
  326. package/contracts/product/Product.sol +377 -0
  327. package/contracts/product/ProductService.sol +124 -0
  328. package/contracts/product/ProductServiceManager.sol +42 -0
  329. package/contracts/registry/ChainNft.sol +15 -0
  330. package/contracts/registry/IRegistry.sol +75 -45
  331. package/contracts/registry/IRegistryService.sol +52 -16
  332. package/contracts/registry/ITransferInterceptor.sol +1 -0
  333. package/contracts/registry/Registry.sol +368 -281
  334. package/contracts/registry/RegistryAdmin.sol +237 -0
  335. package/contracts/registry/RegistryService.sol +124 -257
  336. package/contracts/registry/RegistryServiceManager.sol +24 -46
  337. package/contracts/registry/ReleaseManager.sol +599 -0
  338. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  339. package/contracts/registry/TokenRegistry.sol +261 -57
  340. package/contracts/{instance/AccessManagerSimple.sol → shared/AccessManagerCustom.sol} +276 -232
  341. package/contracts/shared/AccessManagerExtended.sol +470 -0
  342. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  343. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  344. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  345. package/contracts/shared/Component.sol +281 -0
  346. package/contracts/shared/ComponentService.sol +618 -0
  347. package/contracts/shared/ComponentServiceManager.sol +35 -0
  348. package/contracts/shared/ComponentVerifyingService.sol +111 -0
  349. package/contracts/shared/ERC165.sol +15 -13
  350. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  351. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  352. package/contracts/shared/IComponent.sol +70 -0
  353. package/contracts/shared/IComponentService.sol +102 -0
  354. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  355. package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
  356. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  357. package/contracts/shared/INftOwnable.sol +13 -12
  358. package/contracts/shared/IPolicyHolder.sol +45 -0
  359. package/contracts/shared/IRegisterable.sol +4 -6
  360. package/contracts/shared/IRegistryLinked.sol +11 -0
  361. package/contracts/shared/IService.sol +8 -5
  362. package/contracts/shared/IVersionable.sol +5 -48
  363. package/contracts/shared/InitializableCustom.sol +177 -0
  364. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  365. package/contracts/shared/KeyValueStore.sol +127 -0
  366. package/contracts/{instance/base → shared}/Lifecycle.sol +35 -7
  367. package/contracts/shared/NftIdSetManager.sol +65 -0
  368. package/contracts/shared/NftOwnable.sol +60 -89
  369. package/contracts/shared/PolicyHolder.sol +102 -0
  370. package/contracts/shared/ProxyManager.sol +131 -26
  371. package/contracts/shared/Registerable.sol +26 -41
  372. package/contracts/shared/RegistryLinked.sol +43 -0
  373. package/contracts/shared/Service.sol +47 -24
  374. package/contracts/shared/TokenHandler.sol +37 -6
  375. package/contracts/shared/Versionable.sol +4 -92
  376. package/contracts/staking/IStaking.sol +168 -0
  377. package/contracts/staking/IStakingService.sol +149 -0
  378. package/contracts/staking/StakeManagerLib.sol +179 -0
  379. package/contracts/staking/Staking.sol +551 -0
  380. package/contracts/staking/StakingManager.sol +54 -0
  381. package/contracts/staking/StakingReader.sol +187 -0
  382. package/contracts/staking/StakingService.sol +406 -0
  383. package/contracts/staking/StakingServiceManager.sol +45 -0
  384. package/contracts/staking/StakingStore.sol +572 -0
  385. package/contracts/staking/TargetManagerLib.sol +207 -0
  386. package/contracts/{types → type}/AddressSet.sol +1 -1
  387. package/contracts/type/Amount.sol +128 -0
  388. package/contracts/{types → type}/Blocknumber.sol +21 -3
  389. package/contracts/type/ClaimId.sol +75 -0
  390. package/contracts/{types → type}/DistributorType.sol +2 -2
  391. package/contracts/{types → type}/Fee.sol +33 -23
  392. package/contracts/{types → type}/NftId.sol +21 -15
  393. package/contracts/type/NftIdSet.sol +62 -0
  394. package/contracts/{types → type}/ObjectType.sol +32 -16
  395. package/contracts/type/PayoutId.sol +82 -0
  396. package/contracts/{types → type}/Referral.sol +5 -1
  397. package/contracts/type/RequestId.sol +75 -0
  398. package/contracts/{types → type}/RiskId.sol +1 -1
  399. package/contracts/type/RoleId.sol +146 -0
  400. package/contracts/type/Seconds.sol +81 -0
  401. package/contracts/{types → type}/StateId.sol +30 -4
  402. package/contracts/{types → type}/Timestamp.sol +18 -13
  403. package/contracts/{types → type}/UFixed.sol +1 -0
  404. package/contracts/{types → type}/Version.sol +2 -1
  405. package/package.json +3 -3
  406. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  407. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  408. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -670
  409. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  410. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  411. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  412. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -204
  413. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  414. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  415. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  416. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  417. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  418. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -790
  419. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  420. package/artifacts/contracts/components/Product.sol/Product.json +0 -775
  421. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  422. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  423. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  424. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  425. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  426. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  427. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  428. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  429. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  430. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  431. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  432. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  433. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  434. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  435. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  436. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  437. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  438. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  439. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  440. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  441. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  442. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  443. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  444. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  445. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  446. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  447. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  448. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  449. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  450. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  451. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  452. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  453. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  454. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  455. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  456. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  457. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  458. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  459. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  460. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  461. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  462. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  463. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  464. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  465. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -917
  466. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  467. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  468. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  469. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  470. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  471. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  472. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  473. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  474. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  475. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  476. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  477. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  478. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  479. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  480. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -641
  481. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  482. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -428
  483. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  484. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  485. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  486. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  487. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  488. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  489. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  490. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  491. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  492. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  493. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  494. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  495. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  496. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  497. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  498. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  499. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  500. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  501. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  502. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  503. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  504. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  505. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  506. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  507. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  508. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  509. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  510. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  511. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  512. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  513. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  514. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  515. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  516. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  517. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  518. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  519. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  520. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  521. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  522. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  523. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  524. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  525. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  526. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  527. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  528. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  529. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  530. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  531. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  532. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  533. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  534. package/contracts/components/BaseComponent.sol +0 -91
  535. package/contracts/components/Distribution.sol +0 -166
  536. package/contracts/components/IBaseComponent.sol +0 -25
  537. package/contracts/components/IDistributionComponent.sol +0 -46
  538. package/contracts/components/IPoolComponent.sol +0 -62
  539. package/contracts/components/IProductComponent.sol +0 -35
  540. package/contracts/components/Pool.sol +0 -258
  541. package/contracts/components/Product.sol +0 -297
  542. package/contracts/experiment/cloning/Cloner.sol +0 -47
  543. package/contracts/experiment/errors/Require.sol +0 -38
  544. package/contracts/experiment/errors/Revert.sol +0 -44
  545. package/contracts/experiment/inheritance/A.sol +0 -53
  546. package/contracts/experiment/inheritance/B.sol +0 -28
  547. package/contracts/experiment/inheritance/C.sol +0 -34
  548. package/contracts/experiment/inheritance/IA.sol +0 -13
  549. package/contracts/experiment/inheritance/IB.sol +0 -10
  550. package/contracts/experiment/inheritance/IC.sol +0 -12
  551. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  552. package/contracts/experiment/statemachine/ISM.sol +0 -25
  553. package/contracts/experiment/statemachine/SM.sol +0 -57
  554. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  555. package/contracts/experiment/types/TypeA.sol +0 -47
  556. package/contracts/experiment/types/TypeB.sol +0 -29
  557. package/contracts/instance/AccessManagedSimple.sol +0 -115
  558. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  559. package/contracts/instance/InstanceAccessManager.sol +0 -288
  560. package/contracts/instance/base/ComponentServiceBase.sol +0 -39
  561. package/contracts/instance/base/IInstanceBase.sol +0 -23
  562. package/contracts/instance/base/KeyValueStore.sol +0 -172
  563. package/contracts/instance/module/ISetup.sol +0 -43
  564. package/contracts/instance/module/ITreasury.sol +0 -23
  565. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  566. package/contracts/instance/service/DistributionService.sol +0 -96
  567. package/contracts/instance/service/DistributionServiceManager.sol +0 -53
  568. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  569. package/contracts/instance/service/IDistributionService.sol +0 -12
  570. package/contracts/instance/service/IPoolService.sol +0 -37
  571. package/contracts/instance/service/IProductService.sol +0 -107
  572. package/contracts/shared/ContractDeployerLib.sol +0 -72
  573. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  574. package/contracts/test/TestFee.sol +0 -25
  575. package/contracts/test/TestRegisterable.sol +0 -18
  576. package/contracts/test/TestRoleId.sol +0 -14
  577. package/contracts/test/TestService.sol +0 -24
  578. package/contracts/test/TestToken.sol +0 -26
  579. package/contracts/test/TestVersion.sol +0 -44
  580. package/contracts/test/TestVersionable.sol +0 -17
  581. package/contracts/types/ChainId.sol +0 -38
  582. package/contracts/types/NftIdSet.sol +0 -60
  583. package/contracts/types/NumberId.sol +0 -52
  584. package/contracts/types/RoleId.sol +0 -88
  585. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -3,90 +3,272 @@
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",
16
69
  "type": "address"
70
+ }
71
+ ],
72
+ "name": "ErrorInstanceServiceComponentNotInstanceLinked",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "address",
79
+ "name": "componentAddress",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "ErrorInstanceServiceComponentNotRegistered",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "ErrorInstanceServiceInstanceAddressZero",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "ErrorInstanceServiceInstanceAdminZero",
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": "ErrorInstanceServiceMasterInstanceAdminAlreadySet",
186
+ "type": "error"
187
+ },
188
+ {
189
+ "inputs": [],
190
+ "name": "ErrorInstanceServiceMasterInstanceAlreadySet",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [],
195
+ "name": "ErrorInstanceServiceMasterInstanceReaderNotSet",
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"
44
215
  }
45
216
  ],
46
- "name": "ErrorNotOwner",
217
+ "name": "ErrorInstanceServiceRequestUnauhorized",
47
218
  "type": "error"
48
219
  },
49
220
  {
50
221
  "inputs": [
51
222
  {
52
- "internalType": "address",
53
- "name": "registryAddress",
54
- "type": "address"
223
+ "internalType": "NftId",
224
+ "name": "nftId",
225
+ "type": "uint96"
55
226
  }
56
227
  ],
57
- "name": "ErrorNotRegistry",
228
+ "name": "ErrorNftOwnableAlreadyLinked",
58
229
  "type": "error"
59
230
  },
60
231
  {
61
232
  "inputs": [
62
233
  {
63
234
  "internalType": "address",
64
- "name": "registryAddress",
235
+ "name": "contractAddress",
65
236
  "type": "address"
66
237
  }
67
238
  ],
68
- "name": "ErrorRegisterableNotRegistry",
239
+ "name": "ErrorNftOwnableContractNotRegistered",
69
240
  "type": "error"
70
241
  },
71
242
  {
72
243
  "inputs": [],
73
- "name": "ErrorRegistryAddressZero",
244
+ "name": "ErrorNftOwnableInitialOwnerZero",
74
245
  "type": "error"
75
246
  },
76
247
  {
77
248
  "inputs": [
78
249
  {
79
250
  "internalType": "address",
80
- "name": "registry",
251
+ "name": "account",
252
+ "type": "address"
253
+ }
254
+ ],
255
+ "name": "ErrorNftOwnableNotOwner",
256
+ "type": "error"
257
+ },
258
+ {
259
+ "inputs": [
260
+ {
261
+ "internalType": "address",
262
+ "name": "registryAddress",
81
263
  "type": "address"
82
264
  }
83
265
  ],
84
- "name": "ErrorRegistryAlreadyInitialized",
266
+ "name": "ErrorNotRegistry",
85
267
  "type": "error"
86
268
  },
87
269
  {
88
270
  "inputs": [],
89
- "name": "ErrorRegistryNotInitialized",
271
+ "name": "ErrorServiceNotImplemented",
90
272
  "type": "error"
91
273
  },
92
274
  {
@@ -99,6 +281,19 @@
99
281
  "name": "NotInitializing",
100
282
  "type": "error"
101
283
  },
284
+ {
285
+ "anonymous": false,
286
+ "inputs": [
287
+ {
288
+ "indexed": false,
289
+ "internalType": "address",
290
+ "name": "authority",
291
+ "type": "address"
292
+ }
293
+ ],
294
+ "name": "AuthorityUpdated",
295
+ "type": "event"
296
+ },
102
297
  {
103
298
  "anonymous": false,
104
299
  "inputs": [
@@ -118,54 +313,47 @@
118
313
  {
119
314
  "indexed": false,
120
315
  "internalType": "address",
121
- "name": "clonedAccessManagerAddress",
316
+ "name": "clonedOzAccessManager",
122
317
  "type": "address"
123
318
  },
124
319
  {
125
320
  "indexed": false,
126
321
  "internalType": "address",
127
- "name": "clonedInstanceAddress",
322
+ "name": "clonedInstanceAccessManager",
128
323
  "type": "address"
129
324
  },
130
325
  {
131
326
  "indexed": false,
132
327
  "internalType": "address",
133
- "name": "clonedInstanceReaderAddress",
328
+ "name": "clonedInstance",
134
329
  "type": "address"
135
330
  },
136
331
  {
137
332
  "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"
333
+ "internalType": "address",
334
+ "name": "clonedInstanceStore",
335
+ "type": "address"
154
336
  },
155
337
  {
156
338
  "indexed": false,
157
339
  "internalType": "address",
158
- "name": "implementation",
340
+ "name": "clonedBundleManager",
159
341
  "type": "address"
160
342
  },
161
343
  {
162
344
  "indexed": false,
163
345
  "internalType": "address",
164
- "name": "activatedBy",
346
+ "name": "clonedInstanceReader",
165
347
  "type": "address"
348
+ },
349
+ {
350
+ "indexed": false,
351
+ "internalType": "NftId",
352
+ "name": "clonedInstanceNftId",
353
+ "type": "uint96"
166
354
  }
167
355
  ],
168
- "name": "LogVersionableInitialized",
356
+ "name": "LogInstanceCloned",
169
357
  "type": "event"
170
358
  },
171
359
  {
@@ -183,12 +371,12 @@
183
371
  },
184
372
  {
185
373
  "inputs": [],
186
- "name": "NAME",
374
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
187
375
  "outputs": [
188
376
  {
189
- "internalType": "string",
377
+ "internalType": "bytes32",
190
378
  "name": "",
191
- "type": "string"
379
+ "type": "bytes32"
192
380
  }
193
381
  ],
194
382
  "stateMutability": "view",
@@ -209,160 +397,159 @@
209
397
  },
210
398
  {
211
399
  "inputs": [],
212
- "name": "createInstanceClone",
400
+ "name": "authority",
213
401
  "outputs": [
214
402
  {
215
- "internalType": "contract AccessManagerSimple",
216
- "name": "clonedAccessManager",
217
- "type": "address"
218
- },
219
- {
220
- "internalType": "contract Instance",
221
- "name": "clonedInstance",
403
+ "internalType": "address",
404
+ "name": "",
222
405
  "type": "address"
223
- },
406
+ }
407
+ ],
408
+ "stateMutability": "view",
409
+ "type": "function"
410
+ },
411
+ {
412
+ "inputs": [
224
413
  {
225
414
  "internalType": "NftId",
226
415
  "name": "instanceNftId",
227
416
  "type": "uint96"
228
417
  },
229
418
  {
230
- "internalType": "contract InstanceReader",
231
- "name": "clonedInstanceReader",
419
+ "internalType": "address",
420
+ "name": "targetAddress",
232
421
  "type": "address"
422
+ },
423
+ {
424
+ "internalType": "string",
425
+ "name": "targetName",
426
+ "type": "string"
427
+ },
428
+ {
429
+ "internalType": "bytes4[][]",
430
+ "name": "selectors",
431
+ "type": "bytes4[][]"
432
+ },
433
+ {
434
+ "internalType": "RoleId[]",
435
+ "name": "roles",
436
+ "type": "uint64[]"
233
437
  }
234
438
  ],
439
+ "name": "createComponentTarget",
440
+ "outputs": [],
235
441
  "stateMutability": "nonpayable",
236
442
  "type": "function"
237
443
  },
238
444
  {
239
- "inputs": [],
240
- "name": "getAccessManagerMaster",
241
- "outputs": [
445
+ "inputs": [
446
+ {
447
+ "internalType": "NftId",
448
+ "name": "instanceNftId",
449
+ "type": "uint96"
450
+ },
242
451
  {
243
452
  "internalType": "address",
244
- "name": "",
453
+ "name": "targetAddress",
245
454
  "type": "address"
246
- }
247
- ],
248
- "stateMutability": "view",
249
- "type": "function"
250
- },
251
- {
252
- "inputs": [],
253
- "name": "getInitialInfo",
254
- "outputs": [
455
+ },
255
456
  {
256
- "components": [
257
- {
258
- "internalType": "NftId",
259
- "name": "nftId",
260
- "type": "uint96"
261
- },
262
- {
263
- "internalType": "NftId",
264
- "name": "parentNftId",
265
- "type": "uint96"
266
- },
267
- {
268
- "internalType": "ObjectType",
269
- "name": "objectType",
270
- "type": "uint8"
271
- },
272
- {
273
- "internalType": "bool",
274
- "name": "isInterceptor",
275
- "type": "bool"
276
- },
277
- {
278
- "internalType": "address",
279
- "name": "objectAddress",
280
- "type": "address"
281
- },
282
- {
283
- "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"
457
+ "internalType": "string",
458
+ "name": "targetName",
459
+ "type": "string"
296
460
  },
297
461
  {
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": [
462
+ "internalType": "bytes4[][]",
463
+ "name": "selectors",
464
+ "type": "bytes4[][]"
465
+ },
310
466
  {
311
- "internalType": "uint64",
312
- "name": "",
313
- "type": "uint64"
467
+ "internalType": "RoleId[]",
468
+ "name": "roles",
469
+ "type": "uint64[]"
314
470
  }
315
471
  ],
316
- "stateMutability": "view",
472
+ "name": "createGifTarget",
473
+ "outputs": [],
474
+ "stateMutability": "nonpayable",
317
475
  "type": "function"
318
476
  },
319
477
  {
320
478
  "inputs": [],
321
- "name": "getInstance",
479
+ "name": "createInstanceClone",
322
480
  "outputs": [
323
481
  {
324
482
  "internalType": "contract Instance",
325
- "name": "",
483
+ "name": "clonedInstance",
326
484
  "type": "address"
327
- }
328
- ],
329
- "stateMutability": "view",
330
- "type": "function"
331
- },
332
- {
333
- "inputs": [],
334
- "name": "getInstanceMaster",
335
- "outputs": [
485
+ },
336
486
  {
337
- "internalType": "address",
338
- "name": "",
339
- "type": "address"
487
+ "internalType": "NftId",
488
+ "name": "clonedInstanceNftId",
489
+ "type": "uint96"
340
490
  }
341
491
  ],
342
- "stateMutability": "view",
492
+ "stateMutability": "nonpayable",
343
493
  "type": "function"
344
494
  },
345
495
  {
346
496
  "inputs": [],
347
- "name": "getInstanceReaderMaster",
497
+ "name": "getDomain",
348
498
  "outputs": [
349
499
  {
350
- "internalType": "address",
500
+ "internalType": "ObjectType",
351
501
  "name": "",
352
- "type": "address"
502
+ "type": "uint8"
353
503
  }
354
504
  ],
355
- "stateMutability": "view",
505
+ "stateMutability": "pure",
356
506
  "type": "function"
357
507
  },
358
508
  {
359
509
  "inputs": [],
360
- "name": "getMajorVersion",
510
+ "name": "getInitialInfo",
361
511
  "outputs": [
362
512
  {
363
- "internalType": "VersionPart",
364
- "name": "majorVersion",
365
- "type": "uint8"
513
+ "components": [
514
+ {
515
+ "internalType": "NftId",
516
+ "name": "nftId",
517
+ "type": "uint96"
518
+ },
519
+ {
520
+ "internalType": "NftId",
521
+ "name": "parentNftId",
522
+ "type": "uint96"
523
+ },
524
+ {
525
+ "internalType": "ObjectType",
526
+ "name": "objectType",
527
+ "type": "uint8"
528
+ },
529
+ {
530
+ "internalType": "bool",
531
+ "name": "isInterceptor",
532
+ "type": "bool"
533
+ },
534
+ {
535
+ "internalType": "address",
536
+ "name": "objectAddress",
537
+ "type": "address"
538
+ },
539
+ {
540
+ "internalType": "address",
541
+ "name": "initialOwner",
542
+ "type": "address"
543
+ },
544
+ {
545
+ "internalType": "bytes",
546
+ "name": "data",
547
+ "type": "bytes"
548
+ }
549
+ ],
550
+ "internalType": "struct IRegistry.ObjectInfo",
551
+ "name": "info",
552
+ "type": "tuple"
366
553
  }
367
554
  ],
368
555
  "stateMutability": "view",
@@ -370,15 +557,15 @@
370
557
  },
371
558
  {
372
559
  "inputs": [],
373
- "name": "getName",
560
+ "name": "getMasterInstanceReader",
374
561
  "outputs": [
375
562
  {
376
- "internalType": "string",
563
+ "internalType": "address",
377
564
  "name": "",
378
- "type": "string"
565
+ "type": "address"
379
566
  }
380
567
  ],
381
- "stateMutability": "pure",
568
+ "stateMutability": "view",
382
569
  "type": "function"
383
570
  },
384
571
  {
@@ -433,103 +620,101 @@
433
620
  "stateMutability": "pure",
434
621
  "type": "function"
435
622
  },
623
+ {
624
+ "inputs": [],
625
+ "name": "initializeERC165",
626
+ "outputs": [],
627
+ "stateMutability": "nonpayable",
628
+ "type": "function"
629
+ },
436
630
  {
437
631
  "inputs": [
438
632
  {
439
- "internalType": "uint256",
440
- "name": "idx",
441
- "type": "uint256"
442
- }
443
- ],
444
- "name": "getVersion",
445
- "outputs": [
633
+ "internalType": "address",
634
+ "name": "initialOwner",
635
+ "type": "address"
636
+ },
446
637
  {
447
- "internalType": "Version",
448
- "name": "",
449
- "type": "uint24"
638
+ "internalType": "address",
639
+ "name": "registryAddress",
640
+ "type": "address"
450
641
  }
451
642
  ],
452
- "stateMutability": "view",
643
+ "name": "initializeNftOwnable",
644
+ "outputs": [],
645
+ "stateMutability": "nonpayable",
453
646
  "type": "function"
454
647
  },
455
648
  {
456
- "inputs": [],
457
- "name": "getVersionCount",
458
- "outputs": [
649
+ "inputs": [
459
650
  {
460
- "internalType": "uint256",
461
- "name": "",
462
- "type": "uint256"
651
+ "internalType": "address",
652
+ "name": "registryAddress",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "internalType": "NftId",
657
+ "name": "parentNftId",
658
+ "type": "uint96"
659
+ },
660
+ {
661
+ "internalType": "ObjectType",
662
+ "name": "objectType",
663
+ "type": "uint8"
664
+ },
665
+ {
666
+ "internalType": "bool",
667
+ "name": "isInterceptor",
668
+ "type": "bool"
669
+ },
670
+ {
671
+ "internalType": "address",
672
+ "name": "initialOwner",
673
+ "type": "address"
674
+ },
675
+ {
676
+ "internalType": "bytes",
677
+ "name": "registryData",
678
+ "type": "bytes"
463
679
  }
464
680
  ],
465
- "stateMutability": "view",
681
+ "name": "initializeRegisterable",
682
+ "outputs": [],
683
+ "stateMutability": "nonpayable",
466
684
  "type": "function"
467
685
  },
468
686
  {
469
687
  "inputs": [
470
688
  {
471
- "internalType": "Version",
472
- "name": "_version",
473
- "type": "uint24"
474
- }
475
- ],
476
- "name": "getVersionInfo",
477
- "outputs": [
478
- {
479
- "components": [
480
- {
481
- "internalType": "Version",
482
- "name": "version",
483
- "type": "uint24"
484
- },
485
- {
486
- "internalType": "address",
487
- "name": "implementation",
488
- "type": "address"
489
- },
490
- {
491
- "internalType": "address",
492
- "name": "activatedBy",
493
- "type": "address"
494
- },
495
- {
496
- "internalType": "Timestamp",
497
- "name": "activatedAt",
498
- "type": "uint40"
499
- },
500
- {
501
- "internalType": "Blocknumber",
502
- "name": "activatedIn",
503
- "type": "uint32"
504
- }
505
- ],
506
- "internalType": "struct IVersionable.VersionInfo",
507
- "name": "",
508
- "type": "tuple"
689
+ "internalType": "address",
690
+ "name": "registryAddress",
691
+ "type": "address"
509
692
  }
510
693
  ],
511
- "stateMutability": "view",
694
+ "name": "initializeRegistryLinked",
695
+ "outputs": [],
696
+ "stateMutability": "nonpayable",
512
697
  "type": "function"
513
698
  },
514
699
  {
515
700
  "inputs": [
516
701
  {
517
702
  "internalType": "address",
518
- "name": "implementation",
703
+ "name": "registry",
519
704
  "type": "address"
520
705
  },
521
706
  {
522
707
  "internalType": "address",
523
- "name": "activatedBy",
708
+ "name": "authority",
524
709
  "type": "address"
525
710
  },
526
711
  {
527
- "internalType": "bytes",
528
- "name": "data",
529
- "type": "bytes"
712
+ "internalType": "address",
713
+ "name": "initialOwner",
714
+ "type": "address"
530
715
  }
531
716
  ],
532
- "name": "initialize",
717
+ "name": "initializeService",
533
718
  "outputs": [],
534
719
  "stateMutability": "nonpayable",
535
720
  "type": "function"
@@ -537,17 +722,29 @@
537
722
  {
538
723
  "inputs": [
539
724
  {
540
- "internalType": "Version",
541
- "name": "_version",
542
- "type": "uint24"
725
+ "internalType": "address",
726
+ "name": "activatedBy",
727
+ "type": "address"
728
+ },
729
+ {
730
+ "internalType": "bytes",
731
+ "name": "data",
732
+ "type": "bytes"
543
733
  }
544
734
  ],
545
- "name": "isInitialized",
735
+ "name": "initializeVersionable",
736
+ "outputs": [],
737
+ "stateMutability": "nonpayable",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [],
742
+ "name": "isConsumingScheduledOp",
546
743
  "outputs": [
547
744
  {
548
- "internalType": "bool",
745
+ "internalType": "bytes4",
549
746
  "name": "",
550
- "type": "bool"
747
+ "type": "bytes4"
551
748
  }
552
749
  ],
553
750
  "stateMutability": "view",
@@ -556,6 +753,25 @@
556
753
  {
557
754
  "inputs": [],
558
755
  "name": "linkToRegisteredNftId",
756
+ "outputs": [
757
+ {
758
+ "internalType": "NftId",
759
+ "name": "nftId",
760
+ "type": "uint96"
761
+ }
762
+ ],
763
+ "stateMutability": "nonpayable",
764
+ "type": "function"
765
+ },
766
+ {
767
+ "inputs": [
768
+ {
769
+ "internalType": "bytes4",
770
+ "name": "interfaceId",
771
+ "type": "bytes4"
772
+ }
773
+ ],
774
+ "name": "registerInterface",
559
775
  "outputs": [],
560
776
  "stateMutability": "nonpayable",
561
777
  "type": "function"
@@ -564,12 +780,18 @@
564
780
  "inputs": [
565
781
  {
566
782
  "internalType": "address",
567
- "name": "accessManagerMaster",
783
+ "name": "instanceAddress",
568
784
  "type": "address"
569
785
  }
570
786
  ],
571
- "name": "setAccessManagerMaster",
572
- "outputs": [],
787
+ "name": "setAndRegisterMasterInstance",
788
+ "outputs": [
789
+ {
790
+ "internalType": "NftId",
791
+ "name": "masterInstanceNftId",
792
+ "type": "uint96"
793
+ }
794
+ ],
573
795
  "stateMutability": "nonpayable",
574
796
  "type": "function"
575
797
  },
@@ -577,11 +799,11 @@
577
799
  "inputs": [
578
800
  {
579
801
  "internalType": "address",
580
- "name": "instanceMaster",
802
+ "name": "newAuthority",
581
803
  "type": "address"
582
804
  }
583
805
  ],
584
- "name": "setInstanceMaster",
806
+ "name": "setAuthority",
585
807
  "outputs": [],
586
808
  "stateMutability": "nonpayable",
587
809
  "type": "function"
@@ -589,12 +811,12 @@
589
811
  {
590
812
  "inputs": [
591
813
  {
592
- "internalType": "address",
593
- "name": "instanceReaderMaster",
594
- "type": "address"
814
+ "internalType": "bool",
815
+ "name": "locked",
816
+ "type": "bool"
595
817
  }
596
818
  ],
597
- "name": "setInstanceReaderMaster",
819
+ "name": "setComponentLocked",
598
820
  "outputs": [],
599
821
  "stateMutability": "nonpayable",
600
822
  "type": "function"
@@ -621,205 +843,209 @@
621
843
  {
622
844
  "inputs": [
623
845
  {
624
- "internalType": "address",
625
- "name": "implementation",
626
- "type": "address"
627
- },
846
+ "internalType": "NftId",
847
+ "name": "instanceNftId",
848
+ "type": "uint96"
849
+ }
850
+ ],
851
+ "name": "upgradeInstanceReader",
852
+ "outputs": [],
853
+ "stateMutability": "nonpayable",
854
+ "type": "function"
855
+ },
856
+ {
857
+ "inputs": [
628
858
  {
629
859
  "internalType": "address",
630
- "name": "activatedBy",
860
+ "name": "instanceReaderAddress",
631
861
  "type": "address"
632
- },
862
+ }
863
+ ],
864
+ "name": "upgradeMasterInstanceReader",
865
+ "outputs": [],
866
+ "stateMutability": "nonpayable",
867
+ "type": "function"
868
+ },
869
+ {
870
+ "inputs": [
633
871
  {
634
872
  "internalType": "bytes",
635
873
  "name": "data",
636
874
  "type": "bytes"
637
875
  }
638
876
  ],
639
- "name": "upgrade",
877
+ "name": "upgradeVersionable",
640
878
  "outputs": [],
641
879
  "stateMutability": "nonpayable",
642
880
  "type": "function"
643
881
  }
644
882
  ],
645
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612ca0806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063b3c6501511610097578063cf7a1d7711610071578063cf7a1d771461052f578063d6277f9914610542578063de7b5d1414610555578063eeff428e1461055b57600080fd5b8063b3c65015146104e2578063b88da75914610502578063cde749f41461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a578063a3f4df7e146104a1578063a745e3df146104cf57600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc36600461244a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610573565b60405162ffffff90911681526020016101e7565b6102146105fd565b6040516101e79291906124cb565b61022a61077f565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190612572565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004612596565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612c4b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004612596565b6109a1565b61022a6104053660046125c8565b610a54565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a6104543660046125c8565b610ae1565b6102ac600081565b61026d610b74565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104dd36600461267a565b610c8d565b6104ea610de7565b6040516001600160401b0390911681526020016101e7565b6101f861051036600461271e565b610e08565b61051d610e59565b60405160ff90911681526020016101e7565b61022a61053d36600461267a565b610edc565b61022a6105503660046125c8565b610fe5565b3061026d565b610563611079565b6040516101e79493929190612737565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f8919061276b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106806001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8610b74565b6001600160a01b031681526020018260010180546106e590612788565b80601f016020809104026020016040519081016040528092919081815260200182805461071190612788565b801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080591906127d2565b1561084c576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108755760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e291906127d2565b61090a576040516372657a5160e01b81526001600160a01b0382166004820152602401610843565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610954573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109789190612804565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612c4b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d919061281f565b1192915050565b6005546001600160a01b031615610abf5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610843565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b525760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610843565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfd91906127d2565b15610c7d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190612843565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610caf610573565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d139190612875565b600080516020612c2b8339815191528054600160401b900460ff1680610d46575080546001600160401b03808416911610155b15610d645760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d8f858561174a565b610d98836119e9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105f8600080516020612c2b833981519152546001600160401b031690565b6000600080516020612c4b8339815191526001018281548110610e2d57610e2d612892565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000610e63610573565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f891906128c2565b600080516020612c2b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610f0f5750825b90506000826001600160401b03166001148015610f2b5750303b155b905081158015610f39575080155b15610f575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f8157845460ff60401b1916600160401b1785555b610f8b888861174a565b610f9587876119f1565b8315610fdb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b0316156110575760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610843565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa1580156110d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f49190612804565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611168573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118c919061276b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156111e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120591906128c2565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561126b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128f9190612843565b60045490915081906112a9906001600160a01b0316611b47565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b1580156112ed57600080fd5b505af1158015611301573d6000803e3d6000fd5b505060055461131b92506001600160a01b03169050611b47565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a7792611355928e9291169088903390600401612737565b600060405180830381600087803b15801561136f57600080fd5b505af1158015611383573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af11580156113d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113fa919081019061292c565b508051600654909950909150611418906001600160a01b0316611b47565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b15801561147057600080fd5b505af1158015611484573d6000803e3d6000fd5b505050506114928a8a611bb9565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b1580156114d557600080fd5b505af11580156114e9573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a0611504611fe2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561155d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115819190612875565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b1580156115d857600080fd5b505af11580156115ec573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611607611fe2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611660573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116849190612875565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156116cb57600080fd5b505af11580156116df573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61175261205a565b600080516020612c4b8339815191526000611782600080516020612c2b833981519152546001600160401b031690565b9050600061178e610573565b9050816001600160401b03166001036117bb5760028301805462ffffff191662ffffff8316179055611809565b600283015462ffffff908116908216116118095760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610843565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156118bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e19190612a24565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610dd89083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a961205a565b600080516020612c2b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611a245750825b90506000826001600160401b03166001148015611a405750303b155b905081158015611a4e575080155b15611a6c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a9657845460ff60401b1916600160401b1785555b600086806020019051810190611aac9190612a4b565b600380546001600160a01b039093166001600160a01b0319909316831790559150611ad79082612093565b611ae7631b4612f160e31b612120565b611af763777fa14760e11b612120565b508315611b3e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611bb4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611c2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c51919061276b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ca6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cca91906128c2565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611d34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d589190612843565b9050826001600160a01b03166325c471a0611d71612145565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611dca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dee9190612875565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b158015611e4557600080fd5b505af1158015611e59573d6000803e3d6000fd5b506000925060029150611e699050565b604051908082528060200260200182016040528015611e92578160200160208202803683370190505b509050630b24cf5f60e01b81600081518110611eb057611eb0612892565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b9082906001908110611ee757611ee7612892565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d8483611f19612145565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f969190612875565b6040518463ffffffff1660e01b8152600401611fb493929190612a85565b600060405180830381600087803b158015611fce57600080fd5b505af1158015610fdb573d6000803e3d6000fd5b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612036573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190612875565b600080516020612c2b83398151915254600160401b900460ff1661209157604051631afcd79f60e31b815260040160405180910390fd5b565b60006120c160408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6120c9610e59565b6040516020016120da929190612af7565b604051602081830303815290604052905060006120f684612181565b905060006121098583603c8488886121f2565b612119631b4612f160e31b612120565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612019565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156121c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ec9190612804565b92915050565b6122336301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61223d82876122be565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016122ad8382612b6b565b50611b3e6303fb044760e21b612120565b600280546001600160a01b0319166001600160a01b0384161790556122e2816122e6565b5050565b6001546001600160a01b03161561231f5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610843565b6001600160a01b0381166123465760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361237c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156123f6575060408051601f3d908101601f191682019092526123f3918101906127d2565b60015b61241e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b806122e25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610843565b50565b60006020828403121561245c57600080fd5b81356001600160e01b03198116811461247457600080fd5b9392505050565b60005b8381101561249657818101518382015260200161247e565b50506000910152565b600081518084526124b781602086016020860161247b565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161250f60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261255561012084018261249f565b90508281036020840152612569818561249f565b95945050505050565b602081526000612474602083018461249f565b62ffffff8116811461244757600080fd5b6000602082840312156125a857600080fd5b813561247481612585565b6001600160a01b038116811461244757600080fd5b6000602082840312156125da57600080fd5b8135612474816125b3565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561261d5761261d6125e5565b60405290565b604051601f8201601f191681016001600160401b038111828210171561264b5761264b6125e5565b604052919050565b60006001600160401b0382111561266c5761266c6125e5565b50601f01601f191660200190565b60008060006060848603121561268f57600080fd5b833561269a816125b3565b925060208401356126aa816125b3565b915060408401356001600160401b038111156126c557600080fd5b8401601f810186136126d657600080fd5b80356126e96126e482612653565b612623565b8181528760208385010111156126fe57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561273057600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b60006020828403121561277d57600080fd5b815161247481612585565b600181811c9082168061279c57607f821691505b6020821081036127bc57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611bb457600080fd5b6000602082840312156127e457600080fd5b612474826127c2565b80516001600160601b0381168114611bb457600080fd5b60006020828403121561281657600080fd5b612474826127ed565b60006020828403121561283157600080fd5b5051919050565b8051611bb4816125b3565b60006020828403121561285557600080fd5b8151612474816125b3565b6001600160401b038116811461244757600080fd5b60006020828403121561288757600080fd5b815161247481612860565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461244757600080fd5b8051611bb4816128a8565b6000602082840312156128d457600080fd5b8151612474816128a8565b600082601f8301126128f057600080fd5b81516128fe6126e482612653565b81815284602083860101111561291357600080fd5b61292482602083016020870161247b565b949350505050565b6000806040838503121561293f57600080fd5b82516001600160401b038082111561295657600080fd5b9084019060e0828703121561296a57600080fd5b6129726125fb565b61297b836127ed565b8152612989602084016127ed565b602082015261299a604084016128b7565b60408201526129ab606084016127c2565b60608201526129bc60808401612838565b60808201526129cd60a08401612838565b60a082015260c0830151828111156129e457600080fd5b6129f0888286016128df565b60c0830152506020860151909450915080821115612a0d57600080fd5b50612a1a858286016128df565b9150509250929050565b600060208284031215612a3657600080fd5b815164ffffffffff8116811461247457600080fd5b60008060408385031215612a5e57600080fd5b8251612a69816125b3565b6020840151909250612a7a816125b3565b809150509250929050565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b81811015612ad85784516001600160e01b03191683529383019391830191600101612ab2565b50508093505050506001600160401b0383166040830152949350505050565b604081526000612b0a604083018561249f565b905060ff831660208301529392505050565b601f821115612b6657600081815260208120601f850160051c81016020861015612b435750805b601f850160051c820191505b81811015612b6257828155600101612b4f565b5050505b505050565b81516001600160401b03811115612b8457612b846125e5565b612b9881612b928454612788565b84612b1c565b602080601f831160018114612bcd5760008415612bb55750858301515b600019600386901b1c1916600185901b178555612b62565b600085815260208120601f198616915b82811015612bfc57888601518255948401946001909101908401612bdd565b5085821015612c1a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f6ace2a2194db7cac0c1f9d8ea10f198ac24e996594f53dd27a64eb945e6a93f64736f6c63430008140033",
646
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063b3c6501511610097578063cf7a1d7711610071578063cf7a1d771461052f578063d6277f9914610542578063de7b5d1414610555578063eeff428e1461055b57600080fd5b8063b3c65015146104e2578063b88da75914610502578063cde749f41461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a578063a3f4df7e146104a1578063a745e3df146104cf57600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc36600461244a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610573565b60405162ffffff90911681526020016101e7565b6102146105fd565b6040516101e79291906124cb565b61022a61077f565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190612572565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004612596565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612c4b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004612596565b6109a1565b61022a6104053660046125c8565b610a54565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a6104543660046125c8565b610ae1565b6102ac600081565b61026d610b74565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104dd36600461267a565b610c8d565b6104ea610de7565b6040516001600160401b0390911681526020016101e7565b6101f861051036600461271e565b610e08565b61051d610e59565b60405160ff90911681526020016101e7565b61022a61053d36600461267a565b610edc565b61022a6105503660046125c8565b610fe5565b3061026d565b610563611079565b6040516101e79493929190612737565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f8919061276b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106806001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8610b74565b6001600160a01b031681526020018260010180546106e590612788565b80601f016020809104026020016040519081016040528092919081815260200182805461071190612788565b801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080591906127d2565b1561084c576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108755760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e291906127d2565b61090a576040516372657a5160e01b81526001600160a01b0382166004820152602401610843565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610954573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109789190612804565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612c4b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d919061281f565b1192915050565b6005546001600160a01b031615610abf5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610843565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b525760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610843565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfd91906127d2565b15610c7d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190612843565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610caf610573565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d139190612875565b600080516020612c2b8339815191528054600160401b900460ff1680610d46575080546001600160401b03808416911610155b15610d645760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d8f858561174a565b610d98836119e9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105f8600080516020612c2b833981519152546001600160401b031690565b6000600080516020612c4b8339815191526001018281548110610e2d57610e2d612892565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000610e63610573565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f891906128c2565b600080516020612c2b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610f0f5750825b90506000826001600160401b03166001148015610f2b5750303b155b905081158015610f39575080155b15610f575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f8157845460ff60401b1916600160401b1785555b610f8b888861174a565b610f9587876119f1565b8315610fdb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b0316156110575760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610843565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa1580156110d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f49190612804565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611168573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118c919061276b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156111e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120591906128c2565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561126b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128f9190612843565b60045490915081906112a9906001600160a01b0316611b47565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b1580156112ed57600080fd5b505af1158015611301573d6000803e3d6000fd5b505060055461131b92506001600160a01b03169050611b47565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a7792611355928e9291169088903390600401612737565b600060405180830381600087803b15801561136f57600080fd5b505af1158015611383573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af11580156113d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113fa919081019061292c565b508051600654909950909150611418906001600160a01b0316611b47565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b15801561147057600080fd5b505af1158015611484573d6000803e3d6000fd5b505050506114928a8a611bb9565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b1580156114d557600080fd5b505af11580156114e9573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a0611504611fe2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561155d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115819190612875565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b1580156115d857600080fd5b505af11580156115ec573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611607611fe2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611660573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116849190612875565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156116cb57600080fd5b505af11580156116df573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61175261205a565b600080516020612c4b8339815191526000611782600080516020612c2b833981519152546001600160401b031690565b9050600061178e610573565b9050816001600160401b03166001036117bb5760028301805462ffffff191662ffffff8316179055611809565b600283015462ffffff908116908216116118095760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610843565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156118bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e19190612a24565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610dd89083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a961205a565b600080516020612c2b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611a245750825b90506000826001600160401b03166001148015611a405750303b155b905081158015611a4e575080155b15611a6c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a9657845460ff60401b1916600160401b1785555b600086806020019051810190611aac9190612a4b565b600380546001600160a01b039093166001600160a01b0319909316831790559150611ad79082612093565b611ae7631b4612f160e31b612120565b611af763777fa14760e11b612120565b508315611b3e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611bb4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611c2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c51919061276b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ca6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cca91906128c2565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611d34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d589190612843565b9050826001600160a01b03166325c471a0611d71612145565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611dca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dee9190612875565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b158015611e4557600080fd5b505af1158015611e59573d6000803e3d6000fd5b506000925060029150611e699050565b604051908082528060200260200182016040528015611e92578160200160208202803683370190505b509050630b24cf5f60e01b81600081518110611eb057611eb0612892565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b9082906001908110611ee757611ee7612892565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d8483611f19612145565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f969190612875565b6040518463ffffffff1660e01b8152600401611fb493929190612a85565b600060405180830381600087803b158015611fce57600080fd5b505af1158015610fdb573d6000803e3d6000fd5b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612036573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190612875565b600080516020612c2b83398151915254600160401b900460ff1661209157604051631afcd79f60e31b815260040160405180910390fd5b565b60006120c160408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6120c9610e59565b6040516020016120da929190612af7565b604051602081830303815290604052905060006120f684612181565b905060006121098583603c8488886121f2565b612119631b4612f160e31b612120565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612019565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156121c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ec9190612804565b92915050565b6122336301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61223d82876122be565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016122ad8382612b6b565b50611b3e6303fb044760e21b612120565b600280546001600160a01b0319166001600160a01b0384161790556122e2816122e6565b5050565b6001546001600160a01b03161561231f5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610843565b6001600160a01b0381166123465760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361237c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156123f6575060408051601f3d908101601f191682019092526123f3918101906127d2565b60015b61241e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b806122e25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610843565b50565b60006020828403121561245c57600080fd5b81356001600160e01b03198116811461247457600080fd5b9392505050565b60005b8381101561249657818101518382015260200161247e565b50506000910152565b600081518084526124b781602086016020860161247b565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161250f60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261255561012084018261249f565b90508281036020840152612569818561249f565b95945050505050565b602081526000612474602083018461249f565b62ffffff8116811461244757600080fd5b6000602082840312156125a857600080fd5b813561247481612585565b6001600160a01b038116811461244757600080fd5b6000602082840312156125da57600080fd5b8135612474816125b3565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561261d5761261d6125e5565b60405290565b604051601f8201601f191681016001600160401b038111828210171561264b5761264b6125e5565b604052919050565b60006001600160401b0382111561266c5761266c6125e5565b50601f01601f191660200190565b60008060006060848603121561268f57600080fd5b833561269a816125b3565b925060208401356126aa816125b3565b915060408401356001600160401b038111156126c557600080fd5b8401601f810186136126d657600080fd5b80356126e96126e482612653565b612623565b8181528760208385010111156126fe57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561273057600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b60006020828403121561277d57600080fd5b815161247481612585565b600181811c9082168061279c57607f821691505b6020821081036127bc57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611bb457600080fd5b6000602082840312156127e457600080fd5b612474826127c2565b80516001600160601b0381168114611bb457600080fd5b60006020828403121561281657600080fd5b612474826127ed565b60006020828403121561283157600080fd5b5051919050565b8051611bb4816125b3565b60006020828403121561285557600080fd5b8151612474816125b3565b6001600160401b038116811461244757600080fd5b60006020828403121561288757600080fd5b815161247481612860565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461244757600080fd5b8051611bb4816128a8565b6000602082840312156128d457600080fd5b8151612474816128a8565b600082601f8301126128f057600080fd5b81516128fe6126e482612653565b81815284602083860101111561291357600080fd5b61292482602083016020870161247b565b949350505050565b6000806040838503121561293f57600080fd5b82516001600160401b038082111561295657600080fd5b9084019060e0828703121561296a57600080fd5b6129726125fb565b61297b836127ed565b8152612989602084016127ed565b602082015261299a604084016128b7565b60408201526129ab606084016127c2565b60608201526129bc60808401612838565b60808201526129cd60a08401612838565b60a082015260c0830151828111156129e457600080fd5b6129f0888286016128df565b60c0830152506020860151909450915080821115612a0d57600080fd5b50612a1a858286016128df565b9150509250929050565b600060208284031215612a3657600080fd5b815164ffffffffff8116811461247457600080fd5b60008060408385031215612a5e57600080fd5b8251612a69816125b3565b6020840151909250612a7a816125b3565b809150509250929050565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b81811015612ad85784516001600160e01b03191683529383019391830191600101612ab2565b50508093505050506001600160401b0383166040830152949350505050565b604081526000612b0a604083018561249f565b905060ff831660208301529392505050565b601f821115612b6657600081815260208120601f850160051c81016020861015612b435750805b601f850160051c820191505b81811015612b6257828155600101612b4f565b5050505b505050565b81516001600160401b03811115612b8457612b846125e5565b612b9881612b928454612788565b84612b1c565b602080601f831160018114612bcd5760008415612bb55750858301515b600019600386901b1c1916600185901b178555612b62565b600085815260208120601f198616915b82811015612bfc57888601518255948401946001909101908401612bdd565b5085821015612c1a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f6ace2a2194db7cac0c1f9d8ea10f198ac24e996594f53dd27a64eb945e6a93f64736f6c63430008140033",
883
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61424380620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80636c6fbb2811610104578063b03d2a8e116100a2578063dd38b49e11610071578063dd38b49e14610379578063edabac0314610435578063eeff428e14610446578063f7c34ee01461047557600080fd5b8063b03d2a8e146103f8578063b68d18091461040b578063bf7e214f1461041a578063c22f980d1461042257600080fd5b8063893d20e8116100de578063893d20e8146103a75780638e32e979146103af5780638fb36037146103c2578063ada9652e146103e357600080fd5b80636c6fbb28146103795780637a9e5e4b1461038c578063872309c71461039f57600080fd5b806327bb7a331161017c5780635ab1bd531161014b5780635ab1bd5314610310578063644c45e014610335578063675393bf146103535780636a778e731461036657600080fd5b806327bb7a33146102cf578063329d6e74146102e257806336fc697e146102f557806349bb9e4b146102fd57600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b2214610272578063214cdb80146102a7578063254f6866146102bc57600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed3660046135b9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610488565b60405162ffffff9091168152602001610218565b610245610512565b6040516102189190613624565b61025a6106d6565b6040516001600160601b039091168152602001610218565b6102997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102ba6102b53660046135b9565b6106e1565b005b6102ba6102ca3660046136c4565b61070e565b6102ba6102dd366004613806565b61088b565b6102ba6102f036600461389e565b610930565b6102ba610a7d565b6102ba61030b3660046138d2565b610ac3565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6000805160206141ae833981519152546001600160601b031661025a565b6102ba6103613660046136c4565b610bc2565b61025a6103743660046136c4565b610cd0565b6102ba610387366004613aaf565b611586565b6102ba61039a3660046136c4565b6115a6565b610299600081565b61031d611629565b6102ba6103bd366004613b73565b611760565b6103ca611999565b6040516001600160e01b03199091168152602001610218565b6102996000805160206141ae83398151915281565b6102ba610406366004613bbe565b6119d1565b60405160468152602001610218565b61031d611cd0565b6102ba610430366004613bdb565b611cec565b6007546001600160a01b031661031d565b61044e611f17565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b6102ba610483366004613bf8565b612923565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050d9190613c31565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea9190613c61565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610632611629565b6001600160a01b0316815260200182600101805461064f90613c7e565b80601f016020809104026020016040519081016040528092919081815260200182805461067b90613c7e565b80156106c85780601f1061069d576101008083540402835291602001916106c8565b820191906000526020600020905b8154815290600101906020018083116106ab57829003601f168201915b505050505081525091505090565b600061050d3061299a565b6106e9612b9b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610716611629565b6001600160a01b0316336001600160a01b03161461074e5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6007546001600160a01b0316610777576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661079e57604051631aa1808560e31b815260040160405180910390fd5b6007546001600160a01b03908116908216036107cd57604051630666e2a560e01b815260040160405180910390fd5b6006546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa15801561081d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108419190613cb8565b6001600160a01b0316146108685760405163f026367160e01b815260040160405180910390fd5b50600780546001600160a01b0319166001600160a01b0392909216919091179055565b610893612b9b565b61089d8287612923565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109268382613d1b565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610952610488565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610992573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b69190613dda565b6000805160206141ee8339815191528054600160401b900460ff16806109e9575080546001600160401b03808416911610155b15610a075760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a3183612bd4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a85612b9b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206141ee8339815191528054600160401b810460ff1615906001600160401b0316600081158015610af65750825b90506000826001600160401b03166001148015610b125750303b155b905081158015610b20575080155b15610b3e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b6857845460ff60401b1916600160401b1785555b610b728787612bdc565b8315610bb957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610bca612b9b565b806001600160a01b03163b600003610c005760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610745565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610c7a575060408051601f3d908101601f19168201909252610c7791810190613e02565b60015b610ca25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610745565b80610ccb5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610745565b505b50565b6000610cda611629565b6001600160a01b0316336001600160a01b031614610d0d5760405163086391f760e31b8152336004820152602401610745565b6006546001600160a01b031615610d3757604051632c237de760e11b815260040160405180910390fd5b6004546001600160a01b031615610d6157604051630157f74960e01b815260040160405180910390fd5b6005546001600160a01b031615610d8b5760405163ab0cc43960e01b815260040160405180910390fd5b6008546001600160a01b031615610db557604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610ddc576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e459190613cb8565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb09190613cb8565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ef7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1b9190613cb8565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f869190613cb8565b9050806001600160a01b038716610faf576040516295661560e31b815260040160405180910390fd5b6001600160a01b038516610fd65760405163e267254160e01b815260040160405180910390fd5b6001600160a01b038316610ffd57604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b038116611024576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611062573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110869190613cb8565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f19190613cb8565b6001600160a01b031614611118576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611156573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117a9190613cb8565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e59190613cb8565b6001600160a01b03161461120c576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561124a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126e9190613cb8565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d99190613cb8565b6001600160a01b03161461130057604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611348573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136c9190613cb8565b6001600160a01b03161461139357604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ff9190613cb8565b6001600160a01b031614611426576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611464573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114889190613cb8565b600480546001600160a01b03199081166001600160a01b03938416179091556005805482168a84161790556006805482168e8416908117909155600780548316898516179055600880548316878516179055600980549092168484161790915560025490916000911663026bc43b836114ff611629565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af115801561154c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115749190810190613e7a565b519d9c50505050505050505050505050565b61159233600036612d56565b61159f8585858486612e5c565b5050505050565b336115af611cd0565b6001600160a01b0316816001600160a01b0316146115ea5760405162d1953b60e31b81526001600160a01b0382166004820152602401610745565b816001600160a01b03163b600003611620576040516361798f2f60e11b81526001600160a01b0383166004820152602401610745565b610ccb82612fe5565b6000806000805160206141ae83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611699573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bd9190613e02565b1561174a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611720573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117449190613cb8565b91505090565b54600160601b90046001600160a01b0316919050565b611768612b9b565b6117e883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ce9190613c61565b603c6000856040518060200160405280600081525061088b565b6001600160a01b038216156118055761180082613046565b611974565b60006118196001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611879573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189d9190613f4c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156118e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119069190613cb8565b9050611972816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611949573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196d9190613cb8565b613046565b505b611984634a531f3360e01b6106e1565b61199463b68d180960e01b6106e1565b505050565b6000805160206141ce833981519152805460009190600160a01b900460ff166119c3576000611744565b638fb3603760e01b91505090565b6001546001600160a01b0316604051630bee2f1560e11b81523360048201526001600160a01b0391909116906317dc5e2a90602401602060405180830381865afa158015611a23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a479190613e02565b611a66576040516302613e9f60e51b8152336004820152602401610745565b6040516301ffc9a760e01b8152639a29895960e01b6004820152339081906301ffc9a790602401602060405180830381865afa158015611aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ace9190613e02565b611af5576040516236c14d60e71b81526001600160a01b0382166004820152602401610745565b6000611b096001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611b55573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b7d9190810190613e7a565b602001516040516305247a1760e51b81526001600160601b03821660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611bd4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bfc9190810190613e7a565b608001519050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c649190613cb8565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611cb157600080fd5b505af1158015611cc5573d6000803e3d6000fd5b505050505050505050565b6000805160206141ce833981519152546001600160a01b031690565b80611cff6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d729190613cb8565b6001600160a01b0316336001600160a01b031614611da5576040516302613e9f60e51b8152336004820152602401610745565b6000611db96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611e0c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e349190810190613e7a565b608081015160075491925090600090611e55906001600160a01b0316613057565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611e9c57600080fd5b505af1158015611eb0573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b158015611ef757600080fd5b505af1158015611f0b573d6000803e3d6000fd5b50505050505050505050565b600454600090819033908290611f35906001600160a01b0316613057565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b158015611f7957600080fd5b505af1158015611f8d573d6000803e3d6000fd5b5050600654611fa792506001600160a01b03169050613057565b9350836001600160a01b031663c0c53b8b82611fcb6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b15801561201c57600080fd5b505af1158015612030573d6000803e3d6000fd5b50506009546000925061204c91506001600160a01b0316613057565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561209357600080fd5b505af11580156120a7573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b1580156120ee57600080fd5b505af1158015612102573d6000803e3d6000fd5b50506007546000925061211e91506001600160a01b0316613057565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561216557600080fd5b505af1158015612179573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b1580156121c057600080fd5b505af11580156121d4573d6000803e3d6000fd5b5050600854600092506121f091506001600160a01b0316613057565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561223757600080fd5b505af115801561224b573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b15801561229157600080fd5b505af11580156122a5573d6000803e3d6000fd5b5050600554600092506122c191506001600160a01b0316613057565b9050846001600160a01b03166325c471a06122da6130c9565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612333573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123579190613dda565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b1580156123ae57600080fd5b505af11580156123c2573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b15801561240957600080fd5b505af115801561241d573d6000803e3d6000fd5b5050604051633b85588160e11b81526001600160a01b0384811660048301528b16925063770ab1029150602401600060405180830381600087803b15801561246457600080fd5b505af1158015612478573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__639659280286838b86898c6124ae6001546001600160a01b031690565b6124b6610488565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561250b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252f9190613f4c565b60405160e08a901b6001600160e01b03191681526001600160a01b0398891660048201529688166024880152948716604487015292861660648601529085166084850152841660a484015290921660c482015260ff90911660e48201526101040160006040518083038186803b1580156125a857600080fd5b505af41580156125bc573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f56125d76130c9565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612630573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126549190613dda565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b15801561269b57600080fd5b505af11580156126af573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af115801561270a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127329190810190613e7a565b905080600001519750600360009054906101000a90046001600160a01b03166001600160a01b03166381d9b45f8973__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af41580156127a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cd9190613f69565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283a9190613f90565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526044820152606401600060405180830381600087803b15801561288e57600080fd5b505af11580156128a2573d6000803e3d6000fd5b5050604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b038c1660c082015290517eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d93509081900360e0019150a1505050505050509091565b61292b612b9b565b61293481610bc2565b61293c610a7d565b6001600160a01b0382166129635760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206141ae83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000806000805160206141ae83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612a0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a2e9190613e02565b15612a5a5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610745565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad29190613e02565b612afa5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610745565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015612b4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b729190613c61565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000805160206141ee83398151915254600160401b900460ff16612bd257604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612b9b565b6000805160206141ee8339815191528054600160401b810460ff1615906001600160401b0316600081158015612c0f5750825b90506000826001600160401b03166001148015612c2b5750303b155b905081158015612c39575080155b15612c575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612c8157845460ff60401b1916600160401b1785555b60008087806020019051810190612c989190613fa9565b9250509150612ca882828b611760565b612cb76028613140565b613140565b600280546001600160a01b0319166001600160a01b0392909216919091179055612ce2612cb2602d90565b600380546001600160a01b0319166001600160a01b0392909216919091179055612d126377cab3db60e11b6106e1565b50508315610bb957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bb0565b6000805160206141ce833981519152600080612d91612d73611cd0565b8730612d83600460008a8c613feb565b612d8c91614015565b613253565b9150915081612e545763ffffffff811615612e3157825460ff60a01b1916600160a01b178355612dbf611cd0565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612dee93929190614045565b600060405180830381600087803b158015612e0857600080fd5b505af1158015612e1c573d6000803e3d6000fd5b5050845460ff60a01b1916855550612e549050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610745565b505050505050565b6000612e68868661335f565b5090506000816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ecf9190613cb8565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090612f009089908990600401614085565b600060405180830381600087803b158015612f1a57600080fd5b505af1158015612f2e573d6000803e3d6000fd5b5050505060005b845181101561092657816001600160a01b0316638462319887868481518110612f6057612f606140a9565b6020026020010151888581518110612f7a57612f7a6140a9565b60200260200101516040518463ffffffff1660e01b8152600401612fa0939291906140bf565b600060405180830381600087803b158015612fba57600080fd5b505af1158015612fce573d6000803e3d6000fd5b505050508080612fdd90614132565b915050612f35565b6000805160206141ce83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61304e612b9b565b610ccd81613502565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166130c4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af415801561311c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050d9190613dda565b60006131546001546001600160a01b031690565b6001600160a01b031663d39e60438361316b610488565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156131c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131e49190613f4c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061324d9190613cb8565b92915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516132c29190614159565b600060405180830381855afa9150503d80600081146132fd576040519150601f19603f3d011682016040523d82523d6000602084013e613302565b606091505b50915091508115613354576040815110613334578080602001905181019061332a9190614175565b9094509250613354565b602081511061335457808060200190518101906133519190613e02565b93505b505094509492505050565b60008060006133766001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156133c9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133f19190810190613e7a565b905061340f8160400151613403604690565b60ff9081169116141590565b156134385760405163e3c2794960e01b81526001600160601b0387166004820152602401610745565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa158015613482573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134aa9190810190613e7a565b90506134ba816020015188613513565b156134ee57805160405163a811346560e01b81526001600160601b03808a1660048301529091166024820152604401610745565b608090910151905190969095509350505050565b61350a612b9b565b610ccd81612fe5565b6040516399009c5160e01b81526001600160601b0380841660048301528216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015613576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061359a9190613e02565b9392505050565b80356001600160e01b0319811681146130c457600080fd5b6000602082840312156135cb57600080fd5b61359a826135a1565b60005b838110156135ef5781810151838201526020016135d7565b50506000910152565b600081518084526136108160208601602086016135d4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161368d60c08401826001600160a01b03169052565b5060c083015160e0808401526136a76101008401826135f8565b949350505050565b6001600160a01b0381168114610ccd57600080fd5b6000602082840312156136d657600080fd5b813561359a816136af565b6001600160601b0381168114610ccd57600080fd5b60ff81168114610ccd57600080fd5b8015158114610ccd57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561374b5761374b613713565b60405290565b604051601f8201601f191681016001600160401b038111828210171561377957613779613713565b604052919050565b60006001600160401b0382111561379a5761379a613713565b50601f01601f191660200190565b60006137bb6137b684613781565b613751565b90508281528383830111156137cf57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126137f757600080fd5b61359a838335602085016137a8565b60008060008060008060c0878903121561381f57600080fd5b863561382a816136af565b9550602087013561383a816136e1565b9450604087013561384a816136f6565b9350606087013561385a81613705565b9250608087013561386a816136af565b915060a08701356001600160401b0381111561388557600080fd5b61389189828a016137e6565b9150509295509295509295565b6000602082840312156138b057600080fd5b81356001600160401b038111156138c657600080fd5b6136a7848285016137e6565b600080604083850312156138e557600080fd5b82356138f0816136af565b915060208301356001600160401b0381111561390b57600080fd5b613917858286016137e6565b9150509250929050565b60006001600160401b0382111561393a5761393a613713565b5060051b60200190565b600082601f83011261395557600080fd5b813560206139656137b683613921565b828152600592831b850182019282820191908785111561398457600080fd5b8387015b85811015613a1e5780356001600160401b038111156139a75760008081fd5b8801603f81018a136139b95760008081fd5b8581013560406139cb6137b683613921565b82815291851b8301810191888101908d8411156139e85760008081fd5b938201935b83851015613a0d576139fe856135a1565b825293890193908901906139ed565b885250505093850193508401613988565b5090979650505050505050565b6001600160401b0381168114610ccd57600080fd5b600082601f830112613a5157600080fd5b81356020613a616137b683613921565b82815260059290921b84018101918181019086841115613a8057600080fd5b8286015b84811015613aa4578035613a9781613a2b565b8352918301918301613a84565b509695505050505050565b600080600080600060a08688031215613ac757600080fd5b8535613ad2816136e1565b94506020860135613ae2816136af565b935060408601356001600160401b0380821115613afe57600080fd5b818801915088601f830112613b1257600080fd5b613b21898335602085016137a8565b94506060880135915080821115613b3757600080fd5b613b4389838a01613944565b93506080880135915080821115613b5957600080fd5b50613b6688828901613a40565b9150509295509295909350565b600080600060608486031215613b8857600080fd5b8335613b93816136af565b92506020840135613ba3816136af565b91506040840135613bb3816136af565b809150509250925092565b600060208284031215613bd057600080fd5b813561359a81613705565b600060208284031215613bed57600080fd5b813561359a816136e1565b60008060408385031215613c0b57600080fd5b8235613c16816136af565b91506020830135613c26816136af565b809150509250929050565b600060208284031215613c4357600080fd5b815162ffffff8116811461359a57600080fd5b80516130c4816136e1565b600060208284031215613c7357600080fd5b815161359a816136e1565b600181811c90821680613c9257607f821691505b602082108103613cb257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215613cca57600080fd5b815161359a816136af565b601f82111561199457600081815260208120601f850160051c81016020861015613cfc5750805b601f850160051c820191505b81811015612e5457828155600101613d08565b81516001600160401b03811115613d3457613d34613713565b613d4881613d428454613c7e565b84613cd5565b602080601f831160018114613d7d5760008415613d655750858301515b600019600386901b1c1916600185901b178555612e54565b600085815260208120601f198616915b82811015613dac57888601518255948401946001909101908401613d8d565b5085821015613dca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613dec57600080fd5b815161359a81613a2b565b80516130c481613705565b600060208284031215613e1457600080fd5b815161359a81613705565b80516130c4816136af565b80516130c4816136f6565b600082601f830112613e4657600080fd5b8151613e546137b682613781565b818152846020838601011115613e6957600080fd5b6136a78260208301602087016135d4565b600060208284031215613e8c57600080fd5b81516001600160401b0380821115613ea357600080fd5b9083019060e08286031215613eb757600080fd5b613ebf613729565b613ec883613c56565b8152613ed660208401613c56565b6020820152613ee760408401613e2a565b6040820152613ef860608401613df7565b6060820152613f0960808401613e1f565b6080820152613f1a60a08401613e1f565b60a082015260c083015182811115613f3157600080fd5b613f3d87828601613e35565b60c08301525095945050505050565b600060208284031215613f5e57600080fd5b815161359a816136f6565b600060208284031215613f7b57600080fd5b815164ffffffffff8116811461359a57600080fd5b600060208284031215613fa257600080fd5b5051919050565b600080600060608486031215613fbe57600080fd5b8351613fc9816136af565b6020850151909350613fda816136af565b6040850151909250613bb3816136af565b60008085851115613ffb57600080fd5b8386111561400857600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561403d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6001600160a01b03831681526040602082018190526000906136a7908301846135f8565b634e487b7160e01b600052603260045260246000fd5b6060815260006140d260608301866135f8565b82810360208481019190915285518083528682019282019060005b818110156141135784516001600160e01b031916835293830193918301916001016140ed565b50508093505050506001600160401b0383166040830152949350505050565b60006001820161415257634e487b7160e01b600052601160045260246000fd5b5060010190565b6000825161416b8184602087016135d4565b9190910192915050565b6000806040838503121561418857600080fd5b825161419381613705565b602084015190925063ffffffff81168114613c2657600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122084eef85e03f7088d584fec239254d7ab9dcffd5cff3b1a720f41ebc37ba1195b64736f6c63430008140033",
884
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c80636c6fbb2811610104578063b03d2a8e116100a2578063dd38b49e11610071578063dd38b49e14610379578063edabac0314610435578063eeff428e14610446578063f7c34ee01461047557600080fd5b8063b03d2a8e146103f8578063b68d18091461040b578063bf7e214f1461041a578063c22f980d1461042257600080fd5b8063893d20e8116100de578063893d20e8146103a75780638e32e979146103af5780638fb36037146103c2578063ada9652e146103e357600080fd5b80636c6fbb28146103795780637a9e5e4b1461038c578063872309c71461039f57600080fd5b806327bb7a331161017c5780635ab1bd531161014b5780635ab1bd5314610310578063644c45e014610335578063675393bf146103535780636a778e731461036657600080fd5b806327bb7a33146102cf578063329d6e74146102e257806336fc697e146102f557806349bb9e4b146102fd57600080fd5b8063138461e0116101b8578063138461e0146102525780631eff4b2214610272578063214cdb80146102a7578063254f6866146102bc57600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed3660046135b9565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610488565b60405162ffffff9091168152602001610218565b610245610512565b6040516102189190613624565b61025a6106d6565b6040516001600160601b039091168152602001610218565b6102997f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6102ba6102b53660046135b9565b6106e1565b005b6102ba6102ca3660046136c4565b61070e565b6102ba6102dd366004613806565b61088b565b6102ba6102f036600461389e565b610930565b6102ba610a7d565b6102ba61030b3660046138d2565b610ac3565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6000805160206141ae833981519152546001600160601b031661025a565b6102ba6103613660046136c4565b610bc2565b61025a6103743660046136c4565b610cd0565b6102ba610387366004613aaf565b611586565b6102ba61039a3660046136c4565b6115a6565b610299600081565b61031d611629565b6102ba6103bd366004613b73565b611760565b6103ca611999565b6040516001600160e01b03199091168152602001610218565b6102996000805160206141ae83398151915281565b6102ba610406366004613bbe565b6119d1565b60405160468152602001610218565b61031d611cd0565b6102ba610430366004613bdb565b611cec565b6007546001600160a01b031661031d565b61044e611f17565b604080516001600160a01b0390931683526001600160601b03909116602083015201610218565b6102ba610483366004613bf8565b612923565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156104e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050d9190613c31565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915260007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea9190613c61565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610632611629565b6001600160a01b0316815260200182600101805461064f90613c7e565b80601f016020809104026020016040519081016040528092919081815260200182805461067b90613c7e565b80156106c85780601f1061069d576101008083540402835291602001916106c8565b820191906000526020600020905b8154815290600101906020018083116106ab57829003601f168201915b505050505081525091505090565b600061050d3061299a565b6106e9612b9b565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610716611629565b6001600160a01b0316336001600160a01b03161461074e5760405163086391f760e31b81523360048201526024015b60405180910390fd5b6007546001600160a01b0316610777576040516358e5a4af60e01b815260040160405180910390fd5b6001600160a01b03811661079e57604051631aa1808560e31b815260040160405180910390fd5b6007546001600160a01b03908116908216036107cd57604051630666e2a560e01b815260040160405180910390fd5b6006546040805163379ed74560e21b8152905183926001600160a01b03908116929084169163de7b5d14916004808201926020929091908290030181865afa15801561081d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108419190613cb8565b6001600160a01b0316146108685760405163f026367160e01b815260040160405180910390fd5b50600780546001600160a01b0319166001600160a01b0392909216919091179055565b610893612b9b565b61089d8287612923565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3016109268382613d1b565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c610952610488565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610992573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109b69190613dda565b6000805160206141ee8339815191528054600160401b900460ff16806109e9575080546001600160401b03808416911610155b15610a075760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a3183612bd4565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610a85612b9b565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000805160206141ee8339815191528054600160401b810460ff1615906001600160401b0316600081158015610af65750825b90506000826001600160401b03166001148015610b125750303b155b905081158015610b20575080155b15610b3e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610b6857845460ff60401b1916600160401b1785555b610b728787612bdc565b8315610bb957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b610bca612b9b565b806001600160a01b03163b600003610c005760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610745565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e607072160e01b60048201526301ffc9a790602401602060405180830381865afa925050508015610c7a575060408051601f3d908101601f19168201909252610c7791810190613e02565b60015b610ca25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610745565b80610ccb5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610745565b505b50565b6000610cda611629565b6001600160a01b0316336001600160a01b031614610d0d5760405163086391f760e31b8152336004820152602401610745565b6006546001600160a01b031615610d3757604051632c237de760e11b815260040160405180910390fd5b6004546001600160a01b031615610d6157604051630157f74960e01b815260040160405180910390fd5b6005546001600160a01b031615610d8b5760405163ab0cc43960e01b815260040160405180910390fd5b6008546001600160a01b031615610db557604051637f405a2960e01b815260040160405180910390fd5b6001600160a01b038216610ddc576040516309353e4560e11b815260040160405180910390fd5b60008290506000816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e459190613cb8565b905060008190506000836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb09190613cb8565b905060008190506000856001600160a01b03166361f5f4206040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ef7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1b9190613cb8565b905060008190506000876001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f869190613cb8565b9050806001600160a01b038716610faf576040516295661560e31b815260040160405180910390fd5b6001600160a01b038516610fd65760405163e267254160e01b815260040160405180910390fd5b6001600160a01b038316610ffd57604051630ddeaef560e11b815260040160405180910390fd5b6001600160a01b038116611024576040516301fa2a2b60e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611062573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110869190613cb8565b6001600160a01b0316896001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f19190613cb8565b6001600160a01b031614611118576040516334ddf1a760e21b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611156573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061117a9190613cb8565b6001600160a01b0316846001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156111c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e59190613cb8565b6001600160a01b03161461120c576040516326c89a4160e01b815260040160405180910390fd5b876001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561124a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126e9190613cb8565b6001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112d99190613cb8565b6001600160a01b03161461130057604051631129422760e31b815260040160405180910390fd5b886001600160a01b0316846001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611348573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136c9190613cb8565b6001600160a01b03161461139357604051631b25e96d60e31b815260040160405180910390fd5b886001600160a01b0316866001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ff9190613cb8565b6001600160a01b031614611426576040516331783c7160e11b815260040160405180910390fd5b886001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611464573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114889190613cb8565b600480546001600160a01b03199081166001600160a01b03938416179091556005805482168a84161790556006805482168e8416908117909155600780548316898516179055600880548316878516179055600980549092168484161790915560025490916000911663026bc43b836114ff611629565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016000604051808303816000875af115801561154c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115749190810190613e7a565b519d9c50505050505050505050505050565b61159233600036612d56565b61159f8585858486612e5c565b5050505050565b336115af611cd0565b6001600160a01b0316816001600160a01b0316146115ea5760405162d1953b60e31b81526001600160a01b0382166004820152602401610745565b816001600160a01b03163b600003611620576040516361798f2f60e11b81526001600160a01b0383166004820152602401610745565b610ccb82612fe5565b6000806000805160206141ae83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611699573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116bd9190613e02565b1561174a576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611720573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117449190613cb8565b91505090565b54600160601b90046001600160a01b0316919050565b611768612b9b565b6117e883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156117aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ce9190613c61565b603c6000856040518060200160405280600081525061088b565b6001600160a01b038216156118055761180082613046565b611974565b60006118196001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611879573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189d9190613f4c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156118e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119069190613cb8565b9050611972816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611949573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196d9190613cb8565b613046565b505b611984634a531f3360e01b6106e1565b61199463b68d180960e01b6106e1565b505050565b6000805160206141ce833981519152805460009190600160a01b900460ff166119c3576000611744565b638fb3603760e01b91505090565b6001546001600160a01b0316604051630bee2f1560e11b81523360048201526001600160a01b0391909116906317dc5e2a90602401602060405180830381865afa158015611a23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a479190613e02565b611a66576040516302613e9f60e51b8152336004820152602401610745565b6040516301ffc9a760e01b8152639a29895960e01b6004820152339081906301ffc9a790602401602060405180830381865afa158015611aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ace9190613e02565b611af5576040516236c14d60e71b81526001600160a01b0382166004820152602401610745565b6000611b096001546001600160a01b031690565b6040516308b09a5f60e41b81526001600160a01b038481166004830152919250600091831690638b09a5f090602401600060405180830381865afa158015611b55573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b7d9190810190613e7a565b602001516040516305247a1760e51b81526001600160601b03821660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015611bd4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611bfc9190810190613e7a565b608001519050806001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c649190613cb8565b6040516313bfaf6360e31b81526001600160a01b03868116600483015287151560248301529190911690639dfd7b1890604401600060405180830381600087803b158015611cb157600080fd5b505af1158015611cc5573d6000803e3d6000fd5b505050505050505050565b6000805160206141ce833981519152546001600160a01b031690565b80611cff6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03831660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d729190613cb8565b6001600160a01b0316336001600160a01b031614611da5576040516302613e9f60e51b8152336004820152602401610745565b6000611db96001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015611e0c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e349190810190613e7a565b608081015160075491925090600090611e55906001600160a01b0316613057565b60405163189acdbd60e31b81526001600160a01b0384811660048301529192509082169063c4d66de890602401600060405180830381600087803b158015611e9c57600080fd5b505af1158015611eb0573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528516925063f7bc431c9150602401600060405180830381600087803b158015611ef757600080fd5b505af1158015611f0b573d6000803e3d6000fd5b50505050505050505050565b600454600090819033908290611f35906001600160a01b0316613057565b60405163189acdbd60e31b81523060048201529091506001600160a01b0382169063c4d66de890602401600060405180830381600087803b158015611f7957600080fd5b505af1158015611f8d573d6000803e3d6000fd5b5050600654611fa792506001600160a01b03169050613057565b9350836001600160a01b031663c0c53b8b82611fcb6001546001600160a01b031690565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015290821660248201529085166044820152606401600060405180830381600087803b15801561201c57600080fd5b505af1158015612030573d6000803e3d6000fd5b50506009546000925061204c91506001600160a01b0316613057565b60405163189acdbd60e31b81526001600160a01b0387811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561209357600080fd5b505af11580156120a7573d6000803e3d6000fd5b505060405163048935d560e31b81526001600160a01b03848116600483015288169250632449aea89150602401600060405180830381600087803b1580156120ee57600080fd5b505af1158015612102573d6000803e3d6000fd5b50506007546000925061211e91506001600160a01b0316613057565b60405163189acdbd60e31b81526001600160a01b0388811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561216557600080fd5b505af1158015612179573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b0384811660048301528916925063f7bc431c9150602401600060405180830381600087803b1580156121c057600080fd5b505af11580156121d4573d6000803e3d6000fd5b5050600854600092506121f091506001600160a01b0316613057565b60405163189acdbd60e31b81526001600160a01b0389811660048301529192509082169063c4d66de890602401600060405180830381600087803b15801561223757600080fd5b505af115801561224b573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b0384811660048301528a16925063422c9d009150602401600060405180830381600087803b15801561229157600080fd5b505af11580156122a5573d6000803e3d6000fd5b5050600554600092506122c191506001600160a01b0316613057565b9050846001600160a01b03166325c471a06122da6130c9565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612333573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123579190613dda565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b1580156123ae57600080fd5b505af11580156123c2573d6000803e3d6000fd5b505060405163189acdbd60e31b81526001600160a01b038b811660048301528416925063c4d66de89150602401600060405180830381600087803b15801561240957600080fd5b505af115801561241d573d6000803e3d6000fd5b5050604051633b85588160e11b81526001600160a01b0384811660048301528b16925063770ab1029150602401600060405180830381600087803b15801561246457600080fd5b505af1158015612478573d6000803e3d6000fd5b5050505073__$2a34b1f180a6bf22a62a9bc53ba8adfaf5$__639659280286838b86898c6124ae6001546001600160a01b031690565b6124b6610488565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801561250b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252f9190613f4c565b60405160e08a901b6001600160e01b03191681526001600160a01b0398891660048201529688166024880152948716604487015292861660648601529085166084850152841660a484015290921660c482015260ff90911660e48201526101040160006040518083038186803b1580156125a857600080fd5b505af41580156125bc573d6000803e3d6000fd5b50505050846001600160a01b031663fe0776f56125d76130c9565b604051631517388760e21b81526001600160401b03909116600482015273__$1d92393fa9ccd763988368ce8a1cb90d26$__9063545ce21c90602401602060405180830381865af4158015612630573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126549190613dda565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b15801561269b57600080fd5b505af11580156126af573d6000803e3d6000fd5b505060025460405163026bc43b60e01b81526001600160a01b038c811660048301528a8116602483015260009450909116915063026bc43b906044016000604051808303816000875af115801561270a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526127329190810190613e7a565b905080600001519750600360009054906101000a90046001600160a01b03166001600160a01b03166381d9b45f8973__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63c6edc3dd6040518163ffffffff1660e01b8152600401602060405180830381865af41580156127a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127cd9190613f69565b73__$fb6c7635e3c1acf7e7d82c7d43e7a24671$__63f87bf3736040518163ffffffff1660e01b8152600401602060405180830381865af4158015612816573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283a9190613f90565b6040516001600160e01b031960e086901b1681526001600160601b03909316600484015264ffffffffff90911660248301526044820152606401600060405180830381600087803b15801561288e57600080fd5b505af11580156128a2573d6000803e3d6000fd5b5050604080516001600160a01b038a8116825286811660208301528d81168284015289811660608301528781166080830152881660a08201526001600160601b038c1660c082015290517eccc9e339dab7298ad32b43864beb3b1c0cf136971be26f1e67d90bf43ebd3d93509081900360e0019150a1505050505050509091565b61292b612b9b565b61293481610bc2565b61293c610a7d565b6001600160a01b0382166129635760405163f17ef42d60e01b815260040160405180910390fd5b506000805160206141ae83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000806000805160206141ae83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015612a0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a2e9190613e02565b15612a5a5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610745565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015612aae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ad29190613e02565b612afa5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610745565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015612b4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b729190613c61565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b6000805160206141ee83398151915254600160401b900460ff16612bd257604051631afcd79f60e31b815260040160405180910390fd5b565b6101da612b9b565b6000805160206141ee8339815191528054600160401b810460ff1615906001600160401b0316600081158015612c0f5750825b90506000826001600160401b03166001148015612c2b5750303b155b905081158015612c39575080155b15612c575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315612c8157845460ff60401b1916600160401b1785555b60008087806020019051810190612c989190613fa9565b9250509150612ca882828b611760565b612cb76028613140565b613140565b600280546001600160a01b0319166001600160a01b0392909216919091179055612ce2612cb2602d90565b600380546001600160a01b0319166001600160a01b0392909216919091179055612d126377cab3db60e11b6106e1565b50508315610bb957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610bb0565b6000805160206141ce833981519152600080612d91612d73611cd0565b8730612d83600460008a8c613feb565b612d8c91614015565b613253565b9150915081612e545763ffffffff811615612e3157825460ff60a01b1916600160a01b178355612dbf611cd0565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612dee93929190614045565b600060405180830381600087803b158015612e0857600080fd5b505af1158015612e1c573d6000803e3d6000fd5b5050845460ff60a01b1916855550612e549050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610745565b505050505050565b6000612e68868661335f565b5090506000816001600160a01b031663311adb686040518163ffffffff1660e01b8152600401602060405180830381865afa158015612eab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ecf9190613cb8565b60405163044ec4c360e41b81529091506001600160a01b038216906344ec4c3090612f009089908990600401614085565b600060405180830381600087803b158015612f1a57600080fd5b505af1158015612f2e573d6000803e3d6000fd5b5050505060005b845181101561092657816001600160a01b0316638462319887868481518110612f6057612f606140a9565b6020026020010151888581518110612f7a57612f7a6140a9565b60200260200101516040518463ffffffff1660e01b8152600401612fa0939291906140bf565b600060405180830381600087803b158015612fba57600080fd5b505af1158015612fce573d6000803e3d6000fd5b505050508080612fdd90614132565b915050612f35565b6000805160206141ce83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61304e612b9b565b610ccd81613502565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166130c4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b6040516368aebf7b60e01b81526000600482018190529073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af415801561311c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050d9190613dda565b60006131546001546001600160a01b031690565b6001600160a01b031663d39e60438361316b610488565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af41580156131c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131e49190613f4c565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015613229573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061324d9190613cb8565b92915050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516132c29190614159565b600060405180830381855afa9150503d80600081146132fd576040519150601f19603f3d011682016040523d82523d6000602084013e613302565b606091505b50915091508115613354576040815110613334578080602001905181019061332a9190614175565b9094509250613354565b602081511061335457808060200190518101906133519190613e02565b93505b505094509492505050565b60008060006133766001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03871660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa1580156133c9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526133f19190810190613e7a565b905061340f8160400151613403604690565b60ff9081169116141590565b156134385760405163e3c2794960e01b81526001600160601b0387166004820152602401610745565b6040516308b09a5f60e41b81526001600160a01b03868116600483015260009190841690638b09a5f090602401600060405180830381865afa158015613482573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526134aa9190810190613e7a565b90506134ba816020015188613513565b156134ee57805160405163a811346560e01b81526001600160601b03808a1660048301529091166024820152604401610745565b608090910151905190969095509350505050565b61350a612b9b565b610ccd81612fe5565b6040516399009c5160e01b81526001600160601b0380841660048301528216602482015260009073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401602060405180830381865af4158015613576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061359a9190613e02565b9392505050565b80356001600160e01b0319811681146130c457600080fd5b6000602082840312156135cb57600080fd5b61359a826135a1565b60005b838110156135ef5781810151838201526020016135d7565b50506000910152565b600081518084526136108160208601602086016135d4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161368d60c08401826001600160a01b03169052565b5060c083015160e0808401526136a76101008401826135f8565b949350505050565b6001600160a01b0381168114610ccd57600080fd5b6000602082840312156136d657600080fd5b813561359a816136af565b6001600160601b0381168114610ccd57600080fd5b60ff81168114610ccd57600080fd5b8015158114610ccd57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561374b5761374b613713565b60405290565b604051601f8201601f191681016001600160401b038111828210171561377957613779613713565b604052919050565b60006001600160401b0382111561379a5761379a613713565b50601f01601f191660200190565b60006137bb6137b684613781565b613751565b90508281528383830111156137cf57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126137f757600080fd5b61359a838335602085016137a8565b60008060008060008060c0878903121561381f57600080fd5b863561382a816136af565b9550602087013561383a816136e1565b9450604087013561384a816136f6565b9350606087013561385a81613705565b9250608087013561386a816136af565b915060a08701356001600160401b0381111561388557600080fd5b61389189828a016137e6565b9150509295509295509295565b6000602082840312156138b057600080fd5b81356001600160401b038111156138c657600080fd5b6136a7848285016137e6565b600080604083850312156138e557600080fd5b82356138f0816136af565b915060208301356001600160401b0381111561390b57600080fd5b613917858286016137e6565b9150509250929050565b60006001600160401b0382111561393a5761393a613713565b5060051b60200190565b600082601f83011261395557600080fd5b813560206139656137b683613921565b828152600592831b850182019282820191908785111561398457600080fd5b8387015b85811015613a1e5780356001600160401b038111156139a75760008081fd5b8801603f81018a136139b95760008081fd5b8581013560406139cb6137b683613921565b82815291851b8301810191888101908d8411156139e85760008081fd5b938201935b83851015613a0d576139fe856135a1565b825293890193908901906139ed565b885250505093850193508401613988565b5090979650505050505050565b6001600160401b0381168114610ccd57600080fd5b600082601f830112613a5157600080fd5b81356020613a616137b683613921565b82815260059290921b84018101918181019086841115613a8057600080fd5b8286015b84811015613aa4578035613a9781613a2b565b8352918301918301613a84565b509695505050505050565b600080600080600060a08688031215613ac757600080fd5b8535613ad2816136e1565b94506020860135613ae2816136af565b935060408601356001600160401b0380821115613afe57600080fd5b818801915088601f830112613b1257600080fd5b613b21898335602085016137a8565b94506060880135915080821115613b3757600080fd5b613b4389838a01613944565b93506080880135915080821115613b5957600080fd5b50613b6688828901613a40565b9150509295509295909350565b600080600060608486031215613b8857600080fd5b8335613b93816136af565b92506020840135613ba3816136af565b91506040840135613bb3816136af565b809150509250925092565b600060208284031215613bd057600080fd5b813561359a81613705565b600060208284031215613bed57600080fd5b813561359a816136e1565b60008060408385031215613c0b57600080fd5b8235613c16816136af565b91506020830135613c26816136af565b809150509250929050565b600060208284031215613c4357600080fd5b815162ffffff8116811461359a57600080fd5b80516130c4816136e1565b600060208284031215613c7357600080fd5b815161359a816136e1565b600181811c90821680613c9257607f821691505b602082108103613cb257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215613cca57600080fd5b815161359a816136af565b601f82111561199457600081815260208120601f850160051c81016020861015613cfc5750805b601f850160051c820191505b81811015612e5457828155600101613d08565b81516001600160401b03811115613d3457613d34613713565b613d4881613d428454613c7e565b84613cd5565b602080601f831160018114613d7d5760008415613d655750858301515b600019600386901b1c1916600185901b178555612e54565b600085815260208120601f198616915b82811015613dac57888601518255948401946001909101908401613d8d565b5085821015613dca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613dec57600080fd5b815161359a81613a2b565b80516130c481613705565b600060208284031215613e1457600080fd5b815161359a81613705565b80516130c4816136af565b80516130c4816136f6565b600082601f830112613e4657600080fd5b8151613e546137b682613781565b818152846020838601011115613e6957600080fd5b6136a78260208301602087016135d4565b600060208284031215613e8c57600080fd5b81516001600160401b0380821115613ea357600080fd5b9083019060e08286031215613eb757600080fd5b613ebf613729565b613ec883613c56565b8152613ed660208401613c56565b6020820152613ee760408401613e2a565b6040820152613ef860608401613df7565b6060820152613f0960808401613e1f565b6080820152613f1a60a08401613e1f565b60a082015260c083015182811115613f3157600080fd5b613f3d87828601613e35565b60c08301525095945050505050565b600060208284031215613f5e57600080fd5b815161359a816136f6565b600060208284031215613f7b57600080fd5b815164ffffffffff8116811461359a57600080fd5b600060208284031215613fa257600080fd5b5051919050565b600080600060608486031215613fbe57600080fd5b8351613fc9816136af565b6020850151909350613fda816136af565b6040850151909250613bb3816136af565b60008085851115613ffb57600080fd5b8386111561400857600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561403d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6001600160a01b03831681526040602082018190526000906136a7908301846135f8565b634e487b7160e01b600052603260045260246000fd5b6060815260006140d260608301866135f8565b82810360208481019190915285518083528682019282019060005b818110156141135784516001600160e01b031916835293830193918301916001016140ed565b50508093505050506001600160401b0383166040830152949350505050565b60006001820161415257634e487b7160e01b600052601160045260246000fd5b5060010190565b6000825161416b8184602087016135d4565b9190910192915050565b6000806040838503121561418857600080fd5b825161419381613705565b602084015190925063ffffffff81168114613c2657600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122084eef85e03f7088d584fec239254d7ab9dcffd5cff3b1a720f41ebc37ba1195b64736f6c63430008140033",
647
885
  "linkReferences": {
648
- "contracts/types/Blocknumber.sol": {
649
- "BlocknumberLib": [
886
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
887
+ "InstanceAuthorizationsLib": [
650
888
  {
651
889
  "length": 20,
652
- "start": 2857
890
+ "start": 9572
653
891
  }
654
892
  ]
655
893
  },
656
- "contracts/types/NftId.sol": {
657
- "NftIdLib": [
894
+ "contracts/staking/TargetManagerLib.sol": {
895
+ "TargetManagerLib": [
658
896
  {
659
897
  "length": 20,
660
- "start": 2273
898
+ "start": 10312
661
899
  },
662
900
  {
663
901
  "length": 20,
664
- "start": 3289
902
+ "start": 10421
665
903
  }
666
904
  ]
667
905
  },
668
- "contracts/types/RoleId.sol": {
669
- "RoleIdLib": [
906
+ "contracts/type/NftId.sol": {
907
+ "NftIdLib": [
670
908
  {
671
909
  "length": 20,
672
- "start": 5725
910
+ "start": 1637
673
911
  },
674
912
  {
675
913
  "length": 20,
676
- "start": 5984
914
+ "start": 5957
677
915
  },
678
916
  {
679
917
  "length": 20,
680
- "start": 7882
918
+ "start": 10934
681
919
  },
682
920
  {
683
921
  "length": 20,
684
- "start": 8306
685
- },
922
+ "start": 13858
923
+ }
924
+ ]
925
+ },
926
+ "contracts/type/RoleId.sol": {
927
+ "RoleIdLib": [
686
928
  {
687
929
  "length": 20,
688
- "start": 8501
930
+ "start": 9183
689
931
  },
690
932
  {
691
933
  "length": 20,
692
- "start": 8857
693
- }
694
- ]
695
- },
696
- "contracts/types/Timestamp.sol": {
697
- "TimestampLib": [
934
+ "start": 9948
935
+ },
698
936
  {
699
937
  "length": 20,
700
- "start": 6589
938
+ "start": 12744
701
939
  }
702
940
  ]
703
941
  },
704
- "contracts/types/Version.sol": {
942
+ "contracts/type/Version.sol": {
705
943
  "VersionLib": [
706
944
  {
707
945
  "length": 20,
708
- "start": 1748
709
- },
710
- {
711
- "length": 20,
712
- "start": 3529
713
- },
714
- {
715
- "length": 20,
716
- "start": 4024
946
+ "start": 1429
717
947
  },
718
948
  {
719
949
  "length": 20,
720
- "start": 4712
950
+ "start": 2584
721
951
  },
722
952
  {
723
953
  "length": 20,
724
- "start": 4833
954
+ "start": 9655
725
955
  },
726
956
  {
727
957
  "length": 20,
728
- "start": 7469
729
- },
958
+ "start": 12908
959
+ }
960
+ ],
961
+ "VersionPartLib": [
730
962
  {
731
963
  "length": 20,
732
- "start": 7590
964
+ "start": 6437
733
965
  }
734
966
  ]
735
967
  }
736
968
  },
737
969
  "deployedLinkReferences": {
738
- "contracts/types/Blocknumber.sol": {
739
- "BlocknumberLib": [
970
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
971
+ "InstanceAuthorizationsLib": [
740
972
  {
741
973
  "length": 20,
742
- "start": 2543
974
+ "start": 9342
743
975
  }
744
976
  ]
745
977
  },
746
- "contracts/types/NftId.sol": {
747
- "NftIdLib": [
978
+ "contracts/staking/TargetManagerLib.sol": {
979
+ "TargetManagerLib": [
748
980
  {
749
981
  "length": 20,
750
- "start": 1959
982
+ "start": 10082
751
983
  },
752
984
  {
753
985
  "length": 20,
754
- "start": 2975
986
+ "start": 10191
755
987
  }
756
988
  ]
757
989
  },
758
- "contracts/types/RoleId.sol": {
759
- "RoleIdLib": [
990
+ "contracts/type/NftId.sol": {
991
+ "NftIdLib": [
760
992
  {
761
993
  "length": 20,
762
- "start": 5411
994
+ "start": 1407
763
995
  },
764
996
  {
765
997
  "length": 20,
766
- "start": 5670
998
+ "start": 5727
767
999
  },
768
1000
  {
769
1001
  "length": 20,
770
- "start": 7568
1002
+ "start": 10704
771
1003
  },
772
1004
  {
773
1005
  "length": 20,
774
- "start": 7992
775
- },
1006
+ "start": 13628
1007
+ }
1008
+ ]
1009
+ },
1010
+ "contracts/type/RoleId.sol": {
1011
+ "RoleIdLib": [
776
1012
  {
777
1013
  "length": 20,
778
- "start": 8187
1014
+ "start": 8953
779
1015
  },
780
1016
  {
781
1017
  "length": 20,
782
- "start": 8543
783
- }
784
- ]
785
- },
786
- "contracts/types/Timestamp.sol": {
787
- "TimestampLib": [
1018
+ "start": 9718
1019
+ },
788
1020
  {
789
1021
  "length": 20,
790
- "start": 6275
1022
+ "start": 12514
791
1023
  }
792
1024
  ]
793
1025
  },
794
- "contracts/types/Version.sol": {
1026
+ "contracts/type/Version.sol": {
795
1027
  "VersionLib": [
796
1028
  {
797
1029
  "length": 20,
798
- "start": 1434
799
- },
800
- {
801
- "length": 20,
802
- "start": 3215
803
- },
804
- {
805
- "length": 20,
806
- "start": 3710
1030
+ "start": 1199
807
1031
  },
808
1032
  {
809
1033
  "length": 20,
810
- "start": 4398
1034
+ "start": 2354
811
1035
  },
812
1036
  {
813
1037
  "length": 20,
814
- "start": 4519
1038
+ "start": 9425
815
1039
  },
816
1040
  {
817
1041
  "length": 20,
818
- "start": 7155
819
- },
1042
+ "start": 12678
1043
+ }
1044
+ ],
1045
+ "VersionPartLib": [
820
1046
  {
821
1047
  "length": 20,
822
- "start": 7276
1048
+ "start": 6207
823
1049
  }
824
1050
  ]
825
1051
  }