@etherisc/gif-next 0.0.2-fe34d97-357 → 0.0.2-fe88ad7-208

Sign up to get free protection for your applications and to get access to all the features.
Files changed (410) hide show
  1. package/README.md +231 -27
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +331 -23
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +675 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +246 -23
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +90 -171
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +55 -177
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +520 -133
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +540 -113
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  45. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  46. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  47. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +788 -0
  48. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  49. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  50. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +946 -1214
  52. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  53. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +448 -0
  54. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  55. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +570 -0
  56. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  57. package/artifacts/contracts/instance/Instance.sol/Instance.json +1852 -1184
  58. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1047 -0
  60. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +763 -0
  62. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1422 -0
  64. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +963 -0
  66. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +460 -0
  68. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +285 -0
  70. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +280 -48
  72. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +33 -1
  74. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +27 -158
  76. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +37 -245
  79. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  81. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  83. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  84. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  85. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  87. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  88. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  89. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  90. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  91. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  92. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  93. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  94. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  95. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +945 -0
  97. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +432 -0
  99. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +380 -89
  101. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +693 -0
  103. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +420 -0
  105. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +669 -0
  107. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +185 -83
  109. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  110. package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IDistributionService.sol/IDistributionService.json} +206 -60
  111. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  112. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +664 -0
  113. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  114. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +200 -77
  115. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  116. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +184 -196
  117. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  118. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +993 -0
  119. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +464 -0
  121. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  122. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +345 -89
  123. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  124. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +420 -0
  125. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  126. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +300 -267
  127. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  128. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +420 -0
  129. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  130. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  131. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  132. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +376 -37
  133. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  134. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +976 -0
  135. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  136. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  137. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  138. package/artifacts/contracts/registry/Registry.sol/Registry.json +397 -115
  139. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  140. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  141. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  142. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1195 -0
  143. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  144. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +451 -0
  145. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  146. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +546 -0
  147. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  148. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +397 -0
  149. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  150. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  151. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  152. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  153. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  154. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  155. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  157. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  158. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +172 -95
  159. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  160. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  161. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  162. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  163. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  164. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  165. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  166. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  167. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  168. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +442 -0
  169. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  170. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +224 -56
  171. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  172. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  173. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  174. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  175. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  176. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  177. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  178. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  179. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  180. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  181. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  182. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  183. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  184. package/artifacts/contracts/test/TestService.sol/TestService.json +289 -68
  185. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  186. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  187. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  188. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  189. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  190. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  191. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  192. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  193. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  194. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  198. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  200. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  202. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  204. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  205. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  206. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  208. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  210. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  212. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  214. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  216. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  218. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  220. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  221. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  222. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  223. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  224. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  225. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  226. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  227. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  228. package/contracts/components/BaseComponent.sol +104 -39
  229. package/contracts/components/Distribution.sol +163 -0
  230. package/contracts/components/IBaseComponent.sol +18 -3
  231. package/contracts/components/IDistributionComponent.sol +44 -0
  232. package/contracts/components/IPoolComponent.sol +19 -10
  233. package/contracts/components/IProductComponent.sol +25 -9
  234. package/contracts/components/Pool.sol +126 -46
  235. package/contracts/components/Product.sol +172 -61
  236. package/contracts/experiment/cloning/Cloner.sol +47 -0
  237. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
  238. package/contracts/instance/BundleManager.sol +129 -0
  239. package/contracts/instance/Cloneable.sol +46 -0
  240. package/contracts/instance/IInstance.sol +55 -44
  241. package/contracts/instance/IInstanceBase.sol +26 -0
  242. package/contracts/instance/IInstanceService.sol +40 -0
  243. package/contracts/instance/Instance.sol +261 -56
  244. package/contracts/instance/InstanceAccessManager.sol +303 -0
  245. package/contracts/instance/InstanceBase.sol +41 -0
  246. package/contracts/instance/InstanceReader.sol +315 -0
  247. package/contracts/instance/InstanceService.sol +350 -0
  248. package/contracts/instance/InstanceServiceManager.sol +54 -0
  249. package/contracts/instance/ObjectManager.sol +101 -0
  250. package/contracts/instance/base/ComponentServiceBase.sol +57 -17
  251. package/contracts/instance/base/IInstanceBase.sol +6 -2
  252. package/contracts/instance/base/IKeyValueStore.sol +13 -14
  253. package/contracts/instance/base/ILifecycle.sol +3 -3
  254. package/contracts/instance/base/KeyValueStore.sol +49 -38
  255. package/contracts/instance/base/Lifecycle.sol +1 -1
  256. package/contracts/instance/module/IAccess.sol +48 -0
  257. package/contracts/instance/module/IBundle.sol +20 -0
  258. package/contracts/instance/module/IDistribution.sol +39 -0
  259. package/contracts/instance/module/IPolicy.sol +45 -0
  260. package/contracts/instance/module/IRisk.sol +11 -0
  261. package/contracts/instance/module/ISetup.sol +46 -0
  262. package/contracts/instance/module/ITreasury.sol +23 -0
  263. package/contracts/instance/service/BundleService.sol +260 -0
  264. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  265. package/contracts/instance/service/ComponentOwnerService.sol +238 -78
  266. package/contracts/instance/service/DistributionService.sol +113 -0
  267. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  268. package/contracts/instance/service/IBundleService.sol +45 -0
  269. package/contracts/instance/service/IComponentOwnerService.sol +1 -3
  270. package/contracts/instance/service/IDistributionService.sol +12 -0
  271. package/contracts/instance/service/IPolicyService.sol +87 -0
  272. package/contracts/instance/service/IPoolService.sol +8 -18
  273. package/contracts/instance/service/IProductService.sol +12 -50
  274. package/contracts/instance/service/PolicyService.sol +503 -0
  275. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  276. package/contracts/instance/service/PoolService.sol +87 -92
  277. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  278. package/contracts/instance/service/ProductService.sol +103 -339
  279. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  280. package/contracts/registry/ChainNft.sol +79 -36
  281. package/contracts/registry/IRegistry.sol +58 -24
  282. package/contracts/registry/IRegistryService.sol +58 -0
  283. package/contracts/registry/ITransferInterceptor.sol +6 -0
  284. package/contracts/registry/Registry.sol +303 -288
  285. package/contracts/registry/RegistryAccessManager.sol +210 -0
  286. package/contracts/registry/RegistryService.sol +323 -0
  287. package/contracts/registry/RegistryServiceManager.sol +62 -0
  288. package/contracts/registry/ReleaseManager.sol +348 -0
  289. package/contracts/registry/TokenRegistry.sol +110 -0
  290. package/contracts/shared/ContractDeployerLib.sol +72 -0
  291. package/contracts/shared/ERC165.sol +6 -2
  292. package/contracts/shared/INftOwnable.sol +22 -0
  293. package/contracts/shared/IRegisterable.sol +8 -15
  294. package/contracts/shared/IService.sol +16 -0
  295. package/contracts/shared/IVersionable.sol +55 -11
  296. package/contracts/shared/NftOwnable.sol +134 -0
  297. package/contracts/shared/ProxyManager.sol +94 -0
  298. package/contracts/shared/Registerable.sol +63 -59
  299. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  300. package/contracts/shared/Service.sol +58 -0
  301. package/contracts/shared/TokenHandler.sol +27 -0
  302. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  303. package/contracts/shared/Versionable.sol +113 -55
  304. package/contracts/test/TestFee.sol +2 -2
  305. package/contracts/test/TestRegisterable.sol +5 -6
  306. package/contracts/test/TestRoleId.sol +1 -1
  307. package/contracts/test/TestService.sol +7 -14
  308. package/contracts/types/DistributorType.sol +55 -0
  309. package/contracts/types/Fee.sol +10 -5
  310. package/contracts/types/Key32.sol +8 -3
  311. package/contracts/types/NftIdSet.sol +26 -24
  312. package/contracts/types/NumberId.sol +52 -0
  313. package/contracts/types/ObjectType.sol +32 -7
  314. package/contracts/types/Referral.sol +85 -0
  315. package/contracts/types/RoleId.sol +62 -10
  316. package/contracts/types/StateId.sol +5 -1
  317. package/contracts/types/Timestamp.sol +7 -3
  318. package/contracts/types/UFixed.sol +128 -12
  319. package/contracts/types/Version.sol +13 -1
  320. package/package.json +4 -3
  321. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  322. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  323. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  324. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  325. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  326. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  327. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  328. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  329. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  330. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  332. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  333. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -265
  334. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  335. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  336. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -265
  337. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  338. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  339. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  340. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  341. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  342. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  343. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  344. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -136
  345. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  346. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  347. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  348. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -136
  349. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  350. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -288
  352. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -288
  354. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  355. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  356. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -144
  358. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  359. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -144
  360. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  361. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  362. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -132
  363. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  364. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -150
  365. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  366. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -531
  368. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  369. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  370. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  371. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -531
  372. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  373. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  374. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  375. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  376. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  377. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  378. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  379. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -455
  380. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  381. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -479
  382. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  383. package/contracts/experiment/statemachine/README.md +0 -112
  384. package/contracts/instance/IInstanceLinked.sol +0 -8
  385. package/contracts/instance/base/IService.sol +0 -15
  386. package/contracts/instance/base/InstanceBase.sol +0 -84
  387. package/contracts/instance/base/ModuleBase.sol +0 -53
  388. package/contracts/instance/base/ServiceBase.sol +0 -37
  389. package/contracts/instance/module/access/Access.sol +0 -149
  390. package/contracts/instance/module/access/IAccess.sol +0 -53
  391. package/contracts/instance/module/bundle/BundleModule.sol +0 -135
  392. package/contracts/instance/module/bundle/IBundle.sol +0 -51
  393. package/contracts/instance/module/compensation/CompensationModule.sol +0 -17
  394. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  395. package/contracts/instance/module/component/ComponentModule.sol +0 -81
  396. package/contracts/instance/module/component/IComponent.sol +0 -29
  397. package/contracts/instance/module/policy/IPolicy.sol +0 -62
  398. package/contracts/instance/module/policy/PolicyModule.sol +0 -92
  399. package/contracts/instance/module/pool/IPoolModule.sol +0 -40
  400. package/contracts/instance/module/pool/PoolModule.sol +0 -90
  401. package/contracts/instance/module/risk/IRisk.sol +0 -27
  402. package/contracts/instance/module/risk/RiskModule.sol +0 -70
  403. package/contracts/instance/module/treasury/ITreasury.sol +0 -96
  404. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  405. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -171
  406. package/contracts/registry/IChainNft.sol +0 -21
  407. package/contracts/registry/IRegistryLinked.sol +0 -8
  408. package/contracts/shared/IOwnable.sol +0 -6
  409. package/contracts/test/TestPool.sol +0 -24
  410. package/contracts/test/TestProduct.sol +0 -66
@@ -0,0 +1,546 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ReleaseManager",
4
+ "sourceName": "contracts/registry/ReleaseManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "contract RegistryAccessManager",
10
+ "name": "accessManager",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "VersionPart",
15
+ "name": "initialVersion",
16
+ "type": "uint8"
17
+ }
18
+ ],
19
+ "stateMutability": "nonpayable",
20
+ "type": "constructor"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "authority",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "AccessManagedInvalidAuthority",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ },
40
+ {
41
+ "internalType": "uint32",
42
+ "name": "delay",
43
+ "type": "uint32"
44
+ }
45
+ ],
46
+ "name": "AccessManagedRequiredDelay",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "caller",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "AccessManagedUnauthorized",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ConfigMissing",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [
67
+ {
68
+ "internalType": "uint256",
69
+ "name": "configArrayIndex",
70
+ "type": "uint256"
71
+ }
72
+ ],
73
+ "name": "ConfigSelectorZero",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "uint256",
80
+ "name": "configArrayIndex",
81
+ "type": "uint256"
82
+ },
83
+ {
84
+ "internalType": "ObjectType",
85
+ "name": "domain",
86
+ "type": "uint8"
87
+ }
88
+ ],
89
+ "name": "ConfigServiceDomainInvalid",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [
94
+ {
95
+ "internalType": "address",
96
+ "name": "notOwner",
97
+ "type": "address"
98
+ }
99
+ ],
100
+ "name": "NotRegisterableOwner",
101
+ "type": "error"
102
+ },
103
+ {
104
+ "inputs": [],
105
+ "name": "NotRegistryService",
106
+ "type": "error"
107
+ },
108
+ {
109
+ "inputs": [],
110
+ "name": "NotService",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [],
115
+ "name": "RegisterableOwnerIsRegistered",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "VersionPart",
122
+ "name": "releaseVersion",
123
+ "type": "uint8"
124
+ },
125
+ {
126
+ "internalType": "ObjectType",
127
+ "name": "serviceDomain",
128
+ "type": "uint8"
129
+ }
130
+ ],
131
+ "name": "SelectorAlreadyExists",
132
+ "type": "error"
133
+ },
134
+ {
135
+ "inputs": [],
136
+ "name": "SelfRegistration",
137
+ "type": "error"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "contract IService",
143
+ "name": "service",
144
+ "type": "address"
145
+ },
146
+ {
147
+ "internalType": "ObjectType",
148
+ "name": "serviceDomain",
149
+ "type": "uint8"
150
+ }
151
+ ],
152
+ "name": "ServiceNotInRelease",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "inputs": [
157
+ {
158
+ "internalType": "ObjectType",
159
+ "name": "expected",
160
+ "type": "uint8"
161
+ },
162
+ {
163
+ "internalType": "ObjectType",
164
+ "name": "found",
165
+ "type": "uint8"
166
+ }
167
+ ],
168
+ "name": "UnexpectedRegisterableType",
169
+ "type": "error"
170
+ },
171
+ {
172
+ "inputs": [
173
+ {
174
+ "internalType": "address",
175
+ "name": "expected",
176
+ "type": "address"
177
+ },
178
+ {
179
+ "internalType": "address",
180
+ "name": "found",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "UnexpectedServiceAuthority",
185
+ "type": "error"
186
+ },
187
+ {
188
+ "inputs": [
189
+ {
190
+ "internalType": "ObjectType",
191
+ "name": "expected",
192
+ "type": "uint8"
193
+ },
194
+ {
195
+ "internalType": "ObjectType",
196
+ "name": "found",
197
+ "type": "uint8"
198
+ }
199
+ ],
200
+ "name": "UnexpectedServiceDomain",
201
+ "type": "error"
202
+ },
203
+ {
204
+ "inputs": [
205
+ {
206
+ "internalType": "VersionPart",
207
+ "name": "expected",
208
+ "type": "uint8"
209
+ },
210
+ {
211
+ "internalType": "VersionPart",
212
+ "name": "found",
213
+ "type": "uint8"
214
+ }
215
+ ],
216
+ "name": "UnexpectedServiceVersion",
217
+ "type": "error"
218
+ },
219
+ {
220
+ "anonymous": false,
221
+ "inputs": [
222
+ {
223
+ "indexed": false,
224
+ "internalType": "address",
225
+ "name": "authority",
226
+ "type": "address"
227
+ }
228
+ ],
229
+ "name": "AuthorityUpdated",
230
+ "type": "event"
231
+ },
232
+ {
233
+ "anonymous": false,
234
+ "inputs": [
235
+ {
236
+ "indexed": false,
237
+ "internalType": "VersionPart",
238
+ "name": "version",
239
+ "type": "uint8"
240
+ }
241
+ ],
242
+ "name": "LogReleaseActivation",
243
+ "type": "event"
244
+ },
245
+ {
246
+ "anonymous": false,
247
+ "inputs": [
248
+ {
249
+ "indexed": false,
250
+ "internalType": "VersionPart",
251
+ "name": "version",
252
+ "type": "uint8"
253
+ },
254
+ {
255
+ "indexed": false,
256
+ "internalType": "contract IService",
257
+ "name": "registryService",
258
+ "type": "address"
259
+ }
260
+ ],
261
+ "name": "LogReleaseCreation",
262
+ "type": "event"
263
+ },
264
+ {
265
+ "inputs": [],
266
+ "name": "authority",
267
+ "outputs": [
268
+ {
269
+ "internalType": "address",
270
+ "name": "",
271
+ "type": "address"
272
+ }
273
+ ],
274
+ "stateMutability": "view",
275
+ "type": "function"
276
+ },
277
+ {
278
+ "inputs": [
279
+ {
280
+ "internalType": "contract IRegistryService",
281
+ "name": "service",
282
+ "type": "address"
283
+ }
284
+ ],
285
+ "name": "createNextRelease",
286
+ "outputs": [
287
+ {
288
+ "internalType": "NftId",
289
+ "name": "nftId",
290
+ "type": "uint96"
291
+ }
292
+ ],
293
+ "stateMutability": "nonpayable",
294
+ "type": "function"
295
+ },
296
+ {
297
+ "inputs": [],
298
+ "name": "getInitialVersion",
299
+ "outputs": [
300
+ {
301
+ "internalType": "VersionPart",
302
+ "name": "",
303
+ "type": "uint8"
304
+ }
305
+ ],
306
+ "stateMutability": "view",
307
+ "type": "function"
308
+ },
309
+ {
310
+ "inputs": [],
311
+ "name": "getLatestVersion",
312
+ "outputs": [
313
+ {
314
+ "internalType": "VersionPart",
315
+ "name": "",
316
+ "type": "uint8"
317
+ }
318
+ ],
319
+ "stateMutability": "view",
320
+ "type": "function"
321
+ },
322
+ {
323
+ "inputs": [],
324
+ "name": "getNextVersion",
325
+ "outputs": [
326
+ {
327
+ "internalType": "VersionPart",
328
+ "name": "",
329
+ "type": "uint8"
330
+ }
331
+ ],
332
+ "stateMutability": "view",
333
+ "type": "function"
334
+ },
335
+ {
336
+ "inputs": [],
337
+ "name": "getRegistry",
338
+ "outputs": [
339
+ {
340
+ "internalType": "address",
341
+ "name": "",
342
+ "type": "address"
343
+ }
344
+ ],
345
+ "stateMutability": "view",
346
+ "type": "function"
347
+ },
348
+ {
349
+ "inputs": [
350
+ {
351
+ "internalType": "VersionPart",
352
+ "name": "version",
353
+ "type": "uint8"
354
+ }
355
+ ],
356
+ "name": "getReleaseInfo",
357
+ "outputs": [
358
+ {
359
+ "components": [
360
+ {
361
+ "internalType": "ObjectType[]",
362
+ "name": "domains",
363
+ "type": "uint8[]"
364
+ },
365
+ {
366
+ "internalType": "Timestamp",
367
+ "name": "createdAt",
368
+ "type": "uint40"
369
+ }
370
+ ],
371
+ "internalType": "struct IRegistry.ReleaseInfo",
372
+ "name": "",
373
+ "type": "tuple"
374
+ }
375
+ ],
376
+ "stateMutability": "view",
377
+ "type": "function"
378
+ },
379
+ {
380
+ "inputs": [
381
+ {
382
+ "internalType": "address",
383
+ "name": "service",
384
+ "type": "address"
385
+ }
386
+ ],
387
+ "name": "isActiveRegistryService",
388
+ "outputs": [
389
+ {
390
+ "internalType": "bool",
391
+ "name": "",
392
+ "type": "bool"
393
+ }
394
+ ],
395
+ "stateMutability": "view",
396
+ "type": "function"
397
+ },
398
+ {
399
+ "inputs": [],
400
+ "name": "isConsumingScheduledOp",
401
+ "outputs": [
402
+ {
403
+ "internalType": "bytes4",
404
+ "name": "",
405
+ "type": "bytes4"
406
+ }
407
+ ],
408
+ "stateMutability": "view",
409
+ "type": "function"
410
+ },
411
+ {
412
+ "inputs": [
413
+ {
414
+ "internalType": "contract IService",
415
+ "name": "service",
416
+ "type": "address"
417
+ }
418
+ ],
419
+ "name": "registerService",
420
+ "outputs": [
421
+ {
422
+ "internalType": "NftId",
423
+ "name": "nftId",
424
+ "type": "uint96"
425
+ }
426
+ ],
427
+ "stateMutability": "nonpayable",
428
+ "type": "function"
429
+ },
430
+ {
431
+ "inputs": [
432
+ {
433
+ "internalType": "address",
434
+ "name": "newAuthority",
435
+ "type": "address"
436
+ }
437
+ ],
438
+ "name": "setAuthority",
439
+ "outputs": [],
440
+ "stateMutability": "nonpayable",
441
+ "type": "function"
442
+ }
443
+ ],
444
+ "bytecode": "0x60e06040523480156200001157600080fd5b50604051620066a9380380620066a983398101604081905262000034916200024f565b816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000073573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000099919062000293565b620000a481620001d4565b50604051632b10f60d60e21b815260ff8216600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af4158015620000fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001219190620002ba565b116200017f5760405162461bcd60e51b8152602060048201526024808201527f52656c656173654d616e616765723a20696e697469616c2076657273696f6e206044820152630697320360e41b606482015260840160405180910390fd5b6001600160a01b03821660805260ff811660c052604051620001a19062000228565b604051809103906000f080158015620001be573d6000803e3d6000fd5b506001600160a01b031660a05250620002d49050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b61468f806200201a83390190565b6001600160a01b03811681146200024c57600080fd5b50565b600080604083850312156200026357600080fd5b8251620002708162000236565b602084015190925060ff811681146200028857600080fd5b809150509250929050565b600060208284031215620002a657600080fd5b8151620002b38162000236565b9392505050565b600060208284031215620002cd57600080fd5b5051919050565b60805160a05160c051611cf5620003256000396000818160b001526107ad01526000818160fb015281816104c70152818161097a01528181610b4a0152610f0401526000610a250152611cf56000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80639d1e9404116100715780639d1e9404146101695780639ef6ddc914610194578063bf7e214f146101d0578063d2213b5b146101e1578063f40d7c3014610201578063fdd9ec7d1461020957600080fd5b80630e41142e146100ae5780630e6d1de9146100e75780635ab1bd53146100f95780637a9e5e4b146101335780638fb3603714610148575b600080fd5b7f00000000000000000000000000000000000000000000000000000000000000005b60405160ff90911681526020015b60405180910390f35b600054600160a81b900460ff166100d0565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100de565b610146610141366004611518565b61021c565b005b61015061029b565b6040516001600160e01b031990911681526020016100de565b61017c610177366004611518565b6102bf565b6040516001600160601b0390911681526020016100de565b6101c06101a2366004611518565b6001600160a01b031660009081526004602052604090205460ff1690565b60405190151581526020016100de565b6000546001600160a01b031661011b565b6101f46101ef36600461154b565b6105e6565b6040516100de9190611568565b6100d0610697565b61017c610217366004611518565b6107d3565b60005433906001600160a01b031681146102585760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b60000361028e576040516361798f2f60e11b81526001600160a01b038316600482015260240161024f565b61029782610c25565b5050565b60008054600160a01b900460ff166102b35750600090565b50638fb3603760e01b90565b60006102ce335b600036610c79565b6040516301ffc9a760e01b815263bdc07c9b60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa158015610319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033d91906115e3565b61035a576040516395d3b24b60e01b815260040160405180910390fd5b6000546001600160a01b03166001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d19190611609565b6001600160a01b031614610479576000546001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044d9190611609565b604051630f93ce7d60e41b81526001600160a01b0392831660048201529116602482015260440161024f565b60008061048984603c5b33610d79565b915091506000610497610697565b905060286104a6848383610f96565b506104b0836110a5565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a569061050090879086908690600401611676565b6020604051808303816000875af115801561051f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105439190611734565b9450856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561058057600080fd5b505af1158015610594573d6000803e3d6000fd5b50506040805160ff861681526001600160a01b038a1660208201527ff7d028a430f2a37026667fd5444515ac5d8be80a482ec6478f24b6561e91ad20935001905060405180910390a150505050919050565b60408051808201825260608082526000602080840182905260ff8616825260018152908490208451815492830281018401865294850182815293949390928492849184018282801561067557602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106465790505b50505091835250506001919091015464ffffffffff1660209091015292915050565b60008054604051632b10f60d60e21b8152600160a81b90910460ff166004820152819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156106f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071a919061174f565b905080156107ab5773__$9dab98ad7ae1a426029e5739f922230a41$__638e4ad86c61074783600161177e565b6040518263ffffffff1660e01b815260040161076591815260200190565b602060405180830381865af4158015610782573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a6919061179c565b6107cd565b7f00000000000000000000000000000000000000000000000000000000000000005b91505090565b60006107de336102c6565b6040516301ffc9a760e01b8152637b6a51fd60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa158015610829573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084d91906115e3565b61086a57604051635458064d60e11b815260040160405180910390fd5b600061087783603c610483565b5090506000610884610697565b90506000610893838383610f96565b604080516001808252818301909252919250600091906020808301908036833750505060ff8481166000908152600260209081526040808320938716835292905290812054825192935060e01b918391906108f0576108f06117cf565b60200260200101906001600160e01b03191690816001600160e01b0319168152505080600081518110610925576109256117cf565b60200260200101516001600160e01b031916600060e01b0361096e5760405163810fe06160e01b81526001600160a01b038716600482015260ff8316602482015260440161024f565b60006001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360286040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa1580156109e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0b9190611609565b6040516361bc3b4160e01b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906361bc3b4190610a5e908a90859087906004016117e5565b6020604051808303816000875af1158015610a7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa19190611851565b5060038054906000610ab28361187b565b9190505550600354600003610b33576000805460ff60a81b1916600160a81b60ff87169081029190911782556001600160a01b038316825260046020908152604092839020805460ff1916600117905591519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a15b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a5690610b8390889088908890600401611676565b6020604051808303816000875af1158015610ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc69190611734565b9550866001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610c0357600080fd5b505af1158015610c17573d6000803e3d6000fd5b505050505050505050919050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b600080610caf610c916000546001600160a01b031690565b8630610ca160046000898b611892565b610caa916118bc565b6113e3565b9150915081610d725763ffffffff811615610d4f576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90610d0a908890889088906004016118ec565b600060405180830381600087803b158015610d2457600080fd5b505af1158015610d38573d6000803e3d6000fd5b50506000805460ff60a01b1916905550610d729050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161024f565b5050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190611a0d565b6001600160a01b03871660808301526000606083015260408201519193509150610e4690856114ef565b15610e77576040808301519051632208245760e11b815260ff8087166004830152909116602482015260440161024f565b60a08201516001600160a01b0380821690851614610eb35760405163dfc430cb60e01b81526001600160a01b038516600482015260240161024f565b856001600160a01b0316816001600160a01b031603610ee5576040516317faf4db60e11b815260040160405180910390fd5b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015610f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6f91906115e3565b15610f8d57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b60008060008560c00151806020019051810190610fb39190611b06565b91509150610fc181866114ef565b15610fec57604051632ac811e560e01b815260ff80871660048301528216602482015260440161024f565b60405163b2466acf60e01b815260ff8516600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106291906115e3565b1561109c5761107182856114ef565b1561109c5760405163344254bf60e11b815260ff80861660048301528316602482015260440161024f565b50949350505050565b60006110af610697565b90506000828060200190518101906110c79190611b40565b905080516000036110eb5760405163b3327ef160e01b815260040160405180910390fd5b60ff828116600090815260016020818152604083208054928301815583528083209082040180546028601f9093166101000a9283029290940219909316179091555b815181101561133c57600082828151811061114a5761114a6117cf565b6020026020010151600001519050600083838151811061116c5761116c6117cf565b602002602001015160200151905061119182611186602890565b60ff90811691161490565b8061120d575060405163037c8cb160e51b815260ff8316600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__90636f91962090602401602060405180830381865af41580156111e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120d91906115e3565b1561123757604051633c04bbaf60e01b81526004810184905260ff8316602482015260440161024f565b6001600160e01b031981166000036112655760405163011092ab60e11b81526004810184905260240161024f565b60ff85811660009081526002602090815260408083209386168352929052205460e01b6001600160e01b031916156112bd57604051632d4af7a360e01b815260ff80871660048301528316602482015260440161024f565b60ff8581166000818152600260209081526040808320968516808452968252808320805463ffffffff191660e09790971c969096179095559181526001808352938120805494850181558152819020908304018054601f9093166101000a9182021990921692029190911790558061133481611c2e565b91505061112d565b5073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113aa9190611c47565b60ff92909216600090815260016020819052604090912001805464ffffffffff191664ffffffffff909316929092179091555160035550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516114529190611c6e565b600060405180830381855afa9150503d806000811461148d576040519150601f19603f3d011682016040523d82523d6000602084013e611492565b606091505b509150915081156114e45760408151106114c457808060200190518101906114ba9190611c8a565b90945092506114e4565b60208151106114e457808060200190518101906114e191906115e3565b93505b505094509492505050565b60ff82811690821614155b92915050565b6001600160a01b038116811461151557600080fd5b50565b60006020828403121561152a57600080fd5b813561153581611500565b9392505050565b60ff8116811461151557600080fd5b60006020828403121561155d57600080fd5b81356115358161153c565b6020808252825160408383015280516060840181905260009291820190839060808601905b808310156115b057835160ff16825292840192600192909201919084019061158d565b5064ffffffffff848801511660408701528094505050505092915050565b805180151581146115de57600080fd5b919050565b6000602082840312156115f557600080fd5b611535826115ce565b80516115de81611500565b60006020828403121561161b57600080fd5b815161153581611500565b60005b83811015611641578181015183820152602001611629565b50506000910152565b60008151808452611662816020860160208601611626565b601f01601f19169290920160200192915050565b606080825284516001600160601b03908116838301526020860151166080830152604085015160ff1660a083015284015180151560c08301526000905060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e06101208401526116f961014084018261164a565b91505061170b602083018560ff169052565b60ff831660408301525b949350505050565b80516001600160601b03811681146115de57600080fd5b60006020828403121561174657600080fd5b6115358261171d565b60006020828403121561176157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156114fa576114fa611768565b80516115de8161153c565b6000602082840312156117ae57600080fd5b81516115358161153c565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0384811682528316602080830191909152606060408301819052835190830181905260009184810191608085019190845b818110156118435784516001600160e01b0319168452938201939282019260010161181d565b509198975050505050505050565b60006020828403121561186357600080fd5b815167ffffffffffffffff8116811461153557600080fd5b60008161188a5761188a611768565b506000190190565b600080858511156118a257600080fd5b838611156118af57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156118e45780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60405160e0810167ffffffffffffffff8111828210171561194f5761194f6117b9565b60405290565b6040805190810167ffffffffffffffff8111828210171561194f5761194f6117b9565b604051601f8201601f1916810167ffffffffffffffff811182821017156119a1576119a16117b9565b604052919050565b600082601f8301126119ba57600080fd5b815167ffffffffffffffff8111156119d4576119d46117b9565b6119e7601f8201601f1916602001611978565b8181528460208386010111156119fc57600080fd5b611715826020830160208701611626565b60008060408385031215611a2057600080fd5b825167ffffffffffffffff80821115611a3857600080fd5b9084019060e08287031215611a4c57600080fd5b611a5461192c565b611a5d8361171d565b8152611a6b6020840161171d565b6020820152611a7c60408401611791565b6040820152611a8d606084016115ce565b6060820152611a9e608084016115fe565b6080820152611aaf60a084016115fe565b60a082015260c083015182811115611ac657600080fd5b611ad2888286016119a9565b60c0830152506020860151909450915080821115611aef57600080fd5b50611afc858286016119a9565b9150509250929050565b60008060408385031215611b1957600080fd5b8251611b248161153c565b6020840151909250611b358161153c565b809150509250929050565b60006020808385031215611b5357600080fd5b825167ffffffffffffffff80821115611b6b57600080fd5b818501915085601f830112611b7f57600080fd5b815181811115611b9157611b916117b9565b611b9f848260051b01611978565b818152848101925060069190911b830184019087821115611bbf57600080fd5b928401925b81841015611c235760408489031215611bdd5760008081fd5b611be5611955565b8451611bf08161153c565b8152848601516001600160e01b031981168114611c0d5760008081fd5b8187015283526040939093019291840191611bc4565b979650505050505050565b600060018201611c4057611c40611768565b5060010190565b600060208284031215611c5957600080fd5b815164ffffffffff8116811461153557600080fd5b60008251611c80818460208701611626565b9190910192915050565b60008060408385031215611c9d57600080fd5b611ca6836115ce565b9150602083015163ffffffff81168114611b3557600080fdfea264697066735822122046d112be1d9d7d4bda6faa94dab2c0ac461df980d2c3b3ad2680e7b890c4f12564736f6c6343000814003360806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600780546001600160a01b031916331790556040513090620000769062000b89565b6001600160a01b039091168152602001604051809103906000f080158015620000a3573d6000803e3d6000fd5b50600680546001600160a01b03929092166c01000000000000000000000000026001600160601b03909216919091179055620000de62000134565b620000e862000356565b620000f262000713565b63102da10360e01b60009081526020527fda2f1c7c93249a15b6e94303c502da92707bd3eefa34d80caa06d9c10412fded805460ff1916600117905562000d1e565b60006006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200018a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b0919062000b97565b6040805160e0810182526001600160601b0383168152600060208201529192508291908101600a5b60ff908116825260006020808401829052604080850183905260016060808701829052825180850184528581526080978801526001600160601b03808a1686528285529483902088518154958a0151948a0151928a01511515600160c81b0260ff60c81b1993909816600160c01b029290921661ffff60c01b199487166c01000000000000000000000000026001600160c01b031990961692909616919091179390931791909116929092179290921782559183015191810180546001600160a01b039384166001600160a01b03199182161790915560a08401516002830180549190941691161790915560c08201516003820190620002d9908262000c52565b50506006546040516340c10f1960e01b815260016004820152602481018590526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b1580156200033957600080fd5b505af11580156200034e573d6000803e3d6000fd5b505050505050565b600654604051630559ea4760e01b8152600260048201526000916c0100000000000000000000000090046001600160a01b031690630559ea4790602401602060405180830381865afa158015620003b1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003d7919062000b97565b9050600081905060006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000434573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200045a919062000b97565b8314620004f4576200046b62000a6d565b620004ec6006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004e9919062000b97565b90565b90506200054f565b6200054c6006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b90505b6040805160e0810182526001600160601b03848116808352848216602080850191825260288587019081526000606087018181523060808901908152600160a08a018181528b518088018d5285815260c08c019081529885529581905299909220885181549651945192511515600160c81b0260ff60c81b1960ff909416600160c01b029390931661ffff60c01b19958a166c01000000000000000000000000026001600160c01b03199098169190991617959095179290921695909517178255925194810180546001600160a01b039687166001600160a01b031991821617909155925160028201805491909616931692909217909355915190919060038201906200065d908262000c52565b5050306000908152600260205260409081902080546001600160601b0386166001600160601b03199182168117909255600680549091169091179081905590516340c10f1960e01b815260016004820152602481018690526c010000000000000000000000009091046001600160a01b031691506340c10f1990604401600060405180830381600087803b158015620006f557600080fd5b505af11580156200070a573d6000803e3d6000fd5b50505050505050565b7f018c877a3c1f175f42ac2fd4d91e2c99e438afe50496f22ceaf98c7ffc168eb2805460ff19166001908117909155603c600090815260046020527f2fc109324a9702a6c6d9ee4cb191009203224963472d729f754fd607ea2f8fd09062000779602890565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620007ad604690565b60ff1660ff1681526020019081526020016000206000620007d362000b7560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000807606e90565b60ff1660ff16815260200190815260200160002060006200082d62000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000861607890565b60ff1660ff16815260200190815260200160002060006200088762000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620008bb608290565b60ff1660ff1681526020019081526020016000206000620008e162000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000915608c90565b60ff1660ff16815260200190815260200160002060006200093b62000b7a60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906005906200096f60d290565b60ff1660ff16815260200190815260200160002060006200099562000b7f60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600590620009c960dc90565b60ff1660ff1681526020019081526020016000206000620009ef62000b8460201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060059062000a23605090565b60ff1660ff168152602001908152602001600020600062000a4962000b8460201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60006006600c9054906101000a90046001600160a01b03166001600160a01b0316632e85b1f36040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000ac3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ae9919062000b97565b905060008190506040518060e00160405280826001600160601b0316815260200162000b626006600c9054906101000a90046001600160a01b03166001600160a01b031663598e28926040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004c3573d6000803e3d6000fd5b6001600160601b03168152602001620001d85b602890565b604690565b606e90565b608c90565b611e3d806200285283390190565b60006020828403121562000baa57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000bdc57607f821691505b60208210810362000bfd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c4d57600081815260208120601f850160051c8101602086101562000c2c5750805b601f850160051c820191505b818110156200034e5782815560010162000c38565b505050565b81516001600160401b0381111562000c6e5762000c6e62000bb1565b62000c868162000c7f845462000bc7565b8462000c03565b602080601f83116001811462000cbe576000841562000ca55750858301515b600019600386901b1c1916600185901b1785556200034e565b600085815260208120601f198616915b8281101562000cef5788860151825594840194600190910190840162000cce565b508582101562000d0e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611b248062000d2e6000396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c8063a48f42e0116100c3578063cde749f41161007c578063cde749f4146102f9578063d2213b5b14610301578063d272ac1e14610321578063d39e604314610353578063e285c9c414610390578063e74d052f1461039857600080fd5b8063a48f42e01461028d578063a5df9e4e146102a0578063a7050a56146102b3578063ae8dfb79146102c6578063bc36dc91146102ce578063c3c5a547146102e657600080fd5b806338e19a751161011557806338e19a75146101fb5780633fe9300e14610215578063644c45e0146102385780637374162b1461025d578063893d20e8146102655780638b09a5f01461026d57600080fd5b806301ffc9a71461015257806314afd79e146101945780631a848cfb146101bf5780632b91e0a9146101d557806338bb429a146101e8575b600080fd5b61017f610160366004611316565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101a76101a236600461136f565b6103ab565b6040516001600160a01b03909116815260200161018b565b6101c76104c7565b60405190815260200161018b565b61017f6101e336600461136f565b610545565b6101a76101f63660046113ac565b610632565b61020361068f565b60405160ff909116815260200161018b565b61022b6040518060200160405280600081525081565b60405161018b919061140f565b6006546001600160601b03165b6040516001600160601b03909116815260200161018b565b6102036106fd565b6101a7610747565b61028061027b36600461136f565b610752565b60405161018b9190611422565b61028061029b3660046113ac565b6108b9565b6102456102ae366004611689565b61098b565b6102456102c13660046116be565b610a4c565b6101c7600281565b600654600160601b90046001600160a01b03166101a7565b61017f6102f436600461136f565b610b68565b610203610bff565b61031461030f366004611722565b610c49565b60405161018b919061173f565b61024561032f36600461136f565b6001600160a01b03166000908152600260205260409020546001600160601b031690565b6101a76103613660046117a5565b60ff8082166000908152600360209081526040808320938616835292905220546001600160a01b031692915050565b6101a7600181565b61017f6103a63660046113ac565b610ccf565b6006546001600160a01b0382811660009081526002602052604080822054905163046e44af60e11b81526001600160601b0390911660048201529092600160601b900490911690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e906024015b602060405180830381865af4158015610435573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045991906117de565b6040516001600160e01b031960e084901b1681526001600160601b039091166004820152602401602060405180830381865afa15801561049d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c191906117fb565b92915050565b60006006600c9054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561051c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105409190611818565b905090565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105db9190611831565b80156104c157506001600160a01b0382166000908152600260209081526040808320546001600160601b0316835260019091529020546104c190600160c01b900460ff16610627603c90565b60ff90811691161490565b60065460405163046e44af60e11b81526001600160601b0383166004820152600091600160601b90046001600160a01b031690636352211e9073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906308dc895e90602401610418565b600754604080516307208a1760e11b815290516000926001600160a01b031691630e41142e9160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610540919061184e565b60075460408051630f40d7c360e41b815290516000926001600160a01b03169163f40d7c309160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b6000610540306103ab565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160a01b038083166000908152600260208181526040808420546001600160601b039081168552600180845294829020825160e08101845281548084168252600160601b81049093169481019490945260ff600160c01b8304811693850193909352600160c81b9091049091161515606083015292830154841660808201529082015490921660a083015260038101805460c0840191906108309061186b565b80601f016020809104026020016040519081016040528092919081815260200182805461085c9061186b565b80156108a95780601f1061087e576101008083540402835291602001916108a9565b820191906000526020600020905b81548152906001019060200180831161088c57829003601f168201915b5050505050815250509050919050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526001600160601b03808316600090815260016020818152604092839020835160e08101855281548087168252600160601b81049096169281019290925260ff600160c01b8604811694830194909452600160c81b909404909216151560608301528201546001600160a01b03908116608083015260028301541660a082015260038201805491929160c0840191906108309061186b565b600754604051639ef6ddc960e01b81523360048201526000916001600160a01b031690639ef6ddc990602401602060405180830381865afa1580156109d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f89190611831565b610a1557604051638fe695a360e01b815260040160405180910390fd5b610a258260400151610627603c90565b15610a435760405163b4a7fc9360e01b815260040160405180910390fd5b6104c182610d29565b6007546000906001600160a01b03163314610a7a576040516347435e4760e11b815260040160405180910390fd5b60ff8084166000908152600360209081526040808320938616835292905220546001600160a01b031615610ad75760808401516040516353752f3960e11b81526001600160a01b0390911660048201526024015b60405180910390fd5b608084015160ff848116600090815260036020908152604080832093871683529290522080546001600160a01b0319166001600160a01b03909216919091179055610b2184610d29565b6040805160ff8087168252851660208201529192507fc4761a4fab07f2d3f242a458f91e31e4ea6128fe5edc599e3436f5f66317e0da910160405180910390a19392505050565b6001600160a01b0381166000908152600260205260408082205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f906024015b602060405180830381865af4158015610bdb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c19190611831565b60075460408051630e6d1de960e01b815290516000926001600160a01b031691630e6d1de99160048083019260209291908290030181865afa1580156106d9573d6000803e3d6000fd5b6040805180820182526060815260006020820152600754915163d2213b5b60e01b815260ff8416600482015290916001600160a01b03169063d2213b5b90602401600060405180830381865afa158015610ca7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104c191908101906118ba565b6001600160601b03811660009081526001602052604080822054905163b2466acf60e01b8152600160c01b90910460ff16600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401610bbe565b6040808201516020808401516001600160601b0380821660009081526001808552868220875160e08101895281548086168252600160601b81049095169681019690965260ff600160c01b8504811698870198909852600160c81b90930490961615156060850152948101546001600160a01b03908116608085015260028201541660a08401526003810180549293869390929160c0840191610dcb9061186b565b80601f0160208091040260200160405190810160405280929190818152602001828054610df79061186b565b8015610e445780601f10610e1957610100808354040283529160200191610e44565b820191906000526020600020905b815481529060010190602001808311610e2757829003601f168201915b5050509190925250505060408101516080820151919250906001600160a01b038116610e835760405163b0014c0760e01b815260040160405180910390fd5b6000610e9d886060015189608001518660600151856112d8565b60065460a08a01516040805160208101825260008082529151631109bad360e11b81529495509093600160601b9093046001600160a01b03169263221375a692610eee9290918791906004016119aa565b6020604051808303816000875af1158015610f0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f319190611818565b90508097508789600001906001600160601b031690816001600160601b03168152505088600160008a6001600160601b03166001600160601b0316815260200190815260200160002060008201518160000160006101000a8154816001600160601b0302191690836001600160601b03160217905550602082015181600001600c6101000a8154816001600160601b0302191690836001600160601b0316021790555060408201518160000160186101000a81548160ff021916908360ff16021790555060608201518160000160196101000a81548160ff02191690831515021790555060808201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060a08201518160020160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060c08201518160030190816110849190611a2e565b50505060808901516001600160a01b0316156111eb5760ff80881660009081526004602090815260408083208885168452909152812054909116151590036110ec57604051638880f20760e01b815260ff808916600483015285166024820152604401610ace565b60808901516001600160a01b038116600090815260026020526040908190205490516330b8415f60e01b81526001600160601b03909116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611164573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111889190611831565b156111b15760405163fdcce17f60e01b81526001600160a01b0382166004820152602401610ace565b6001600160a01b0316600090815260026020526040902080546bffffffffffffffffffffffff19166001600160601b038a1617905561123d565b60ff808816600090815260056020908152604080832088851684529091528120549091161515900361123d57604051638880f20760e01b815260ff808916600483015285166024820152604401610ace565b7f378868470b980e00aaf3e534a055e641e5fe9dfd8da44b4250edc6ad96e983878887898c606001518d608001518e60a001516040516112c4969594939291906001600160601b03968716815294909516602085015260ff929092166040840152151560608301526001600160a01b0390811660808301529190911660a082015260c00190565b60405180910390a150505050505050919050565b60006001600160a01b0384166112fd5782156112f557508061130e565b50600061130e565b841561130a57508261130e565b5060005b949350505050565b60006020828403121561132857600080fd5b81356001600160e01b03198116811461134057600080fd5b9392505050565b6001600160a01b038116811461135c57600080fd5b50565b803561136a81611347565b919050565b60006020828403121561138157600080fd5b813561134081611347565b6001600160601b038116811461135c57600080fd5b803561136a8161138c565b6000602082840312156113be57600080fd5b81356113408161138c565b6000815180845260005b818110156113ef576020818501810151868301820152016113d3565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061134060208301846113c9565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161148b60c08401826001600160a01b03169052565b5060c083015160e08084015261130e6101008401826113c9565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff811182821017156114de576114de6114a5565b60405290565b6040805190810167ffffffffffffffff811182821017156114de576114de6114a5565b604051601f8201601f1916810167ffffffffffffffff81118282101715611530576115306114a5565b604052919050565b60ff8116811461135c57600080fd5b803561136a81611538565b801515811461135c57600080fd5b803561136a81611552565b600082601f83011261157c57600080fd5b813567ffffffffffffffff811115611596576115966114a5565b6115a9601f8201601f1916602001611507565b8181528460208386010111156115be57600080fd5b816020850160208301376000918101602001919091529392505050565b600060e082840312156115ed57600080fd5b6115f56114bb565b9050611600826113a1565b815261160e602083016113a1565b602082015261161f60408301611547565b604082015261163060608301611560565b60608201526116416080830161135f565b608082015261165260a0830161135f565b60a082015260c082013567ffffffffffffffff81111561167157600080fd5b61167d8482850161156b565b60c08301525092915050565b60006020828403121561169b57600080fd5b813567ffffffffffffffff8111156116b257600080fd5b61130e848285016115db565b6000806000606084860312156116d357600080fd5b833567ffffffffffffffff8111156116ea57600080fd5b6116f6868287016115db565b935050602084013561170781611538565b9150604084013561171781611538565b809150509250925092565b60006020828403121561173457600080fd5b813561134081611538565b6020808252825160408383015280516060840181905260009291820190839060808601905b8083101561178757835160ff168252928401926001929092019190840190611764565b5064ffffffffff848801511660408701528094505050505092915050565b600080604083850312156117b857600080fd5b82356117c381611538565b915060208301356117d381611538565b809150509250929050565b6000602082840312156117f057600080fd5b81516113408161138c565b60006020828403121561180d57600080fd5b815161134081611347565b60006020828403121561182a57600080fd5b5051919050565b60006020828403121561184357600080fd5b815161134081611552565b60006020828403121561186057600080fd5b815161134081611538565b600181811c9082168061187f57607f821691505b60208210810361189f57634e487b7160e01b600052602260045260246000fd5b50919050565b805164ffffffffff8116811461136a57600080fd5b600060208083850312156118cd57600080fd5b825167ffffffffffffffff808211156118e557600080fd5b90840190604082870312156118f957600080fd5b6119016114e4565b82518281111561191057600080fd5b8301601f8101881361192157600080fd5b805183811115611933576119336114a5565b8060051b9350611944868501611507565b818152938201860193868101908a86111561195e57600080fd5b928701925b85841015611988578351925061197883611538565b8282529287019290870190611963565b8452506119999150508385016118a5565b848201528094505050505092915050565b6001600160a01b038481168252831660208201526060604082018190526000906119d6908301846113c9565b95945050505050565b601f821115611a2957600081815260208120601f850160051c81016020861015611a065750805b601f850160051c820191505b81811015611a2557828155600101611a12565b5050505b505050565b815167ffffffffffffffff811115611a4857611a486114a5565b611a5c81611a56845461186b565b846119df565b602080601f831160018114611a915760008415611a795750858301515b600019600386901b1c1916600185901b178555611a25565b600085815260208120601f198616915b82811015611ac057888601518255948401946001909101908401611aa1565b5085821015611ade5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea264697066735822122051c5592f4d4534ce0b9a86b5f91f73d6aa2e8d5793cdb965fa4617c88ea2f1c664736f6c6343000814003360806040523480156200001157600080fd5b5060405162001e3d38038062001e3d83398101604081905262000034916200012e565b60405180606001604052806024815260200162001e196024913960408051808201909152600681526511125413919560d21b6020820152600062000079838262000205565b50600162000088828262000205565b5050506001600160a01b038116620000b357604051630ae1413f60e11b815260040160405180910390fd5b600c80546001600160a01b0319166001600160a01b03831617905546600d8190556000600e555b80156200010e57600e8054906000620000f383620002e7565b90915550620001069050600a8262000303565b9050620000da565b600e546200011e90600a62000425565b600f555050600360105562000433565b6000602082840312156200014157600080fd5b81516001600160a01b03811681146200015957600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200018b57607f821691505b602082108103620001ac57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200020057600081815260208120601f850160051c81016020861015620001db5750805b601f850160051c820191505b81811015620001fc57828155600101620001e7565b5050505b505050565b81516001600160401b0381111562000221576200022162000160565b620002398162000232845462000176565b84620001b2565b602080601f831160018114620002715760008415620002585750858301515b600019600386901b1c1916600185901b178555620001fc565b600085815260208120601f198616915b82811015620002a25788860151825594840194600190910190840162000281565b5085821015620002c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600060018201620002fc57620002fc620002d1565b5060010190565b6000826200032157634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115620003675781600019048211156200034b576200034b620002d1565b808516156200035957918102915b93841c93908002906200032b565b509250929050565b60008262000380575060016200041f565b816200038f575060006200041f565b8160018114620003a85760028114620003b357620003d3565b60019150506200041f565b60ff841115620003c757620003c7620002d1565b50506001821b6200041f565b5060208310610133831016604e8410600b8410161715620003f8575081810a6200041f565b62000404838362000326565b80600019048211156200041b576200041b620002d1565b0290505b92915050565b60006200015983836200036f565b6119d680620004436000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c80634f558e7911610104578063a22cb465116100a2578063c87b56dd11610071578063c87b56dd146103dc578063e985e9c5146103ef578063f21de1e814610402578063f76f8d781461041357600080fd5b8063a22cb465146103a6578063a2309ff8146103b9578063a3f4df7e146103c1578063b88d4fde146103c957600080fd5b80636352211e116100de5780636352211e1461036557806370a0823114610378578063862440e21461038b57806395d89b411461039e57600080fd5b80634f558e791461031e5780634f6ccce714610349578063598e28921461035c57600080fd5b806323b872dd11610171578063342ec4431161014b578063342ec443146102bc57806340c10f19146102e557806342842e0e146102f857806342966c681461030b57600080fd5b806323b872dd1461028d5780632e85b1f3146102a05780632f745c59146102a957600080fd5b8063081812fc116101ad578063081812fc14610232578063095ea7b31461025d57806318160ddd14610272578063221375a61461027a57600080fd5b806301ffc9a7146101d45780630559ea47146101fc57806306fdde031461021d575b600080fd5b6101e76101e23660046113da565b610438565b60405190151581526020015b60405180910390f35b61020f61020a3660046113f7565b610463565b6040519081526020016101f3565b610225610498565b6040516101f39190611456565b6102456102403660046113f7565b61052a565b6040516001600160a01b0390911681526020016101f3565b61027061026b366004611485565b610553565b005b60085461020f565b61020f61028836600461155b565b610562565b61027061029b3660046115b9565b61061f565b61020f61083581565b61020f6102b7366004611485565b6106c8565b6102456102ca3660046113f7565b6000908152600a60205260409020546001600160a01b031690565b6102706102f3366004611485565b61072d565b6102706103063660046115b9565b610779565b6102706103193660046113f7565b610794565b6101e761032c3660046113f7565b6000908152600260205260409020546001600160a01b0316151590565b61020f6103573660046113f7565b6107ee565b61020f61044d81565b6102456103733660046113f7565b610847565b61020f6103863660046115f5565b610852565b610270610399366004611610565b61089a565b610225610945565b6102706103b4366004611657565b610954565b60115461020f565b61022561095f565b6102706103d7366004611693565b61097b565b6102256103ea3660046113f7565b610998565b6101e76103fd36600461170f565b610a42565b600c546001600160a01b0316610245565b6102256040518060400160405280600681526020016511125413919560d21b81525081565b60006001600160e01b0319821663780e9d6360e01b148061045d575061045d82610a70565b92915050565b6000600e54600d54600f54846104799190611758565b610483919061176f565b61048e906064611758565b61045d919061176f565b6060600080546104a790611782565b80601f01602080910402602001604051908101604052809291908181526020018280546104d390611782565b80156105205780601f106104f557610100808354040283529160200191610520565b820191906000526020600020905b81548152906001019060200180831161050357829003601f168201915b5050505050905090565b600061053582610ac0565b506000828152600460205260409020546001600160a01b031661045d565b61055e828233610af9565b5050565b600c546000906001600160a01b03163314610597576040516399c6cd7160e01b81523360048201526024015b60405180910390fd5b61059f610b06565b90506001600160a01b038316156105d8576000818152600a6020526040902080546001600160a01b0319166001600160a01b0385161790555b8151156105f9576000818152600b602052604090206105f7838261180a565b505b60118054906000610609836118ca565b91905055506106188482610b2d565b9392505050565b61062a838383610b47565b6000818152600a60205260409020546001600160a01b0316156106c3576000818152600a6020526040908190205490516373fbfdc360e11b81526001600160a01b0385811660048301528481166024830152604482018490529091169063e7f7fb8690606401600060405180830381600087803b1580156106aa57600080fd5b505af11580156106be573d6000803e3d6000fd5b505050505b505050565b60006106d383610852565b82106107045760405163295f44f760e21b81526001600160a01b03841660048201526024810183905260440161058e565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600c546001600160a01b0316331461075a576040516399c6cd7160e01b815233600482015260240161058e565b6011805490600061076a836118ca565b919050555061055e8282610b2d565b6106c38383836040518060200160405280600081525061097b565b600c546001600160a01b031633146107c1576040516399c6cd7160e01b815233600482015260240161058e565b6107ca81610ac0565b506107d481610bcc565b6000818152600b602052604081206107eb91611376565b50565b60006107f960085490565b82106108225760405163295f44f760e21b8152600060048201526024810183905260440161058e565b60088281548110610835576108356118e3565b90600052602060002001549050919050565b600061045d82610ac0565b60006001600160a01b03821661087e576040516322718ad960e21b81526000600482015260240161058e565b506001600160a01b031660009081526003602052604090205490565b600c546001600160a01b031633146108c7576040516399c6cd7160e01b815233600482015260240161058e565b80516000036108e957604051638e45096160e01b815260040160405180910390fd5b6000828152600b60205260408120805461090290611782565b905011156109235760405163303822c760e21b815260040160405180910390fd5b61092c82610ac0565b506000828152600b602052604090206106c3828261180a565b6060600180546104a790611782565b61055e338383610c07565b60405180606001604052806024815260200161197d6024913981565b61098684848461061f565b61099284848484610ca6565b50505050565b60606109a382610ac0565b506000828152600b6020526040902080546109bd90611782565b80601f01602080910402602001604051908101604052809291908181526020018280546109e990611782565b8015610a365780601f10610a0b57610100808354040283529160200191610a36565b820191906000526020600020905b815481529060010190602001808311610a1957829003601f168201915b50505050509050919050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982166380ac58cd60e01b1480610aa157506001600160e01b03198216635b5e139f60e01b145b8061045d57506301ffc9a760e01b6001600160e01b031983161461045d565b6000818152600260205260408120546001600160a01b03168061045d57604051637e27328960e01b81526004810184905260240161058e565b6106c38383836001610dcf565b6000610b13601054610463565b601080549192506000610b25836118ca565b919050555090565b61055e828260405180602001604052806000815250610ed5565b6001600160a01b038216610b7157604051633250574960e11b81526000600482015260240161058e565b6000610b7e838333610eec565b9050836001600160a01b0316816001600160a01b031614610992576040516364283d7b60e01b81526001600160a01b038086166004830152602482018490528216604482015260640161058e565b6000610bdb6000836000610eec565b90506001600160a01b03811661055e57604051637e27328960e01b81526004810183905260240161058e565b6001600160a01b038216610c3957604051630b61174360e31b81526001600160a01b038316600482015260240161058e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b0383163b1561099257604051630a85bd0160e11b81526001600160a01b0384169063150b7a0290610ce89033908890879087906004016118f9565b6020604051808303816000875af1925050508015610d23575060408051601f3d908101601f19168201909252610d2091810190611936565b60015b610d8c573d808015610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b508051600003610d8457604051633250574960e11b81526001600160a01b038516600482015260240161058e565b805181602001fd5b6001600160e01b03198116630a85bd0160e11b14610dc857604051633250574960e11b81526001600160a01b038516600482015260240161058e565b5050505050565b8080610de357506001600160a01b03821615155b15610ea5576000610df384610ac0565b90506001600160a01b03831615801590610e1f5750826001600160a01b0316816001600160a01b031614155b8015610e325750610e308184610a42565b155b15610e5b5760405163a9fbf51f60e01b81526001600160a01b038416600482015260240161058e565b8115610ea35783856001600160a01b0316826001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505b5050600090815260046020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b610edf8383610fc1565b6106c36000848484610ca6565b600080610efa858585611026565b90506001600160a01b038116610f5757610f5284600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b610f7a565b846001600160a01b0316816001600160a01b031614610f7a57610f7a818561111f565b6001600160a01b038516610f9657610f91846111b0565b610fb9565b846001600160a01b0316816001600160a01b031614610fb957610fb9858561125f565b949350505050565b6001600160a01b038216610feb57604051633250574960e11b81526000600482015260240161058e565b6000610ff983836000610eec565b90506001600160a01b038116156106c3576040516339e3563760e11b81526000600482015260240161058e565b6000828152600260205260408120546001600160a01b0390811690831615611053576110538184866112af565b6001600160a01b0381161561109157611070600085600080610dcf565b6001600160a01b038116600090815260036020526040902080546000190190555b6001600160a01b038516156110c0576001600160a01b0385166000908152600360205260409020805460010190555b60008481526002602052604080822080546001600160a01b0319166001600160a01b0389811691821790925591518793918516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4949350505050565b600061112a83610852565b60008381526007602052604090205490915080821461117d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906111c290600190611953565b600083815260096020526040812054600880549394509092849081106111ea576111ea6118e3565b90600052602060002001549050806008838154811061120b5761120b6118e3565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061124357611243611966565b6001900381819060005260206000200160009055905550505050565b6000600161126c84610852565b6112769190611953565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6112ba838383611313565b6106c3576001600160a01b0383166112e857604051637e27328960e01b81526004810182905260240161058e565b60405163177e802f60e01b81526001600160a01b03831660048201526024810182905260440161058e565b60006001600160a01b03831615801590610fb95750826001600160a01b0316846001600160a01b0316148061134d575061134d8484610a42565b80610fb95750506000908152600460205260409020546001600160a01b03908116911614919050565b50805461138290611782565b6000825580601f10611392575050565b601f0160209004906000526020600020908101906107eb91905b808211156113c057600081556001016113ac565b5090565b6001600160e01b0319811681146107eb57600080fd5b6000602082840312156113ec57600080fd5b8135610618816113c4565b60006020828403121561140957600080fd5b5035919050565b6000815180845260005b818110156114365760208185018101518683018201520161141a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006106186020830184611410565b80356001600160a01b038116811461148057600080fd5b919050565b6000806040838503121561149857600080fd5b6114a183611469565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156114e0576114e06114af565b604051601f8501601f19908116603f01168101908282118183101715611508576115086114af565b8160405280935085815286868601111561152157600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261154c57600080fd5b610618838335602085016114c5565b60008060006060848603121561157057600080fd5b61157984611469565b925061158760208501611469565b9150604084013567ffffffffffffffff8111156115a357600080fd5b6115af8682870161153b565b9150509250925092565b6000806000606084860312156115ce57600080fd5b6115d784611469565b92506115e560208501611469565b9150604084013590509250925092565b60006020828403121561160757600080fd5b61061882611469565b6000806040838503121561162357600080fd5b82359150602083013567ffffffffffffffff81111561164157600080fd5b61164d8582860161153b565b9150509250929050565b6000806040838503121561166a57600080fd5b61167383611469565b91506020830135801515811461168857600080fd5b809150509250929050565b600080600080608085870312156116a957600080fd5b6116b285611469565b93506116c060208601611469565b925060408501359150606085013567ffffffffffffffff8111156116e357600080fd5b8501601f810187136116f457600080fd5b611703878235602084016114c5565b91505092959194509250565b6000806040838503121561172257600080fd5b61172b83611469565b915061173960208401611469565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761045d5761045d611742565b8082018082111561045d5761045d611742565b600181811c9082168061179657607f821691505b6020821081036117b657634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106c357600081815260208120601f850160051c810160208610156117e35750805b601f850160051c820191505b81811015611802578281556001016117ef565b505050505050565b815167ffffffffffffffff811115611824576118246114af565b611838816118328454611782565b846117bc565b602080601f83116001811461186d57600084156118555750858301515b600019600386901b1c1916600185901b178555611802565b600085815260208120601f198616915b8281101561189c5788860151825594840194600190910190840161187d565b50858210156118ba5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000600182016118dc576118dc611742565b5060010190565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061192c90830184611410565b9695505050505050565b60006020828403121561194857600080fd5b8151610618816113c4565b8181038181111561045d5761045d611742565b634e487b7160e01b600052603160045260246000fdfe44657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654a2646970667358221220ea83661feb8d07247ba4fc77cce2760aa9afb7f2f6a802089397d027ee33b3bd64736f6c6343000814003344657a656e7472616c697a656420496e737572616e63652050726f746f636f6c204e4654",
445
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80639d1e9404116100715780639d1e9404146101695780639ef6ddc914610194578063bf7e214f146101d0578063d2213b5b146101e1578063f40d7c3014610201578063fdd9ec7d1461020957600080fd5b80630e41142e146100ae5780630e6d1de9146100e75780635ab1bd53146100f95780637a9e5e4b146101335780638fb3603714610148575b600080fd5b7f00000000000000000000000000000000000000000000000000000000000000005b60405160ff90911681526020015b60405180910390f35b600054600160a81b900460ff166100d0565b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100de565b610146610141366004611518565b61021c565b005b61015061029b565b6040516001600160e01b031990911681526020016100de565b61017c610177366004611518565b6102bf565b6040516001600160601b0390911681526020016100de565b6101c06101a2366004611518565b6001600160a01b031660009081526004602052604090205460ff1690565b60405190151581526020016100de565b6000546001600160a01b031661011b565b6101f46101ef36600461154b565b6105e6565b6040516100de9190611568565b6100d0610697565b61017c610217366004611518565b6107d3565b60005433906001600160a01b031681146102585760405162d1953b60e31b81526001600160a01b03821660048201526024015b60405180910390fd5b816001600160a01b03163b60000361028e576040516361798f2f60e11b81526001600160a01b038316600482015260240161024f565b61029782610c25565b5050565b60008054600160a01b900460ff166102b35750600090565b50638fb3603760e01b90565b60006102ce335b600036610c79565b6040516301ffc9a760e01b815263bdc07c9b60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa158015610319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061033d91906115e3565b61035a576040516395d3b24b60e01b815260040160405180910390fd5b6000546001600160a01b03166001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156103ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103d19190611609565b6001600160a01b031614610479576000546001600160a01b0316826001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044d9190611609565b604051630f93ce7d60e41b81526001600160a01b0392831660048201529116602482015260440161024f565b60008061048984603c5b33610d79565b915091506000610497610697565b905060286104a6848383610f96565b506104b0836110a5565b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a569061050090879086908690600401611676565b6020604051808303816000875af115801561051f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105439190611734565b9450856001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561058057600080fd5b505af1158015610594573d6000803e3d6000fd5b50506040805160ff861681526001600160a01b038a1660208201527ff7d028a430f2a37026667fd5444515ac5d8be80a482ec6478f24b6561e91ad20935001905060405180910390a150505050919050565b60408051808201825260608082526000602080840182905260ff8616825260018152908490208451815492830281018401865294850182815293949390928492849184018282801561067557602002820191906000526020600020906000905b825461010083900a900460ff168152602060019283018181049485019490930390920291018084116106465790505b50505091835250506001919091015464ffffffffff1660209091015292915050565b60008054604051632b10f60d60e21b8152600160a81b90910460ff166004820152819073__$9dab98ad7ae1a426029e5739f922230a41$__9063ac43d83490602401602060405180830381865af41580156106f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071a919061174f565b905080156107ab5773__$9dab98ad7ae1a426029e5739f922230a41$__638e4ad86c61074783600161177e565b6040518263ffffffff1660e01b815260040161076591815260200190565b602060405180830381865af4158015610782573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107a6919061179c565b6107cd565b7f00000000000000000000000000000000000000000000000000000000000000005b91505090565b60006107de336102c6565b6040516301ffc9a760e01b8152637b6a51fd60e01b60048201526001600160a01b038316906301ffc9a790602401602060405180830381865afa158015610829573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061084d91906115e3565b61086a57604051635458064d60e11b815260040160405180910390fd5b600061087783603c610483565b5090506000610884610697565b90506000610893838383610f96565b604080516001808252818301909252919250600091906020808301908036833750505060ff8481166000908152600260209081526040808320938716835292905290812054825192935060e01b918391906108f0576108f06117cf565b60200260200101906001600160e01b03191690816001600160e01b0319168152505080600081518110610925576109256117cf565b60200260200101516001600160e01b031916600060e01b0361096e5760405163810fe06160e01b81526001600160a01b038716600482015260ff8316602482015260440161024f565b60006001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663d39e604360286040516001600160e01b031960e084901b16815260ff91821660048201529087166024820152604401602060405180830381865afa1580156109e7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0b9190611609565b6040516361bc3b4160e01b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906361bc3b4190610a5e908a90859087906004016117e5565b6020604051808303816000875af1158015610a7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa19190611851565b5060038054906000610ab28361187b565b9190505550600354600003610b33576000805460ff60a81b1916600160a81b60ff87169081029190911782556001600160a01b038316825260046020908152604092839020805460ff1916600117905591519081527fb7defc6b4b34e4db6f0265bb8cc2606e513beda1e68095b668932471417561d4910160405180910390a15b604051635382852b60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a7050a5690610b8390889088908890600401611676565b6020604051808303816000875af1158015610ba2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc69190611734565b9550866001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015610c0357600080fd5b505af1158015610c17573d6000803e3d6000fd5b505050505050505050919050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b600080610caf610c916000546001600160a01b031690565b8630610ca160046000898b611892565b610caa916118bc565b6113e3565b9150915081610d725763ffffffff811615610d4f576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90610d0a908890889088906004016118ec565b600060405180830381600087803b158015610d2457600080fd5b505af1158015610d38573d6000803e3d6000fd5b50506000805460ff60a01b1916905550610d729050565b60405162d1953b60e31b81526001600160a01b038616600482015260240161024f565b5050505050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c08101919091526060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015610df4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e1c9190810190611a0d565b6001600160a01b03871660808301526000606083015260408201519193509150610e4690856114ef565b15610e77576040808301519051632208245760e11b815260ff8087166004830152909116602482015260440161024f565b60a08201516001600160a01b0380821690851614610eb35760405163dfc430cb60e01b81526001600160a01b038516600482015260240161024f565b856001600160a01b0316816001600160a01b031603610ee5576040516317faf4db60e11b815260040160405180910390fd5b60405163c3c5a54760e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063c3c5a54790602401602060405180830381865afa158015610f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6f91906115e3565b15610f8d57604051637142ceb360e11b815260040160405180910390fd5b50935093915050565b60008060008560c00151806020019051810190610fb39190611b06565b91509150610fc181866114ef565b15610fec57604051632ac811e560e01b815260ff80871660048301528216602482015260440161024f565b60405163b2466acf60e01b815260ff8516600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af415801561103e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106291906115e3565b1561109c5761107182856114ef565b1561109c5760405163344254bf60e11b815260ff80861660048301528316602482015260440161024f565b50949350505050565b60006110af610697565b90506000828060200190518101906110c79190611b40565b905080516000036110eb5760405163b3327ef160e01b815260040160405180910390fd5b60ff828116600090815260016020818152604083208054928301815583528083209082040180546028601f9093166101000a9283029290940219909316179091555b815181101561133c57600082828151811061114a5761114a6117cf565b6020026020010151600001519050600083838151811061116c5761116c6117cf565b602002602001015160200151905061119182611186602890565b60ff90811691161490565b8061120d575060405163037c8cb160e51b815260ff8316600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__90636f91962090602401602060405180830381865af41580156111e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120d91906115e3565b1561123757604051633c04bbaf60e01b81526004810184905260ff8316602482015260440161024f565b6001600160e01b031981166000036112655760405163011092ab60e11b81526004810184905260240161024f565b60ff85811660009081526002602090815260408083209386168352929052205460e01b6001600160e01b031916156112bd57604051632d4af7a360e01b815260ff80871660048301528316602482015260440161024f565b60ff8581166000818152600260209081526040808320968516808452968252808320805463ffffffff191660e09790971c969096179095559181526001808352938120805494850181558152819020908304018054601f9093166101000a9182021990921692029190911790558061133481611c2e565b91505061112d565b5073__$d53880c81dc91c20799140d711e5ab8718$__63adb618326040518163ffffffff1660e01b8152600401602060405180830381865af4158015611386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113aa9190611c47565b60ff92909216600090815260016020819052604090912001805464ffffffffff191664ffffffffff909316929092179091555160035550565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516114529190611c6e565b600060405180830381855afa9150503d806000811461148d576040519150601f19603f3d011682016040523d82523d6000602084013e611492565b606091505b509150915081156114e45760408151106114c457808060200190518101906114ba9190611c8a565b90945092506114e4565b60208151106114e457808060200190518101906114e191906115e3565b93505b505094509492505050565b60ff82811690821614155b92915050565b6001600160a01b038116811461151557600080fd5b50565b60006020828403121561152a57600080fd5b813561153581611500565b9392505050565b60ff8116811461151557600080fd5b60006020828403121561155d57600080fd5b81356115358161153c565b6020808252825160408383015280516060840181905260009291820190839060808601905b808310156115b057835160ff16825292840192600192909201919084019061158d565b5064ffffffffff848801511660408701528094505050505092915050565b805180151581146115de57600080fd5b919050565b6000602082840312156115f557600080fd5b611535826115ce565b80516115de81611500565b60006020828403121561161b57600080fd5b815161153581611500565b60005b83811015611641578181015183820152602001611629565b50506000910152565b60008151808452611662816020860160208601611626565b601f01601f19169290920160200192915050565b606080825284516001600160601b03908116838301526020860151166080830152604085015160ff1660a083015284015180151560c08301526000905060808501516001600160a01b03811660e08401525060a08501516001600160a01b0381166101008401525060c085015160e06101208401526116f961014084018261164a565b91505061170b602083018560ff169052565b60ff831660408301525b949350505050565b80516001600160601b03811681146115de57600080fd5b60006020828403121561174657600080fd5b6115358261171d565b60006020828403121561176157600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156114fa576114fa611768565b80516115de8161153c565b6000602082840312156117ae57600080fd5b81516115358161153c565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0384811682528316602080830191909152606060408301819052835190830181905260009184810191608085019190845b818110156118435784516001600160e01b0319168452938201939282019260010161181d565b509198975050505050505050565b60006020828403121561186357600080fd5b815167ffffffffffffffff8116811461153557600080fd5b60008161188a5761188a611768565b506000190190565b600080858511156118a257600080fd5b838611156118af57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156118e45780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60405160e0810167ffffffffffffffff8111828210171561194f5761194f6117b9565b60405290565b6040805190810167ffffffffffffffff8111828210171561194f5761194f6117b9565b604051601f8201601f1916810167ffffffffffffffff811182821017156119a1576119a16117b9565b604052919050565b600082601f8301126119ba57600080fd5b815167ffffffffffffffff8111156119d4576119d46117b9565b6119e7601f8201601f1916602001611978565b8181528460208386010111156119fc57600080fd5b611715826020830160208701611626565b60008060408385031215611a2057600080fd5b825167ffffffffffffffff80821115611a3857600080fd5b9084019060e08287031215611a4c57600080fd5b611a5461192c565b611a5d8361171d565b8152611a6b6020840161171d565b6020820152611a7c60408401611791565b6040820152611a8d606084016115ce565b6060820152611a9e608084016115fe565b6080820152611aaf60a084016115fe565b60a082015260c083015182811115611ac657600080fd5b611ad2888286016119a9565b60c0830152506020860151909450915080821115611aef57600080fd5b50611afc858286016119a9565b9150509250929050565b60008060408385031215611b1957600080fd5b8251611b248161153c565b6020840151909250611b358161153c565b809150509250929050565b60006020808385031215611b5357600080fd5b825167ffffffffffffffff80821115611b6b57600080fd5b818501915085601f830112611b7f57600080fd5b815181811115611b9157611b916117b9565b611b9f848260051b01611978565b818152848101925060069190911b830184019087821115611bbf57600080fd5b928401925b81841015611c235760408489031215611bdd5760008081fd5b611be5611955565b8451611bf08161153c565b8152848601516001600160e01b031981168114611c0d5760008081fd5b8187015283526040939093019291840191611bc4565b979650505050505050565b600060018201611c4057611c40611768565b5060010190565b600060208284031215611c5957600080fd5b815164ffffffffff8116811461153557600080fd5b60008251611c80818460208701611626565b9190910192915050565b60008060408385031215611c9d57600080fd5b611ca6836115ce565b9150602083015163ffffffff81168114611b3557600080fdfea264697066735822122046d112be1d9d7d4bda6faa94dab2c0ac461df980d2c3b3ad2680e7b890c4f12564736f6c63430008140033",
446
+ "linkReferences": {
447
+ "contracts/types/NftId.sol": {
448
+ "NftIdLib": [
449
+ {
450
+ "length": 20,
451
+ "start": 12610
452
+ },
453
+ {
454
+ "length": 20,
455
+ "start": 12997
456
+ },
457
+ {
458
+ "length": 20,
459
+ "start": 13237
460
+ },
461
+ {
462
+ "length": 20,
463
+ "start": 14568
464
+ },
465
+ {
466
+ "length": 20,
467
+ "start": 15986
468
+ }
469
+ ]
470
+ },
471
+ "contracts/types/ObjectType.sol": {
472
+ "ObjectTypeLib": [
473
+ {
474
+ "length": 20,
475
+ "start": 4905
476
+ },
477
+ {
478
+ "length": 20,
479
+ "start": 5332
480
+ },
481
+ {
482
+ "length": 20,
483
+ "start": 14927
484
+ }
485
+ ]
486
+ },
487
+ "contracts/types/Timestamp.sol": {
488
+ "TimestampLib": [
489
+ {
490
+ "length": 20,
491
+ "start": 5732
492
+ }
493
+ ]
494
+ },
495
+ "contracts/types/Version.sol": {
496
+ "VersionPartLib": [
497
+ {
498
+ "length": 20,
499
+ "start": 192
500
+ },
501
+ {
502
+ "length": 20,
503
+ "start": 2529
504
+ },
505
+ {
506
+ "length": 20,
507
+ "start": 2633
508
+ }
509
+ ]
510
+ }
511
+ },
512
+ "deployedLinkReferences": {
513
+ "contracts/types/ObjectType.sol": {
514
+ "ObjectTypeLib": [
515
+ {
516
+ "length": 20,
517
+ "start": 4100
518
+ },
519
+ {
520
+ "length": 20,
521
+ "start": 4527
522
+ }
523
+ ]
524
+ },
525
+ "contracts/types/Timestamp.sol": {
526
+ "TimestampLib": [
527
+ {
528
+ "length": 20,
529
+ "start": 4927
530
+ }
531
+ ]
532
+ },
533
+ "contracts/types/Version.sol": {
534
+ "VersionPartLib": [
535
+ {
536
+ "length": 20,
537
+ "start": 1724
538
+ },
539
+ {
540
+ "length": 20,
541
+ "start": 1828
542
+ }
543
+ ]
544
+ }
545
+ }
546
+ }