@etherisc/gif-next 0.0.2-d48ae55-246 → 0.0.2-d53bd1e-732

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 +17 -86
  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 +293 -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 +347 -302
  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 +50 -105
  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 -305
  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 +40 -38
  346. package/contracts/registry/IServiceAuthorization.sol +35 -0
  347. package/contracts/registry/ITransferInterceptor.sol +1 -0
  348. package/contracts/registry/Registry.sol +215 -97
  349. package/contracts/registry/RegistryAdmin.sol +333 -0
  350. package/contracts/registry/RegistryService.sol +92 -103
  351. package/contracts/registry/RegistryServiceManager.sol +22 -31
  352. package/contracts/registry/ReleaseManager.sol +398 -202
  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 +4 -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 -1200
  494. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  495. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -614
  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 -291
  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": "selectors",
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,15 +530,15 @@
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"
536
+ "internalType": "RoleId",
537
+ "name": "serviceRoleId",
538
+ "type": "uint64"
511
539
  }
512
540
  ],
513
- "stateMutability": "view",
541
+ "stateMutability": "pure",
514
542
  "type": "function"
515
543
  },
516
544
  {
@@ -526,84 +554,6 @@
526
554
  "stateMutability": "pure",
527
555
  "type": "function"
528
556
  },
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
- {
549
- "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",
570
- "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",
600
- "name": "",
601
- "type": "tuple"
602
- }
603
- ],
604
- "stateMutability": "view",
605
- "type": "function"
606
- },
607
557
  {
608
558
  "inputs": [],
609
559
  "name": "initializeERC165",
@@ -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
  {
@@ -1254,6 +1244,67 @@
1254
1244
  "stateMutability": "nonpayable",
1255
1245
  "type": "function"
1256
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
+ },
1257
1308
  {
1258
1309
  "inputs": [
1259
1310
  {
@@ -1288,16 +1339,6 @@
1288
1339
  },
1289
1340
  {
1290
1341
  "inputs": [
1291
- {
1292
- "internalType": "address",
1293
- "name": "implementation",
1294
- "type": "address"
1295
- },
1296
- {
1297
- "internalType": "address",
1298
- "name": "activatedBy",
1299
- "type": "address"
1300
- },
1301
1342
  {
1302
1343
  "internalType": "bytes",
1303
1344
  "name": "data",
@@ -1310,96 +1351,100 @@
1310
1351
  "type": "function"
1311
1352
  }
1312
1353
  ],
1313
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61350c80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063b88da759116100b8578063ea8665721161007c578063ea86657214610671578063ed841d0c14610684578063f21de1e8146104bd578063f7c34ee01461068c578063fb2cb1011461069f57600080fd5b8063b88da75914610626578063bf7e214f14610639578063c13de99714610641578063c2bf08c814610656578063cde749f41461066957600080fd5b80638fbc2d81116100ff5780638fbc2d81146105a2578063946dfcfe146105b5578063ada9652e146105dc578063b3c65015146105f1578063b68d18091461061157600080fd5b80637a9e5e4b1461054c5780638105cc7f1461055f578063893d20e8146105725780638c5f36bb1461057a5780638fb360371461058d57600080fd5b806336fc697e116101c95780635c992fed1161018d5780635c992fed146104e25780635d966289146104f5578063644c45e014610508578063675393bf146105265780637286e5e51461053957600080fd5b806336fc697e1461035e5780634d459c90146103665780634f4213331461047f57806357a8fba7146104925780635ab1bd53146104bd57600080fd5b80631647f91e116102105780631647f91e146102dd5780631eff4b22146102f0578063214cdb801461032557806327bb7a33146103385780632a9040181461034b57600080fd5b806301ffc9a71461024d578063026bc43b1461028f5780630d8e6e2c146102af5780630fec111c146102cb578063138461e0146102d3575b600080fd5b61027a61025b3660046129fd565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102a261029d366004612a53565b6106a7565b6040516102869190612adc565b6102b7610845565b60405162ffffff9091168152602001610286565b6102a26108cf565b6102db610a6b565b005b6102db6102eb366004612c52565b610cbe565b6103177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102db6103333660046129fd565b610db5565b6102db610346366004612d06565b610de2565b6102db610359366004612c52565b610e7e565b6102db610fc6565b610422610374366004612daf565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206134b783398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610286565b61027a61048d366004612daf565b61100c565b6104a56104a0366004612dcc565b6110bf565b6040516001600160601b039091168152602001610286565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6104a56104f0366004612dcc565b61114e565b6102a2610503366004612a53565b611164565b600080516020613437833981519152546001600160601b03166104a5565b6102db610534366004612e9e565b6112a4565b6102a2610547366004612a53565b6112b8565b6102db61055a366004612e9e565b611365565b6104a561056d366004612dcc565b6113ec565b6104ca611402565b6102db610588366004612e9e565b611539565b61059561163b565b6040516102869190612ebb565b6102a26105b0366004612a53565b611673565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610317565b61031760008051602061343783398151915281565b6105f9611720565b6040516001600160401b039091168152602001610286565b60285b60405160ff9091168152602001610286565b6102b7610634366004612ed0565b611741565b6104ca611792565b6106496117ae565b6040516102869190612ee9565b6104a5610664366004612dcc565b611cd5565b610614611ceb565b6102db61067f366004612a53565b611d6e565b610317600081565b6102db61069a366004612a53565b611de1565b6104ca611e13565b6106af6129bf565b6106bc335b600036611e29565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906106ef90632400caf160e21b90600401612ebb565b602060405180830381865afa15801561070c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107309190612fa1565b61074d57604051636795c76360e01b815260040160405180910390fd5b61075a8360465b84611f27565b905061076e6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016107999190612adc565b6020604051808303816000875af11580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612fc9565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561082757600080fd5b505af115801561083b573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156108a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ca9190612fe6565b905090565b6108d76129bf565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301805460009391606084019161096790613003565b80601f016020809104026020016040519081016040528092919081815260200182805461099390613003565b80156109e05780601f106109b5576101008083540402835291602001916109e0565b820191906000526020600020905b8154815290600101906020018083116109c357829003601f168201915b50505050508152505090506040518060e001604052806109fe600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610a4f611e13565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061343783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe9190612fa1565b15610b405760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b6000610b546001546001600160a01b031690565b6001600160a01b031603610b7b5760405163cf29926160e01b815260040160405180910390fd5b30610b8e6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa9190612fa1565b610c22576040516372657a5160e01b81526001600160a01b0382166004820152602401610b37565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9a9190612fc9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b0316600081158015610cf15750825b90506000826001600160401b03166001148015610d0d5750303b155b905081158015610d1b575080155b15610d395760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d6357845460ff60401b1916600160401b1785555b610d6d8888612117565b610d7787876123b6565b8315610dab57845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a15b5050505050505050565b610dbd6124d7565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610dea6124d7565b610df48287611de1565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610e648382613083565b50610e756303fb044760e21b610db5565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ea0610845565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f049190613142565b6000805160206134978339815191528054600160401b900460ff1680610f37575080546001600160401b03808416911610155b15610f555760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f808585612117565b610f8983612510565b805460ff60401b191681556040516001600160401b0383168152600080516020613477833981519152906020015b60405180910390a15050505050565b610fce6124d7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206134b783398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b8919061316b565b1192915050565b60006110ca336106b4565b6110d582607a612518565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90611105908590600401612adc565b6020604051808303816000875af1158015611124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111489190612fc9565b92915050565b6000611159336106b4565b6110d58260d3612518565b61116c6129bf565b611175336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906111a8906301da8d1160e61b90600401612ebb565b602060405180830381865afa1580156111c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e99190612fa1565b61120657604051637a71998760e01b815260040160405180910390fd5b61121183606e610754565b90506112256001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016112509190612adc565b6020604051808303816000875af115801561126f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112939190612fc9565b6001600160601b0316815292915050565b6112ac6124d7565b6112b581612623565b50565b6112c06129bf565b6112c9336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906112fc9063100f51f760e01b90600401612ebb565b602060405180830381865afa158015611319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133d9190612fa1565b61135a57604051636f61f64160e01b815260040160405180910390fd5b61121183608c610754565b3361136e611792565b6001600160a01b0316816001600160a01b0316146113a95760405162d1953b60e31b81526001600160a01b0382166004820152602401610b37565b816001600160a01b03163b6000036113df576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b37565b6113e882612789565b5050565b60006113f7336106b4565b6110d5826050612518565b60008060008051602061343783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611472573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114969190612fa1565b15611523576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151d919061318f565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b031660008115801561156c5750825b90506000826001600160401b031660011480156115885750303b155b905081158015611596575080155b156115b45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115de57845460ff60401b1916600160401b1785555b6115e7866127ea565b6115ef610fc6565b6115ff631fdea09d60e31b610db5565b831561163357845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a15b505050505050565b600080516020613457833981519152805460009190600160a01b900460ff1661166557600061151d565b638fb3603760e01b91505090565b61167b6129bf565b611684336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906116b790632595572960e01b90600401612ebb565b602060405180830381865afa1580156116d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f89190612fa1565b611715576040516308707e3160e41b815260040160405180910390fd5b611211836078610754565b60006108ca600080516020613497833981519152546001600160401b031690565b60006000805160206134b78339815191526001018281548110611766576117666131ac565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020613457833981519152546001600160a01b031690565b60408051600680825260e08201909252606091816020015b6040805180820190915260008152606060208201528152602001906001900390816117c65790505090506117f860d390565b8160008151811061180b5761180b6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600081518110611851576118516131ac565b602002602001015160200181905250635c992fed60e01b8160008151811061187b5761187b6131ac565b602002602001015160200151600081518110611899576118996131ac565b6001600160e01b0319909216602092830291909101909101526118ba60dc90565b816001815181106118cd576118cd6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600181518110611913576119136131ac565b60200260200101516020018190525063c2bf08c860e01b8160018151811061193d5761193d6131ac565b60200260200101516020015160008151811061195b5761195b6131ac565b6001600160e01b03199092166020928302919091019091015261197c606e90565b8160028151811061198f5761198f6131ac565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816002815181106119d5576119d56131ac565b602002602001015160200181905250635d96628960e01b816002815181106119ff576119ff6131ac565b602002602001015160200151600081518110611a1d57611a1d6131ac565b6001600160e01b031990921660209283029190910190910152611a3e608c90565b81600381518110611a5157611a516131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600381518110611a9757611a976131ac565b602002602001015160200181905250637286e5e560e01b81600381518110611ac157611ac16131ac565b602002602001015160200151600081518110611adf57611adf6131ac565b6001600160e01b031990921660209283029190910190910152611b00607890565b81600481518110611b1357611b136131ac565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600481518110611b5a57611b5a6131ac565b602002602001015160200181905250638fbc2d8160e01b81600481518110611b8457611b846131ac565b602002602001015160200151600081518110611ba257611ba26131ac565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906004908110611bd957611bd96131ac565b602002602001015160200151600181518110611bf757611bf76131ac565b6001600160e01b031990921660209283029190910190910152611c18604690565b81600581518110611c2b57611c2b6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600581518110611c7157611c716131ac565b60200260200101516020018190525063026bc43b60e01b81600581518110611c9b57611c9b6131ac565b602002602001015160200151600081518110611cb957611cb96131ac565b6001600160e01b03199092166020928302919091019091015290565b6000611ce0336106b4565b6110d58260dc612518565b6000611cf5610845565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611d4a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ca91906131cd565b611d766124d7565b60006028611d82611ceb565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611db78461284f565b90506000611dca8583603c848888610de2565b611dda637b6a51fd60e01b610db5565b5050505050565b611de96124d7565b611df2826127ea565b611dfb816112a4565b611e03610fc6565b6113e8631fdea09d60e31b610db5565b6000600080516020613437833981519152611523565b600080516020613457833981519152600080611e64611e46611792565b8730611e56600460008a8c6131ea565b611e5f91613214565b612896565b91509150816116335763ffffffff811615611f0457825460ff60a01b1916600160a01b178355611e92611792565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611ec193929190613244565b600060405180830381600087803b158015611edb57600080fd5b505af1158015611eef573d6000803e3d6000fd5b5050845460ff60a01b19168555506116339050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b37565b611f2f6129bf565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611f6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f9591908101906132c9565b6001600160a01b0385166080820152604081015190915060ff848116911614611fe4576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610b37565b60a08101516001600160a01b03808216908416146120205760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610b37565b846001600160a01b0316816001600160a01b031603612052576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b03811661207957604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f19190612fa1565b1561210f57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b61211f6124d7565b6000805160206134b7833981519152600061214f600080516020613497833981519152546001600160401b031690565b9050600061215b610845565b9050816001600160401b03166001036121885760028301805462ffffff191662ffffff83161790556121d6565b600283015462ffffff908116908216116121d65760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b37565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561228a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ae919061338c565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610fb79083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b03166000811580156123e95750825b90506000826001600160401b031660011480156124055750303b155b905081158015612413575080155b156124315760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561245b57845460ff60401b1916600160401b1785555b6000808780602001905181019061247291906133b3565b9150915061247f826129a2565b612489818a611d6e565b61249963aa745bc360e01b610db5565b50508315610e7557845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a150505050505050565b60008051602061349783398151915254600160401b900460ff1661250e57604051631afcd79f60e31b815260040160405180910390fd5b565b6102486124d7565b60006080830152604082015160ff82811691161461255c576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610b37565b60a08201516001600160a01b03811661258857604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156125dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126009190612fa1565b1561261e57604051637142ceb360e11b815260040160405180910390fd5b505050565b6001546001600160a01b03161561265c5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b37565b6001600160a01b0381166126835760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036126b95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b37565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906126ff9063230c0c8160e11b90600401612ebb565b602060405180830381865afa925050508015612738575060408051601f3d908101601f1916820190925261273591810190612fa1565b60015b6127605760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b37565b806113e85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b37565b60008051602061345783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6127f26124d7565b6001600160a01b038116612819576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061343783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611124573d6000803e3d6000fd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161290591906133e2565b600060405180830381855afa9150503d8060008114612940576040519150601f19603f3d011682016040523d82523d6000602084013e612945565b606091505b50915091508115612997576040815110612977578080602001905181019061296d91906133fe565b9094509250612997565b602081511061299757808060200190518101906129949190612fa1565b93505b505094509492505050565b6129aa6124d7565b6112b5816129b66124d7565b6112b581612789565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215612a0f57600080fd5b81356001600160e01b031981168114612a2757600080fd5b9392505050565b6001600160a01b03811681146112b557600080fd5b8035612a4e81612a2e565b919050565b60008060408385031215612a6657600080fd5b8235612a7181612a2e565b91506020830135612a8181612a2e565b809150509250929050565b60005b83811015612aa7578181015183820152602001612a8f565b50506000910152565b60008151808452612ac8816020860160208601612a8c565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612b4560c08401826001600160a01b03169052565b5060c083015160e080840152612b5f610100840182612ab0565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612b9f57612b9f612b67565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612bcd57612bcd612b67565b604052919050565b60006001600160401b03821115612bee57612bee612b67565b50601f01601f191660200190565b600082601f830112612c0d57600080fd5b8135612c20612c1b82612bd5565b612ba5565b818152846020838601011115612c3557600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612c6757600080fd5b8335612c7281612a2e565b92506020840135612c8281612a2e565b915060408401356001600160401b03811115612c9d57600080fd5b612ca986828701612bfc565b9150509250925092565b6001600160601b03811681146112b557600080fd5b8035612a4e81612cb3565b60ff811681146112b557600080fd5b8035612a4e81612cd3565b80151581146112b557600080fd5b8035612a4e81612ced565b60008060008060008060c08789031215612d1f57600080fd5b8635612d2a81612a2e565b95506020870135612d3a81612cb3565b94506040870135612d4a81612cd3565b93506060870135612d5a81612ced565b92506080870135612d6a81612a2e565b915060a08701356001600160401b03811115612d8557600080fd5b612d9189828a01612bfc565b9150509295509295509295565b62ffffff811681146112b557600080fd5b600060208284031215612dc157600080fd5b8135612a2781612d9e565b600060208284031215612dde57600080fd5b81356001600160401b0380821115612df557600080fd5b9083019060e08286031215612e0957600080fd5b612e11612b7d565b612e1a83612cc8565b8152612e2860208401612cc8565b6020820152612e3960408401612ce2565b6040820152612e4a60608401612cfb565b6060820152612e5b60808401612a43565b6080820152612e6c60a08401612a43565b60a082015260c083013582811115612e8357600080fd5b612e8f87828601612bfc565b60c08301525095945050505050565b600060208284031215612eb057600080fd5b8135612a2781612a2e565b6001600160e01b031991909116815260200190565b600060208284031215612ee257600080fd5b5035919050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b84811015612f8757898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b80831015612f725783516001600160e01b0319168252928b019260019290920191908b0190612f48565b50978a01979550505091870191600101612f11565b50919998505050505050505050565b8051612a4e81612ced565b600060208284031215612fb357600080fd5b8151612a2781612ced565b8051612a4e81612cb3565b600060208284031215612fdb57600080fd5b8151612a2781612cb3565b600060208284031215612ff857600080fd5b8151612a2781612d9e565b600181811c9082168061301757607f821691505b60208210810361303757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561261e57600081815260208120601f850160051c810160208610156130645750805b601f850160051c820191505b8181101561163357828155600101613070565b81516001600160401b0381111561309c5761309c612b67565b6130b0816130aa8454613003565b8461303d565b602080601f8311600181146130e557600084156130cd5750858301515b600019600386901b1c1916600185901b178555611633565b600085815260208120601f198616915b82811015613114578886015182559484019460019091019084016130f5565b50858210156131325787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561315457600080fd5b81516001600160401b0381168114612a2757600080fd5b60006020828403121561317d57600080fd5b5051919050565b8051612a4e81612a2e565b6000602082840312156131a157600080fd5b8151612a2781612a2e565b634e487b7160e01b600052603260045260246000fd5b8051612a4e81612cd3565b6000602082840312156131df57600080fd5b8151612a2781612cd3565b600080858511156131fa57600080fd5b8386111561320757600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561323c5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f83011261329557600080fd5b81516132a3612c1b82612bd5565b8181528460208386010111156132b857600080fd5b612b5f826020830160208701612a8c565b6000602082840312156132db57600080fd5b81516001600160401b03808211156132f257600080fd5b9083019060e0828603121561330657600080fd5b61330e612b7d565b61331783612fbe565b815261332560208401612fbe565b6020820152613336604084016131c2565b604082015261334760608401612f96565b606082015261335860808401613184565b608082015261336960a08401613184565b60a082015260c08301518281111561338057600080fd5b612e8f87828601613284565b60006020828403121561339e57600080fd5b815164ffffffffff81168114612a2757600080fd5b600080604083850312156133c657600080fd5b82516133d181612a2e565b6020840151909250612a8181612a2e565b600082516133f4818460208701612a8c565b9190910192915050565b6000806040838503121561341157600080fd5b825161341c81612ced565b602084015190925063ffffffff81168114612a8157600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205ae1df8d86e25b516d865ee06c310407f5e59a729502e9dbaf980d724bf0081a64736f6c63430008140033",
1314
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063b88da759116100b8578063ea8665721161007c578063ea86657214610671578063ed841d0c14610684578063f21de1e8146104bd578063f7c34ee01461068c578063fb2cb1011461069f57600080fd5b8063b88da75914610626578063bf7e214f14610639578063c13de99714610641578063c2bf08c814610656578063cde749f41461066957600080fd5b80638fbc2d81116100ff5780638fbc2d81146105a2578063946dfcfe146105b5578063ada9652e146105dc578063b3c65015146105f1578063b68d18091461061157600080fd5b80637a9e5e4b1461054c5780638105cc7f1461055f578063893d20e8146105725780638c5f36bb1461057a5780638fb360371461058d57600080fd5b806336fc697e116101c95780635c992fed1161018d5780635c992fed146104e25780635d966289146104f5578063644c45e014610508578063675393bf146105265780637286e5e51461053957600080fd5b806336fc697e1461035e5780634d459c90146103665780634f4213331461047f57806357a8fba7146104925780635ab1bd53146104bd57600080fd5b80631647f91e116102105780631647f91e146102dd5780631eff4b22146102f0578063214cdb801461032557806327bb7a33146103385780632a9040181461034b57600080fd5b806301ffc9a71461024d578063026bc43b1461028f5780630d8e6e2c146102af5780630fec111c146102cb578063138461e0146102d3575b600080fd5b61027a61025b3660046129fd565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102a261029d366004612a53565b6106a7565b6040516102869190612adc565b6102b7610845565b60405162ffffff9091168152602001610286565b6102a26108cf565b6102db610a6b565b005b6102db6102eb366004612c52565b610cbe565b6103177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102db6103333660046129fd565b610db5565b6102db610346366004612d06565b610de2565b6102db610359366004612c52565b610e7e565b6102db610fc6565b610422610374366004612daf565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206134b783398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610286565b61027a61048d366004612daf565b61100c565b6104a56104a0366004612dcc565b6110bf565b6040516001600160601b039091168152602001610286565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6104a56104f0366004612dcc565b61114e565b6102a2610503366004612a53565b611164565b600080516020613437833981519152546001600160601b03166104a5565b6102db610534366004612e9e565b6112a4565b6102a2610547366004612a53565b6112b8565b6102db61055a366004612e9e565b611365565b6104a561056d366004612dcc565b6113ec565b6104ca611402565b6102db610588366004612e9e565b611539565b61059561163b565b6040516102869190612ebb565b6102a26105b0366004612a53565b611673565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610317565b61031760008051602061343783398151915281565b6105f9611720565b6040516001600160401b039091168152602001610286565b60285b60405160ff9091168152602001610286565b6102b7610634366004612ed0565b611741565b6104ca611792565b6106496117ae565b6040516102869190612ee9565b6104a5610664366004612dcc565b611cd5565b610614611ceb565b6102db61067f366004612a53565b611d6e565b610317600081565b6102db61069a366004612a53565b611de1565b6104ca611e13565b6106af6129bf565b6106bc335b600036611e29565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906106ef90632400caf160e21b90600401612ebb565b602060405180830381865afa15801561070c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107309190612fa1565b61074d57604051636795c76360e01b815260040160405180910390fd5b61075a8360465b84611f27565b905061076e6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016107999190612adc565b6020604051808303816000875af11580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612fc9565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561082757600080fd5b505af115801561083b573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156108a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ca9190612fe6565b905090565b6108d76129bf565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301805460009391606084019161096790613003565b80601f016020809104026020016040519081016040528092919081815260200182805461099390613003565b80156109e05780601f106109b5576101008083540402835291602001916109e0565b820191906000526020600020905b8154815290600101906020018083116109c357829003601f168201915b50505050508152505090506040518060e001604052806109fe600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610a4f611e13565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061343783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe9190612fa1565b15610b405760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b6000610b546001546001600160a01b031690565b6001600160a01b031603610b7b5760405163cf29926160e01b815260040160405180910390fd5b30610b8e6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa9190612fa1565b610c22576040516372657a5160e01b81526001600160a01b0382166004820152602401610b37565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9a9190612fc9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b0316600081158015610cf15750825b90506000826001600160401b03166001148015610d0d5750303b155b905081158015610d1b575080155b15610d395760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d6357845460ff60401b1916600160401b1785555b610d6d8888612117565b610d7787876123b6565b8315610dab57845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a15b5050505050505050565b610dbd6124d7565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610dea6124d7565b610df48287611de1565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610e648382613083565b50610e756303fb044760e21b610db5565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ea0610845565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f049190613142565b6000805160206134978339815191528054600160401b900460ff1680610f37575080546001600160401b03808416911610155b15610f555760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f808585612117565b610f8983612510565b805460ff60401b191681556040516001600160401b0383168152600080516020613477833981519152906020015b60405180910390a15050505050565b610fce6124d7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206134b783398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b8919061316b565b1192915050565b60006110ca336106b4565b6110d582607a612518565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90611105908590600401612adc565b6020604051808303816000875af1158015611124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111489190612fc9565b92915050565b6000611159336106b4565b6110d58260d3612518565b61116c6129bf565b611175336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906111a8906301da8d1160e61b90600401612ebb565b602060405180830381865afa1580156111c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e99190612fa1565b61120657604051637a71998760e01b815260040160405180910390fd5b61121183606e610754565b90506112256001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016112509190612adc565b6020604051808303816000875af115801561126f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112939190612fc9565b6001600160601b0316815292915050565b6112ac6124d7565b6112b581612623565b50565b6112c06129bf565b6112c9336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906112fc9063100f51f760e01b90600401612ebb565b602060405180830381865afa158015611319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133d9190612fa1565b61135a57604051636f61f64160e01b815260040160405180910390fd5b61121183608c610754565b3361136e611792565b6001600160a01b0316816001600160a01b0316146113a95760405162d1953b60e31b81526001600160a01b0382166004820152602401610b37565b816001600160a01b03163b6000036113df576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b37565b6113e882612789565b5050565b60006113f7336106b4565b6110d5826050612518565b60008060008051602061343783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611472573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114969190612fa1565b15611523576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151d919061318f565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b031660008115801561156c5750825b90506000826001600160401b031660011480156115885750303b155b905081158015611596575080155b156115b45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115de57845460ff60401b1916600160401b1785555b6115e7866127ea565b6115ef610fc6565b6115ff631fdea09d60e31b610db5565b831561163357845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a15b505050505050565b600080516020613457833981519152805460009190600160a01b900460ff1661166557600061151d565b638fb3603760e01b91505090565b61167b6129bf565b611684336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906116b790632595572960e01b90600401612ebb565b602060405180830381865afa1580156116d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f89190612fa1565b611715576040516308707e3160e41b815260040160405180910390fd5b611211836078610754565b60006108ca600080516020613497833981519152546001600160401b031690565b60006000805160206134b78339815191526001018281548110611766576117666131ac565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020613457833981519152546001600160a01b031690565b60408051600680825260e08201909252606091816020015b6040805180820190915260008152606060208201528152602001906001900390816117c65790505090506117f860d390565b8160008151811061180b5761180b6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600081518110611851576118516131ac565b602002602001015160200181905250635c992fed60e01b8160008151811061187b5761187b6131ac565b602002602001015160200151600081518110611899576118996131ac565b6001600160e01b0319909216602092830291909101909101526118ba60dc90565b816001815181106118cd576118cd6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600181518110611913576119136131ac565b60200260200101516020018190525063c2bf08c860e01b8160018151811061193d5761193d6131ac565b60200260200101516020015160008151811061195b5761195b6131ac565b6001600160e01b03199092166020928302919091019091015261197c606e90565b8160028151811061198f5761198f6131ac565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816002815181106119d5576119d56131ac565b602002602001015160200181905250635d96628960e01b816002815181106119ff576119ff6131ac565b602002602001015160200151600081518110611a1d57611a1d6131ac565b6001600160e01b031990921660209283029190910190910152611a3e608c90565b81600381518110611a5157611a516131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600381518110611a9757611a976131ac565b602002602001015160200181905250637286e5e560e01b81600381518110611ac157611ac16131ac565b602002602001015160200151600081518110611adf57611adf6131ac565b6001600160e01b031990921660209283029190910190910152611b00607890565b81600481518110611b1357611b136131ac565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600481518110611b5a57611b5a6131ac565b602002602001015160200181905250638fbc2d8160e01b81600481518110611b8457611b846131ac565b602002602001015160200151600081518110611ba257611ba26131ac565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906004908110611bd957611bd96131ac565b602002602001015160200151600181518110611bf757611bf76131ac565b6001600160e01b031990921660209283029190910190910152611c18604690565b81600581518110611c2b57611c2b6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600581518110611c7157611c716131ac565b60200260200101516020018190525063026bc43b60e01b81600581518110611c9b57611c9b6131ac565b602002602001015160200151600081518110611cb957611cb96131ac565b6001600160e01b03199092166020928302919091019091015290565b6000611ce0336106b4565b6110d58260dc612518565b6000611cf5610845565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611d4a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ca91906131cd565b611d766124d7565b60006028611d82611ceb565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611db78461284f565b90506000611dca8583603c848888610de2565b611dda637b6a51fd60e01b610db5565b5050505050565b611de96124d7565b611df2826127ea565b611dfb816112a4565b611e03610fc6565b6113e8631fdea09d60e31b610db5565b6000600080516020613437833981519152611523565b600080516020613457833981519152600080611e64611e46611792565b8730611e56600460008a8c6131ea565b611e5f91613214565b612896565b91509150816116335763ffffffff811615611f0457825460ff60a01b1916600160a01b178355611e92611792565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611ec193929190613244565b600060405180830381600087803b158015611edb57600080fd5b505af1158015611eef573d6000803e3d6000fd5b5050845460ff60a01b19168555506116339050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b37565b611f2f6129bf565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611f6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f9591908101906132c9565b6001600160a01b0385166080820152604081015190915060ff848116911614611fe4576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610b37565b60a08101516001600160a01b03808216908416146120205760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610b37565b846001600160a01b0316816001600160a01b031603612052576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b03811661207957604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f19190612fa1565b1561210f57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b61211f6124d7565b6000805160206134b7833981519152600061214f600080516020613497833981519152546001600160401b031690565b9050600061215b610845565b9050816001600160401b03166001036121885760028301805462ffffff191662ffffff83161790556121d6565b600283015462ffffff908116908216116121d65760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b37565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561228a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ae919061338c565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610fb79083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b03166000811580156123e95750825b90506000826001600160401b031660011480156124055750303b155b905081158015612413575080155b156124315760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561245b57845460ff60401b1916600160401b1785555b6000808780602001905181019061247291906133b3565b9150915061247f826129a2565b612489818a611d6e565b61249963aa745bc360e01b610db5565b50508315610e7557845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a150505050505050565b60008051602061349783398151915254600160401b900460ff1661250e57604051631afcd79f60e31b815260040160405180910390fd5b565b6102486124d7565b60006080830152604082015160ff82811691161461255c576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610b37565b60a08201516001600160a01b03811661258857604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156125dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126009190612fa1565b1561261e57604051637142ceb360e11b815260040160405180910390fd5b505050565b6001546001600160a01b03161561265c5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b37565b6001600160a01b0381166126835760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036126b95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b37565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906126ff9063230c0c8160e11b90600401612ebb565b602060405180830381865afa925050508015612738575060408051601f3d908101601f1916820190925261273591810190612fa1565b60015b6127605760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b37565b806113e85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b37565b60008051602061345783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6127f26124d7565b6001600160a01b038116612819576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061343783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611124573d6000803e3d6000fd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161290591906133e2565b600060405180830381855afa9150503d8060008114612940576040519150601f19603f3d011682016040523d82523d6000602084013e612945565b606091505b50915091508115612997576040815110612977578080602001905181019061296d91906133fe565b9094509250612997565b602081511061299757808060200190518101906129949190612fa1565b93505b505094509492505050565b6129aa6124d7565b6112b5816129b66124d7565b6112b581612789565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215612a0f57600080fd5b81356001600160e01b031981168114612a2757600080fd5b9392505050565b6001600160a01b03811681146112b557600080fd5b8035612a4e81612a2e565b919050565b60008060408385031215612a6657600080fd5b8235612a7181612a2e565b91506020830135612a8181612a2e565b809150509250929050565b60005b83811015612aa7578181015183820152602001612a8f565b50506000910152565b60008151808452612ac8816020860160208601612a8c565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612b4560c08401826001600160a01b03169052565b5060c083015160e080840152612b5f610100840182612ab0565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612b9f57612b9f612b67565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612bcd57612bcd612b67565b604052919050565b60006001600160401b03821115612bee57612bee612b67565b50601f01601f191660200190565b600082601f830112612c0d57600080fd5b8135612c20612c1b82612bd5565b612ba5565b818152846020838601011115612c3557600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612c6757600080fd5b8335612c7281612a2e565b92506020840135612c8281612a2e565b915060408401356001600160401b03811115612c9d57600080fd5b612ca986828701612bfc565b9150509250925092565b6001600160601b03811681146112b557600080fd5b8035612a4e81612cb3565b60ff811681146112b557600080fd5b8035612a4e81612cd3565b80151581146112b557600080fd5b8035612a4e81612ced565b60008060008060008060c08789031215612d1f57600080fd5b8635612d2a81612a2e565b95506020870135612d3a81612cb3565b94506040870135612d4a81612cd3565b93506060870135612d5a81612ced565b92506080870135612d6a81612a2e565b915060a08701356001600160401b03811115612d8557600080fd5b612d9189828a01612bfc565b9150509295509295509295565b62ffffff811681146112b557600080fd5b600060208284031215612dc157600080fd5b8135612a2781612d9e565b600060208284031215612dde57600080fd5b81356001600160401b0380821115612df557600080fd5b9083019060e08286031215612e0957600080fd5b612e11612b7d565b612e1a83612cc8565b8152612e2860208401612cc8565b6020820152612e3960408401612ce2565b6040820152612e4a60608401612cfb565b6060820152612e5b60808401612a43565b6080820152612e6c60a08401612a43565b60a082015260c083013582811115612e8357600080fd5b612e8f87828601612bfc565b60c08301525095945050505050565b600060208284031215612eb057600080fd5b8135612a2781612a2e565b6001600160e01b031991909116815260200190565b600060208284031215612ee257600080fd5b5035919050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b84811015612f8757898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b80831015612f725783516001600160e01b0319168252928b019260019290920191908b0190612f48565b50978a01979550505091870191600101612f11565b50919998505050505050505050565b8051612a4e81612ced565b600060208284031215612fb357600080fd5b8151612a2781612ced565b8051612a4e81612cb3565b600060208284031215612fdb57600080fd5b8151612a2781612cb3565b600060208284031215612ff857600080fd5b8151612a2781612d9e565b600181811c9082168061301757607f821691505b60208210810361303757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561261e57600081815260208120601f850160051c810160208610156130645750805b601f850160051c820191505b8181101561163357828155600101613070565b81516001600160401b0381111561309c5761309c612b67565b6130b0816130aa8454613003565b8461303d565b602080601f8311600181146130e557600084156130cd5750858301515b600019600386901b1c1916600185901b178555611633565b600085815260208120601f198616915b82811015613114578886015182559484019460019091019084016130f5565b50858210156131325787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561315457600080fd5b81516001600160401b0381168114612a2757600080fd5b60006020828403121561317d57600080fd5b5051919050565b8051612a4e81612a2e565b6000602082840312156131a157600080fd5b8151612a2781612a2e565b634e487b7160e01b600052603260045260246000fd5b8051612a4e81612cd3565b6000602082840312156131df57600080fd5b8151612a2781612cd3565b600080858511156131fa57600080fd5b8386111561320757600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561323c5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f83011261329557600080fd5b81516132a3612c1b82612bd5565b8181528460208386010111156132b857600080fd5b612b5f826020830160208701612a8c565b6000602082840312156132db57600080fd5b81516001600160401b03808211156132f257600080fd5b9083019060e0828603121561330657600080fd5b61330e612b7d565b61331783612fbe565b815261332560208401612fbe565b6020820152613336604084016131c2565b604082015261334760608401612f96565b606082015261335860808401613184565b608082015261336960a08401613184565b60a082015260c08301518281111561338057600080fd5b612e8f87828601613284565b60006020828403121561339e57600080fd5b815164ffffffffff81168114612a2757600080fd5b600080604083850312156133c657600080fd5b82516133d181612a2e565b6020840151909250612a8181612a2e565b600082516133f4818460208701612a8c565b9190910192915050565b6000806040838503121561341157600080fd5b825161341c81612ced565b602084015190925063ffffffff81168114612a8157600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205ae1df8d86e25b516d865ee06c310407f5e59a729502e9dbaf980d724bf0081a64736f6c63430008140033",
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",
1315
1356
  "linkReferences": {
1316
- "contracts/types/Blocknumber.sol": {
1317
- "BlocknumberLib": [
1357
+ "contracts/type/NftId.sol": {
1358
+ "NftIdLib": [
1318
1359
  {
1319
1360
  "length": 20,
1320
- "start": 4416
1321
- }
1322
- ]
1323
- },
1324
- "contracts/types/NftId.sol": {
1325
- "NftIdLib": [
1361
+ "start": 2119
1362
+ },
1326
1363
  {
1327
1364
  "length": 20,
1328
- "start": 2950
1365
+ "start": 4754
1329
1366
  },
1330
1367
  {
1331
1368
  "length": 20,
1332
- "start": 5406
1369
+ "start": 7051
1333
1370
  }
1334
1371
  ]
1335
1372
  },
1336
- "contracts/types/Timestamp.sol": {
1337
- "TimestampLib": [
1373
+ "contracts/type/RoleId.sol": {
1374
+ "RoleIdLib": [
1338
1375
  {
1339
1376
  "length": 20,
1340
- "start": 9014
1377
+ "start": 4116
1341
1378
  }
1342
1379
  ]
1343
1380
  },
1344
- "contracts/types/Version.sol": {
1381
+ "contracts/type/Version.sol": {
1345
1382
  "VersionLib": [
1346
1383
  {
1347
1384
  "length": 20,
1348
- "start": 2386
1385
+ "start": 1962
1349
1386
  },
1350
1387
  {
1351
1388
  "length": 20,
1352
- "start": 3942
1389
+ "start": 2685
1390
+ }
1391
+ ],
1392
+ "VersionPartLib": [
1393
+ {
1394
+ "length": 20,
1395
+ "start": 4164
1353
1396
  },
1354
1397
  {
1355
1398
  "length": 20,
1356
- "start": 7670
1399
+ "start": 8386
1357
1400
  }
1358
1401
  ]
1359
1402
  }
1360
1403
  },
1361
1404
  "deployedLinkReferences": {
1362
- "contracts/types/Blocknumber.sol": {
1363
- "BlocknumberLib": [
1405
+ "contracts/type/NftId.sol": {
1406
+ "NftIdLib": [
1364
1407
  {
1365
1408
  "length": 20,
1366
- "start": 4186
1367
- }
1368
- ]
1369
- },
1370
- "contracts/types/NftId.sol": {
1371
- "NftIdLib": [
1409
+ "start": 1889
1410
+ },
1372
1411
  {
1373
1412
  "length": 20,
1374
- "start": 2720
1413
+ "start": 4524
1375
1414
  },
1376
1415
  {
1377
1416
  "length": 20,
1378
- "start": 5176
1417
+ "start": 6821
1379
1418
  }
1380
1419
  ]
1381
1420
  },
1382
- "contracts/types/Timestamp.sol": {
1383
- "TimestampLib": [
1421
+ "contracts/type/RoleId.sol": {
1422
+ "RoleIdLib": [
1384
1423
  {
1385
1424
  "length": 20,
1386
- "start": 8784
1425
+ "start": 3886
1387
1426
  }
1388
1427
  ]
1389
1428
  },
1390
- "contracts/types/Version.sol": {
1429
+ "contracts/type/Version.sol": {
1391
1430
  "VersionLib": [
1392
1431
  {
1393
1432
  "length": 20,
1394
- "start": 2156
1433
+ "start": 1732
1395
1434
  },
1396
1435
  {
1397
1436
  "length": 20,
1398
- "start": 3712
1437
+ "start": 2455
1438
+ }
1439
+ ],
1440
+ "VersionPartLib": [
1441
+ {
1442
+ "length": 20,
1443
+ "start": 3934
1399
1444
  },
1400
1445
  {
1401
1446
  "length": 20,
1402
- "start": 7440
1447
+ "start": 8156
1403
1448
  }
1404
1449
  ]
1405
1450
  }