@etherisc/gif-next 0.0.2-b9e9dc3-713 → 0.0.2-bad23b9-954

Sign up to get free protection for your applications and to get access to all the features.
Files changed (583) hide show
  1. package/README.md +76 -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 +567 -246
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +384 -155
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +431 -2918
  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 +742 -298
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +591 -241
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +386 -76
  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 +759 -0
  54. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  55. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +662 -0
  56. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  57. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +1146 -0
  58. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  59. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  60. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +718 -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/{instance/base/IService.sol/IService.json → product/IProductService.sol/IProductService.json} +132 -166
  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 +521 -59
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  117. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +438 -200
  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 +828 -311
  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 +506 -352
  126. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  127. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +339 -134
  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 +4 -0
  133. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  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/ServiceBase.sol/ServiceBase.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +225 -167
  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 +4 -0
  177. package/artifacts/contracts/{components/BaseComponent.sol/BaseComponent.json → shared/IService.sol/IService.json} +97 -78
  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 +4 -0
  201. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/Service.sol/Service.json} +193 -180
  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/type/Timestamp.sol/TimestampLib.json +293 -0
  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/type/Version.sol/VersionPartLib.json +49 -0
  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 +70 -16
  279. package/contracts/instance/IInstanceService.sol +72 -8
  280. package/contracts/instance/Instance.sol +158 -358
  281. package/contracts/instance/InstanceAdmin.sol +331 -0
  282. package/contracts/instance/InstanceAuthorizationsLib.sol +377 -0
  283. package/contracts/instance/InstanceReader.sol +175 -65
  284. package/contracts/instance/InstanceService.sol +318 -58
  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 +32 -0
  300. package/contracts/oracle/IOracleService.sol +65 -0
  301. package/contracts/oracle/Oracle.sol +145 -0
  302. package/contracts/oracle/OracleService.sol +277 -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 +99 -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 +79 -12
  331. package/contracts/registry/IRegistryService.sol +54 -20
  332. package/contracts/registry/ITransferInterceptor.sol +1 -0
  333. package/contracts/registry/Registry.sol +397 -244
  334. package/contracts/registry/RegistryAdmin.sol +237 -0
  335. package/contracts/registry/RegistryService.sol +124 -298
  336. package/contracts/registry/RegistryServiceManager.sol +26 -32
  337. package/contracts/registry/ReleaseManager.sol +600 -0
  338. package/contracts/registry/ServiceAuthorizationsLib.sol +173 -0
  339. package/contracts/registry/TokenRegistry.sol +315 -0
  340. package/contracts/{instance/AccessManagerSimple.sol → shared/AccessManagerCustom.sol} +277 -223
  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 +117 -0
  349. package/contracts/shared/ERC165.sol +15 -9
  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 +18 -0
  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 +37 -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 -40
  372. package/contracts/shared/RegistryLinked.sol +43 -0
  373. package/contracts/shared/Service.sol +77 -0
  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 +38 -4
  402. package/contracts/{types → type}/Timestamp.sol +23 -14
  403. package/contracts/{types → type}/UFixed.sol +1 -0
  404. package/contracts/{types → type}/Version.sol +6 -2
  405. package/package.json +5 -5
  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 -610
  409. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  410. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  411. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  412. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  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 -774
  419. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  420. package/artifacts/contracts/components/Product.sol/Product.json +0 -754
  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 -1119
  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/IService.sol/IService.dbg.json +0 -4
  472. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  473. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  474. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  475. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  476. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  477. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  478. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  479. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  480. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  481. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  482. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  483. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  484. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  485. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  486. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  487. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  488. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  489. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  490. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  491. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  492. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  493. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  494. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  495. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  496. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  497. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  498. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  499. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  500. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  501. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  502. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  503. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  504. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  505. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  506. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  507. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  508. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  509. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  510. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  511. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  512. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  513. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  514. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  515. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  516. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  517. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  518. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  519. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  520. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  521. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  522. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  523. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  524. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  525. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  526. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  527. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  528. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  529. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  530. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  531. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  532. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  533. package/contracts/components/BaseComponent.sol +0 -86
  534. package/contracts/components/Distribution.sol +0 -166
  535. package/contracts/components/IBaseComponent.sol +0 -24
  536. package/contracts/components/IDistributionComponent.sol +0 -43
  537. package/contracts/components/IPoolComponent.sol +0 -62
  538. package/contracts/components/IProductComponent.sol +0 -35
  539. package/contracts/components/Pool.sol +0 -259
  540. package/contracts/components/Product.sol +0 -297
  541. package/contracts/experiment/cloning/Cloner.sol +0 -47
  542. package/contracts/experiment/errors/Require.sol +0 -38
  543. package/contracts/experiment/errors/Revert.sol +0 -44
  544. package/contracts/experiment/inheritance/A.sol +0 -53
  545. package/contracts/experiment/inheritance/B.sol +0 -28
  546. package/contracts/experiment/inheritance/C.sol +0 -34
  547. package/contracts/experiment/inheritance/IA.sol +0 -13
  548. package/contracts/experiment/inheritance/IB.sol +0 -10
  549. package/contracts/experiment/inheritance/IC.sol +0 -12
  550. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  551. package/contracts/experiment/statemachine/ISM.sol +0 -25
  552. package/contracts/experiment/statemachine/SM.sol +0 -57
  553. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  554. package/contracts/experiment/types/TypeA.sol +0 -47
  555. package/contracts/experiment/types/TypeB.sol +0 -29
  556. package/contracts/instance/AccessManagedSimple.sol +0 -114
  557. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  558. package/contracts/instance/InstanceAccessManager.sol +0 -288
  559. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  560. package/contracts/instance/base/IInstanceBase.sol +0 -23
  561. package/contracts/instance/base/IService.sol +0 -15
  562. package/contracts/instance/base/KeyValueStore.sol +0 -172
  563. package/contracts/instance/base/ServiceBase.sol +0 -44
  564. package/contracts/instance/module/ISetup.sol +0 -43
  565. package/contracts/instance/module/ITreasury.sol +0 -23
  566. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  567. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  568. package/contracts/instance/service/IDistributionService.sol +0 -12
  569. package/contracts/instance/service/IPoolService.sol +0 -37
  570. package/contracts/instance/service/IProductService.sol +0 -107
  571. package/contracts/shared/ContractDeployerLib.sol +0 -72
  572. package/contracts/test/TestFee.sol +0 -25
  573. package/contracts/test/TestRegisterable.sol +0 -18
  574. package/contracts/test/TestRoleId.sol +0 -14
  575. package/contracts/test/TestService.sol +0 -26
  576. package/contracts/test/TestToken.sol +0 -26
  577. package/contracts/test/TestVersion.sol +0 -44
  578. package/contracts/test/TestVersionable.sol +0 -17
  579. package/contracts/types/ChainId.sol +0 -38
  580. package/contracts/types/NftIdSet.sol +0 -60
  581. package/contracts/types/NumberId.sol +0 -52
  582. package/contracts/types/RoleId.sol +0 -82
  583. /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": [
@@ -117,24 +312,48 @@
117
312
  "inputs": [
118
313
  {
119
314
  "indexed": false,
120
- "internalType": "Version",
121
- "name": "version",
122
- "type": "uint24"
315
+ "internalType": "address",
316
+ "name": "clonedOzAccessManager",
317
+ "type": "address"
123
318
  },
124
319
  {
125
320
  "indexed": false,
126
321
  "internalType": "address",
127
- "name": "implementation",
322
+ "name": "clonedInstanceAccessManager",
128
323
  "type": "address"
129
324
  },
130
325
  {
131
326
  "indexed": false,
132
327
  "internalType": "address",
133
- "name": "activatedBy",
328
+ "name": "clonedInstance",
329
+ "type": "address"
330
+ },
331
+ {
332
+ "indexed": false,
333
+ "internalType": "address",
334
+ "name": "clonedInstanceStore",
134
335
  "type": "address"
336
+ },
337
+ {
338
+ "indexed": false,
339
+ "internalType": "address",
340
+ "name": "clonedBundleManager",
341
+ "type": "address"
342
+ },
343
+ {
344
+ "indexed": false,
345
+ "internalType": "address",
346
+ "name": "clonedInstanceReader",
347
+ "type": "address"
348
+ },
349
+ {
350
+ "indexed": false,
351
+ "internalType": "NftId",
352
+ "name": "clonedInstanceNftId",
353
+ "type": "uint96"
135
354
  }
136
355
  ],
137
- "name": "LogVersionableInitialized",
356
+ "name": "LogInstanceCloned",
138
357
  "type": "event"
139
358
  },
140
359
  {
@@ -152,12 +371,12 @@
152
371
  },
153
372
  {
154
373
  "inputs": [],
155
- "name": "NAME",
374
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
156
375
  "outputs": [
157
376
  {
158
- "internalType": "string",
377
+ "internalType": "bytes32",
159
378
  "name": "",
160
- "type": "string"
379
+ "type": "bytes32"
161
380
  }
162
381
  ],
163
382
  "stateMutability": "view",
@@ -178,22 +397,96 @@
178
397
  },
179
398
  {
180
399
  "inputs": [],
181
- "name": "createInstanceClone",
400
+ "name": "authority",
182
401
  "outputs": [
183
402
  {
184
- "internalType": "contract AccessManagerSimple",
185
- "name": "am",
403
+ "internalType": "address",
404
+ "name": "",
405
+ "type": "address"
406
+ }
407
+ ],
408
+ "stateMutability": "view",
409
+ "type": "function"
410
+ },
411
+ {
412
+ "inputs": [
413
+ {
414
+ "internalType": "NftId",
415
+ "name": "instanceNftId",
416
+ "type": "uint96"
417
+ },
418
+ {
419
+ "internalType": "address",
420
+ "name": "targetAddress",
186
421
  "type": "address"
187
422
  },
188
423
  {
189
- "internalType": "contract InstanceAccessManager",
190
- "name": "im",
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[]"
437
+ }
438
+ ],
439
+ "name": "createComponentTarget",
440
+ "outputs": [],
441
+ "stateMutability": "nonpayable",
442
+ "type": "function"
443
+ },
444
+ {
445
+ "inputs": [
446
+ {
447
+ "internalType": "NftId",
448
+ "name": "instanceNftId",
449
+ "type": "uint96"
450
+ },
451
+ {
452
+ "internalType": "address",
453
+ "name": "targetAddress",
191
454
  "type": "address"
192
455
  },
456
+ {
457
+ "internalType": "string",
458
+ "name": "targetName",
459
+ "type": "string"
460
+ },
461
+ {
462
+ "internalType": "bytes4[][]",
463
+ "name": "selectors",
464
+ "type": "bytes4[][]"
465
+ },
466
+ {
467
+ "internalType": "RoleId[]",
468
+ "name": "roles",
469
+ "type": "uint64[]"
470
+ }
471
+ ],
472
+ "name": "createGifTarget",
473
+ "outputs": [],
474
+ "stateMutability": "nonpayable",
475
+ "type": "function"
476
+ },
477
+ {
478
+ "inputs": [],
479
+ "name": "createInstanceClone",
480
+ "outputs": [
193
481
  {
194
482
  "internalType": "contract Instance",
195
- "name": "i",
483
+ "name": "clonedInstance",
196
484
  "type": "address"
485
+ },
486
+ {
487
+ "internalType": "NftId",
488
+ "name": "clonedInstanceNftId",
489
+ "type": "uint96"
197
490
  }
198
491
  ],
199
492
  "stateMutability": "nonpayable",
@@ -201,15 +494,15 @@
201
494
  },
202
495
  {
203
496
  "inputs": [],
204
- "name": "getAccessManagerMaster",
497
+ "name": "getDomain",
205
498
  "outputs": [
206
499
  {
207
- "internalType": "address",
500
+ "internalType": "ObjectType",
208
501
  "name": "",
209
- "type": "address"
502
+ "type": "uint8"
210
503
  }
211
504
  ],
212
- "stateMutability": "view",
505
+ "stateMutability": "pure",
213
506
  "type": "function"
214
507
  },
215
508
  {
@@ -236,71 +529,27 @@
236
529
  {
237
530
  "internalType": "bool",
238
531
  "name": "isInterceptor",
239
- "type": "bool"
240
- },
241
- {
242
- "internalType": "address",
243
- "name": "objectAddress",
244
- "type": "address"
245
- },
246
- {
247
- "internalType": "address",
248
- "name": "initialOwner",
249
- "type": "address"
250
- },
251
- {
252
- "internalType": "bytes",
253
- "name": "data",
254
- "type": "bytes"
255
- }
256
- ],
257
- "internalType": "struct IRegistry.ObjectInfo",
258
- "name": "",
259
- "type": "tuple"
260
- },
261
- {
262
- "internalType": "bytes",
263
- "name": "data",
264
- "type": "bytes"
265
- }
266
- ],
267
- "stateMutability": "view",
268
- "type": "function"
269
- },
270
- {
271
- "inputs": [],
272
- "name": "getInitializedVersion",
273
- "outputs": [
274
- {
275
- "internalType": "uint64",
276
- "name": "",
277
- "type": "uint64"
278
- }
279
- ],
280
- "stateMutability": "view",
281
- "type": "function"
282
- },
283
- {
284
- "inputs": [],
285
- "name": "getInstance",
286
- "outputs": [
287
- {
288
- "internalType": "contract Instance",
289
- "name": "",
290
- "type": "address"
291
- }
292
- ],
293
- "stateMutability": "view",
294
- "type": "function"
295
- },
296
- {
297
- "inputs": [],
298
- "name": "getInstanceAccessManagerMaster",
299
- "outputs": [
300
- {
301
- "internalType": "address",
302
- "name": "",
303
- "type": "address"
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"
304
553
  }
305
554
  ],
306
555
  "stateMutability": "view",
@@ -308,7 +557,7 @@
308
557
  },
309
558
  {
310
559
  "inputs": [],
311
- "name": "getInstanceMaster",
560
+ "name": "getMasterInstanceReader",
312
561
  "outputs": [
313
562
  {
314
563
  "internalType": "address",
@@ -319,32 +568,6 @@
319
568
  "stateMutability": "view",
320
569
  "type": "function"
321
570
  },
322
- {
323
- "inputs": [],
324
- "name": "getMajorVersion",
325
- "outputs": [
326
- {
327
- "internalType": "VersionPart",
328
- "name": "majorVersion",
329
- "type": "uint8"
330
- }
331
- ],
332
- "stateMutability": "view",
333
- "type": "function"
334
- },
335
- {
336
- "inputs": [],
337
- "name": "getName",
338
- "outputs": [
339
- {
340
- "internalType": "string",
341
- "name": "",
342
- "type": "string"
343
- }
344
- ],
345
- "stateMutability": "pure",
346
- "type": "function"
347
- },
348
571
  {
349
572
  "inputs": [],
350
573
  "name": "getNftId",
@@ -397,103 +620,101 @@
397
620
  "stateMutability": "pure",
398
621
  "type": "function"
399
622
  },
623
+ {
624
+ "inputs": [],
625
+ "name": "initializeERC165",
626
+ "outputs": [],
627
+ "stateMutability": "nonpayable",
628
+ "type": "function"
629
+ },
400
630
  {
401
631
  "inputs": [
402
632
  {
403
- "internalType": "uint256",
404
- "name": "idx",
405
- "type": "uint256"
406
- }
407
- ],
408
- "name": "getVersion",
409
- "outputs": [
633
+ "internalType": "address",
634
+ "name": "initialOwner",
635
+ "type": "address"
636
+ },
410
637
  {
411
- "internalType": "Version",
412
- "name": "",
413
- "type": "uint24"
638
+ "internalType": "address",
639
+ "name": "registryAddress",
640
+ "type": "address"
414
641
  }
415
642
  ],
416
- "stateMutability": "view",
643
+ "name": "initializeNftOwnable",
644
+ "outputs": [],
645
+ "stateMutability": "nonpayable",
417
646
  "type": "function"
418
647
  },
419
648
  {
420
- "inputs": [],
421
- "name": "getVersionCount",
422
- "outputs": [
649
+ "inputs": [
423
650
  {
424
- "internalType": "uint256",
425
- "name": "",
426
- "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"
427
679
  }
428
680
  ],
429
- "stateMutability": "view",
681
+ "name": "initializeRegisterable",
682
+ "outputs": [],
683
+ "stateMutability": "nonpayable",
430
684
  "type": "function"
431
685
  },
432
686
  {
433
687
  "inputs": [
434
688
  {
435
- "internalType": "Version",
436
- "name": "_version",
437
- "type": "uint24"
438
- }
439
- ],
440
- "name": "getVersionInfo",
441
- "outputs": [
442
- {
443
- "components": [
444
- {
445
- "internalType": "Version",
446
- "name": "version",
447
- "type": "uint24"
448
- },
449
- {
450
- "internalType": "address",
451
- "name": "implementation",
452
- "type": "address"
453
- },
454
- {
455
- "internalType": "address",
456
- "name": "activatedBy",
457
- "type": "address"
458
- },
459
- {
460
- "internalType": "Timestamp",
461
- "name": "activatedAt",
462
- "type": "uint40"
463
- },
464
- {
465
- "internalType": "Blocknumber",
466
- "name": "activatedIn",
467
- "type": "uint32"
468
- }
469
- ],
470
- "internalType": "struct IVersionable.VersionInfo",
471
- "name": "",
472
- "type": "tuple"
689
+ "internalType": "address",
690
+ "name": "registryAddress",
691
+ "type": "address"
473
692
  }
474
693
  ],
475
- "stateMutability": "view",
694
+ "name": "initializeRegistryLinked",
695
+ "outputs": [],
696
+ "stateMutability": "nonpayable",
476
697
  "type": "function"
477
698
  },
478
699
  {
479
700
  "inputs": [
480
701
  {
481
702
  "internalType": "address",
482
- "name": "implementation",
703
+ "name": "registry",
483
704
  "type": "address"
484
705
  },
485
706
  {
486
707
  "internalType": "address",
487
- "name": "activatedBy",
708
+ "name": "authority",
488
709
  "type": "address"
489
710
  },
490
711
  {
491
- "internalType": "bytes",
492
- "name": "data",
493
- "type": "bytes"
712
+ "internalType": "address",
713
+ "name": "initialOwner",
714
+ "type": "address"
494
715
  }
495
716
  ],
496
- "name": "initialize",
717
+ "name": "initializeService",
497
718
  "outputs": [],
498
719
  "stateMutability": "nonpayable",
499
720
  "type": "function"
@@ -501,17 +722,29 @@
501
722
  {
502
723
  "inputs": [
503
724
  {
504
- "internalType": "Version",
505
- "name": "_version",
506
- "type": "uint24"
725
+ "internalType": "address",
726
+ "name": "activatedBy",
727
+ "type": "address"
728
+ },
729
+ {
730
+ "internalType": "bytes",
731
+ "name": "data",
732
+ "type": "bytes"
507
733
  }
508
734
  ],
509
- "name": "isInitialized",
735
+ "name": "initializeVersionable",
736
+ "outputs": [],
737
+ "stateMutability": "nonpayable",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [],
742
+ "name": "isConsumingScheduledOp",
510
743
  "outputs": [
511
744
  {
512
- "internalType": "bool",
745
+ "internalType": "bytes4",
513
746
  "name": "",
514
- "type": "bool"
747
+ "type": "bytes4"
515
748
  }
516
749
  ],
517
750
  "stateMutability": "view",
@@ -520,6 +753,25 @@
520
753
  {
521
754
  "inputs": [],
522
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",
523
775
  "outputs": [],
524
776
  "stateMutability": "nonpayable",
525
777
  "type": "function"
@@ -528,12 +780,18 @@
528
780
  "inputs": [
529
781
  {
530
782
  "internalType": "address",
531
- "name": "accessManager",
783
+ "name": "instanceAddress",
532
784
  "type": "address"
533
785
  }
534
786
  ],
535
- "name": "setAccessManagerMaster",
536
- "outputs": [],
787
+ "name": "setAndRegisterMasterInstance",
788
+ "outputs": [
789
+ {
790
+ "internalType": "NftId",
791
+ "name": "masterInstanceNftId",
792
+ "type": "uint96"
793
+ }
794
+ ],
537
795
  "stateMutability": "nonpayable",
538
796
  "type": "function"
539
797
  },
@@ -541,11 +799,11 @@
541
799
  "inputs": [
542
800
  {
543
801
  "internalType": "address",
544
- "name": "instanceAccessManager",
802
+ "name": "newAuthority",
545
803
  "type": "address"
546
804
  }
547
805
  ],
548
- "name": "setInstanceAccessManagerMaster",
806
+ "name": "setAuthority",
549
807
  "outputs": [],
550
808
  "stateMutability": "nonpayable",
551
809
  "type": "function"
@@ -553,12 +811,12 @@
553
811
  {
554
812
  "inputs": [
555
813
  {
556
- "internalType": "address",
557
- "name": "instance",
558
- "type": "address"
814
+ "internalType": "bool",
815
+ "name": "locked",
816
+ "type": "bool"
559
817
  }
560
818
  ],
561
- "name": "setInstanceMaster",
819
+ "name": "setComponentLocked",
562
820
  "outputs": [],
563
821
  "stateMutability": "nonpayable",
564
822
  "type": "function"
@@ -585,117 +843,209 @@
585
843
  {
586
844
  "inputs": [
587
845
  {
588
- "internalType": "address",
589
- "name": "implementation",
590
- "type": "address"
591
- },
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": [
592
858
  {
593
859
  "internalType": "address",
594
- "name": "activatedBy",
860
+ "name": "instanceReaderAddress",
595
861
  "type": "address"
596
- },
862
+ }
863
+ ],
864
+ "name": "upgradeMasterInstanceReader",
865
+ "outputs": [],
866
+ "stateMutability": "nonpayable",
867
+ "type": "function"
868
+ },
869
+ {
870
+ "inputs": [
597
871
  {
598
872
  "internalType": "bytes",
599
873
  "name": "data",
600
874
  "type": "bytes"
601
875
  }
602
876
  ],
603
- "name": "upgrade",
877
+ "name": "upgradeVersionable",
604
878
  "outputs": [],
605
879
  "stateMutability": "nonpayable",
606
880
  "type": "function"
607
881
  }
608
882
  ],
609
- "bytecode": "0x608060405234801561001057600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055600280546001600160a01b0319163317905561006761006c565b61011e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100bc5760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161461011b5780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b611d3a8061012d6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063b3c6501511610097578063cf7a1d7711610071578063cf7a1d7714610588578063d60944ad1461059b578063de7b5d14146105ac578063eeff428e146105b257600080fd5b8063b3c650151461053b578063b88da7591461055b578063cde749f41461056e57600080fd5b8063893d20e8116100d3578063893d20e8146104cb578063946dfcfe146104d3578063a3f4df7e146104fa578063a745e3df1461052857600080fd5b8063644c45e014610468578063656bc9ef14610493578063872309c7146104c357600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806353f1f5cc146103f757806355ad7436146104275780635ab1bd531461045757600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004611761565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f86105e4565b60405162ffffff90911681526020016101e7565b61021461066e565b6040516101e79291906117d8565b61022a6107f0565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e7919061187f565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6006546001600160a01b031661026d565b6103876102d93660046118a3565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020611ce583398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f23660046118a3565b610a12565b61022a6104053660046118d5565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b61022a6104353660046118d5565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a6104a13660046118d5565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6102ac600081565b61026d610ac5565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a610536366004611908565b610bde565b610543610d38565b6040516001600160401b0390911681526020016101e7565b6101f86105693660046119dd565b610d59565b610576610daa565b60405160ff90911681526020016101e7565b61022a610596366004611908565b610e2d565b6005546001600160a01b031661026d565b3061026d565b6105ba610f36565b604080516001600160a01b03948516815292841660208401529216918101919091526060016101e7565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610645573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066991906119f6565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106f16001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610739610ac5565b6001600160a01b0316815260200182600101805461075690611a13565b80601f016020809104026020016040519081016040528092919081815260200182805461078290611a13565b80156107cf5780601f106107a4576101008083540402835291602001916107cf565b820191906000526020600020905b8154815290600101906020018083116107b257829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610852573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190611a4d565b156108bd576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108e65760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561092f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109539190611a4d565b61097b576040516372657a5160e01b81526001600160a01b03821660048201526024016108b4565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156109c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e99190611a6f565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020611ce583398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611a98565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4e9190611a4d565b15610bce57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610baa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106699190611ab1565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c006105e4565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c649190611ace565b600080516020611cc58339815191528054600160401b900460ff1680610c97575080546001600160401b03808416911610155b15610cb55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610ce08585610f89565b610ce983611228565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610669600080516020611cc5833981519152546001600160401b031690565b6000600080516020611ce58339815191526001018281548110610d7e57610d7e611af7565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000610db46105e4565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610e09573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106699190611b0d565b600080516020611cc58339815191528054600160401b810460ff1615906001600160401b0316600081158015610e605750825b90506000826001600160401b03166001148015610e7c5750303b155b905081158015610e8a575080155b15610ea85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ed257845460ff60401b1916600160401b1785555b610edc8888610f89565b610ee68787611230565b8315610f2c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60045460009081908190610f52906001600160a01b03166113f6565b600554909350610f6a906001600160a01b03166113f6565b600654909250610f82906001600160a01b03166113f6565b9050909192565b610f91611468565b600080516020611ce58339815191526000610fc1600080516020611cc5833981519152546001600160401b031690565b90506000610fcd6105e4565b9050816001600160401b0316600103610ffa5760028301805462ffffff191662ffffff8316179055611048565b600283015462ffffff908116908216116110485760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016108b4565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156110fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111209190611b30565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610d299083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a9611468565b600080516020611cc58339815191528054600160401b810460ff1615906001600160401b03166000811580156112635750825b90506000826001600160401b0316600114801561127f5750303b155b90508115801561128d575080155b156112ab5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112d557845460ff60401b1916600160401b1785555b6000868060200190518101906112eb9190611b57565b600380546001600160a01b0319166001600160a01b03939093169283179055604051636939560f60e11b815260048101839052909250600090829063d272ac1e90602401602060405180830381865afa15801561134c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113709190611a6f565b60035490915061138a906001600160a01b031682856114a1565b61139a631b4612f160e31b611525565b6113a46000611525565b50505083156113ed57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611463576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020611cc583398151915254600160401b900460ff1661149f57604051631afcd79f60e31b815260040160405180910390fd5b565b60006114cf60408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6114d7610daa565b6040516020016114e8929190611b91565b604051602081830303815290604052905061150f8484611506603c90565b6000868661154a565b61151f631b4612f160e31b611525565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61155482876115d5565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016115c48382611c05565b506113ed6303fb044760e21b611525565b600280546001600160a01b0319166001600160a01b0384161790556115f9816115fd565b5050565b6001546001600160a01b0316156116365760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016108b4565b6001600160a01b03811661165d5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036116935760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108b4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561170d575060408051601f3d908101601f1916820190925261170a91810190611a4d565b60015b6117355760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108b4565b806115f95760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108b4565b50565b60006020828403121561177357600080fd5b81356001600160e01b03198116811461178b57600080fd5b9392505050565b6000815180845260005b818110156117b85760208185018101518683018201520161179c565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161181c60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611862610120840182611792565b905082810360208401526118768185611792565b95945050505050565b60208152600061178b6020830184611792565b62ffffff8116811461175e57600080fd5b6000602082840312156118b557600080fd5b813561178b81611892565b6001600160a01b038116811461175e57600080fd5b6000602082840312156118e757600080fd5b813561178b816118c0565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561191d57600080fd5b8335611928816118c0565b92506020840135611938816118c0565b915060408401356001600160401b038082111561195457600080fd5b818601915086601f83011261196857600080fd5b81358181111561197a5761197a6118f2565b604051601f8201601f19908116603f011681019083821181831017156119a2576119a26118f2565b816040528281528960208487010111156119bb57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000602082840312156119ef57600080fd5b5035919050565b600060208284031215611a0857600080fd5b815161178b81611892565b600181811c90821680611a2757607f821691505b602082108103611a4757634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a5f57600080fd5b8151801515811461178b57600080fd5b600060208284031215611a8157600080fd5b81516001600160601b038116811461178b57600080fd5b600060208284031215611aaa57600080fd5b5051919050565b600060208284031215611ac357600080fd5b815161178b816118c0565b600060208284031215611ae057600080fd5b81516001600160401b038116811461178b57600080fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215611b1f57600080fd5b815160ff8116811461178b57600080fd5b600060208284031215611b4257600080fd5b815164ffffffffff8116811461178b57600080fd5b60008060408385031215611b6a57600080fd5b8251611b75816118c0565b6020840151909250611b86816118c0565b809150509250929050565b604081526000611ba46040830185611792565b905060ff831660208301529392505050565b601f821115611c0057600081815260208120601f850160051c81016020861015611bdd5750805b601f850160051c820191505b81811015611bfc57828155600101611be9565b5050505b505050565b81516001600160401b03811115611c1e57611c1e6118f2565b611c3281611c2c8454611a13565b84611bb6565b602080601f831160018114611c675760008415611c4f5750858301515b600019600386901b1c1916600185901b178555611bfc565b600085815260208120601f198616915b82811015611c9657888601518255948401946001909101908401611c77565b5085821015611cb45787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122059ad46db2b7da8061b00d7eb001aa071f7af67346810d2721d876fc5007107c464736f6c63430008140033",
610
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063644c45e0116100f9578063b3c6501511610097578063cf7a1d7711610071578063cf7a1d7714610588578063d60944ad1461059b578063de7b5d14146105ac578063eeff428e146105b257600080fd5b8063b3c650151461053b578063b88da7591461055b578063cde749f41461056e57600080fd5b8063893d20e8116100d3578063893d20e8146104cb578063946dfcfe146104d3578063a3f4df7e146104fa578063a745e3df1461052857600080fd5b8063644c45e014610468578063656bc9ef14610493578063872309c7146104c357600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806353f1f5cc146103f757806355ad7436146104275780635ab1bd531461045757600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc366004611761565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f86105e4565b60405162ffffff90911681526020016101e7565b61021461066e565b6040516101e79291906117d8565b61022a6107f0565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e7919061187f565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6006546001600160a01b031661026d565b6103876102d93660046118a3565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020611ce583398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f23660046118a3565b610a12565b61022a6104053660046118d5565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b61022a6104353660046118d5565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a6104a13660046118d5565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6102ac600081565b61026d610ac5565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a610536366004611908565b610bde565b610543610d38565b6040516001600160401b0390911681526020016101e7565b6101f86105693660046119dd565b610d59565b610576610daa565b60405160ff90911681526020016101e7565b61022a610596366004611908565b610e2d565b6005546001600160a01b031661026d565b3061026d565b6105ba610f36565b604080516001600160a01b03948516815292841660208401529216918101919091526060016101e7565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610645573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066991906119f6565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106f16001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610739610ac5565b6001600160a01b0316815260200182600101805461075690611a13565b80601f016020809104026020016040519081016040528092919081815260200182805461078290611a13565b80156107cf5780601f106107a4576101008083540402835291602001916107cf565b820191906000526020600020905b8154815290600101906020018083116107b257829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610852573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108769190611a4d565b156108bd576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108e65760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561092f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109539190611a4d565b61097b576040516372657a5160e01b81526001600160a01b03821660048201526024016108b4565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156109c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e99190611a6f565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020611ce583398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190611a98565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610b2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b4e9190611a4d565b15610bce57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610baa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106699190611ab1565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610c006105e4565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610c40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c649190611ace565b600080516020611cc58339815191528054600160401b900460ff1680610c97575080546001600160401b03808416911610155b15610cb55760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610ce08585610f89565b610ce983611228565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610669600080516020611cc5833981519152546001600160401b031690565b6000600080516020611ce58339815191526001018281548110610d7e57610d7e611af7565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000610db46105e4565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610e09573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106699190611b0d565b600080516020611cc58339815191528054600160401b810460ff1615906001600160401b0316600081158015610e605750825b90506000826001600160401b03166001148015610e7c5750303b155b905081158015610e8a575080155b15610ea85760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610ed257845460ff60401b1916600160401b1785555b610edc8888610f89565b610ee68787611230565b8315610f2c57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b60045460009081908190610f52906001600160a01b03166113f6565b600554909350610f6a906001600160a01b03166113f6565b600654909250610f82906001600160a01b03166113f6565b9050909192565b610f91611468565b600080516020611ce58339815191526000610fc1600080516020611cc5833981519152546001600160401b031690565b90506000610fcd6105e4565b9050816001600160401b0316600103610ffa5760028301805462ffffff191662ffffff8316179055611048565b600283015462ffffff908116908216116110485760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016108b4565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156110fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111209190611b30565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610d299083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a9611468565b600080516020611cc58339815191528054600160401b810460ff1615906001600160401b03166000811580156112635750825b90506000826001600160401b0316600114801561127f5750303b155b90508115801561128d575080155b156112ab5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112d557845460ff60401b1916600160401b1785555b6000868060200190518101906112eb9190611b57565b600380546001600160a01b0319166001600160a01b03939093169283179055604051636939560f60e11b815260048101839052909250600090829063d272ac1e90602401602060405180830381865afa15801561134c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113709190611a6f565b60035490915061138a906001600160a01b031682856114a1565b61139a631b4612f160e31b611525565b6113a46000611525565b50505083156113ed57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611463576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600080516020611cc583398151915254600160401b900460ff1661149f57604051631afcd79f60e31b815260040160405180910390fd5b565b60006114cf60408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6114d7610daa565b6040516020016114e8929190611b91565b604051602081830303815290604052905061150f8484611506603c90565b6000868661154a565b61151f631b4612f160e31b611525565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61155482876115d5565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016115c48382611c05565b506113ed6303fb044760e21b611525565b600280546001600160a01b0319166001600160a01b0384161790556115f9816115fd565b5050565b6001546001600160a01b0316156116365760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016108b4565b6001600160a01b03811661165d5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036116935760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108b4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561170d575060408051601f3d908101601f1916820190925261170a91810190611a4d565b60015b6117355760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108b4565b806115f95760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108b4565b50565b60006020828403121561177357600080fd5b81356001600160e01b03198116811461178b57600080fd5b9392505050565b6000815180845260005b818110156117b85760208185018101518683018201520161179c565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161181c60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611862610120840182611792565b905082810360208401526118768185611792565b95945050505050565b60208152600061178b6020830184611792565b62ffffff8116811461175e57600080fd5b6000602082840312156118b557600080fd5b813561178b81611892565b6001600160a01b038116811461175e57600080fd5b6000602082840312156118e757600080fd5b813561178b816118c0565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561191d57600080fd5b8335611928816118c0565b92506020840135611938816118c0565b915060408401356001600160401b038082111561195457600080fd5b818601915086601f83011261196857600080fd5b81358181111561197a5761197a6118f2565b604051601f8201601f19908116603f011681019083821181831017156119a2576119a26118f2565b816040528281528960208487010111156119bb57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000602082840312156119ef57600080fd5b5035919050565b600060208284031215611a0857600080fd5b815161178b81611892565b600181811c90821680611a2757607f821691505b602082108103611a4757634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215611a5f57600080fd5b8151801515811461178b57600080fd5b600060208284031215611a8157600080fd5b81516001600160601b038116811461178b57600080fd5b600060208284031215611aaa57600080fd5b5051919050565b600060208284031215611ac357600080fd5b815161178b816118c0565b600060208284031215611ae057600080fd5b81516001600160401b038116811461178b57600080fd5b634e487b7160e01b600052603260045260246000fd5b600060208284031215611b1f57600080fd5b815160ff8116811461178b57600080fd5b600060208284031215611b4257600080fd5b815164ffffffffff8116811461178b57600080fd5b60008060408385031215611b6a57600080fd5b8251611b75816118c0565b6020840151909250611b86816118c0565b809150509250929050565b604081526000611ba46040830185611792565b905060ff831660208301529392505050565b601f821115611c0057600081815260208120601f850160051c81016020861015611bdd5750805b601f850160051c820191505b81811015611bfc57828155600101611be9565b5050505b505050565b81516001600160401b03811115611c1e57611c1e6118f2565b611c3281611c2c8454611a13565b84611bb6565b602080601f831160018114611c675760008415611c4f5750858301515b600019600386901b1c1916600185901b178555611bfc565b600085815260208120601f198616915b82811015611c9657888601518255948401946001909101908401611c77565b5085821015611cb45787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122059ad46db2b7da8061b00d7eb001aa071f7af67346810d2721d876fc5007107c464736f6c63430008140033",
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$__906399009c5190604401602060405180830381865af4158015613576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061359a9190613e02565b9392505050565b80356001600160e01b0319811681146130c457600080fd5b6000602082840312156135cb57600080fd5b61359a826135a1565b60005b838110156135ef5781810151838201526020016135d7565b50506000910152565b600081518084526136108160208601602086016135d4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161368d60c08401826001600160a01b03169052565b5060c083015160e0808401526136a76101008401826135f8565b949350505050565b6001600160a01b0381168114610ccd57600080fd5b6000602082840312156136d657600080fd5b813561359a816136af565b6001600160601b0381168114610ccd57600080fd5b60ff81168114610ccd57600080fd5b8015158114610ccd57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561374b5761374b613713565b60405290565b604051601f8201601f191681016001600160401b038111828210171561377957613779613713565b604052919050565b60006001600160401b0382111561379a5761379a613713565b50601f01601f191660200190565b60006137bb6137b684613781565b613751565b90508281528383830111156137cf57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126137f757600080fd5b61359a838335602085016137a8565b60008060008060008060c0878903121561381f57600080fd5b863561382a816136af565b9550602087013561383a816136e1565b9450604087013561384a816136f6565b9350606087013561385a81613705565b9250608087013561386a816136af565b915060a08701356001600160401b0381111561388557600080fd5b61389189828a016137e6565b9150509295509295509295565b6000602082840312156138b057600080fd5b81356001600160401b038111156138c657600080fd5b6136a7848285016137e6565b600080604083850312156138e557600080fd5b82356138f0816136af565b915060208301356001600160401b0381111561390b57600080fd5b613917858286016137e6565b9150509250929050565b60006001600160401b0382111561393a5761393a613713565b5060051b60200190565b600082601f83011261395557600080fd5b813560206139656137b683613921565b828152600592831b850182019282820191908785111561398457600080fd5b8387015b85811015613a1e5780356001600160401b038111156139a75760008081fd5b8801603f81018a136139b95760008081fd5b8581013560406139cb6137b683613921565b82815291851b8301810191888101908d8411156139e85760008081fd5b938201935b83851015613a0d576139fe856135a1565b825293890193908901906139ed565b885250505093850193508401613988565b5090979650505050505050565b6001600160401b0381168114610ccd57600080fd5b600082601f830112613a5157600080fd5b81356020613a616137b683613921565b82815260059290921b84018101918181019086841115613a8057600080fd5b8286015b84811015613aa4578035613a9781613a2b565b8352918301918301613a84565b509695505050505050565b600080600080600060a08688031215613ac757600080fd5b8535613ad2816136e1565b94506020860135613ae2816136af565b935060408601356001600160401b0380821115613afe57600080fd5b818801915088601f830112613b1257600080fd5b613b21898335602085016137a8565b94506060880135915080821115613b3757600080fd5b613b4389838a01613944565b93506080880135915080821115613b5957600080fd5b50613b6688828901613a40565b9150509295509295909350565b600080600060608486031215613b8857600080fd5b8335613b93816136af565b92506020840135613ba3816136af565b91506040840135613bb3816136af565b809150509250925092565b600060208284031215613bd057600080fd5b813561359a81613705565b600060208284031215613bed57600080fd5b813561359a816136e1565b60008060408385031215613c0b57600080fd5b8235613c16816136af565b91506020830135613c26816136af565b809150509250929050565b600060208284031215613c4357600080fd5b815162ffffff8116811461359a57600080fd5b80516130c4816136e1565b600060208284031215613c7357600080fd5b815161359a816136e1565b600181811c90821680613c9257607f821691505b602082108103613cb257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215613cca57600080fd5b815161359a816136af565b601f82111561199457600081815260208120601f850160051c81016020861015613cfc5750805b601f850160051c820191505b81811015612e5457828155600101613d08565b81516001600160401b03811115613d3457613d34613713565b613d4881613d428454613c7e565b84613cd5565b602080601f831160018114613d7d5760008415613d655750858301515b600019600386901b1c1916600185901b178555612e54565b600085815260208120601f198616915b82811015613dac57888601518255948401946001909101908401613d8d565b5085821015613dca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613dec57600080fd5b815161359a81613a2b565b80516130c481613705565b600060208284031215613e1457600080fd5b815161359a81613705565b80516130c4816136af565b80516130c4816136f6565b600082601f830112613e4657600080fd5b8151613e546137b682613781565b818152846020838601011115613e6957600080fd5b6136a78260208301602087016135d4565b600060208284031215613e8c57600080fd5b81516001600160401b0380821115613ea357600080fd5b9083019060e08286031215613eb757600080fd5b613ebf613729565b613ec883613c56565b8152613ed660208401613c56565b6020820152613ee760408401613e2a565b6040820152613ef860608401613df7565b6060820152613f0960808401613e1f565b6080820152613f1a60a08401613e1f565b60a082015260c083015182811115613f3157600080fd5b613f3d87828601613e35565b60c08301525095945050505050565b600060208284031215613f5e57600080fd5b815161359a816136f6565b600060208284031215613f7b57600080fd5b815164ffffffffff8116811461359a57600080fd5b600060208284031215613fa257600080fd5b5051919050565b600080600060608486031215613fbe57600080fd5b8351613fc9816136af565b6020850151909350613fda816136af565b6040850151909250613bb3816136af565b60008085851115613ffb57600080fd5b8386111561400857600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561403d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6001600160a01b03831681526040602082018190526000906136a7908301846135f8565b634e487b7160e01b600052603260045260246000fd5b6060815260006140d260608301866135f8565b82810360208481019190915285518083528682019282019060005b818110156141135784516001600160e01b031916835293830193918301916001016140ed565b50508093505050506001600160401b0383166040830152949350505050565b60006001820161415257634e487b7160e01b600052601160045260246000fd5b5060010190565b6000825161416b8184602087016135d4565b9190910192915050565b6000806040838503121561418857600080fd5b825161419381613705565b602084015190925063ffffffff81168114613c2657600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220a03b75222fa3161ec503c9fb0697b02b91476ac66f73a3b1afd2ea454b380dec64736f6c63430008140033",
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$__906399009c5190604401602060405180830381865af4158015613576573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061359a9190613e02565b9392505050565b80356001600160e01b0319811681146130c457600080fd5b6000602082840312156135cb57600080fd5b61359a826135a1565b60005b838110156135ef5781810151838201526020016135d7565b50506000910152565b600081518084526136108160208601602086016135d4565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161368d60c08401826001600160a01b03169052565b5060c083015160e0808401526136a76101008401826135f8565b949350505050565b6001600160a01b0381168114610ccd57600080fd5b6000602082840312156136d657600080fd5b813561359a816136af565b6001600160601b0381168114610ccd57600080fd5b60ff81168114610ccd57600080fd5b8015158114610ccd57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561374b5761374b613713565b60405290565b604051601f8201601f191681016001600160401b038111828210171561377957613779613713565b604052919050565b60006001600160401b0382111561379a5761379a613713565b50601f01601f191660200190565b60006137bb6137b684613781565b613751565b90508281528383830111156137cf57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126137f757600080fd5b61359a838335602085016137a8565b60008060008060008060c0878903121561381f57600080fd5b863561382a816136af565b9550602087013561383a816136e1565b9450604087013561384a816136f6565b9350606087013561385a81613705565b9250608087013561386a816136af565b915060a08701356001600160401b0381111561388557600080fd5b61389189828a016137e6565b9150509295509295509295565b6000602082840312156138b057600080fd5b81356001600160401b038111156138c657600080fd5b6136a7848285016137e6565b600080604083850312156138e557600080fd5b82356138f0816136af565b915060208301356001600160401b0381111561390b57600080fd5b613917858286016137e6565b9150509250929050565b60006001600160401b0382111561393a5761393a613713565b5060051b60200190565b600082601f83011261395557600080fd5b813560206139656137b683613921565b828152600592831b850182019282820191908785111561398457600080fd5b8387015b85811015613a1e5780356001600160401b038111156139a75760008081fd5b8801603f81018a136139b95760008081fd5b8581013560406139cb6137b683613921565b82815291851b8301810191888101908d8411156139e85760008081fd5b938201935b83851015613a0d576139fe856135a1565b825293890193908901906139ed565b885250505093850193508401613988565b5090979650505050505050565b6001600160401b0381168114610ccd57600080fd5b600082601f830112613a5157600080fd5b81356020613a616137b683613921565b82815260059290921b84018101918181019086841115613a8057600080fd5b8286015b84811015613aa4578035613a9781613a2b565b8352918301918301613a84565b509695505050505050565b600080600080600060a08688031215613ac757600080fd5b8535613ad2816136e1565b94506020860135613ae2816136af565b935060408601356001600160401b0380821115613afe57600080fd5b818801915088601f830112613b1257600080fd5b613b21898335602085016137a8565b94506060880135915080821115613b3757600080fd5b613b4389838a01613944565b93506080880135915080821115613b5957600080fd5b50613b6688828901613a40565b9150509295509295909350565b600080600060608486031215613b8857600080fd5b8335613b93816136af565b92506020840135613ba3816136af565b91506040840135613bb3816136af565b809150509250925092565b600060208284031215613bd057600080fd5b813561359a81613705565b600060208284031215613bed57600080fd5b813561359a816136e1565b60008060408385031215613c0b57600080fd5b8235613c16816136af565b91506020830135613c26816136af565b809150509250929050565b600060208284031215613c4357600080fd5b815162ffffff8116811461359a57600080fd5b80516130c4816136e1565b600060208284031215613c7357600080fd5b815161359a816136e1565b600181811c90821680613c9257607f821691505b602082108103613cb257634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215613cca57600080fd5b815161359a816136af565b601f82111561199457600081815260208120601f850160051c81016020861015613cfc5750805b601f850160051c820191505b81811015612e5457828155600101613d08565b81516001600160401b03811115613d3457613d34613713565b613d4881613d428454613c7e565b84613cd5565b602080601f831160018114613d7d5760008415613d655750858301515b600019600386901b1c1916600185901b178555612e54565b600085815260208120601f198616915b82811015613dac57888601518255948401946001909101908401613d8d565b5085821015613dca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215613dec57600080fd5b815161359a81613a2b565b80516130c481613705565b600060208284031215613e1457600080fd5b815161359a81613705565b80516130c4816136af565b80516130c4816136f6565b600082601f830112613e4657600080fd5b8151613e546137b682613781565b818152846020838601011115613e6957600080fd5b6136a78260208301602087016135d4565b600060208284031215613e8c57600080fd5b81516001600160401b0380821115613ea357600080fd5b9083019060e08286031215613eb757600080fd5b613ebf613729565b613ec883613c56565b8152613ed660208401613c56565b6020820152613ee760408401613e2a565b6040820152613ef860608401613df7565b6060820152613f0960808401613e1f565b6080820152613f1a60a08401613e1f565b60a082015260c083015182811115613f3157600080fd5b613f3d87828601613e35565b60c08301525095945050505050565b600060208284031215613f5e57600080fd5b815161359a816136f6565b600060208284031215613f7b57600080fd5b815164ffffffffff8116811461359a57600080fd5b600060208284031215613fa257600080fd5b5051919050565b600080600060608486031215613fbe57600080fd5b8351613fc9816136af565b6020850151909350613fda816136af565b6040850151909250613bb3816136af565b60008085851115613ffb57600080fd5b8386111561400857600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561403d5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6001600160a01b03831681526040602082018190526000906136a7908301846135f8565b634e487b7160e01b600052603260045260246000fd5b6060815260006140d260608301866135f8565b82810360208481019190915285518083528682019282019060005b818110156141135784516001600160e01b031916835293830193918301916001016140ed565b50508093505050506001600160401b0383166040830152949350505050565b60006001820161415257634e487b7160e01b600052601160045260246000fd5b5060010190565b6000825161416b8184602087016135d4565b9190910192915050565b6000806040838503121561418857600080fd5b825161419381613705565b602084015190925063ffffffff81168114613c2657600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220a03b75222fa3161ec503c9fb0697b02b91476ac66f73a3b1afd2ea454b380dec64736f6c63430008140033",
611
885
  "linkReferences": {
612
- "contracts/types/Blocknumber.sol": {
613
- "BlocknumberLib": [
886
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
887
+ "InstanceAuthorizationsLib": [
888
+ {
889
+ "length": 20,
890
+ "start": 9572
891
+ }
892
+ ]
893
+ },
894
+ "contracts/staking/TargetManagerLib.sol": {
895
+ "TargetManagerLib": [
896
+ {
897
+ "length": 20,
898
+ "start": 10312
899
+ },
614
900
  {
615
901
  "length": 20,
616
- "start": 2957
902
+ "start": 10421
617
903
  }
618
904
  ]
619
905
  },
620
- "contracts/types/NftId.sol": {
906
+ "contracts/type/NftId.sol": {
621
907
  "NftIdLib": [
622
908
  {
623
909
  "length": 20,
624
- "start": 2373
910
+ "start": 1637
911
+ },
912
+ {
913
+ "length": 20,
914
+ "start": 5957
915
+ },
916
+ {
917
+ "length": 20,
918
+ "start": 10934
625
919
  },
626
920
  {
627
921
  "length": 20,
628
- "start": 3101
922
+ "start": 13858
629
923
  }
630
924
  ]
631
925
  },
632
- "contracts/types/Timestamp.sol": {
633
- "TimestampLib": [
926
+ "contracts/type/RoleId.sol": {
927
+ "RoleIdLib": [
634
928
  {
635
929
  "length": 20,
636
- "start": 4591
930
+ "start": 9183
931
+ },
932
+ {
933
+ "length": 20,
934
+ "start": 9948
935
+ },
936
+ {
937
+ "length": 20,
938
+ "start": 12744
637
939
  }
638
940
  ]
639
941
  },
640
- "contracts/types/Version.sol": {
942
+ "contracts/type/Version.sol": {
641
943
  "VersionLib": [
642
944
  {
643
945
  "length": 20,
644
- "start": 1848
946
+ "start": 1429
947
+ },
948
+ {
949
+ "length": 20,
950
+ "start": 2584
645
951
  },
646
952
  {
647
953
  "length": 20,
648
- "start": 3341
954
+ "start": 9655
649
955
  },
650
956
  {
651
957
  "length": 20,
652
- "start": 3836
958
+ "start": 12908
959
+ }
960
+ ],
961
+ "VersionPartLib": [
962
+ {
963
+ "length": 20,
964
+ "start": 6437
653
965
  }
654
966
  ]
655
967
  }
656
968
  },
657
969
  "deployedLinkReferences": {
658
- "contracts/types/Blocknumber.sol": {
659
- "BlocknumberLib": [
970
+ "contracts/instance/InstanceAuthorizationsLib.sol": {
971
+ "InstanceAuthorizationsLib": [
972
+ {
973
+ "length": 20,
974
+ "start": 9342
975
+ }
976
+ ]
977
+ },
978
+ "contracts/staking/TargetManagerLib.sol": {
979
+ "TargetManagerLib": [
980
+ {
981
+ "length": 20,
982
+ "start": 10082
983
+ },
660
984
  {
661
985
  "length": 20,
662
- "start": 2656
986
+ "start": 10191
663
987
  }
664
988
  ]
665
989
  },
666
- "contracts/types/NftId.sol": {
990
+ "contracts/type/NftId.sol": {
667
991
  "NftIdLib": [
668
992
  {
669
993
  "length": 20,
670
- "start": 2072
994
+ "start": 1407
995
+ },
996
+ {
997
+ "length": 20,
998
+ "start": 5727
671
999
  },
672
1000
  {
673
1001
  "length": 20,
674
- "start": 2800
1002
+ "start": 10704
1003
+ },
1004
+ {
1005
+ "length": 20,
1006
+ "start": 13628
675
1007
  }
676
1008
  ]
677
1009
  },
678
- "contracts/types/Timestamp.sol": {
679
- "TimestampLib": [
1010
+ "contracts/type/RoleId.sol": {
1011
+ "RoleIdLib": [
1012
+ {
1013
+ "length": 20,
1014
+ "start": 8953
1015
+ },
1016
+ {
1017
+ "length": 20,
1018
+ "start": 9718
1019
+ },
680
1020
  {
681
1021
  "length": 20,
682
- "start": 4290
1022
+ "start": 12514
683
1023
  }
684
1024
  ]
685
1025
  },
686
- "contracts/types/Version.sol": {
1026
+ "contracts/type/Version.sol": {
687
1027
  "VersionLib": [
688
1028
  {
689
1029
  "length": 20,
690
- "start": 1547
1030
+ "start": 1199
1031
+ },
1032
+ {
1033
+ "length": 20,
1034
+ "start": 2354
691
1035
  },
692
1036
  {
693
1037
  "length": 20,
694
- "start": 3040
1038
+ "start": 9425
695
1039
  },
696
1040
  {
697
1041
  "length": 20,
698
- "start": 3535
1042
+ "start": 12678
1043
+ }
1044
+ ],
1045
+ "VersionPartLib": [
1046
+ {
1047
+ "length": 20,
1048
+ "start": 6207
699
1049
  }
700
1050
  ]
701
1051
  }