@etherisc/gif-next 0.0.2-bfb44e0-483 → 0.0.2-c0457ac-280

Sign up to get free protection for your applications and to get access to all the features.
Files changed (618) hide show
  1. package/README.md +8 -84
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/{components → distribution}/Distribution.sol/Distribution.json +302 -319
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1378 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +826 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/{components → distribution}/IDistributionComponent.sol/IDistributionComponent.json +240 -215
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +383 -212
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +61 -116
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +263 -1985
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +294 -199
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +434 -2792
  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 +642 -327
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +413 -453
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +274 -126
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3598 -0
  32. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  34. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  35. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -49
  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 +187 -0
  40. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  41. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +25 -150
  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/{instance/base/ComponentService.sol/ComponentService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +301 -296
  54. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  55. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -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 +1034 -0
  60. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +730 -0
  62. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1134 -0
  64. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +754 -0
  66. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  67. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +257 -352
  68. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  69. package/artifacts/contracts/{components → pool}/IPoolComponent.sol/IPoolComponent.json +479 -219
  70. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  71. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1078 -0
  72. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  73. package/artifacts/contracts/{components → pool}/Pool.sol/Pool.json +512 -313
  74. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  75. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1453 -0
  76. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +742 -0
  78. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  79. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +863 -0
  80. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  81. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +730 -0
  82. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  83. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1315 -0
  84. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  85. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +822 -0
  86. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  87. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +121 -247
  88. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  89. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +772 -0
  90. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  91. package/artifacts/contracts/{instance/service → product}/IPolicyService.sol/IPolicyService.json +239 -303
  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} +262 -225
  94. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  95. package/artifacts/contracts/{components → product}/IProductComponent.sol/IProductComponent.json +409 -227
  96. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  97. package/artifacts/contracts/product/IProductService.sol/IProductService.json +400 -0
  98. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  99. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1183 -0
  100. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +766 -0
  102. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  103. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1012 -0
  104. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +786 -0
  106. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  107. package/artifacts/contracts/{components → product}/Product.sol/Product.json +432 -325
  108. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  109. package/artifacts/contracts/product/ProductService.sol/ProductService.json +708 -0
  110. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +702 -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 +188 -19
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  117. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +349 -225
  118. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  119. package/artifacts/contracts/registry/IServiceAuthorization.sol/IServiceAuthorization.json +129 -0
  120. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  121. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  122. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  123. package/artifacts/contracts/registry/Registry.sol/Registry.json +425 -34
  124. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  125. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1901 -0
  126. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  127. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +407 -306
  128. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  129. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +246 -126
  130. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  131. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +769 -98
  132. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  133. package/artifacts/contracts/registry/ServiceAuthorization.sol/ServiceAuthorization.json +171 -0
  134. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  135. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +187 -0
  136. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  137. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +307 -177
  138. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  139. package/artifacts/contracts/shared/AccessAdmin.sol/AccessAdmin.json +1559 -0
  140. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.dbg.json +4 -0
  141. package/artifacts/contracts/shared/AccessManagerCustom.sol/AccessManagerCustom.json +1193 -0
  142. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.dbg.json +4 -0
  143. package/artifacts/contracts/shared/AccessManagerExtended.sol/AccessManagerExtended.json +1747 -0
  144. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/AccessManagerExtendedInitializeable.sol/AccessManagerExtendedInitializeable.json +1760 -0
  146. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/AccessManagerExtendedWithDisable.sol/AccessManagerExtendedWithDisable.json +1838 -0
  148. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.dbg.json +4 -0
  149. package/artifacts/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol/AccessManagerExtendedWithDisableInitializeable.json +1856 -0
  150. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  151. package/artifacts/contracts/{components → shared}/Component.sol/Component.json +219 -220
  152. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  153. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1511 -0
  154. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  155. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +796 -0
  156. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  157. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +222 -232
  158. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  159. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  160. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IAccessAdmin.sol/IAccessAdmin.json +1189 -0
  162. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.dbg.json +4 -0
  163. package/artifacts/contracts/shared/IAccessManagerExtended.sol/IAccessManagerExtended.json +1562 -0
  164. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.dbg.json +4 -0
  165. package/artifacts/contracts/shared/IAccessManagerExtendedWithDisable.sol/IAccessManagerExtendedWithDisable.json +1600 -0
  166. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  167. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +224 -113
  168. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  169. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +880 -0
  170. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  171. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +705 -0
  172. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  173. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +50 -11
  174. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  175. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -1
  176. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  177. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +7 -40
  178. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  179. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +87 -9
  180. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  181. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +7 -40
  182. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  183. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +0 -34
  184. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  185. package/artifacts/contracts/shared/IService.sol/IService.json +76 -164
  186. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  187. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -150
  188. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.dbg.json +4 -0
  189. package/artifacts/contracts/shared/InitializableCustom.sol/InitializableCustom.json +39 -0
  190. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  191. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +1036 -0
  192. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  193. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +571 -0
  194. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  195. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +194 -0
  196. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.dbg.json +4 -0
  197. package/artifacts/contracts/shared/NftIdSetManager.sol/NftIdSetManager.json +306 -0
  198. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  199. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -78
  200. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  201. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +98 -47
  202. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  203. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +215 -97
  204. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  205. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +28 -90
  206. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  207. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -36
  208. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  209. package/artifacts/contracts/shared/Service.sol/Service.json +88 -208
  210. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  211. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +60 -6
  212. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  213. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  214. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  215. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -150
  216. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  217. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1438 -0
  218. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  219. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  220. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  221. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +460 -0
  222. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  223. package/artifacts/contracts/staking/Staking.sol/Staking.json +2005 -0
  224. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  225. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +761 -0
  226. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  227. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +592 -0
  228. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  229. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1343 -0
  230. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  231. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +718 -0
  232. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  233. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2261 -0
  234. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  235. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +571 -0
  236. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  237. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  238. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  239. package/artifacts/contracts/type/Amount.sol/AmountLib.json +345 -0
  240. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  241. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  242. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  243. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  244. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  245. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  246. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  247. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  248. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  249. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  250. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  251. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  252. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  253. package/artifacts/contracts/{types → type}/NftIdSet.sol/LibNftIdSet.json +3 -3
  254. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  255. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +186 -0
  256. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  257. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  258. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  259. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  260. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  261. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  262. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  263. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  264. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  265. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +266 -0
  266. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  267. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +198 -0
  268. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  269. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  270. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  271. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  272. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  273. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  274. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  276. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +293 -0
  278. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  279. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  280. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  281. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  282. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  283. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  284. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  285. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  286. package/contracts/{components → distribution}/Distribution.sol +57 -94
  287. package/contracts/distribution/DistributionService.sol +297 -0
  288. package/contracts/distribution/DistributionServiceManager.sol +42 -0
  289. package/contracts/distribution/IDistributionComponent.sol +66 -0
  290. package/contracts/distribution/IDistributionService.sol +81 -0
  291. package/contracts/instance/BundleManager.sol +15 -14
  292. package/contracts/instance/IInstance.sol +72 -71
  293. package/contracts/instance/IInstanceService.sol +59 -21
  294. package/contracts/instance/Instance.sol +175 -193
  295. package/contracts/instance/InstanceAdmin.sol +331 -0
  296. package/contracts/instance/InstanceAuthorizationsLib.sol +377 -0
  297. package/contracts/instance/InstanceReader.sol +159 -60
  298. package/contracts/instance/InstanceService.sol +302 -296
  299. package/contracts/instance/InstanceServiceManager.sol +12 -22
  300. package/contracts/instance/InstanceStore.sol +269 -0
  301. package/contracts/instance/base/BalanceStore.sol +123 -0
  302. package/contracts/instance/{Cloneable.sol → base/Cloneable.sol} +4 -22
  303. package/contracts/instance/base/ObjectCounter.sol +21 -0
  304. package/contracts/instance/{ObjectManager.sol → base/ObjectManager.sol} +12 -16
  305. package/contracts/instance/module/IAccess.sol +19 -20
  306. package/contracts/instance/module/IBundle.sol +8 -8
  307. package/contracts/instance/module/{ISetup.sol → IComponents.sol} +24 -19
  308. package/contracts/instance/module/IDistribution.sol +7 -4
  309. package/contracts/instance/module/IPolicy.sol +56 -17
  310. package/contracts/instance/module/IRisk.sol +1 -1
  311. package/contracts/{test/TestToken.sol → mock/Dip.sol} +5 -5
  312. package/contracts/oracle/IOracle.sol +20 -0
  313. package/contracts/oracle/IOracleComponent.sol +32 -0
  314. package/contracts/oracle/IOracleService.sol +65 -0
  315. package/contracts/oracle/Oracle.sol +145 -0
  316. package/contracts/oracle/OracleService.sol +278 -0
  317. package/contracts/oracle/OracleServiceManager.sol +42 -0
  318. package/contracts/pool/BundleService.sol +296 -0
  319. package/contracts/pool/BundleServiceManager.sol +42 -0
  320. package/contracts/pool/IBundleService.sol +106 -0
  321. package/contracts/pool/IPoolComponent.sol +112 -0
  322. package/contracts/pool/IPoolService.sol +150 -0
  323. package/contracts/pool/Pool.sol +299 -0
  324. package/contracts/pool/PoolService.sol +452 -0
  325. package/contracts/pool/PoolServiceManager.sol +42 -0
  326. package/contracts/product/ApplicationService.sol +254 -0
  327. package/contracts/product/ApplicationServiceManager.sol +38 -0
  328. package/contracts/product/ClaimService.sol +442 -0
  329. package/contracts/product/ClaimServiceManager.sol +38 -0
  330. package/contracts/{instance/service → product}/IApplicationService.sol +17 -37
  331. package/contracts/product/IClaimService.sol +99 -0
  332. package/contracts/product/IPolicyService.sol +78 -0
  333. package/contracts/product/IPricingService.sol +39 -0
  334. package/contracts/product/IProductComponent.sol +42 -0
  335. package/contracts/product/IProductService.sol +33 -0
  336. package/contracts/product/PolicyService.sol +475 -0
  337. package/contracts/product/PolicyServiceManager.sol +42 -0
  338. package/contracts/product/PricingService.sol +300 -0
  339. package/contracts/product/PricingServiceManager.sol +42 -0
  340. package/contracts/product/Product.sol +377 -0
  341. package/contracts/product/ProductService.sol +124 -0
  342. package/contracts/product/ProductServiceManager.sol +42 -0
  343. package/contracts/registry/ChainNft.sol +16 -1
  344. package/contracts/registry/IRegistry.sol +46 -21
  345. package/contracts/registry/IRegistryService.sol +42 -38
  346. package/contracts/registry/IServiceAuthorization.sol +35 -0
  347. package/contracts/registry/ITransferInterceptor.sol +1 -0
  348. package/contracts/registry/Registry.sol +216 -96
  349. package/contracts/registry/RegistryAdmin.sol +333 -0
  350. package/contracts/registry/RegistryService.sol +101 -96
  351. package/contracts/registry/RegistryServiceManager.sol +22 -31
  352. package/contracts/registry/ReleaseManager.sol +398 -203
  353. package/contracts/registry/ServiceAuthorization.sol +86 -0
  354. package/contracts/registry/ServiceAuthorizationV3.sol +200 -0
  355. package/contracts/registry/TokenRegistry.sol +262 -60
  356. package/contracts/shared/AccessAdmin.sol +759 -0
  357. package/contracts/shared/AccessManagerCustom.sol +741 -0
  358. package/contracts/shared/AccessManagerExtended.sol +481 -0
  359. package/contracts/shared/AccessManagerExtendedInitializeable.sol +13 -0
  360. package/contracts/shared/AccessManagerExtendedWithDisable.sol +137 -0
  361. package/contracts/shared/AccessManagerExtendedWithDisableInitializeable.sol +14 -0
  362. package/contracts/shared/Component.sol +281 -0
  363. package/contracts/shared/ComponentService.sol +617 -0
  364. package/contracts/shared/ComponentServiceManager.sol +35 -0
  365. package/contracts/shared/ComponentVerifyingService.sol +117 -0
  366. package/contracts/shared/ERC165.sol +3 -2
  367. package/contracts/shared/IAccessAdmin.sol +168 -0
  368. package/contracts/shared/IAccessManagerExtended.sol +74 -0
  369. package/contracts/shared/IAccessManagerExtendedWithDisable.sol +18 -0
  370. package/contracts/shared/IComponent.sol +70 -0
  371. package/contracts/shared/IComponentService.sol +102 -0
  372. package/contracts/shared/IInstanceLinkedComponent.sol +46 -0
  373. package/contracts/{instance/base → shared}/IKeyValueStore.sol +15 -11
  374. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -3
  375. package/contracts/shared/INftOwnable.sol +6 -11
  376. package/contracts/shared/IPolicyHolder.sol +29 -10
  377. package/contracts/shared/IRegistryLinked.sol +0 -4
  378. package/contracts/shared/IService.sol +14 -5
  379. package/contracts/shared/IVersionable.sol +5 -48
  380. package/contracts/shared/InitializableCustom.sol +177 -0
  381. package/contracts/shared/InstanceLinkedComponent.sol +144 -0
  382. package/contracts/shared/KeyValueStore.sol +127 -0
  383. package/contracts/{instance/base → shared}/Lifecycle.sol +37 -7
  384. package/contracts/shared/NftIdSetManager.sol +65 -0
  385. package/contracts/shared/NftOwnable.sol +10 -93
  386. package/contracts/shared/PolicyHolder.sol +40 -19
  387. package/contracts/shared/ProxyManager.sol +129 -25
  388. package/contracts/shared/Registerable.sol +15 -21
  389. package/contracts/shared/RegistryLinked.sol +5 -26
  390. package/contracts/shared/Service.sol +52 -29
  391. package/contracts/shared/TokenHandler.sol +37 -6
  392. package/contracts/shared/Versionable.sol +1 -90
  393. package/contracts/staking/IStaking.sol +168 -0
  394. package/contracts/staking/IStakingService.sol +153 -0
  395. package/contracts/staking/StakeManagerLib.sol +231 -0
  396. package/contracts/staking/Staking.sol +513 -0
  397. package/contracts/staking/StakingManager.sol +54 -0
  398. package/contracts/staking/StakingReader.sol +187 -0
  399. package/contracts/staking/StakingService.sol +411 -0
  400. package/contracts/staking/StakingServiceManager.sol +44 -0
  401. package/contracts/staking/StakingStore.sol +613 -0
  402. package/contracts/staking/TargetManagerLib.sol +207 -0
  403. package/contracts/{types → type}/AddressSet.sol +1 -1
  404. package/contracts/type/Amount.sol +128 -0
  405. package/contracts/{types → type}/Blocknumber.sol +21 -3
  406. package/contracts/type/ClaimId.sol +75 -0
  407. package/contracts/{types → type}/Fee.sol +33 -23
  408. package/contracts/{types → type}/NftId.sol +21 -15
  409. package/contracts/{types → type}/NftIdSet.sol +2 -2
  410. package/contracts/type/ObjectType.sol +241 -0
  411. package/contracts/type/PayoutId.sol +82 -0
  412. package/contracts/{types → type}/Referral.sol +5 -1
  413. package/contracts/type/RequestId.sol +75 -0
  414. package/contracts/{types → type}/RiskId.sol +1 -1
  415. package/contracts/type/RoleId.sol +201 -0
  416. package/contracts/type/Seconds.sol +81 -0
  417. package/contracts/type/Selector.sol +102 -0
  418. package/contracts/{types → type}/StateId.sol +34 -4
  419. package/contracts/type/String.sol +53 -0
  420. package/contracts/{types → type}/Timestamp.sol +23 -14
  421. package/contracts/{types → type}/UFixed.sol +1 -0
  422. package/contracts/{types → type}/Version.sol +2 -1
  423. package/package.json +3 -3
  424. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  425. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  426. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  427. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  428. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  429. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  430. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  431. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  432. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  433. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  434. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  435. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  436. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  437. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  438. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  439. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  440. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  441. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  442. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  443. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  444. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  445. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  446. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  447. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  448. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  449. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  450. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  451. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  452. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  453. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  454. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  455. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  456. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  457. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  458. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  459. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  460. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  461. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  462. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  463. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  464. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  465. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  466. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  467. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  468. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  469. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  470. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  471. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  472. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  473. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  474. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -984
  475. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  476. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -261
  477. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  478. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  479. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  480. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  481. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  482. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  483. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  484. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  485. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  486. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  487. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1117
  488. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  489. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1318
  490. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  491. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -586
  492. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  493. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1176
  494. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  495. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -602
  496. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  497. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  498. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  499. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  500. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  501. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  502. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  503. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1378
  504. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  505. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -642
  506. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  507. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -957
  508. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  509. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -574
  510. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  511. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1007
  512. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  513. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -574
  514. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  515. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  516. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  517. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  518. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  519. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  520. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  521. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -446
  522. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  523. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  524. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  525. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -759
  526. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  527. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  528. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  529. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  530. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  531. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  532. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  533. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  534. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  535. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  536. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  537. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  538. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  539. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  540. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  541. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  542. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  543. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  544. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  545. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  546. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  547. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  548. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  549. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  550. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  551. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  552. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  553. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  554. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  555. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  556. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  557. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  558. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  559. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  560. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  561. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  562. package/contracts/components/Component.sol +0 -236
  563. package/contracts/components/IComponent.sol +0 -50
  564. package/contracts/components/IDistributionComponent.sol +0 -100
  565. package/contracts/components/IPoolComponent.sol +0 -87
  566. package/contracts/components/IProductComponent.sol +0 -39
  567. package/contracts/components/Pool.sol +0 -254
  568. package/contracts/components/Product.sol +0 -278
  569. package/contracts/experiment/cloning/Cloner.sol +0 -47
  570. package/contracts/experiment/errors/Require.sol +0 -38
  571. package/contracts/experiment/errors/Revert.sol +0 -44
  572. package/contracts/experiment/inheritance/A.sol +0 -53
  573. package/contracts/experiment/inheritance/B.sol +0 -28
  574. package/contracts/experiment/inheritance/C.sol +0 -34
  575. package/contracts/experiment/inheritance/IA.sol +0 -13
  576. package/contracts/experiment/inheritance/IB.sol +0 -10
  577. package/contracts/experiment/inheritance/IC.sol +0 -12
  578. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  579. package/contracts/experiment/statemachine/ISM.sol +0 -25
  580. package/contracts/experiment/statemachine/SM.sol +0 -57
  581. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  582. package/contracts/experiment/types/TypeA.sol +0 -47
  583. package/contracts/experiment/types/TypeB.sol +0 -29
  584. package/contracts/instance/InstanceAccessManager.sol +0 -297
  585. package/contracts/instance/base/ComponentService.sol +0 -134
  586. package/contracts/instance/base/KeyValueStore.sol +0 -172
  587. package/contracts/instance/module/ITreasury.sol +0 -23
  588. package/contracts/instance/service/ApplicationService.sol +0 -268
  589. package/contracts/instance/service/BundleService.sol +0 -298
  590. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  591. package/contracts/instance/service/DistributionService.sol +0 -274
  592. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  593. package/contracts/instance/service/IBundleService.sol +0 -54
  594. package/contracts/instance/service/IDistributionService.sol +0 -65
  595. package/contracts/instance/service/IPolicyService.sol +0 -88
  596. package/contracts/instance/service/IPoolService.sol +0 -20
  597. package/contracts/instance/service/IProductService.sol +0 -40
  598. package/contracts/instance/service/PolicyService.sol +0 -524
  599. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  600. package/contracts/instance/service/PoolService.sol +0 -109
  601. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  602. package/contracts/instance/service/ProductService.sol +0 -233
  603. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  604. package/contracts/registry/RegistryAccessManager.sol +0 -216
  605. package/contracts/shared/ContractDeployerLib.sol +0 -72
  606. package/contracts/test/TestFee.sol +0 -25
  607. package/contracts/test/TestRegisterable.sol +0 -18
  608. package/contracts/test/TestRoleId.sol +0 -14
  609. package/contracts/test/TestService.sol +0 -25
  610. package/contracts/test/TestVersion.sol +0 -44
  611. package/contracts/test/TestVersionable.sol +0 -17
  612. package/contracts/test/Usdc.sol +0 -26
  613. package/contracts/types/ChainId.sol +0 -38
  614. package/contracts/types/NumberId.sol +0 -52
  615. package/contracts/types/ObjectType.sol +0 -156
  616. package/contracts/types/RoleId.sol +0 -90
  617. /package/contracts/{types → type}/DistributorType.sol +0 -0
  618. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -43,18 +43,13 @@
43
43
  },
44
44
  {
45
45
  "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "registry",
49
- "type": "address"
50
- },
51
46
  {
52
47
  "internalType": "NftId",
53
48
  "name": "nftId",
54
49
  "type": "uint96"
55
50
  }
56
51
  ],
57
- "name": "ErrorAlreadyLinked",
52
+ "name": "ErrorNftOwnableAlreadyLinked",
58
53
  "type": "error"
59
54
  },
60
55
  {
@@ -65,12 +60,12 @@
65
60
  "type": "address"
66
61
  }
67
62
  ],
68
- "name": "ErrorContractNotRegistered",
63
+ "name": "ErrorNftOwnableContractNotRegistered",
69
64
  "type": "error"
70
65
  },
71
66
  {
72
67
  "inputs": [],
73
- "name": "ErrorInitialOwnerZero",
68
+ "name": "ErrorNftOwnableInitialOwnerZero",
74
69
  "type": "error"
75
70
  },
76
71
  {
@@ -81,7 +76,7 @@
81
76
  "type": "address"
82
77
  }
83
78
  ],
84
- "name": "ErrorNotOwner",
79
+ "name": "ErrorNftOwnableNotOwner",
85
80
  "type": "error"
86
81
  },
87
82
  {
@@ -99,124 +94,231 @@
99
94
  "inputs": [
100
95
  {
101
96
  "internalType": "address",
102
- "name": "registryAddress",
97
+ "name": "registerableAddress",
103
98
  "type": "address"
104
99
  }
105
100
  ],
106
- "name": "ErrorRegisterableNotRegistry",
101
+ "name": "ErrorRegistryServiceInvalidAddress",
107
102
  "type": "error"
108
103
  },
109
104
  {
110
- "inputs": [],
111
- "name": "ErrorRegistryAddressZero",
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "initialOwner",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "ErrorRegistryServiceInvalidInitialOwner",
112
113
  "type": "error"
113
114
  },
114
115
  {
115
116
  "inputs": [
116
117
  {
117
118
  "internalType": "address",
118
- "name": "registry",
119
+ "name": "notComponent",
119
120
  "type": "address"
120
121
  }
121
122
  ],
122
- "name": "ErrorRegistryAlreadyInitialized",
123
+ "name": "ErrorRegistryServiceNotComponent",
123
124
  "type": "error"
124
125
  },
125
126
  {
126
- "inputs": [],
127
- "name": "ErrorRegistryNotInitialized",
127
+ "inputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "notDistribution",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "name": "ErrorRegistryServiceNotDistribution",
128
135
  "type": "error"
129
136
  },
130
137
  {
131
138
  "inputs": [
132
139
  {
133
140
  "internalType": "address",
134
- "name": "registerableAddress",
141
+ "name": "notInstance",
135
142
  "type": "address"
136
143
  }
137
144
  ],
138
- "name": "InvalidAddress",
145
+ "name": "ErrorRegistryServiceNotInstance",
139
146
  "type": "error"
140
147
  },
141
148
  {
142
149
  "inputs": [
143
150
  {
144
151
  "internalType": "address",
145
- "name": "initialOwner",
152
+ "name": "notPool",
146
153
  "type": "address"
147
154
  }
148
155
  ],
149
- "name": "InvalidInitialOwner",
156
+ "name": "ErrorRegistryServiceNotPool",
150
157
  "type": "error"
151
158
  },
152
159
  {
153
- "inputs": [],
154
- "name": "InvalidInitialization",
160
+ "inputs": [
161
+ {
162
+ "internalType": "address",
163
+ "name": "notProduct",
164
+ "type": "address"
165
+ }
166
+ ],
167
+ "name": "ErrorRegistryServiceNotProduct",
155
168
  "type": "error"
156
169
  },
157
170
  {
158
171
  "inputs": [],
159
- "name": "NotDistribution",
172
+ "name": "ErrorRegistryServiceNotRegistryOwner",
160
173
  "type": "error"
161
174
  },
162
175
  {
163
- "inputs": [],
164
- "name": "NotInitializing",
176
+ "inputs": [
177
+ {
178
+ "internalType": "address",
179
+ "name": "notService",
180
+ "type": "address"
181
+ }
182
+ ],
183
+ "name": "ErrorRegistryServiceNotService",
165
184
  "type": "error"
166
185
  },
167
186
  {
168
- "inputs": [],
169
- "name": "NotInstance",
187
+ "inputs": [
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "objectType",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "ErrorRegistryServiceObjectAddressNotZero",
170
195
  "type": "error"
171
196
  },
172
197
  {
173
- "inputs": [],
174
- "name": "NotPool",
198
+ "inputs": [
199
+ {
200
+ "internalType": "ObjectType",
201
+ "name": "objectType",
202
+ "type": "uint8"
203
+ },
204
+ {
205
+ "internalType": "address",
206
+ "name": "owner",
207
+ "type": "address"
208
+ }
209
+ ],
210
+ "name": "ErrorRegistryServiceObjectOwnerRegistered",
175
211
  "type": "error"
176
212
  },
177
213
  {
178
- "inputs": [],
179
- "name": "NotProduct",
214
+ "inputs": [
215
+ {
216
+ "internalType": "ObjectType",
217
+ "name": "objectType",
218
+ "type": "uint8"
219
+ }
220
+ ],
221
+ "name": "ErrorRegistryServiceObjectOwnerZero",
180
222
  "type": "error"
181
223
  },
182
224
  {
183
225
  "inputs": [
184
226
  {
185
- "internalType": "address",
186
- "name": "expectedOwner",
187
- "type": "address"
227
+ "internalType": "ObjectType",
228
+ "name": "expected",
229
+ "type": "uint8"
230
+ },
231
+ {
232
+ "internalType": "ObjectType",
233
+ "name": "found",
234
+ "type": "uint8"
188
235
  }
189
236
  ],
190
- "name": "NotRegisterableOwner",
237
+ "name": "ErrorRegistryServiceObjectTypeInvalid",
191
238
  "type": "error"
192
239
  },
193
240
  {
194
- "inputs": [],
195
- "name": "NotRegistryOwner",
241
+ "inputs": [
242
+ {
243
+ "internalType": "contract IRegisterable",
244
+ "name": "registerable",
245
+ "type": "address"
246
+ },
247
+ {
248
+ "internalType": "address",
249
+ "name": "found",
250
+ "type": "address"
251
+ }
252
+ ],
253
+ "name": "ErrorRegistryServiceRegisterableAddressInvalid",
196
254
  "type": "error"
197
255
  },
198
256
  {
199
- "inputs": [],
200
- "name": "NotService",
257
+ "inputs": [
258
+ {
259
+ "internalType": "contract IRegisterable",
260
+ "name": "registerable",
261
+ "type": "address"
262
+ },
263
+ {
264
+ "internalType": "address",
265
+ "name": "expected",
266
+ "type": "address"
267
+ },
268
+ {
269
+ "internalType": "address",
270
+ "name": "found",
271
+ "type": "address"
272
+ }
273
+ ],
274
+ "name": "ErrorRegistryServiceRegisterableOwnerInvalid",
201
275
  "type": "error"
202
276
  },
203
277
  {
204
- "inputs": [],
205
- "name": "RegisterableOwnerIsRegistered",
278
+ "inputs": [
279
+ {
280
+ "internalType": "contract IRegisterable",
281
+ "name": "registerable",
282
+ "type": "address"
283
+ },
284
+ {
285
+ "internalType": "address",
286
+ "name": "owner",
287
+ "type": "address"
288
+ }
289
+ ],
290
+ "name": "ErrorRegistryServiceRegisterableOwnerRegistered",
206
291
  "type": "error"
207
292
  },
208
293
  {
209
- "inputs": [],
210
- "name": "RegisterableOwnerIsZero",
294
+ "inputs": [
295
+ {
296
+ "internalType": "contract IRegisterable",
297
+ "name": "registerable",
298
+ "type": "address"
299
+ }
300
+ ],
301
+ "name": "ErrorRegistryServiceRegisterableOwnerZero",
211
302
  "type": "error"
212
303
  },
213
304
  {
214
- "inputs": [],
215
- "name": "SelfRegistration",
305
+ "inputs": [
306
+ {
307
+ "internalType": "contract IRegisterable",
308
+ "name": "registerable",
309
+ "type": "address"
310
+ }
311
+ ],
312
+ "name": "ErrorRegistryServiceRegisterableSelfRegistration",
216
313
  "type": "error"
217
314
  },
218
315
  {
219
316
  "inputs": [
317
+ {
318
+ "internalType": "contract IRegisterable",
319
+ "name": "registerable",
320
+ "type": "address"
321
+ },
220
322
  {
221
323
  "internalType": "ObjectType",
222
324
  "name": "expected",
@@ -228,7 +330,22 @@
228
330
  "type": "uint8"
229
331
  }
230
332
  ],
231
- "name": "UnexpectedRegisterableType",
333
+ "name": "ErrorRegistryServiceRegisterableTypeInvalid",
334
+ "type": "error"
335
+ },
336
+ {
337
+ "inputs": [],
338
+ "name": "ErrorServiceNotImplemented",
339
+ "type": "error"
340
+ },
341
+ {
342
+ "inputs": [],
343
+ "name": "InvalidInitialization",
344
+ "type": "error"
345
+ },
346
+ {
347
+ "inputs": [],
348
+ "name": "NotInitializing",
232
349
  "type": "error"
233
350
  },
234
351
  {
@@ -257,31 +374,6 @@
257
374
  "name": "Initialized",
258
375
  "type": "event"
259
376
  },
260
- {
261
- "anonymous": false,
262
- "inputs": [
263
- {
264
- "indexed": false,
265
- "internalType": "Version",
266
- "name": "version",
267
- "type": "uint24"
268
- },
269
- {
270
- "indexed": false,
271
- "internalType": "address",
272
- "name": "implementation",
273
- "type": "address"
274
- },
275
- {
276
- "indexed": false,
277
- "internalType": "address",
278
- "name": "activatedBy",
279
- "type": "address"
280
- }
281
- ],
282
- "name": "LogVersionableInitialized",
283
- "type": "event"
284
- },
285
377
  {
286
378
  "inputs": [],
287
379
  "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
@@ -347,31 +439,6 @@
347
439
  "stateMutability": "pure",
348
440
  "type": "function"
349
441
  },
350
- {
351
- "inputs": [],
352
- "name": "getFunctionConfigs",
353
- "outputs": [
354
- {
355
- "components": [
356
- {
357
- "internalType": "ObjectType",
358
- "name": "serviceDomain",
359
- "type": "uint8"
360
- },
361
- {
362
- "internalType": "bytes4",
363
- "name": "selector",
364
- "type": "bytes4"
365
- }
366
- ],
367
- "internalType": "struct IRegistryService.FunctionConfig[]",
368
- "name": "config",
369
- "type": "tuple[]"
370
- }
371
- ],
372
- "stateMutability": "pure",
373
- "type": "function"
374
- },
375
442
  {
376
443
  "inputs": [],
377
444
  "name": "getInitialInfo",
@@ -422,45 +489,6 @@
422
489
  "stateMutability": "view",
423
490
  "type": "function"
424
491
  },
425
- {
426
- "inputs": [],
427
- "name": "getInitialOwner",
428
- "outputs": [
429
- {
430
- "internalType": "address",
431
- "name": "",
432
- "type": "address"
433
- }
434
- ],
435
- "stateMutability": "view",
436
- "type": "function"
437
- },
438
- {
439
- "inputs": [],
440
- "name": "getInitializedVersion",
441
- "outputs": [
442
- {
443
- "internalType": "uint64",
444
- "name": "",
445
- "type": "uint64"
446
- }
447
- ],
448
- "stateMutability": "view",
449
- "type": "function"
450
- },
451
- {
452
- "inputs": [],
453
- "name": "getMajorVersion",
454
- "outputs": [
455
- {
456
- "internalType": "VersionPart",
457
- "name": "majorVersion",
458
- "type": "uint8"
459
- }
460
- ],
461
- "stateMutability": "view",
462
- "type": "function"
463
- },
464
492
  {
465
493
  "inputs": [],
466
494
  "name": "getNftId",
@@ -502,106 +530,28 @@
502
530
  },
503
531
  {
504
532
  "inputs": [],
505
- "name": "getRegistryAddress",
533
+ "name": "getRoleId",
506
534
  "outputs": [
507
535
  {
508
- "internalType": "address",
509
- "name": "",
510
- "type": "address"
511
- }
512
- ],
513
- "stateMutability": "view",
514
- "type": "function"
515
- },
516
- {
517
- "inputs": [],
518
- "name": "getVersion",
519
- "outputs": [
520
- {
521
- "internalType": "Version",
522
- "name": "",
523
- "type": "uint24"
536
+ "internalType": "RoleId",
537
+ "name": "serviceRoleId",
538
+ "type": "uint64"
524
539
  }
525
540
  ],
526
541
  "stateMutability": "pure",
527
542
  "type": "function"
528
543
  },
529
- {
530
- "inputs": [
531
- {
532
- "internalType": "uint256",
533
- "name": "idx",
534
- "type": "uint256"
535
- }
536
- ],
537
- "name": "getVersion",
538
- "outputs": [
539
- {
540
- "internalType": "Version",
541
- "name": "",
542
- "type": "uint24"
543
- }
544
- ],
545
- "stateMutability": "view",
546
- "type": "function"
547
- },
548
544
  {
549
545
  "inputs": [],
550
- "name": "getVersionCount",
551
- "outputs": [
552
- {
553
- "internalType": "uint256",
554
- "name": "",
555
- "type": "uint256"
556
- }
557
- ],
558
- "stateMutability": "view",
559
- "type": "function"
560
- },
561
- {
562
- "inputs": [
563
- {
564
- "internalType": "Version",
565
- "name": "_version",
566
- "type": "uint24"
567
- }
568
- ],
569
- "name": "getVersionInfo",
546
+ "name": "getVersion",
570
547
  "outputs": [
571
- {
572
- "components": [
573
- {
574
- "internalType": "Version",
575
- "name": "version",
576
- "type": "uint24"
577
- },
578
- {
579
- "internalType": "address",
580
- "name": "implementation",
581
- "type": "address"
582
- },
583
- {
584
- "internalType": "address",
585
- "name": "activatedBy",
586
- "type": "address"
587
- },
588
- {
589
- "internalType": "Timestamp",
590
- "name": "activatedAt",
591
- "type": "uint40"
592
- },
593
- {
594
- "internalType": "Blocknumber",
595
- "name": "activatedIn",
596
- "type": "uint32"
597
- }
598
- ],
599
- "internalType": "struct IVersionable.VersionInfo",
548
+ {
549
+ "internalType": "Version",
600
550
  "name": "",
601
- "type": "tuple"
551
+ "type": "uint24"
602
552
  }
603
553
  ],
604
- "stateMutability": "view",
554
+ "stateMutability": "pure",
605
555
  "type": "function"
606
556
  },
607
557
  {
@@ -629,19 +579,6 @@
629
579
  "stateMutability": "nonpayable",
630
580
  "type": "function"
631
581
  },
632
- {
633
- "inputs": [
634
- {
635
- "internalType": "address",
636
- "name": "initialOwner",
637
- "type": "address"
638
- }
639
- ],
640
- "name": "initializeOwner",
641
- "outputs": [],
642
- "stateMutability": "nonpayable",
643
- "type": "function"
644
- },
645
582
  {
646
583
  "inputs": [
647
584
  {
@@ -671,7 +608,7 @@
671
608
  },
672
609
  {
673
610
  "internalType": "bytes",
674
- "name": "data",
611
+ "name": "registryData",
675
612
  "type": "bytes"
676
613
  }
677
614
  ],
@@ -700,6 +637,11 @@
700
637
  "name": "registry",
701
638
  "type": "address"
702
639
  },
640
+ {
641
+ "internalType": "address",
642
+ "name": "authority",
643
+ "type": "address"
644
+ },
703
645
  {
704
646
  "internalType": "address",
705
647
  "name": "initialOwner",
@@ -713,11 +655,6 @@
713
655
  },
714
656
  {
715
657
  "inputs": [
716
- {
717
- "internalType": "address",
718
- "name": "implementation",
719
- "type": "address"
720
- },
721
658
  {
722
659
  "internalType": "address",
723
660
  "name": "activatedBy",
@@ -748,28 +685,15 @@
748
685
  "type": "function"
749
686
  },
750
687
  {
751
- "inputs": [
752
- {
753
- "internalType": "Version",
754
- "name": "_version",
755
- "type": "uint24"
756
- }
757
- ],
758
- "name": "isInitialized",
688
+ "inputs": [],
689
+ "name": "linkToRegisteredNftId",
759
690
  "outputs": [
760
691
  {
761
- "internalType": "bool",
762
- "name": "",
763
- "type": "bool"
692
+ "internalType": "NftId",
693
+ "name": "nftId",
694
+ "type": "uint96"
764
695
  }
765
696
  ],
766
- "stateMutability": "view",
767
- "type": "function"
768
- },
769
- {
770
- "inputs": [],
771
- "name": "linkToRegisteredNftId",
772
- "outputs": [],
773
697
  "stateMutability": "nonpayable",
774
698
  "type": "function"
775
699
  },
@@ -829,6 +753,72 @@
829
753
  "stateMutability": "nonpayable",
830
754
  "type": "function"
831
755
  },
756
+ {
757
+ "inputs": [
758
+ {
759
+ "internalType": "contract IComponent",
760
+ "name": "component",
761
+ "type": "address"
762
+ },
763
+ {
764
+ "internalType": "ObjectType",
765
+ "name": "objectType",
766
+ "type": "uint8"
767
+ },
768
+ {
769
+ "internalType": "address",
770
+ "name": "initialOwner",
771
+ "type": "address"
772
+ }
773
+ ],
774
+ "name": "registerComponent",
775
+ "outputs": [
776
+ {
777
+ "components": [
778
+ {
779
+ "internalType": "NftId",
780
+ "name": "nftId",
781
+ "type": "uint96"
782
+ },
783
+ {
784
+ "internalType": "NftId",
785
+ "name": "parentNftId",
786
+ "type": "uint96"
787
+ },
788
+ {
789
+ "internalType": "ObjectType",
790
+ "name": "objectType",
791
+ "type": "uint8"
792
+ },
793
+ {
794
+ "internalType": "bool",
795
+ "name": "isInterceptor",
796
+ "type": "bool"
797
+ },
798
+ {
799
+ "internalType": "address",
800
+ "name": "objectAddress",
801
+ "type": "address"
802
+ },
803
+ {
804
+ "internalType": "address",
805
+ "name": "initialOwner",
806
+ "type": "address"
807
+ },
808
+ {
809
+ "internalType": "bytes",
810
+ "name": "data",
811
+ "type": "bytes"
812
+ }
813
+ ],
814
+ "internalType": "struct IRegistry.ObjectInfo",
815
+ "name": "info",
816
+ "type": "tuple"
817
+ }
818
+ ],
819
+ "stateMutability": "nonpayable",
820
+ "type": "function"
821
+ },
832
822
  {
833
823
  "inputs": [
834
824
  {
@@ -890,6 +880,62 @@
890
880
  "stateMutability": "nonpayable",
891
881
  "type": "function"
892
882
  },
883
+ {
884
+ "inputs": [
885
+ {
886
+ "components": [
887
+ {
888
+ "internalType": "NftId",
889
+ "name": "nftId",
890
+ "type": "uint96"
891
+ },
892
+ {
893
+ "internalType": "NftId",
894
+ "name": "parentNftId",
895
+ "type": "uint96"
896
+ },
897
+ {
898
+ "internalType": "ObjectType",
899
+ "name": "objectType",
900
+ "type": "uint8"
901
+ },
902
+ {
903
+ "internalType": "bool",
904
+ "name": "isInterceptor",
905
+ "type": "bool"
906
+ },
907
+ {
908
+ "internalType": "address",
909
+ "name": "objectAddress",
910
+ "type": "address"
911
+ },
912
+ {
913
+ "internalType": "address",
914
+ "name": "initialOwner",
915
+ "type": "address"
916
+ },
917
+ {
918
+ "internalType": "bytes",
919
+ "name": "data",
920
+ "type": "bytes"
921
+ }
922
+ ],
923
+ "internalType": "struct IRegistry.ObjectInfo",
924
+ "name": "info",
925
+ "type": "tuple"
926
+ }
927
+ ],
928
+ "name": "registerDistributor",
929
+ "outputs": [
930
+ {
931
+ "internalType": "NftId",
932
+ "name": "nftId",
933
+ "type": "uint96"
934
+ }
935
+ ],
936
+ "stateMutability": "nonpayable",
937
+ "type": "function"
938
+ },
893
939
  {
894
940
  "inputs": [
895
941
  {
@@ -1198,6 +1244,67 @@
1198
1244
  "stateMutability": "nonpayable",
1199
1245
  "type": "function"
1200
1246
  },
1247
+ {
1248
+ "inputs": [
1249
+ {
1250
+ "internalType": "contract IRegisterable",
1251
+ "name": "staking",
1252
+ "type": "address"
1253
+ },
1254
+ {
1255
+ "internalType": "address",
1256
+ "name": "owner",
1257
+ "type": "address"
1258
+ }
1259
+ ],
1260
+ "name": "registerStaking",
1261
+ "outputs": [
1262
+ {
1263
+ "components": [
1264
+ {
1265
+ "internalType": "NftId",
1266
+ "name": "nftId",
1267
+ "type": "uint96"
1268
+ },
1269
+ {
1270
+ "internalType": "NftId",
1271
+ "name": "parentNftId",
1272
+ "type": "uint96"
1273
+ },
1274
+ {
1275
+ "internalType": "ObjectType",
1276
+ "name": "objectType",
1277
+ "type": "uint8"
1278
+ },
1279
+ {
1280
+ "internalType": "bool",
1281
+ "name": "isInterceptor",
1282
+ "type": "bool"
1283
+ },
1284
+ {
1285
+ "internalType": "address",
1286
+ "name": "objectAddress",
1287
+ "type": "address"
1288
+ },
1289
+ {
1290
+ "internalType": "address",
1291
+ "name": "initialOwner",
1292
+ "type": "address"
1293
+ },
1294
+ {
1295
+ "internalType": "bytes",
1296
+ "name": "data",
1297
+ "type": "bytes"
1298
+ }
1299
+ ],
1300
+ "internalType": "struct IRegistry.ObjectInfo",
1301
+ "name": "info",
1302
+ "type": "tuple"
1303
+ }
1304
+ ],
1305
+ "stateMutability": "nonpayable",
1306
+ "type": "function"
1307
+ },
1201
1308
  {
1202
1309
  "inputs": [
1203
1310
  {
@@ -1232,16 +1339,6 @@
1232
1339
  },
1233
1340
  {
1234
1341
  "inputs": [
1235
- {
1236
- "internalType": "address",
1237
- "name": "implementation",
1238
- "type": "address"
1239
- },
1240
- {
1241
- "internalType": "address",
1242
- "name": "activatedBy",
1243
- "type": "address"
1244
- },
1245
1342
  {
1246
1343
  "internalType": "bytes",
1247
1344
  "name": "data",
@@ -1254,96 +1351,100 @@
1254
1351
  "type": "function"
1255
1352
  }
1256
1353
  ],
1257
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61320680620000e66000396000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80637a9e5e4b1161013b578063b88da759116100b8578063ea8665721161007c578063ea86657214610653578063ed841d0c14610666578063f21de1e814610487578063f7c34ee01461066e578063fb2cb1011461068157600080fd5b8063b88da75914610608578063bf7e214f1461061b578063c13de99714610623578063c2bf08c814610638578063cde749f41461064b57600080fd5b80638fbc2d81116100ff5780638fbc2d8114610584578063946dfcfe14610597578063ada9652e146105be578063b3c65015146105d3578063b68d1809146105f357600080fd5b80637a9e5e4b1461052e5780638105cc7f14610541578063893d20e8146105545780638c5f36bb1461055c5780638fb360371461056f57600080fd5b80632a904018116101c95780635c992fed1161018d5780635c992fed146104ac5780635d966289146104d7578063644c45e0146104ea578063675393bf146105085780637286e5e51461051b57600080fd5b80632a9040181461034057806336fc697e146103535780634d459c901461035b5780634f421333146104745780635ab1bd531461048757600080fd5b8063138461e011610210578063138461e0146102c85780631647f91e146102d25780631eff4b22146102e5578063214cdb801461031a57806327bb7a331461032d57600080fd5b806301ffc9a714610242578063026bc43b146102845780630d8e6e2c146102a45780630fec111c146102c0575b600080fd5b61026f610250366004612748565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61029761029236600461279e565b610689565b60405161027b9190612827565b6102ac610827565b60405162ffffff909116815260200161027b565b6102976108b1565b6102d0610a4d565b005b6102d06102e036600461299d565b610ca0565b61030c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102d0610328366004612748565b610d97565b6102d061033b366004612a51565b610dc4565b6102d061034e36600461299d565b610e60565b6102d0610fa8565b610417610369366004612afa565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206131b183398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161027b565b61026f610482366004612afa565b610fee565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161027b565b6104bf6104ba366004612b17565b6110a1565b6040516001600160601b03909116815260200161027b565b6102976104e536600461279e565b611130565b600080516020613131833981519152546001600160601b03166104bf565b6102d0610516366004612be9565b611270565b61029761052936600461279e565b611284565b6102d061053c366004612be9565b611331565b6104bf61054f366004612b17565b6113b8565b6104946113ce565b6102d061056a366004612be9565b611505565b610577611607565b60405161027b9190612c06565b61029761059236600461279e565b61163f565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461030c565b61030c60008051602061313183398151915281565b6105db6116ec565b6040516001600160401b03909116815260200161027b565b60285b60405160ff909116815260200161027b565b6102ac610616366004612c1b565b61170d565b61049461175e565b61062b61177a565b60405161027b9190612c34565b6104bf610646366004612b17565b611a20565b6105f6611a36565b6102d061066136600461279e565b611ab9565b61030c600081565b6102d061067c36600461279e565b611b2c565b610494611b5e565b61069161270a565b61069e335b600036611b74565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906106d190632400caf160e21b90600401612c06565b602060405180830381865afa1580156106ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107129190612c9b565b61072f57604051636795c76360e01b815260040160405180910390fd5b61073c8360465b84611c72565b90506107506001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161077b9190612827565b6020604051808303816000875af115801561079a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107be9190612cc3565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ac9190612ce0565b905090565b6108b961270a565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301805460009391606084019161094990612cfd565b80601f016020809104026020016040519081016040528092919081815260200182805461097590612cfd565b80156109c25780601f10610997576101008083540402835291602001916109c2565b820191906000526020600020905b8154815290600101906020018083116109a557829003601f168201915b50505050508152505090506040518060e001604052806109e0600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610a31611b5e565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061313183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610abc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae09190612c9b565b15610b225760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b6000610b366001546001600160a01b031690565b6001600160a01b031603610b5d5760405163cf29926160e01b815260040160405180910390fd5b30610b706001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdc9190612c9b565b610c04576040516372657a5160e01b81526001600160a01b0382166004820152602401610b19565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610c58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7c9190612cc3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b0316600081158015610cd35750825b90506000826001600160401b03166001148015610cef5750303b155b905081158015610cfd575080155b15610d1b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d4557845460ff60401b1916600160401b1785555b610d4f8888611e62565b610d598787612101565b8315610d8d57845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a15b5050505050505050565b610d9f612222565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610dcc612222565b610dd68287611b2c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610e468382612d7d565b50610e576303fb044760e21b610d97565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e82610827565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ec2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee69190612e3c565b6000805160206131918339815191528054600160401b900460ff1680610f19575080546001600160401b03808416911610155b15610f375760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f628585611e62565b610f6b8361225b565b805460ff60401b191681556040516001600160401b0383168152600080516020613171833981519152906020015b60405180910390a15050505050565b610fb0612222565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206131b183398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611076573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109a9190612e65565b1192915050565b60006110ac33610696565b6110b78260d3612263565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906110e7908590600401612827565b6020604051808303816000875af1158015611106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112a9190612cc3565b92915050565b61113861270a565b61114133610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611174906301da8d1160e61b90600401612c06565b602060405180830381865afa158015611191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b59190612c9b565b6111d257604051637a71998760e01b815260040160405180910390fd5b6111dd83606e610736565b90506111f16001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161121c9190612827565b6020604051808303816000875af115801561123b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125f9190612cc3565b6001600160601b0316815292915050565b611278612222565b6112818161236e565b50565b61128c61270a565b61129533610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906112c89063100f51f760e01b90600401612c06565b602060405180830381865afa1580156112e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113099190612c9b565b61132657604051636f61f64160e01b815260040160405180910390fd5b6111dd83608c610736565b3361133a61175e565b6001600160a01b0316816001600160a01b0316146113755760405162d1953b60e31b81526001600160a01b0382166004820152602401610b19565b816001600160a01b03163b6000036113ab576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b19565b6113b4826124d4565b5050565b60006113c333610696565b6110b7826050612263565b60008060008051602061313183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561143e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114629190612c9b565b156114ef576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e99190612e89565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b03166000811580156115385750825b90506000826001600160401b031660011480156115545750303b155b905081158015611562575080155b156115805760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115aa57845460ff60401b1916600160401b1785555b6115b386612535565b6115bb610fa8565b6115cb631fdea09d60e31b610d97565b83156115ff57845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a15b505050505050565b600080516020613151833981519152805460009190600160a01b900460ff166116315760006114e9565b638fb3603760e01b91505090565b61164761270a565b61165033610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061168390632595572960e01b90600401612c06565b602060405180830381865afa1580156116a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c49190612c9b565b6116e1576040516308707e3160e41b815260040160405180910390fd5b6111dd836078610736565b60006108ac600080516020613191833981519152546001600160401b031690565b60006000805160206131b1833981519152600101828154811061173257611732612ea6565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020613151833981519152546001600160a01b031690565b60408051600680825260e08201909252606091816020015b60408051808201909152600080825260208201528152602001906001900390816117925790505090506117c360d390565b816000815181106117d6576117d6612ea6565b602090810291909101015160ff90911690528051635c992fed60e01b90829060009061180457611804612ea6565b6020908102919091018101516001600160e01b031990921691015261182760dc90565b8160018151811061183a5761183a612ea6565b602090810291909101015160ff90911690528051631857e11960e31b908290600190811061186a5761186a612ea6565b6020908102919091018101516001600160e01b031990921691015261188d606e90565b816002815181106118a0576118a0612ea6565b602090810291909101015160ff90911690528051635d96628960e01b90829060029081106118d0576118d0612ea6565b6020908102919091018101516001600160e01b03199092169101526118f3608c90565b8160038151811061190657611906612ea6565b602090810291909101015160ff90911690528051637286e5e560e01b908290600390811061193657611936612ea6565b6020908102919091018101516001600160e01b0319909216910152611959607890565b8160048151811061196c5761196c612ea6565b602090810291909101015160ff90911690528051638fbc2d8160e01b908290600490811061199c5761199c612ea6565b6020908102919091018101516001600160e01b03199092169101526119bf604690565b816005815181106119d2576119d2612ea6565b602090810291909101015160ff9091169052805163026bc43b60e01b9082906005908110611a0257611a02612ea6565b6020908102919091018101516001600160e01b031990921691015290565b6000611a2b33610696565b6110b78260dc612263565b6000611a40610827565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611a95573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ac9190612ec7565b611ac1612222565b60006028611acd611a36565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611b028461259a565b90506000611b158583603c848888610dc4565b611b25637b6a51fd60e01b610d97565b5050505050565b611b34612222565b611b3d82612535565b611b4681611270565b611b4e610fa8565b6113b4631fdea09d60e31b610d97565b60006000805160206131318339815191526114ef565b600080516020613151833981519152600080611baf611b9161175e565b8730611ba1600460008a8c612ee4565b611baa91612f0e565b6125e1565b91509150816115ff5763ffffffff811615611c4f57825460ff60a01b1916600160a01b178355611bdd61175e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c0c93929190612f3e565b600060405180830381600087803b158015611c2657600080fd5b505af1158015611c3a573d6000803e3d6000fd5b5050845460ff60a01b19168555506115ff9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b19565b611c7a61270a565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611cb8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce09190810190612fc3565b6001600160a01b0385166080820152604081015190915060ff848116911614611d2f576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610b19565b60a08101516001600160a01b0380821690841614611d6b5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610b19565b846001600160a01b0316816001600160a01b031603611d9d576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611dc457604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3c9190612c9b565b15611e5a57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b611e6a612222565b6000805160206131b18339815191526000611e9a600080516020613191833981519152546001600160401b031690565b90506000611ea6610827565b9050816001600160401b0316600103611ed35760028301805462ffffff191662ffffff8316179055611f21565b600283015462ffffff90811690821611611f215760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b19565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611fd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff99190613086565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f999083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b03166000811580156121345750825b90506000826001600160401b031660011480156121505750303b155b90508115801561215e575080155b1561217c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121a657845460ff60401b1916600160401b1785555b600080878060200190518101906121bd91906130ad565b915091506121ca826126ed565b6121d4818a611ab9565b6121e4633f77281960e21b610d97565b50508315610e5757845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a150505050505050565b60008051602061319183398151915254600160401b900460ff1661225957604051631afcd79f60e31b815260040160405180910390fd5b565b61023d612222565b60006080830152604082015160ff8281169116146122a7576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610b19565b60a08201516001600160a01b0381166122d357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015612327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234b9190612c9b565b1561236957604051637142ceb360e11b815260040160405180910390fd5b505050565b6001546001600160a01b0316156123a75760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b19565b6001600160a01b0381166123ce5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036124045760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b19565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061244a9063230c0c8160e11b90600401612c06565b602060405180830381865afa925050508015612483575060408051601f3d908101601f1916820190925261248091810190612c9b565b60015b6124ab5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b19565b806113b45760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b19565b60008051602061315183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61253d612222565b6001600160a01b038116612564576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061313183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611106573d6000803e3d6000fd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161265091906130dc565b600060405180830381855afa9150503d806000811461268b576040519150601f19603f3d011682016040523d82523d6000602084013e612690565b606091505b509150915081156126e25760408151106126c257808060200190518101906126b891906130f8565b90945092506126e2565b60208151106126e257808060200190518101906126df9190612c9b565b93505b505094509492505050565b6126f5612222565b61128181612701612222565b611281816124d4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561275a57600080fd5b81356001600160e01b03198116811461277257600080fd5b9392505050565b6001600160a01b038116811461128157600080fd5b803561279981612779565b919050565b600080604083850312156127b157600080fd5b82356127bc81612779565b915060208301356127cc81612779565b809150509250929050565b60005b838110156127f25781810151838201526020016127da565b50506000910152565b600081518084526128138160208601602086016127d7565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161289060c08401826001600160a01b03169052565b5060c083015160e0808401526128aa6101008401826127fb565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156128ea576128ea6128b2565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612918576129186128b2565b604052919050565b60006001600160401b03821115612939576129396128b2565b50601f01601f191660200190565b600082601f83011261295857600080fd5b813561296b61296682612920565b6128f0565b81815284602083860101111561298057600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156129b257600080fd5b83356129bd81612779565b925060208401356129cd81612779565b915060408401356001600160401b038111156129e857600080fd5b6129f486828701612947565b9150509250925092565b6001600160601b038116811461128157600080fd5b8035612799816129fe565b60ff8116811461128157600080fd5b803561279981612a1e565b801515811461128157600080fd5b803561279981612a38565b60008060008060008060c08789031215612a6a57600080fd5b8635612a7581612779565b95506020870135612a85816129fe565b94506040870135612a9581612a1e565b93506060870135612aa581612a38565b92506080870135612ab581612779565b915060a08701356001600160401b03811115612ad057600080fd5b612adc89828a01612947565b9150509295509295509295565b62ffffff8116811461128157600080fd5b600060208284031215612b0c57600080fd5b813561277281612ae9565b600060208284031215612b2957600080fd5b81356001600160401b0380821115612b4057600080fd5b9083019060e08286031215612b5457600080fd5b612b5c6128c8565b612b6583612a13565b8152612b7360208401612a13565b6020820152612b8460408401612a2d565b6040820152612b9560608401612a46565b6060820152612ba66080840161278e565b6080820152612bb760a0840161278e565b60a082015260c083013582811115612bce57600080fd5b612bda87828601612947565b60c08301525095945050505050565b600060208284031215612bfb57600080fd5b813561277281612779565b6001600160e01b031991909116815260200190565b600060208284031215612c2d57600080fd5b5035919050565b602080825282518282018190526000919060409081850190868401855b82811015612c83578151805160ff1685528601516001600160e01b031916868501529284019290850190600101612c51565b5091979650505050505050565b805161279981612a38565b600060208284031215612cad57600080fd5b815161277281612a38565b8051612799816129fe565b600060208284031215612cd557600080fd5b8151612772816129fe565b600060208284031215612cf257600080fd5b815161277281612ae9565b600181811c90821680612d1157607f821691505b602082108103612d3157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561236957600081815260208120601f850160051c81016020861015612d5e5750805b601f850160051c820191505b818110156115ff57828155600101612d6a565b81516001600160401b03811115612d9657612d966128b2565b612daa81612da48454612cfd565b84612d37565b602080601f831160018114612ddf5760008415612dc75750858301515b600019600386901b1c1916600185901b1785556115ff565b600085815260208120601f198616915b82811015612e0e57888601518255948401946001909101908401612def565b5085821015612e2c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612e4e57600080fd5b81516001600160401b038116811461277257600080fd5b600060208284031215612e7757600080fd5b5051919050565b805161279981612779565b600060208284031215612e9b57600080fd5b815161277281612779565b634e487b7160e01b600052603260045260246000fd5b805161279981612a1e565b600060208284031215612ed957600080fd5b815161277281612a1e565b60008085851115612ef457600080fd5b83861115612f0157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612f365780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612f8f57600080fd5b8151612f9d61296682612920565b818152846020838601011115612fb257600080fd5b6128aa8260208301602087016127d7565b600060208284031215612fd557600080fd5b81516001600160401b0380821115612fec57600080fd5b9083019060e0828603121561300057600080fd5b6130086128c8565b61301183612cb8565b815261301f60208401612cb8565b602082015261303060408401612ebc565b604082015261304160608401612c90565b606082015261305260808401612e7e565b608082015261306360a08401612e7e565b60a082015260c08301518281111561307a57600080fd5b612bda87828601612f7e565b60006020828403121561309857600080fd5b815164ffffffffff8116811461277257600080fd5b600080604083850312156130c057600080fd5b82516130cb81612779565b60208401519092506127cc81612779565b600082516130ee8184602087016127d7565b9190910192915050565b6000806040838503121561310b57600080fd5b825161311681612a38565b602084015190925063ffffffff811681146127cc57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212203203768325e3574c20c4594f6f975eb76d5657a587eff7847a808c5ae0165a6764736f6c63430008140033",
1258
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061023d5760003560e01c80637a9e5e4b1161013b578063b88da759116100b8578063ea8665721161007c578063ea86657214610653578063ed841d0c14610666578063f21de1e814610487578063f7c34ee01461066e578063fb2cb1011461068157600080fd5b8063b88da75914610608578063bf7e214f1461061b578063c13de99714610623578063c2bf08c814610638578063cde749f41461064b57600080fd5b80638fbc2d81116100ff5780638fbc2d8114610584578063946dfcfe14610597578063ada9652e146105be578063b3c65015146105d3578063b68d1809146105f357600080fd5b80637a9e5e4b1461052e5780638105cc7f14610541578063893d20e8146105545780638c5f36bb1461055c5780638fb360371461056f57600080fd5b80632a904018116101c95780635c992fed1161018d5780635c992fed146104ac5780635d966289146104d7578063644c45e0146104ea578063675393bf146105085780637286e5e51461051b57600080fd5b80632a9040181461034057806336fc697e146103535780634d459c901461035b5780634f421333146104745780635ab1bd531461048757600080fd5b8063138461e011610210578063138461e0146102c85780631647f91e146102d25780631eff4b22146102e5578063214cdb801461031a57806327bb7a331461032d57600080fd5b806301ffc9a714610242578063026bc43b146102845780630d8e6e2c146102a45780630fec111c146102c0575b600080fd5b61026f610250366004612748565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61029761029236600461279e565b610689565b60405161027b9190612827565b6102ac610827565b60405162ffffff909116815260200161027b565b6102976108b1565b6102d0610a4d565b005b6102d06102e036600461299d565b610ca0565b61030c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161027b565b6102d0610328366004612748565b610d97565b6102d061033b366004612a51565b610dc4565b6102d061034e36600461299d565b610e60565b6102d0610fa8565b610417610369366004612afa565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206131b183398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161027b565b61026f610482366004612afa565b610fee565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161027b565b6104bf6104ba366004612b17565b6110a1565b6040516001600160601b03909116815260200161027b565b6102976104e536600461279e565b611130565b600080516020613131833981519152546001600160601b03166104bf565b6102d0610516366004612be9565b611270565b61029761052936600461279e565b611284565b6102d061053c366004612be9565b611331565b6104bf61054f366004612b17565b6113b8565b6104946113ce565b6102d061056a366004612be9565b611505565b610577611607565b60405161027b9190612c06565b61029761059236600461279e565b61163f565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed9015461030c565b61030c60008051602061313183398151915281565b6105db6116ec565b6040516001600160401b03909116815260200161027b565b60285b60405160ff909116815260200161027b565b6102ac610616366004612c1b565b61170d565b61049461175e565b61062b61177a565b60405161027b9190612c34565b6104bf610646366004612b17565b611a20565b6105f6611a36565b6102d061066136600461279e565b611ab9565b61030c600081565b6102d061067c36600461279e565b611b2c565b610494611b5e565b61069161270a565b61069e335b600036611b74565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906106d190632400caf160e21b90600401612c06565b602060405180830381865afa1580156106ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107129190612c9b565b61072f57604051636795c76360e01b815260040160405180910390fd5b61073c8360465b84611c72565b90506107506001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161077b9190612827565b6020604051808303816000875af115801561079a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107be9190612cc3565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610888573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ac9190612ce0565b905090565b6108b961270a565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301805460009391606084019161094990612cfd565b80601f016020809104026020016040519081016040528092919081815260200182805461097590612cfd565b80156109c25780601f10610997576101008083540402835291602001916109c2565b820191906000526020600020905b8154815290600101906020018083116109a557829003601f168201915b50505050508152505090506040518060e001604052806109e0600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610a31611b5e565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061313183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610abc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae09190612c9b565b15610b225760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b6000610b366001546001600160a01b031690565b6001600160a01b031603610b5d5760405163cf29926160e01b815260040160405180910390fd5b30610b706001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdc9190612c9b565b610c04576040516372657a5160e01b81526001600160a01b0382166004820152602401610b19565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610c58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7c9190612cc3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b0316600081158015610cd35750825b90506000826001600160401b03166001148015610cef5750303b155b905081158015610cfd575080155b15610d1b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d4557845460ff60401b1916600160401b1785555b610d4f8888611e62565b610d598787612101565b8315610d8d57845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a15b5050505050505050565b610d9f612222565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610dcc612222565b610dd68287611b2c565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610e468382612d7d565b50610e576303fb044760e21b610d97565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610e82610827565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ec2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ee69190612e3c565b6000805160206131918339815191528054600160401b900460ff1680610f19575080546001600160401b03808416911610155b15610f375760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f628585611e62565b610f6b8361225b565b805460ff60401b191681556040516001600160401b0383168152600080516020613171833981519152906020015b60405180910390a15050505050565b610fb0612222565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206131b183398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611076573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061109a9190612e65565b1192915050565b60006110ac33610696565b6110b78260d3612263565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906110e7908590600401612827565b6020604051808303816000875af1158015611106573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112a9190612cc3565b92915050565b61113861270a565b61114133610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790611174906301da8d1160e61b90600401612c06565b602060405180830381865afa158015611191573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b59190612c9b565b6111d257604051637a71998760e01b815260040160405180910390fd5b6111dd83606e610736565b90506111f16001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161121c9190612827565b6020604051808303816000875af115801561123b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125f9190612cc3565b6001600160601b0316815292915050565b611278612222565b6112818161236e565b50565b61128c61270a565b61129533610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906112c89063100f51f760e01b90600401612c06565b602060405180830381865afa1580156112e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113099190612c9b565b61132657604051636f61f64160e01b815260040160405180910390fd5b6111dd83608c610736565b3361133a61175e565b6001600160a01b0316816001600160a01b0316146113755760405162d1953b60e31b81526001600160a01b0382166004820152602401610b19565b816001600160a01b03163b6000036113ab576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b19565b6113b4826124d4565b5050565b60006113c333610696565b6110b7826050612263565b60008060008051602061313183398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561143e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114629190612c9b565b156114ef576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e99190612e89565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b03166000811580156115385750825b90506000826001600160401b031660011480156115545750303b155b905081158015611562575080155b156115805760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115aa57845460ff60401b1916600160401b1785555b6115b386612535565b6115bb610fa8565b6115cb631fdea09d60e31b610d97565b83156115ff57845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a15b505050505050565b600080516020613151833981519152805460009190600160a01b900460ff166116315760006114e9565b638fb3603760e01b91505090565b61164761270a565b61165033610696565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061168390632595572960e01b90600401612c06565b602060405180830381865afa1580156116a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c49190612c9b565b6116e1576040516308707e3160e41b815260040160405180910390fd5b6111dd836078610736565b60006108ac600080516020613191833981519152546001600160401b031690565b60006000805160206131b1833981519152600101828154811061173257611732612ea6565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020613151833981519152546001600160a01b031690565b60408051600680825260e08201909252606091816020015b60408051808201909152600080825260208201528152602001906001900390816117925790505090506117c360d390565b816000815181106117d6576117d6612ea6565b602090810291909101015160ff90911690528051635c992fed60e01b90829060009061180457611804612ea6565b6020908102919091018101516001600160e01b031990921691015261182760dc90565b8160018151811061183a5761183a612ea6565b602090810291909101015160ff90911690528051631857e11960e31b908290600190811061186a5761186a612ea6565b6020908102919091018101516001600160e01b031990921691015261188d606e90565b816002815181106118a0576118a0612ea6565b602090810291909101015160ff90911690528051635d96628960e01b90829060029081106118d0576118d0612ea6565b6020908102919091018101516001600160e01b03199092169101526118f3608c90565b8160038151811061190657611906612ea6565b602090810291909101015160ff90911690528051637286e5e560e01b908290600390811061193657611936612ea6565b6020908102919091018101516001600160e01b0319909216910152611959607890565b8160048151811061196c5761196c612ea6565b602090810291909101015160ff90911690528051638fbc2d8160e01b908290600490811061199c5761199c612ea6565b6020908102919091018101516001600160e01b03199092169101526119bf604690565b816005815181106119d2576119d2612ea6565b602090810291909101015160ff9091169052805163026bc43b60e01b9082906005908110611a0257611a02612ea6565b6020908102919091018101516001600160e01b031990921691015290565b6000611a2b33610696565b6110b78260dc612263565b6000611a40610827565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611a95573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ac9190612ec7565b611ac1612222565b60006028611acd611a36565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611b028461259a565b90506000611b158583603c848888610dc4565b611b25637b6a51fd60e01b610d97565b5050505050565b611b34612222565b611b3d82612535565b611b4681611270565b611b4e610fa8565b6113b4631fdea09d60e31b610d97565b60006000805160206131318339815191526114ef565b600080516020613151833981519152600080611baf611b9161175e565b8730611ba1600460008a8c612ee4565b611baa91612f0e565b6125e1565b91509150816115ff5763ffffffff811615611c4f57825460ff60a01b1916600160a01b178355611bdd61175e565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c0c93929190612f3e565b600060405180830381600087803b158015611c2657600080fd5b505af1158015611c3a573d6000803e3d6000fd5b5050845460ff60a01b19168555506115ff9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b19565b611c7a61270a565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611cb8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611ce09190810190612fc3565b6001600160a01b0385166080820152604081015190915060ff848116911614611d2f576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610b19565b60a08101516001600160a01b0380821690841614611d6b5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610b19565b846001600160a01b0316816001600160a01b031603611d9d576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611dc457604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e3c9190612c9b565b15611e5a57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b611e6a612222565b6000805160206131b18339815191526000611e9a600080516020613191833981519152546001600160401b031690565b90506000611ea6610827565b9050816001600160401b0316600103611ed35760028301805462ffffff191662ffffff8316179055611f21565b600283015462ffffff90811690821611611f215760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b19565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611fd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff99190613086565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610f999083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206131918339815191528054600160401b810460ff1615906001600160401b03166000811580156121345750825b90506000826001600160401b031660011480156121505750303b155b90508115801561215e575080155b1561217c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121a657845460ff60401b1916600160401b1785555b600080878060200190518101906121bd91906130ad565b915091506121ca826126ed565b6121d4818a611ab9565b6121e4633f77281960e21b610d97565b50508315610e5757845460ff60401b19168555604051600181526000805160206131718339815191529060200160405180910390a150505050505050565b60008051602061319183398151915254600160401b900460ff1661225957604051631afcd79f60e31b815260040160405180910390fd5b565b61023d612222565b60006080830152604082015160ff8281169116146122a7576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610b19565b60a08201516001600160a01b0381166122d357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015612327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061234b9190612c9b565b1561236957604051637142ceb360e11b815260040160405180910390fd5b505050565b6001546001600160a01b0316156123a75760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b19565b6001600160a01b0381166123ce5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036124045760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b19565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a79061244a9063230c0c8160e11b90600401612c06565b602060405180830381865afa925050508015612483575060408051601f3d908101601f1916820190925261248091810190612c9b565b60015b6124ab5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b19565b806113b45760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b19565b60008051602061315183398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b61253d612222565b6001600160a01b038116612564576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061313183398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611106573d6000803e3d6000fd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161265091906130dc565b600060405180830381855afa9150503d806000811461268b576040519150601f19603f3d011682016040523d82523d6000602084013e612690565b606091505b509150915081156126e25760408151106126c257808060200190518101906126b891906130f8565b90945092506126e2565b60208151106126e257808060200190518101906126df9190612c9b565b93505b505094509492505050565b6126f5612222565b61128181612701612222565b611281816124d4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561275a57600080fd5b81356001600160e01b03198116811461277257600080fd5b9392505050565b6001600160a01b038116811461128157600080fd5b803561279981612779565b919050565b600080604083850312156127b157600080fd5b82356127bc81612779565b915060208301356127cc81612779565b809150509250929050565b60005b838110156127f25781810151838201526020016127da565b50506000910152565b600081518084526128138160208601602086016127d7565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161289060c08401826001600160a01b03169052565b5060c083015160e0808401526128aa6101008401826127fb565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156128ea576128ea6128b2565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612918576129186128b2565b604052919050565b60006001600160401b03821115612939576129396128b2565b50601f01601f191660200190565b600082601f83011261295857600080fd5b813561296b61296682612920565b6128f0565b81815284602083860101111561298057600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156129b257600080fd5b83356129bd81612779565b925060208401356129cd81612779565b915060408401356001600160401b038111156129e857600080fd5b6129f486828701612947565b9150509250925092565b6001600160601b038116811461128157600080fd5b8035612799816129fe565b60ff8116811461128157600080fd5b803561279981612a1e565b801515811461128157600080fd5b803561279981612a38565b60008060008060008060c08789031215612a6a57600080fd5b8635612a7581612779565b95506020870135612a85816129fe565b94506040870135612a9581612a1e565b93506060870135612aa581612a38565b92506080870135612ab581612779565b915060a08701356001600160401b03811115612ad057600080fd5b612adc89828a01612947565b9150509295509295509295565b62ffffff8116811461128157600080fd5b600060208284031215612b0c57600080fd5b813561277281612ae9565b600060208284031215612b2957600080fd5b81356001600160401b0380821115612b4057600080fd5b9083019060e08286031215612b5457600080fd5b612b5c6128c8565b612b6583612a13565b8152612b7360208401612a13565b6020820152612b8460408401612a2d565b6040820152612b9560608401612a46565b6060820152612ba66080840161278e565b6080820152612bb760a0840161278e565b60a082015260c083013582811115612bce57600080fd5b612bda87828601612947565b60c08301525095945050505050565b600060208284031215612bfb57600080fd5b813561277281612779565b6001600160e01b031991909116815260200190565b600060208284031215612c2d57600080fd5b5035919050565b602080825282518282018190526000919060409081850190868401855b82811015612c83578151805160ff1685528601516001600160e01b031916868501529284019290850190600101612c51565b5091979650505050505050565b805161279981612a38565b600060208284031215612cad57600080fd5b815161277281612a38565b8051612799816129fe565b600060208284031215612cd557600080fd5b8151612772816129fe565b600060208284031215612cf257600080fd5b815161277281612ae9565b600181811c90821680612d1157607f821691505b602082108103612d3157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561236957600081815260208120601f850160051c81016020861015612d5e5750805b601f850160051c820191505b818110156115ff57828155600101612d6a565b81516001600160401b03811115612d9657612d966128b2565b612daa81612da48454612cfd565b84612d37565b602080601f831160018114612ddf5760008415612dc75750858301515b600019600386901b1c1916600185901b1785556115ff565b600085815260208120601f198616915b82811015612e0e57888601518255948401946001909101908401612def565b5085821015612e2c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612e4e57600080fd5b81516001600160401b038116811461277257600080fd5b600060208284031215612e7757600080fd5b5051919050565b805161279981612779565b600060208284031215612e9b57600080fd5b815161277281612779565b634e487b7160e01b600052603260045260246000fd5b805161279981612a1e565b600060208284031215612ed957600080fd5b815161277281612a1e565b60008085851115612ef457600080fd5b83861115612f0157600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612f365780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612f8f57600080fd5b8151612f9d61296682612920565b818152846020838601011115612fb257600080fd5b6128aa8260208301602087016127d7565b600060208284031215612fd557600080fd5b81516001600160401b0380821115612fec57600080fd5b9083019060e0828603121561300057600080fd5b6130086128c8565b61301183612cb8565b815261301f60208401612cb8565b602082015261303060408401612ebc565b604082015261304160608401612c90565b606082015261305260808401612e7e565b608082015261306360a08401612e7e565b60a082015260c08301518281111561307a57600080fd5b612bda87828601612f7e565b60006020828403121561309857600080fd5b815164ffffffffff8116811461277257600080fd5b600080604083850312156130c057600080fd5b82516130cb81612779565b60208401519092506127cc81612779565b600082516130ee8184602087016127d7565b9190910192915050565b6000806040838503121561310b57600080fd5b825161311681612a38565b602084015190925063ffffffff811681146127cc57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212203203768325e3574c20c4594f6f975eb76d5657a587eff7847a808c5ae0165a6764736f6c63430008140033",
1354
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612c3180620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a5780638fbc2d81116100ad578063c2bf08c81161007c578063c2bf08c814610488578063c4c79d8b1461049b578063d943342d146104ae578063ed841d0c146104c1578063f7c34ee0146104c957600080fd5b80638fbc2d8114610449578063ada9652e1461045c578063b68d180914610471578063bf7e214f1461048057600080fd5b80638105cc7f116100e95780638105cc7f14610406578063893d20e8146104195780638e32e979146104215780638fb360371461043457600080fd5b8063675393bf146103ad5780636c741e78146103c05780637286e5e5146103e05780637a9e5e4b146103f357600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e741461030357806336fc697e1461031657806349bb9e4b1461031e57806357a8fba71461033157600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b22146102a6578063214cdb80146102db57806327bb7a33146102f057600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046121fe565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612254565b6104dc565b60405161023991906122dd565b61026a61069d565b60405162ffffff9091168152602001610239565b610255610727565b61028e6108b8565b6040516001600160601b039091168152602001610239565b6102cd7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b6102ee6102e93660046121fe565b6108c3565b005b6102ee6102fe3660046124a6565b6108f0565b6102ee61031136600461253e565b610995565b6102ee610ae2565b6102ee61032c366004612572565b610b28565b61028e61033f3660046125c1565b610c27565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61028e6103773660046125c1565b610cb6565b61025561038a366004612254565b610ccc565b600080516020612b9c833981519152546001600160601b031661028e565b6102ee6103bb366004612693565b610e17565b6103c8610f2a565b6040516001600160401b039091168152602001610239565b6102556103ee366004612254565b611025565b6102ee610401366004612693565b6110dd565b61028e6104143660046125c1565b611160565b610351611176565b6102ee61042f3660046126b0565b6112ad565b61043c6113f1565b60405161023991906126fb565b610255610457366004612254565b611429565b6102cd600080516020612b9c83398151915281565b60405160028152602001610239565b6103516114e1565b61028e6104963660046125c1565b6114fd565b6102556104a9366004612254565b611513565b6102556104bc366004612710565b61152f565b6102cd600081565b6102ee6104d7366004612254565b61167b565b6104e46121c0565b6104f1335b6000366116f2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906105249063bfe7f23560e01b906004016126fb565b602060405180830381865afa158015610541573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610565919061274b565b61059257604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b61059f83600a5b846117f8565b90506105b36001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105de91906122dd565b6020604051808303816000875af11580156105fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106219190612773565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301816000875af1158015610672573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106969190612773565b5092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107229190612790565b905090565b61072f6121c0565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107cc9190612773565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610814611176565b6001600160a01b03168152602001826001018054610831906127b5565b80601f016020809104026020016040519081016040528092919081815260200182805461085d906127b5565b80156108aa5780601f1061087f576101008083540402835291602001916108aa565b820191906000526020600020905b81548152906001019060200180831161088d57829003601f168201915b505050505081525091505090565b600061072230611a6f565b6108cb611c70565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108f8611c70565b610902828761167b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161098b8382612835565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6109b761069d565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109f7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1b9190612909565b600080516020612bdc8339815191528054600160401b900460ff1680610a4e575080546001600160401b03808416911610155b15610a6c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a9683611ca9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610aea611c70565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612bdc8339815191528054600160401b810460ff1615906001600160401b0316600081158015610b5b5750825b90506000826001600160401b03166001148015610b775750303b155b905081158015610b85575080155b15610ba35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bcd57845460ff60401b1916600160401b1785555b610bd78787611cb1565b8315610c1e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610c32336104e9565b610c3d82601c611dd0565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c6d9085906004016122dd565b6020604051808303816000875af1158015610c8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb09190612773565b92915050565b6000610cc1336104e9565b610c3d826015611dd0565b610cd46121c0565b610cdd336104e9565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610d109063153c0ad960e01b906004016126fb565b602060405180830381865afa158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d51919061274b565b610d795760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610589565b610d8483600c610599565b9050610d986001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610dc391906122dd565b6020604051808303816000875af1158015610de2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e069190612773565b6001600160601b0316815292915050565b610e1f611c70565b806001600160a01b03163b600003610e555760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610589565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e9b9063e607072160e01b906004016126fb565b602060405180830381865afa925050508015610ed4575060408051601f3d908101601f19168201909252610ed19181019061274b565b60015b610efc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610589565b80610f255760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610589565b505b50565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbc9190612931565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611001573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107229190612909565b61102d6121c0565b611036336104e9565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061106990632363b9ed60e21b906004016126fb565b602060405180830381865afa158015611086573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110aa919061274b565b6110d2576040516304c983f360e41b81526001600160a01b0384166004820152602401610589565b610d8483600f610599565b336110e66114e1565b6001600160a01b0316816001600160a01b0316146111215760405162d1953b60e31b81526001600160a01b0382166004820152602401610589565b816001600160a01b03163b600003611157576040516361798f2f60e11b81526001600160a01b0383166004820152602401610589565b610f2582611f2b565b600061116b336104e9565b610c3d826020611dd0565b600080600080516020612b9c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120a919061274b565b15611297576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561126d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112919190612959565b91505090565b54600160601b90046001600160a01b0316919050565b6112b5611c70565b61133583846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131b9190612773565b6009600085604051806020016040528060008152506108f0565b6001600160a01b038216156113525761134d82611f8c565b6113cc565b600061135e6002611f9d565b90506113ca816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c59190612959565b611f8c565b505b6113dc634a531f3360e01b6108c3565b6113ec63daf9067160e01b6108c3565b505050565b600080516020612bbc833981519152805460009190600160a01b900460ff1661141b576000611291565b638fb3603760e01b91505090565b6114316121c0565b61143a336104e9565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061146d906363541cc160e11b906004016126fb565b602060405180830381865afa15801561148a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ae919061274b565b6114d6576040516367237f5b60e11b81526001600160a01b0384166004820152602401610589565b610d8483600e610599565b600080516020612bbc833981519152546001600160a01b031690565b6000611508336104e9565b610c3d82601e611dd0565b61151b6121c0565b611524336104e9565b610d84836003610599565b6115376121c0565b611540336104e9565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061157390632986755f60e11b906004016126fb565b602060405180830381865afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b4919061274b565b6115dc57604051632624ae7760e01b81526001600160a01b0385166004820152602401610589565b6115e78484846117f8565b90506115fb6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161162691906122dd565b6020604051808303816000875af1158015611645573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116699190612773565b6001600160601b031681529392505050565b611683611c70565b61168c81610e17565b611694610ae2565b6001600160a01b0382166116bb5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612b9c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612bbc83398151915260008061172d61170f6114e1565b873061171f600460008a8c612976565b611728916129a0565b6120a3565b91509150816117f05763ffffffff8116156117cd57825460ff60a01b1916600160a01b17835561175b6114e1565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161178a939291906129d0565b600060405180830381600087803b1580156117a457600080fd5b505af11580156117b8573d6000803e3d6000fd5b5050845460ff60a01b19168555506117f09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610589565b505050505050565b6118006121c0565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561183e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118669190810190612a55565b9050836001600160a01b031681608001516001600160a01b0316146118b75760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610589565b604081015160ff84811691161461190357604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610589565b60a08101516001600160a01b038082169084161461194f576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610589565b846001600160a01b0316816001600160a01b03160361198c57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610589565b6001600160a01b0381166119be576040516343e40cb560e01b81526001600160a01b0386166004820152602401610589565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a36919061274b565b15611a67576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610589565b509392505050565b600080600080516020612b9c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611adf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b03919061274b565b15611b2f5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610589565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba7919061274b565b611bcf5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610589565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611c23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c479190612773565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b600080516020612bdc83398151915254600160401b900460ff16611ca757604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611c70565b600080516020612bdc8339815191528054600160401b810460ff1615906001600160401b0316600081158015611ce45750825b90506000826001600160401b03166001148015611d005750303b155b905081158015611d0e575080155b15611d2c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d5657845460ff60401b1916600160401b1785555b60008087806020019051810190611d6d9190612b18565b91509150611d7c82828b6112ad565b611d8c631987a50360e11b6108c3565b50508315610c1e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c15565b60808201516001600160a01b031615611e075760408083015190516340fda83160e11b815260ff9091166004820152602401610589565b604082015160ff828116911614611e44576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610589565b60a08201516001600160a01b038116611e7b576040808401519051633312954f60e21b815260ff9091166004820152602401610589565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611ecf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef3919061274b565b156113ec57604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610589565b600080516020612bbc83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f94611c70565b610f27816121af565b6000611fb16001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015612016573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203a9190612931565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561207f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb09190612959565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516121129190612b47565b600060405180830381855afa9150503d806000811461214d576040519150601f19603f3d011682016040523d82523d6000602084013e612152565b606091505b509150915081156121a4576040815110612184578080602001905181019061217a9190612b63565b90945092506121a4565b60208151106121a457808060200190518101906121a1919061274b565b93505b505094509492505050565b6121b7611c70565b610f2781611f2b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561221057600080fd5b81356001600160e01b03198116811461222857600080fd5b9392505050565b6001600160a01b0381168114610f2757600080fd5b803561224f8161222f565b919050565b6000806040838503121561226757600080fd5b82356122728161222f565b915060208301356122828161222f565b809150509250929050565b60005b838110156122a8578181015183820152602001612290565b50506000910152565b600081518084526122c981602086016020860161228d565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161234660c08401826001600160a01b03169052565b5060c083015160e0808401526123606101008401826122b1565b949350505050565b6001600160601b0381168114610f2757600080fd5b803561224f81612368565b60ff81168114610f2757600080fd5b803561224f81612388565b8015158114610f2757600080fd5b803561224f816123a2565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156123f3576123f36123bb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612421576124216123bb565b604052919050565b60006001600160401b03821115612442576124426123bb565b50601f01601f191660200190565b600082601f83011261246157600080fd5b813561247461246f82612429565b6123f9565b81815284602083860101111561248957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156124bf57600080fd5b86356124ca8161222f565b955060208701356124da81612368565b945060408701356124ea81612388565b935060608701356124fa816123a2565b9250608087013561250a8161222f565b915060a08701356001600160401b0381111561252557600080fd5b61253189828a01612450565b9150509295509295509295565b60006020828403121561255057600080fd5b81356001600160401b0381111561256657600080fd5b61236084828501612450565b6000806040838503121561258557600080fd5b82356125908161222f565b915060208301356001600160401b038111156125ab57600080fd5b6125b785828601612450565b9150509250929050565b6000602082840312156125d357600080fd5b81356001600160401b03808211156125ea57600080fd5b9083019060e082860312156125fe57600080fd5b6126066123d1565b61260f8361237d565b815261261d6020840161237d565b602082015261262e60408401612397565b604082015261263f606084016123b0565b606082015261265060808401612244565b608082015261266160a08401612244565b60a082015260c08301358281111561267857600080fd5b61268487828601612450565b60c08301525095945050505050565b6000602082840312156126a557600080fd5b81356122288161222f565b6000806000606084860312156126c557600080fd5b83356126d08161222f565b925060208401356126e08161222f565b915060408401356126f08161222f565b809150509250925092565b6001600160e01b031991909116815260200190565b60008060006060848603121561272557600080fd5b83356127308161222f565b925060208401356126e081612388565b805161224f816123a2565b60006020828403121561275d57600080fd5b8151612228816123a2565b805161224f81612368565b60006020828403121561278557600080fd5b815161222881612368565b6000602082840312156127a257600080fd5b815162ffffff8116811461222857600080fd5b600181811c908216806127c957607f821691505b6020821081036127e957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156113ec57600081815260208120601f850160051c810160208610156128165750805b601f850160051c820191505b818110156117f057828155600101612822565b81516001600160401b0381111561284e5761284e6123bb565b6128628161285c84546127b5565b846127ef565b602080601f831160018114612897576000841561287f5750858301515b600019600386901b1c1916600185901b1785556117f0565b600085815260208120601f198616915b828110156128c6578886015182559484019460019091019084016128a7565b50858210156128e45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610f2757600080fd5b60006020828403121561291b57600080fd5b8151612228816128f4565b805161224f81612388565b60006020828403121561294357600080fd5b815161222881612388565b805161224f8161222f565b60006020828403121561296b57600080fd5b81516122288161222f565b6000808585111561298657600080fd5b8386111561299357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156129c85780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612a2157600080fd5b8151612a2f61246f82612429565b818152846020838601011115612a4457600080fd5b61236082602083016020870161228d565b600060208284031215612a6757600080fd5b81516001600160401b0380821115612a7e57600080fd5b9083019060e08286031215612a9257600080fd5b612a9a6123d1565b612aa383612768565b8152612ab160208401612768565b6020820152612ac260408401612926565b6040820152612ad360608401612740565b6060820152612ae46080840161294e565b6080820152612af560a0840161294e565b60a082015260c083015182811115612b0c57600080fd5b61268487828601612a10565b60008060408385031215612b2b57600080fd5b8251612b368161222f565b60208401519092506122828161222f565b60008251612b5981846020870161228d565b9190910192915050565b60008060408385031215612b7657600080fd5b8251612b81816123a2565b602084015190925063ffffffff8116811461228257600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208058f9c49e60122cc6d70d9d87acf01231f21063465d24b988c25742cc1dcd6264736f6c63430008140033",
1355
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a5780638fbc2d81116100ad578063c2bf08c81161007c578063c2bf08c814610488578063c4c79d8b1461049b578063d943342d146104ae578063ed841d0c146104c1578063f7c34ee0146104c957600080fd5b80638fbc2d8114610449578063ada9652e1461045c578063b68d180914610471578063bf7e214f1461048057600080fd5b80638105cc7f116100e95780638105cc7f14610406578063893d20e8146104195780638e32e979146104215780638fb360371461043457600080fd5b8063675393bf146103ad5780636c741e78146103c05780637286e5e5146103e05780637a9e5e4b146103f357600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e741461030357806336fc697e1461031657806349bb9e4b1461031e57806357a8fba71461033157600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b22146102a6578063214cdb80146102db57806327bb7a33146102f057600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046121fe565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612254565b6104dc565b60405161023991906122dd565b61026a61069d565b60405162ffffff9091168152602001610239565b610255610727565b61028e6108b8565b6040516001600160601b039091168152602001610239565b6102cd7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b6102ee6102e93660046121fe565b6108c3565b005b6102ee6102fe3660046124a6565b6108f0565b6102ee61031136600461253e565b610995565b6102ee610ae2565b6102ee61032c366004612572565b610b28565b61028e61033f3660046125c1565b610c27565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61028e6103773660046125c1565b610cb6565b61025561038a366004612254565b610ccc565b600080516020612b9c833981519152546001600160601b031661028e565b6102ee6103bb366004612693565b610e17565b6103c8610f2a565b6040516001600160401b039091168152602001610239565b6102556103ee366004612254565b611025565b6102ee610401366004612693565b6110dd565b61028e6104143660046125c1565b611160565b610351611176565b6102ee61042f3660046126b0565b6112ad565b61043c6113f1565b60405161023991906126fb565b610255610457366004612254565b611429565b6102cd600080516020612b9c83398151915281565b60405160028152602001610239565b6103516114e1565b61028e6104963660046125c1565b6114fd565b6102556104a9366004612254565b611513565b6102556104bc366004612710565b61152f565b6102cd600081565b6102ee6104d7366004612254565b61167b565b6104e46121c0565b6104f1335b6000366116f2565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906105249063bfe7f23560e01b906004016126fb565b602060405180830381865afa158015610541573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610565919061274b565b61059257604051631c8275e960e21b81526001600160a01b03841660048201526024015b60405180910390fd5b61059f83600a5b846117f8565b90506105b36001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105de91906122dd565b6020604051808303816000875af11580156105fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106219190612773565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192602092919082900301816000875af1158015610672573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106969190612773565b5092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af41580156106fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107229190612790565b905090565b61072f6121c0565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107cc9190612773565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610814611176565b6001600160a01b03168152602001826001018054610831906127b5565b80601f016020809104026020016040519081016040528092919081815260200182805461085d906127b5565b80156108aa5780601f1061087f576101008083540402835291602001916108aa565b820191906000526020600020905b81548152906001019060200180831161088d57829003601f168201915b505050505081525091505090565b600061072230611a6f565b6108cb611c70565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6108f8611c70565b610902828761167b565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30161098b8382612835565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6109b761069d565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156109f7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1b9190612909565b600080516020612bdc8339815191528054600160401b900460ff1680610a4e575080546001600160401b03808416911610155b15610a6c5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610a9683611ca9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610aea611c70565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612bdc8339815191528054600160401b810460ff1615906001600160401b0316600081158015610b5b5750825b90506000826001600160401b03166001148015610b775750303b155b905081158015610b85575080155b15610ba35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610bcd57845460ff60401b1916600160401b1785555b610bd78787611cb1565b8315610c1e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610c32336104e9565b610c3d82601c611dd0565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610c6d9085906004016122dd565b6020604051808303816000875af1158015610c8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb09190612773565b92915050565b6000610cc1336104e9565b610c3d826015611dd0565b610cd46121c0565b610cdd336104e9565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610d109063153c0ad960e01b906004016126fb565b602060405180830381865afa158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d51919061274b565b610d795760405163704b6c6d60e11b81526001600160a01b0384166004820152602401610589565b610d8483600c610599565b9050610d986001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610dc391906122dd565b6020604051808303816000875af1158015610de2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e069190612773565b6001600160601b0316815292915050565b610e1f611c70565b806001600160a01b03163b600003610e555760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610589565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a790610e9b9063e607072160e01b906004016126fb565b602060405180830381865afa925050508015610ed4575060408051601f3d908101601f19168201909252610ed19181019061274b565b60015b610efc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610589565b80610f255760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610589565b505b50565b600073__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d36002604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015610f98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fbc9190612931565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af4158015611001573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107229190612909565b61102d6121c0565b611036336104e9565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061106990632363b9ed60e21b906004016126fb565b602060405180830381865afa158015611086573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110aa919061274b565b6110d2576040516304c983f360e41b81526001600160a01b0384166004820152602401610589565b610d8483600f610599565b336110e66114e1565b6001600160a01b0316816001600160a01b0316146111215760405162d1953b60e31b81526001600160a01b0382166004820152602401610589565b816001600160a01b03163b600003611157576040516361798f2f60e11b81526001600160a01b0383166004820152602401610589565b610f2582611f2b565b600061116b336104e9565b610c3d826020611dd0565b600080600080516020612b9c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120a919061274b565b15611297576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561126d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112919190612959565b91505090565b54600160601b90046001600160a01b0316919050565b6112b5611c70565b61133583846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061131b9190612773565b6009600085604051806020016040528060008152506108f0565b6001600160a01b038216156113525761134d82611f8c565b6113cc565b600061135e6002611f9d565b90506113ca816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c59190612959565b611f8c565b505b6113dc634a531f3360e01b6108c3565b6113ec63daf9067160e01b6108c3565b505050565b600080516020612bbc833981519152805460009190600160a01b900460ff1661141b576000611291565b638fb3603760e01b91505090565b6114316121c0565b61143a336104e9565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061146d906363541cc160e11b906004016126fb565b602060405180830381865afa15801561148a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ae919061274b565b6114d6576040516367237f5b60e11b81526001600160a01b0384166004820152602401610589565b610d8483600e610599565b600080516020612bbc833981519152546001600160a01b031690565b6000611508336104e9565b610c3d82601e611dd0565b61151b6121c0565b611524336104e9565b610d84836003610599565b6115376121c0565b611540336104e9565b6040516301ffc9a760e01b81526001600160a01b038516906301ffc9a79061157390632986755f60e11b906004016126fb565b602060405180830381865afa158015611590573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115b4919061274b565b6115dc57604051632624ae7760e01b81526001600160a01b0385166004820152602401610589565b6115e78484846117f8565b90506115fb6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b815260040161162691906122dd565b6020604051808303816000875af1158015611645573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116699190612773565b6001600160601b031681529392505050565b611683611c70565b61168c81610e17565b611694610ae2565b6001600160a01b0382166116bb5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612b9c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612bbc83398151915260008061172d61170f6114e1565b873061171f600460008a8c612976565b611728916129a0565b6120a3565b91509150816117f05763ffffffff8116156117cd57825460ff60a01b1916600160a01b17835561175b6114e1565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161178a939291906129d0565b600060405180830381600087803b1580156117a457600080fd5b505af11580156117b8573d6000803e3d6000fd5b5050845460ff60a01b19168555506117f09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610589565b505050505050565b6118006121c0565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561183e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118669190810190612a55565b9050836001600160a01b031681608001516001600160a01b0316146118b75760808101516040516306704ad960e11b81526001600160a01b0380871660048301529091166024820152604401610589565b604081015160ff84811691161461190357604080820151905163137f2ac560e31b81526001600160a01b038616600482015260ff80861660248301529091166044820152606401610589565b60a08101516001600160a01b038082169084161461194f576040516335ce70c360e21b81526001600160a01b038087166004830152808516602483015282166044820152606401610589565b846001600160a01b0316816001600160a01b03160361198c57604051638e80a3f960e01b81526001600160a01b0386166004820152602401610589565b6001600160a01b0381166119be576040516343e40cb560e01b81526001600160a01b0386166004820152602401610589565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a36919061274b565b15611a67576040516309ad872b60e41b81526001600160a01b03808716600483015282166024820152604401610589565b509392505050565b600080600080516020612b9c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015611adf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b03919061274b565b15611b2f5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610589565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015611b83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba7919061274b565b611bcf5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401610589565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038581166004830152919091169063d272ac1e90602401602060405180830381865afa158015611c23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c479190612773565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b600080516020612bdc83398151915254600160401b900460ff16611ca757604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611c70565b600080516020612bdc8339815191528054600160401b810460ff1615906001600160401b0316600081158015611ce45750825b90506000826001600160401b03166001148015611d005750303b155b905081158015611d0e575080155b15611d2c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d5657845460ff60401b1916600160401b1785555b60008087806020019051810190611d6d9190612b18565b91509150611d7c82828b6112ad565b611d8c631987a50360e11b6108c3565b50508315610c1e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610c15565b60808201516001600160a01b031615611e075760408083015190516340fda83160e11b815260ff9091166004820152602401610589565b604082015160ff828116911614611e44576040808301519051632e5fbed960e21b815260ff80841660048301529091166024820152604401610589565b60a08201516001600160a01b038116611e7b576040808401519051633312954f60e21b815260ff9091166004820152602401610589565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611ecf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef3919061274b565b156113ec57604080840151905163b4139d2560e01b815260ff90911660048201526001600160a01b0382166024820152604401610589565b600080516020612bbc83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f94611c70565b610f27816121af565b6000611fb16001546001600160a01b031690565b604051632392b61b60e21b8152600360048201526001600160a01b03919091169063d39e604390849073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015612016573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203a9190612931565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801561207f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb09190612959565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516121129190612b47565b600060405180830381855afa9150503d806000811461214d576040519150601f19603f3d011682016040523d82523d6000602084013e612152565b606091505b509150915081156121a4576040815110612184578080602001905181019061217a9190612b63565b90945092506121a4565b60208151106121a457808060200190518101906121a1919061274b565b93505b505094509492505050565b6121b7611c70565b610f2781611f2b565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561221057600080fd5b81356001600160e01b03198116811461222857600080fd5b9392505050565b6001600160a01b0381168114610f2757600080fd5b803561224f8161222f565b919050565b6000806040838503121561226757600080fd5b82356122728161222f565b915060208301356122828161222f565b809150509250929050565b60005b838110156122a8578181015183820152602001612290565b50506000910152565b600081518084526122c981602086016020860161228d565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161234660c08401826001600160a01b03169052565b5060c083015160e0808401526123606101008401826122b1565b949350505050565b6001600160601b0381168114610f2757600080fd5b803561224f81612368565b60ff81168114610f2757600080fd5b803561224f81612388565b8015158114610f2757600080fd5b803561224f816123a2565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156123f3576123f36123bb565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612421576124216123bb565b604052919050565b60006001600160401b03821115612442576124426123bb565b50601f01601f191660200190565b600082601f83011261246157600080fd5b813561247461246f82612429565b6123f9565b81815284602083860101111561248957600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156124bf57600080fd5b86356124ca8161222f565b955060208701356124da81612368565b945060408701356124ea81612388565b935060608701356124fa816123a2565b9250608087013561250a8161222f565b915060a08701356001600160401b0381111561252557600080fd5b61253189828a01612450565b9150509295509295509295565b60006020828403121561255057600080fd5b81356001600160401b0381111561256657600080fd5b61236084828501612450565b6000806040838503121561258557600080fd5b82356125908161222f565b915060208301356001600160401b038111156125ab57600080fd5b6125b785828601612450565b9150509250929050565b6000602082840312156125d357600080fd5b81356001600160401b03808211156125ea57600080fd5b9083019060e082860312156125fe57600080fd5b6126066123d1565b61260f8361237d565b815261261d6020840161237d565b602082015261262e60408401612397565b604082015261263f606084016123b0565b606082015261265060808401612244565b608082015261266160a08401612244565b60a082015260c08301358281111561267857600080fd5b61268487828601612450565b60c08301525095945050505050565b6000602082840312156126a557600080fd5b81356122288161222f565b6000806000606084860312156126c557600080fd5b83356126d08161222f565b925060208401356126e08161222f565b915060408401356126f08161222f565b809150509250925092565b6001600160e01b031991909116815260200190565b60008060006060848603121561272557600080fd5b83356127308161222f565b925060208401356126e081612388565b805161224f816123a2565b60006020828403121561275d57600080fd5b8151612228816123a2565b805161224f81612368565b60006020828403121561278557600080fd5b815161222881612368565b6000602082840312156127a257600080fd5b815162ffffff8116811461222857600080fd5b600181811c908216806127c957607f821691505b6020821081036127e957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156113ec57600081815260208120601f850160051c810160208610156128165750805b601f850160051c820191505b818110156117f057828155600101612822565b81516001600160401b0381111561284e5761284e6123bb565b6128628161285c84546127b5565b846127ef565b602080601f831160018114612897576000841561287f5750858301515b600019600386901b1c1916600185901b1785556117f0565b600085815260208120601f198616915b828110156128c6578886015182559484019460019091019084016128a7565b50858210156128e45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160401b0381168114610f2757600080fd5b60006020828403121561291b57600080fd5b8151612228816128f4565b805161224f81612388565b60006020828403121561294357600080fd5b815161222881612388565b805161224f8161222f565b60006020828403121561296b57600080fd5b81516122288161222f565b6000808585111561298657600080fd5b8386111561299357600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156129c85780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612a2157600080fd5b8151612a2f61246f82612429565b818152846020838601011115612a4457600080fd5b61236082602083016020870161228d565b600060208284031215612a6757600080fd5b81516001600160401b0380821115612a7e57600080fd5b9083019060e08286031215612a9257600080fd5b612a9a6123d1565b612aa383612768565b8152612ab160208401612768565b6020820152612ac260408401612926565b6040820152612ad360608401612740565b6060820152612ae46080840161294e565b6080820152612af560a0840161294e565b60a082015260c083015182811115612b0c57600080fd5b61268487828601612a10565b60008060408385031215612b2b57600080fd5b8251612b368161222f565b60208401519092506122828161222f565b60008251612b5981846020870161228d565b9190910192915050565b60008060408385031215612b7657600080fd5b8251612b81816123a2565b602084015190925063ffffffff8116811461228257600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212208058f9c49e60122cc6d70d9d87acf01231f21063465d24b988c25742cc1dcd6264736f6c63430008140033",
1259
1356
  "linkReferences": {
1260
- "contracts/types/Blocknumber.sol": {
1261
- "BlocknumberLib": [
1357
+ "contracts/type/NftId.sol": {
1358
+ "NftIdLib": [
1262
1359
  {
1263
1360
  "length": 20,
1264
- "start": 4386
1265
- }
1266
- ]
1267
- },
1268
- "contracts/types/NftId.sol": {
1269
- "NftIdLib": [
1361
+ "start": 2119
1362
+ },
1270
1363
  {
1271
1364
  "length": 20,
1272
- "start": 2920
1365
+ "start": 4754
1273
1366
  },
1274
1367
  {
1275
1368
  "length": 20,
1276
- "start": 5354
1369
+ "start": 7051
1277
1370
  }
1278
1371
  ]
1279
1372
  },
1280
- "contracts/types/Timestamp.sol": {
1281
- "TimestampLib": [
1373
+ "contracts/type/RoleId.sol": {
1374
+ "RoleIdLib": [
1282
1375
  {
1283
1376
  "length": 20,
1284
- "start": 8321
1377
+ "start": 4116
1285
1378
  }
1286
1379
  ]
1287
1380
  },
1288
- "contracts/types/Version.sol": {
1381
+ "contracts/type/Version.sol": {
1289
1382
  "VersionLib": [
1290
1383
  {
1291
1384
  "length": 20,
1292
- "start": 2356
1385
+ "start": 1962
1293
1386
  },
1294
1387
  {
1295
1388
  "length": 20,
1296
- "start": 3912
1389
+ "start": 2685
1390
+ }
1391
+ ],
1392
+ "VersionPartLib": [
1393
+ {
1394
+ "length": 20,
1395
+ "start": 4164
1297
1396
  },
1298
1397
  {
1299
1398
  "length": 20,
1300
- "start": 6977
1399
+ "start": 8386
1301
1400
  }
1302
1401
  ]
1303
1402
  }
1304
1403
  },
1305
1404
  "deployedLinkReferences": {
1306
- "contracts/types/Blocknumber.sol": {
1307
- "BlocknumberLib": [
1405
+ "contracts/type/NftId.sol": {
1406
+ "NftIdLib": [
1308
1407
  {
1309
1408
  "length": 20,
1310
- "start": 4156
1311
- }
1312
- ]
1313
- },
1314
- "contracts/types/NftId.sol": {
1315
- "NftIdLib": [
1409
+ "start": 1889
1410
+ },
1316
1411
  {
1317
1412
  "length": 20,
1318
- "start": 2690
1413
+ "start": 4524
1319
1414
  },
1320
1415
  {
1321
1416
  "length": 20,
1322
- "start": 5124
1417
+ "start": 6821
1323
1418
  }
1324
1419
  ]
1325
1420
  },
1326
- "contracts/types/Timestamp.sol": {
1327
- "TimestampLib": [
1421
+ "contracts/type/RoleId.sol": {
1422
+ "RoleIdLib": [
1328
1423
  {
1329
1424
  "length": 20,
1330
- "start": 8091
1425
+ "start": 3886
1331
1426
  }
1332
1427
  ]
1333
1428
  },
1334
- "contracts/types/Version.sol": {
1429
+ "contracts/type/Version.sol": {
1335
1430
  "VersionLib": [
1336
1431
  {
1337
1432
  "length": 20,
1338
- "start": 2126
1433
+ "start": 1732
1339
1434
  },
1340
1435
  {
1341
1436
  "length": 20,
1342
- "start": 3682
1437
+ "start": 2455
1438
+ }
1439
+ ],
1440
+ "VersionPartLib": [
1441
+ {
1442
+ "length": 20,
1443
+ "start": 3934
1343
1444
  },
1344
1445
  {
1345
1446
  "length": 20,
1346
- "start": 6747
1447
+ "start": 8156
1347
1448
  }
1348
1449
  ]
1349
1450
  }