@etherisc/gif-next 0.0.2-ce2fc91-485 → 0.0.2-ce8407f-016

Sign up to get free protection for your applications and to get access to all the features.
Files changed (325) hide show
  1. package/README.md +71 -25
  2. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +115 -48
  4. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  5. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  6. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  7. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  8. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  9. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  10. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  11. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  12. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  13. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  14. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  15. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  16. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  20. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  22. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  24. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
  25. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
  26. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
  27. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1119 -0
  28. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  29. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  30. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  31. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1 -1907
  32. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  33. package/artifacts/contracts/instance/Instance.sol/Instance.json +2428 -1138
  34. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
  36. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +878 -0
  38. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +117 -0
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +50 -55
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/IService.sol/IService.json +174 -53
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +156 -112
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  49. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  50. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +220 -52
  51. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  53. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  55. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  56. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  57. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  58. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  59. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  60. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  61. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  62. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  63. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  64. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  65. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  66. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
  67. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  68. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  69. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  70. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +298 -39
  71. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  72. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +745 -0
  73. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  74. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  75. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  76. package/artifacts/contracts/registry/Registry.sol/Registry.json +489 -120
  77. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  78. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1013 -0
  79. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +476 -0
  81. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  82. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  83. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  84. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  85. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  86. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  87. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  88. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  89. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  90. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  91. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  92. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  93. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  94. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  95. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  96. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  97. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  98. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  99. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  100. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  101. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  102. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  103. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  104. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  105. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  106. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  107. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  108. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +5 -111
  109. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  110. package/artifacts/contracts/test/TestService.sol/TestService.json +283 -62
  111. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  112. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  113. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  114. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  115. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  116. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  117. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  118. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  119. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  120. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  121. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  122. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  123. package/artifacts/contracts/types/Fee.sol/FeeLib.json +50 -11
  124. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  125. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  126. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  127. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  128. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  129. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  130. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  131. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  132. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  133. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  134. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  135. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  136. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  137. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  138. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  139. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  140. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  141. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  142. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  143. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  144. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  145. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  146. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  147. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  148. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  149. package/contracts/components/IBaseComponent.sol +4 -4
  150. package/contracts/instance/AccessManagedSimple.sol +114 -0
  151. package/contracts/instance/AccessManagerSimple.sol +682 -0
  152. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  153. package/contracts/instance/IInstance.sol +3 -49
  154. package/contracts/instance/Instance.sol +378 -54
  155. package/contracts/instance/InstanceAccessManager.sol +288 -0
  156. package/contracts/instance/InstanceReader.sol +235 -0
  157. package/contracts/instance/InstanceService.sol +45 -0
  158. package/contracts/instance/base/IKeyValueStore.sol +10 -11
  159. package/contracts/instance/base/ILifecycle.sol +3 -3
  160. package/contracts/instance/base/KeyValueStore.sol +50 -18
  161. package/contracts/instance/base/Lifecycle.sol +16 -11
  162. package/contracts/instance/base/ServiceBase.sol +20 -13
  163. package/contracts/instance/module/IAccess.sol +38 -0
  164. package/contracts/instance/module/IBundle.sol +19 -0
  165. package/contracts/instance/module/IDistribution.sol +39 -0
  166. package/contracts/instance/module/IPolicy.sol +45 -0
  167. package/contracts/instance/module/IRisk.sol +11 -0
  168. package/contracts/instance/module/ISetup.sol +41 -0
  169. package/contracts/instance/module/ITreasury.sol +23 -0
  170. package/contracts/registry/ChainNft.sol +43 -15
  171. package/contracts/registry/IChainNft.sol +3 -2
  172. package/contracts/registry/IRegistry.sol +42 -26
  173. package/contracts/registry/IRegistryService.sol +29 -0
  174. package/contracts/registry/ITransferInterceptor.sol +6 -0
  175. package/contracts/registry/Registry.sol +384 -274
  176. package/contracts/registry/RegistryService.sol +369 -0
  177. package/contracts/registry/RegistryServiceManager.sol +43 -0
  178. package/contracts/shared/ContractDeployerLib.sol +72 -0
  179. package/contracts/shared/ERC165.sol +1 -1
  180. package/contracts/shared/INftOwnable.sol +22 -0
  181. package/contracts/shared/IRegisterable.sol +9 -16
  182. package/contracts/shared/IVersionable.sol +55 -11
  183. package/contracts/shared/NftOwnable.sol +136 -0
  184. package/contracts/shared/ProxyManager.sol +94 -0
  185. package/contracts/shared/Registerable.sol +62 -59
  186. package/contracts/shared/TokenHandler.sol +27 -0
  187. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  188. package/contracts/shared/Versionable.sol +113 -55
  189. package/contracts/test/TestRegisterable.sol +5 -6
  190. package/contracts/test/TestRoleId.sol +6 -6
  191. package/contracts/test/TestService.sol +5 -11
  192. package/contracts/types/DistributorType.sol +55 -0
  193. package/contracts/types/Fee.sol +8 -3
  194. package/contracts/types/Key32.sol +8 -3
  195. package/contracts/types/NumberId.sol +52 -0
  196. package/contracts/types/ObjectType.sol +44 -11
  197. package/contracts/types/Referral.sol +85 -0
  198. package/contracts/types/RiskId.sol +43 -0
  199. package/contracts/types/RoleId.sol +47 -10
  200. package/contracts/types/StateId.sol +1 -1
  201. package/contracts/types/Timestamp.sol +7 -3
  202. package/contracts/types/Version.sol +9 -0
  203. package/package.json +1 -1
  204. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  205. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  206. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  207. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  208. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  209. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  210. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  211. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  212. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  213. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  214. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  215. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  216. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  217. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  218. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  219. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  220. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  221. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  222. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  223. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  224. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  225. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  226. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  227. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  228. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  229. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  230. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  231. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  232. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  233. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  234. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  235. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  236. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  237. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  238. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  239. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  240. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -241
  241. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  242. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  243. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  244. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -241
  245. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  246. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  247. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  248. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  249. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  250. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  251. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  252. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  253. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  254. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  255. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  256. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  257. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  258. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  259. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  260. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  261. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  262. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  263. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  264. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  265. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  266. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  267. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  268. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  269. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -507
  270. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  271. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -364
  272. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  273. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -376
  274. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  275. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -477
  276. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  277. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  278. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  279. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  280. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  281. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  282. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  283. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  284. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  285. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  286. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  287. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  288. package/contracts/components/BaseComponent.sol +0 -88
  289. package/contracts/components/IPoolComponent.sol +0 -57
  290. package/contracts/components/IProductComponent.sol +0 -19
  291. package/contracts/components/Pool.sol +0 -174
  292. package/contracts/components/Product.sol +0 -117
  293. package/contracts/experiment/statemachine/README.md +0 -112
  294. package/contracts/instance/IInstanceLinked.sol +0 -8
  295. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  296. package/contracts/instance/base/IInstanceBase.sol +0 -14
  297. package/contracts/instance/base/InstanceBase.sol +0 -80
  298. package/contracts/instance/base/ModuleBase.sol +0 -52
  299. package/contracts/instance/module/access/Access.sol +0 -149
  300. package/contracts/instance/module/access/IAccess.sol +0 -53
  301. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  302. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  303. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  304. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  305. package/contracts/instance/module/component/ComponentModule.sol +0 -104
  306. package/contracts/instance/module/component/IComponent.sol +0 -63
  307. package/contracts/instance/module/policy/IPolicy.sol +0 -61
  308. package/contracts/instance/module/policy/PolicyModule.sol +0 -77
  309. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  310. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  311. package/contracts/instance/module/risk/IRisk.sol +0 -10
  312. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  313. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  314. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  315. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  316. package/contracts/instance/service/ComponentOwnerService.sol +0 -176
  317. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  318. package/contracts/instance/service/IPoolService.sol +0 -30
  319. package/contracts/instance/service/IProductService.sol +0 -58
  320. package/contracts/instance/service/PoolService.sol +0 -123
  321. package/contracts/instance/service/ProductService.sol +0 -354
  322. package/contracts/registry/IRegistryLinked.sol +0 -8
  323. package/contracts/shared/IOwnable.sol +0 -6
  324. package/contracts/test/TestPool.sol +0 -22
  325. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,1013 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RegistryService",
4
+ "sourceName": "contracts/registry/RegistryService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorAlreadyLinked",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "contractAddress",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorContractNotRegistered",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "account",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "ErrorNotOwner",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "registryAddress",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorNotRegistry",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "registryAddress",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorRegisterableNotRegistry",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorRegistryAddressZero",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "registry",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorRegistryAlreadyInitialized",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "ErrorRegistryNotInitialized",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "registerableAddress",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "InvalidAddress",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "initialOwner",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "InvalidInitialOwner",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "InvalidInitialization",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "ObjectType",
118
+ "name": "objectType",
119
+ "type": "uint8"
120
+ }
121
+ ],
122
+ "name": "InvalidType",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [],
127
+ "name": "MissingAllowance",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "NotComponent",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "NotInitializing",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "NotInstance",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [],
147
+ "name": "NotRegistryOwner",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [],
152
+ "name": "NotService",
153
+ "type": "error"
154
+ },
155
+ {
156
+ "inputs": [],
157
+ "name": "NotToken",
158
+ "type": "error"
159
+ },
160
+ {
161
+ "inputs": [],
162
+ "name": "SelfRegistration",
163
+ "type": "error"
164
+ },
165
+ {
166
+ "anonymous": false,
167
+ "inputs": [
168
+ {
169
+ "indexed": false,
170
+ "internalType": "uint64",
171
+ "name": "version",
172
+ "type": "uint64"
173
+ }
174
+ ],
175
+ "name": "Initialized",
176
+ "type": "event"
177
+ },
178
+ {
179
+ "anonymous": false,
180
+ "inputs": [
181
+ {
182
+ "indexed": false,
183
+ "internalType": "Version",
184
+ "name": "version",
185
+ "type": "uint24"
186
+ },
187
+ {
188
+ "indexed": false,
189
+ "internalType": "address",
190
+ "name": "implementation",
191
+ "type": "address"
192
+ },
193
+ {
194
+ "indexed": false,
195
+ "internalType": "address",
196
+ "name": "activatedBy",
197
+ "type": "address"
198
+ }
199
+ ],
200
+ "name": "LogVersionableInitialized",
201
+ "type": "event"
202
+ },
203
+ {
204
+ "inputs": [],
205
+ "name": "NAME",
206
+ "outputs": [
207
+ {
208
+ "internalType": "string",
209
+ "name": "",
210
+ "type": "string"
211
+ }
212
+ ],
213
+ "stateMutability": "view",
214
+ "type": "function"
215
+ },
216
+ {
217
+ "inputs": [],
218
+ "name": "NFT_LOCK_ADDRESS",
219
+ "outputs": [
220
+ {
221
+ "internalType": "address",
222
+ "name": "",
223
+ "type": "address"
224
+ }
225
+ ],
226
+ "stateMutability": "view",
227
+ "type": "function"
228
+ },
229
+ {
230
+ "inputs": [],
231
+ "name": "REGISTERABLE_LOCATION_V1",
232
+ "outputs": [
233
+ {
234
+ "internalType": "bytes32",
235
+ "name": "",
236
+ "type": "bytes32"
237
+ }
238
+ ],
239
+ "stateMutability": "view",
240
+ "type": "function"
241
+ },
242
+ {
243
+ "inputs": [],
244
+ "name": "REGISTRY_CREATION_CODE_HASH",
245
+ "outputs": [
246
+ {
247
+ "internalType": "bytes32",
248
+ "name": "",
249
+ "type": "bytes32"
250
+ }
251
+ ],
252
+ "stateMutability": "view",
253
+ "type": "function"
254
+ },
255
+ {
256
+ "inputs": [],
257
+ "name": "getInitialInfo",
258
+ "outputs": [
259
+ {
260
+ "components": [
261
+ {
262
+ "internalType": "NftId",
263
+ "name": "nftId",
264
+ "type": "uint96"
265
+ },
266
+ {
267
+ "internalType": "NftId",
268
+ "name": "parentNftId",
269
+ "type": "uint96"
270
+ },
271
+ {
272
+ "internalType": "ObjectType",
273
+ "name": "objectType",
274
+ "type": "uint8"
275
+ },
276
+ {
277
+ "internalType": "bool",
278
+ "name": "isInterceptor",
279
+ "type": "bool"
280
+ },
281
+ {
282
+ "internalType": "address",
283
+ "name": "objectAddress",
284
+ "type": "address"
285
+ },
286
+ {
287
+ "internalType": "address",
288
+ "name": "initialOwner",
289
+ "type": "address"
290
+ },
291
+ {
292
+ "internalType": "bytes",
293
+ "name": "data",
294
+ "type": "bytes"
295
+ }
296
+ ],
297
+ "internalType": "struct IRegistry.ObjectInfo",
298
+ "name": "",
299
+ "type": "tuple"
300
+ },
301
+ {
302
+ "internalType": "bytes",
303
+ "name": "data",
304
+ "type": "bytes"
305
+ }
306
+ ],
307
+ "stateMutability": "view",
308
+ "type": "function"
309
+ },
310
+ {
311
+ "inputs": [],
312
+ "name": "getInitializedVersion",
313
+ "outputs": [
314
+ {
315
+ "internalType": "uint64",
316
+ "name": "",
317
+ "type": "uint64"
318
+ }
319
+ ],
320
+ "stateMutability": "view",
321
+ "type": "function"
322
+ },
323
+ {
324
+ "inputs": [],
325
+ "name": "getMajorVersion",
326
+ "outputs": [
327
+ {
328
+ "internalType": "VersionPart",
329
+ "name": "majorVersion",
330
+ "type": "uint8"
331
+ }
332
+ ],
333
+ "stateMutability": "view",
334
+ "type": "function"
335
+ },
336
+ {
337
+ "inputs": [],
338
+ "name": "getName",
339
+ "outputs": [
340
+ {
341
+ "internalType": "string",
342
+ "name": "",
343
+ "type": "string"
344
+ }
345
+ ],
346
+ "stateMutability": "pure",
347
+ "type": "function"
348
+ },
349
+ {
350
+ "inputs": [],
351
+ "name": "getNftId",
352
+ "outputs": [
353
+ {
354
+ "internalType": "NftId",
355
+ "name": "",
356
+ "type": "uint96"
357
+ }
358
+ ],
359
+ "stateMutability": "view",
360
+ "type": "function"
361
+ },
362
+ {
363
+ "inputs": [],
364
+ "name": "getOwner",
365
+ "outputs": [
366
+ {
367
+ "internalType": "address",
368
+ "name": "",
369
+ "type": "address"
370
+ }
371
+ ],
372
+ "stateMutability": "view",
373
+ "type": "function"
374
+ },
375
+ {
376
+ "inputs": [],
377
+ "name": "getRegistry",
378
+ "outputs": [
379
+ {
380
+ "internalType": "contract IRegistry",
381
+ "name": "",
382
+ "type": "address"
383
+ }
384
+ ],
385
+ "stateMutability": "view",
386
+ "type": "function"
387
+ },
388
+ {
389
+ "inputs": [],
390
+ "name": "getVersion",
391
+ "outputs": [
392
+ {
393
+ "internalType": "Version",
394
+ "name": "",
395
+ "type": "uint24"
396
+ }
397
+ ],
398
+ "stateMutability": "pure",
399
+ "type": "function"
400
+ },
401
+ {
402
+ "inputs": [
403
+ {
404
+ "internalType": "uint256",
405
+ "name": "idx",
406
+ "type": "uint256"
407
+ }
408
+ ],
409
+ "name": "getVersion",
410
+ "outputs": [
411
+ {
412
+ "internalType": "Version",
413
+ "name": "",
414
+ "type": "uint24"
415
+ }
416
+ ],
417
+ "stateMutability": "view",
418
+ "type": "function"
419
+ },
420
+ {
421
+ "inputs": [],
422
+ "name": "getVersionCount",
423
+ "outputs": [
424
+ {
425
+ "internalType": "uint256",
426
+ "name": "",
427
+ "type": "uint256"
428
+ }
429
+ ],
430
+ "stateMutability": "view",
431
+ "type": "function"
432
+ },
433
+ {
434
+ "inputs": [
435
+ {
436
+ "internalType": "Version",
437
+ "name": "_version",
438
+ "type": "uint24"
439
+ }
440
+ ],
441
+ "name": "getVersionInfo",
442
+ "outputs": [
443
+ {
444
+ "components": [
445
+ {
446
+ "internalType": "Version",
447
+ "name": "version",
448
+ "type": "uint24"
449
+ },
450
+ {
451
+ "internalType": "address",
452
+ "name": "implementation",
453
+ "type": "address"
454
+ },
455
+ {
456
+ "internalType": "address",
457
+ "name": "activatedBy",
458
+ "type": "address"
459
+ },
460
+ {
461
+ "internalType": "Timestamp",
462
+ "name": "activatedAt",
463
+ "type": "uint40"
464
+ },
465
+ {
466
+ "internalType": "Blocknumber",
467
+ "name": "activatedIn",
468
+ "type": "uint32"
469
+ }
470
+ ],
471
+ "internalType": "struct IVersionable.VersionInfo",
472
+ "name": "",
473
+ "type": "tuple"
474
+ }
475
+ ],
476
+ "stateMutability": "view",
477
+ "type": "function"
478
+ },
479
+ {
480
+ "inputs": [
481
+ {
482
+ "internalType": "address",
483
+ "name": "implementation",
484
+ "type": "address"
485
+ },
486
+ {
487
+ "internalType": "address",
488
+ "name": "activatedBy",
489
+ "type": "address"
490
+ },
491
+ {
492
+ "internalType": "bytes",
493
+ "name": "data",
494
+ "type": "bytes"
495
+ }
496
+ ],
497
+ "name": "initialize",
498
+ "outputs": [],
499
+ "stateMutability": "nonpayable",
500
+ "type": "function"
501
+ },
502
+ {
503
+ "inputs": [
504
+ {
505
+ "internalType": "Version",
506
+ "name": "_version",
507
+ "type": "uint24"
508
+ }
509
+ ],
510
+ "name": "isInitialized",
511
+ "outputs": [
512
+ {
513
+ "internalType": "bool",
514
+ "name": "",
515
+ "type": "bool"
516
+ }
517
+ ],
518
+ "stateMutability": "view",
519
+ "type": "function"
520
+ },
521
+ {
522
+ "inputs": [],
523
+ "name": "linkToRegisteredNftId",
524
+ "outputs": [],
525
+ "stateMutability": "nonpayable",
526
+ "type": "function"
527
+ },
528
+ {
529
+ "inputs": [
530
+ {
531
+ "components": [
532
+ {
533
+ "internalType": "NftId",
534
+ "name": "nftId",
535
+ "type": "uint96"
536
+ },
537
+ {
538
+ "internalType": "NftId",
539
+ "name": "parentNftId",
540
+ "type": "uint96"
541
+ },
542
+ {
543
+ "internalType": "ObjectType",
544
+ "name": "objectType",
545
+ "type": "uint8"
546
+ },
547
+ {
548
+ "internalType": "bool",
549
+ "name": "isInterceptor",
550
+ "type": "bool"
551
+ },
552
+ {
553
+ "internalType": "address",
554
+ "name": "objectAddress",
555
+ "type": "address"
556
+ },
557
+ {
558
+ "internalType": "address",
559
+ "name": "initialOwner",
560
+ "type": "address"
561
+ },
562
+ {
563
+ "internalType": "bytes",
564
+ "name": "data",
565
+ "type": "bytes"
566
+ }
567
+ ],
568
+ "internalType": "struct IRegistry.ObjectInfo",
569
+ "name": "info",
570
+ "type": "tuple"
571
+ }
572
+ ],
573
+ "name": "registerBundle",
574
+ "outputs": [
575
+ {
576
+ "internalType": "NftId",
577
+ "name": "nftId",
578
+ "type": "uint96"
579
+ }
580
+ ],
581
+ "stateMutability": "nonpayable",
582
+ "type": "function"
583
+ },
584
+ {
585
+ "inputs": [
586
+ {
587
+ "internalType": "contract IBaseComponent",
588
+ "name": "component",
589
+ "type": "address"
590
+ },
591
+ {
592
+ "internalType": "ObjectType",
593
+ "name": "componentType",
594
+ "type": "uint8"
595
+ },
596
+ {
597
+ "internalType": "address",
598
+ "name": "owner",
599
+ "type": "address"
600
+ }
601
+ ],
602
+ "name": "registerComponent",
603
+ "outputs": [
604
+ {
605
+ "components": [
606
+ {
607
+ "internalType": "NftId",
608
+ "name": "nftId",
609
+ "type": "uint96"
610
+ },
611
+ {
612
+ "internalType": "NftId",
613
+ "name": "parentNftId",
614
+ "type": "uint96"
615
+ },
616
+ {
617
+ "internalType": "ObjectType",
618
+ "name": "objectType",
619
+ "type": "uint8"
620
+ },
621
+ {
622
+ "internalType": "bool",
623
+ "name": "isInterceptor",
624
+ "type": "bool"
625
+ },
626
+ {
627
+ "internalType": "address",
628
+ "name": "objectAddress",
629
+ "type": "address"
630
+ },
631
+ {
632
+ "internalType": "address",
633
+ "name": "initialOwner",
634
+ "type": "address"
635
+ },
636
+ {
637
+ "internalType": "bytes",
638
+ "name": "data",
639
+ "type": "bytes"
640
+ }
641
+ ],
642
+ "internalType": "struct IRegistry.ObjectInfo",
643
+ "name": "info",
644
+ "type": "tuple"
645
+ },
646
+ {
647
+ "internalType": "bytes",
648
+ "name": "data",
649
+ "type": "bytes"
650
+ }
651
+ ],
652
+ "stateMutability": "nonpayable",
653
+ "type": "function"
654
+ },
655
+ {
656
+ "inputs": [
657
+ {
658
+ "internalType": "contract IRegisterable",
659
+ "name": "instance",
660
+ "type": "address"
661
+ }
662
+ ],
663
+ "name": "registerInstance",
664
+ "outputs": [
665
+ {
666
+ "components": [
667
+ {
668
+ "internalType": "NftId",
669
+ "name": "nftId",
670
+ "type": "uint96"
671
+ },
672
+ {
673
+ "internalType": "NftId",
674
+ "name": "parentNftId",
675
+ "type": "uint96"
676
+ },
677
+ {
678
+ "internalType": "ObjectType",
679
+ "name": "objectType",
680
+ "type": "uint8"
681
+ },
682
+ {
683
+ "internalType": "bool",
684
+ "name": "isInterceptor",
685
+ "type": "bool"
686
+ },
687
+ {
688
+ "internalType": "address",
689
+ "name": "objectAddress",
690
+ "type": "address"
691
+ },
692
+ {
693
+ "internalType": "address",
694
+ "name": "initialOwner",
695
+ "type": "address"
696
+ },
697
+ {
698
+ "internalType": "bytes",
699
+ "name": "data",
700
+ "type": "bytes"
701
+ }
702
+ ],
703
+ "internalType": "struct IRegistry.ObjectInfo",
704
+ "name": "info",
705
+ "type": "tuple"
706
+ },
707
+ {
708
+ "internalType": "bytes",
709
+ "name": "data",
710
+ "type": "bytes"
711
+ }
712
+ ],
713
+ "stateMutability": "nonpayable",
714
+ "type": "function"
715
+ },
716
+ {
717
+ "inputs": [
718
+ {
719
+ "components": [
720
+ {
721
+ "internalType": "NftId",
722
+ "name": "nftId",
723
+ "type": "uint96"
724
+ },
725
+ {
726
+ "internalType": "NftId",
727
+ "name": "parentNftId",
728
+ "type": "uint96"
729
+ },
730
+ {
731
+ "internalType": "ObjectType",
732
+ "name": "objectType",
733
+ "type": "uint8"
734
+ },
735
+ {
736
+ "internalType": "bool",
737
+ "name": "isInterceptor",
738
+ "type": "bool"
739
+ },
740
+ {
741
+ "internalType": "address",
742
+ "name": "objectAddress",
743
+ "type": "address"
744
+ },
745
+ {
746
+ "internalType": "address",
747
+ "name": "initialOwner",
748
+ "type": "address"
749
+ },
750
+ {
751
+ "internalType": "bytes",
752
+ "name": "data",
753
+ "type": "bytes"
754
+ }
755
+ ],
756
+ "internalType": "struct IRegistry.ObjectInfo",
757
+ "name": "info",
758
+ "type": "tuple"
759
+ }
760
+ ],
761
+ "name": "registerPolicy",
762
+ "outputs": [
763
+ {
764
+ "internalType": "NftId",
765
+ "name": "nftId",
766
+ "type": "uint96"
767
+ }
768
+ ],
769
+ "stateMutability": "nonpayable",
770
+ "type": "function"
771
+ },
772
+ {
773
+ "inputs": [
774
+ {
775
+ "internalType": "contract IService",
776
+ "name": "service",
777
+ "type": "address"
778
+ }
779
+ ],
780
+ "name": "registerService",
781
+ "outputs": [
782
+ {
783
+ "components": [
784
+ {
785
+ "internalType": "NftId",
786
+ "name": "nftId",
787
+ "type": "uint96"
788
+ },
789
+ {
790
+ "internalType": "NftId",
791
+ "name": "parentNftId",
792
+ "type": "uint96"
793
+ },
794
+ {
795
+ "internalType": "ObjectType",
796
+ "name": "objectType",
797
+ "type": "uint8"
798
+ },
799
+ {
800
+ "internalType": "bool",
801
+ "name": "isInterceptor",
802
+ "type": "bool"
803
+ },
804
+ {
805
+ "internalType": "address",
806
+ "name": "objectAddress",
807
+ "type": "address"
808
+ },
809
+ {
810
+ "internalType": "address",
811
+ "name": "initialOwner",
812
+ "type": "address"
813
+ },
814
+ {
815
+ "internalType": "bytes",
816
+ "name": "data",
817
+ "type": "bytes"
818
+ }
819
+ ],
820
+ "internalType": "struct IRegistry.ObjectInfo",
821
+ "name": "info",
822
+ "type": "tuple"
823
+ },
824
+ {
825
+ "internalType": "bytes",
826
+ "name": "data",
827
+ "type": "bytes"
828
+ }
829
+ ],
830
+ "stateMutability": "nonpayable",
831
+ "type": "function"
832
+ },
833
+ {
834
+ "inputs": [
835
+ {
836
+ "internalType": "address",
837
+ "name": "tokenAddress",
838
+ "type": "address"
839
+ }
840
+ ],
841
+ "name": "registerToken",
842
+ "outputs": [
843
+ {
844
+ "internalType": "NftId",
845
+ "name": "nftId",
846
+ "type": "uint96"
847
+ }
848
+ ],
849
+ "stateMutability": "nonpayable",
850
+ "type": "function"
851
+ },
852
+ {
853
+ "inputs": [
854
+ {
855
+ "internalType": "bytes4",
856
+ "name": "interfaceId",
857
+ "type": "bytes4"
858
+ }
859
+ ],
860
+ "name": "supportsInterface",
861
+ "outputs": [
862
+ {
863
+ "internalType": "bool",
864
+ "name": "",
865
+ "type": "bool"
866
+ }
867
+ ],
868
+ "stateMutability": "view",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [
873
+ {
874
+ "internalType": "address",
875
+ "name": "implementation",
876
+ "type": "address"
877
+ },
878
+ {
879
+ "internalType": "address",
880
+ "name": "activatedBy",
881
+ "type": "address"
882
+ },
883
+ {
884
+ "internalType": "bytes",
885
+ "name": "data",
886
+ "type": "bytes"
887
+ }
888
+ ],
889
+ "name": "upgrade",
890
+ "outputs": [],
891
+ "stateMutability": "nonpayable",
892
+ "type": "function"
893
+ }
894
+ ],
895
+ "bytecode": "0x60806040523480156200001157600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055600280546001600160a01b031916331790556200006a62000070565b62000124565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c15760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001215780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612e0d80620001346000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063893d20e8116100de578063c2bf08c811610097578063d943342d11610071578063d943342d14610517578063e285c9c41461052a578063ed841d0c14610532578063fdd9ec7d1461053a57600080fd5b8063c2bf08c8146104d7578063cde749f4146104ea578063cf7a1d771461050457600080fd5b8063893d20e814610434578063946dfcfe1461043c578063a3f4df7e14610463578063a745e3df14610491578063b3c65015146104a4578063b88da759146104c457600080fd5b80631eff4b221161014b5780635ab1bd53116101255780635ab1bd53146103d15780635c992fed146103f6578063644c45e014610409578063834af1531461042157600080fd5b80631eff4b22146102705780634d459c90146102a55780634f421333146103be57600080fd5b806301ffc9a71461019357806309824a80146101d55780630d8e6e2c146102005780630fec111c1461021c578063138461e01461023257806317d7de7c1461023c575b600080fd5b6101c06101a13660046124bc565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101e86101e336600461250b565b61054d565b6040516001600160601b0390911681526020016101cc565b6102086107ec565b60405162ffffff90911681526020016101cc565b610224610876565b6040516101cc9291906125f1565b61023a6109b7565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516101cc919061261f565b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b6103616102b3366004612643565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612db883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101cc565b6101c06103cc366004612643565b610bd9565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b6101e861040436600461279e565b610c8c565b600154600160a01b90046001600160601b03166101e8565b61022461042f36600461250b565b610e2b565b6103de610e3a565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6102636040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b61023a61049f366004612870565b610f53565b6104ac6110ad565b6040516001600160401b0390911681526020016101cc565b6102086104d23660046128d1565b6110ce565b6101e86104e536600461279e565b61111f565b6104f2611244565b60405160ff90911681526020016101cc565b61023a610512366004612870565b6112c7565b6102246105253660046128ea565b6113d0565b6103de600181565b610297600081565b61022461054836600461250b565b611663565b6040516301ffc9a760e01b81526303fb044760e21b6004820152600090829082906001600160a01b038316906301ffc9a790602401602060405180830381865afa9250505080156105bb575060408051601f3d908101601f191682019092526105b891810190612940565b60015b6105c7575060006105ca565b90505b80156105e95760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa158015610634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106589190612968565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156106aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ce9190612990565b6001600160a01b0316336001600160a01b0316146106ff5760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610714600090565b6001600160601b03168152602001836001600160601b03168152602001610739603290565b60ff168152600060208083018290526001600160a01b03808b1660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e9061079f9084906004016129ad565b6020604051808303816000875af11580156107be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e29190612968565b9695505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561084d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087191906129c0565b905090565b61087e61247e565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806108b8600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610900610e3a565b6001600160a01b0316815260200182600101805461091d906129dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610949906129dd565b80156109965780601f1061096b57610100808354040283529160200191610996565b820191906000526020600020905b81548152906001019060200180831161097957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d9190612940565b15610a84576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610aad5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610af6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1a9190612940565b610b42576040516372657a5160e01b81526001600160a01b0382166004820152602401610a7b565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb09190612968565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612db883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c859190612a17565b1192915050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610cd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfd9190612968565b6001549091506001600160a01b0316635f1561518260d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d849190612940565b1515600003610da657604051632bb46a5f60e01b815260040160405180910390fd5b610db18360d261190b565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610de19086906004016129ad565b6020604051808303816000875af1158015610e00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e249190612968565b9392505050565b610e3361247e565b6060915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec39190612940565b15610f4357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190612990565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f756107ec565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd99190612a30565b600080516020612d988339815191528054600160401b900460ff168061100c575080546001600160401b03808416911610155b1561102a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110558585611a41565b61105e83611ce0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610871600080516020612d98833981519152546001600160401b031690565b6000600080516020612db883398151915260010182815481106110f3576110f3612a59565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801561116c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111909190612968565b6001549091506001600160a01b0316635f1561518260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa1580156111f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112179190612940565b151560000361123957604051632bb46a5f60e01b815260040160405180910390fd5b610db18360dc61190b565b600061124e6107ec565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156112a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190612a7a565b600080516020612d988339815191528054600160401b810460ff1615906001600160401b03166000811580156112fa5750825b90506000826001600160401b031660011480156113165750303b155b905081158015611324575080155b156113425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561136c57845460ff60401b1916600160401b1785555b6113768888611a41565b6113808787611ce8565b83156113c657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6113d861247e565b6040516301ffc9a760e01b8152631b1599eb60e21b60048201526060906001600160a01b038616906301ffc9a790602401602060405180830381865afa158015611426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144a9190612940565b61146757604051634138dc2760e11b815260040160405180910390fd5b611472858585611fb2565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156114c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e79190612968565b600154604051635f15615160e01b81526001600160601b038316600482015260ff881660248201529192506001600160a01b031690635f15615190604401602060405180830381865afa158015611542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115669190612940565b61158357604051632bb46a5f60e01b815260040160405180910390fd5b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906115b39086906004016129ad565b6020604051808303816000875af11580156115d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f69190612968565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0388169163138461e091600480830192600092919082900301818387803b15801561164157600080fd5b505af1158015611655573d6000803e3d6000fd5b50505050505b935093915050565b61166b61247e565b6040516301ffc9a760e01b8152631b4612f160e31b60048201526060906001600160a01b038416906301ffc9a790602401602060405180830381865afa1580156116b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116dd9190612940565b15156000036116ff57604051635458064d60e11b815260040160405180910390fd5b61170b83603c33611fb2565b600154604051636939560f60e11b81526001600160a01b03909116600482018190529294509092506000919063d272ac1e90602401602060405180830381865afa15801561175d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117819190612968565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156117d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f79190612990565b6001600160a01b0316336001600160a01b0316146118285760405163778d468d60e11b815260040160405180910390fd5b600160a08401819052546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e9061185f9086906004016129ad565b6020604051808303816000875af115801561187e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a29190612968565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0386169163138461e091600480830192600092919082900301818387803b1580156118ed57600080fd5b505af1158015611901573d6000803e3d6000fd5b5050505050915091565b60808201516001600160a01b031615611948576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a7b565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa15801561199f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c39190612940565b806119d9575060a08201516001600160a01b0316155b15611a085760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a7b565b604082015160ff828116911614611a3d57604080830151905163f503452760e01b815260ff9091166004820152602401610a7b565b5050565b611a4961218e565b600080516020612db88339815191526000611a79600080516020612d98833981519152546001600160401b031690565b90506000611a856107ec565b9050816001600160401b0316600103611ab25760028301805462ffffff191662ffffff8316179055611b00565b600283015462ffffff90811690821611611b005760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a7b565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611bb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd89190612a97565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061109e9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61018e61218e565b600080516020612d988339815191528054600160401b810460ff1615906001600160401b0316600081158015611d1b5750825b90506000826001600160401b03166001148015611d375750303b155b905081158015611d45575080155b15611d635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d8d57845460ff60401b1916600160401b1785555b600087611d98611244565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a52490611e04908b908690600401612abe565b600060405180830381865af4158015611e21573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e499190810190612b16565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f0290611e889085908590600401612b4a565b602060405180830381865af4158015611ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec99190612990565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611f15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f399190612968565b9050611f4683828e6121c7565b611f4e6109b7565b611f5e63183a225360e11b61224b565b50505050508315611fa957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b611fba61247e565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120229190810190612b6c565b608082015191935091506001600160a01b03868116911614612068576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a7b565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e09190612940565b806121015750826001600160a01b03168260a001516001600160a01b031614155b156121305760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a7b565b6001600160a01b0385163303612159576040516317faf4db60e11b815260040160405180910390fd5b604082015160ff85811691161461165b57604080830151905163f503452760e01b815260ff9091166004820152602401610a7b565b600080516020612d9883398151915254600160401b900460ff166121c557604051631afcd79f60e31b815260040160405180910390fd5b565b60006121f560408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b6121fd611244565b60405160200161220e929190612c64565b6040516020818303038152906040529050612235848461222c603c90565b60008686612270565b612245631b4612f160e31b61224b565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61227a82876122fb565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016122ea8382612cd8565b50611fa96303fb044760e21b61224b565b600280546001600160a01b0319166001600160a01b038416179055611a3d816001546001600160a01b0316156123535760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a7b565b6001600160a01b03811661237a5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036123b05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a7b565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632c1c764b60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561242a575060408051601f3d908101601f1916820190925261242791810190612940565b60015b6124525760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a7b565b80611a3d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a7b565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156124ce57600080fd5b81356001600160e01b031981168114610e2457600080fd5b6001600160a01b038116811461247b57600080fd5b8035612506816124e6565b919050565b60006020828403121561251d57600080fd5b8135610e24816124e6565b60005b8381101561254357818101518382015260200161252b565b50506000910152565b60008151808452612564816020860160208601612528565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526125e960e085018261254c565b949350505050565b6040815260006126046040830185612578565b8281036020840152612616818561254c565b95945050505050565b602081526000610e24602083018461254c565b62ffffff8116811461247b57600080fd5b60006020828403121561265557600080fd5b8135610e2481612632565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561269857612698612660565b60405290565b604051601f8201601f191681016001600160401b03811182821017156126c6576126c6612660565b604052919050565b6001600160601b038116811461247b57600080fd5b8035612506816126ce565b60ff8116811461247b57600080fd5b8035612506816126ee565b801515811461247b57600080fd5b803561250681612708565b60006001600160401b0382111561273a5761273a612660565b50601f01601f191660200190565b600082601f83011261275957600080fd5b813561276c61276782612721565b61269e565b81815284602083860101111561278157600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156127b057600080fd5b81356001600160401b03808211156127c757600080fd5b9083019060e082860312156127db57600080fd5b6127e3612676565b6127ec836126e3565b81526127fa602084016126e3565b602082015261280b604084016126fd565b604082015261281c60608401612716565b606082015261282d608084016124fb565b608082015261283e60a084016124fb565b60a082015260c08301358281111561285557600080fd5b61286187828601612748565b60c08301525095945050505050565b60008060006060848603121561288557600080fd5b8335612890816124e6565b925060208401356128a0816124e6565b915060408401356001600160401b038111156128bb57600080fd5b6128c786828701612748565b9150509250925092565b6000602082840312156128e357600080fd5b5035919050565b6000806000606084860312156128ff57600080fd5b833561290a816124e6565b9250602084013561291a816126ee565b9150604084013561292a816124e6565b809150509250925092565b805161250681612708565b60006020828403121561295257600080fd5b8151610e2481612708565b8051612506816126ce565b60006020828403121561297a57600080fd5b8151610e24816126ce565b8051612506816124e6565b6000602082840312156129a257600080fd5b8151610e24816124e6565b602081526000610e246020830184612578565b6000602082840312156129d257600080fd5b8151610e2481612632565b600181811c908216806129f157607f821691505b602082108103612a1157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612a2957600080fd5b5051919050565b600060208284031215612a4257600080fd5b81516001600160401b0381168114610e2457600080fd5b634e487b7160e01b600052603260045260246000fd5b8051612506816126ee565b600060208284031215612a8c57600080fd5b8151610e24816126ee565b600060208284031215612aa957600080fd5b815164ffffffffff81168114610e2457600080fd5b604081526000612604604083018561254c565b600082601f830112612ae257600080fd5b8151612af061276782612721565b818152846020838601011115612b0557600080fd5b6125e9826020830160208701612528565b600060208284031215612b2857600080fd5b81516001600160401b03811115612b3e57600080fd5b6125e984828501612ad1565b604081526000612b5d604083018561254c565b90508260208301529392505050565b60008060408385031215612b7f57600080fd5b82516001600160401b0380821115612b9657600080fd5b9084019060e08287031215612baa57600080fd5b612bb2612676565b612bbb8361295d565b8152612bc96020840161295d565b6020820152612bda60408401612a6f565b6040820152612beb60608401612935565b6060820152612bfc60808401612985565b6080820152612c0d60a08401612985565b60a082015260c083015182811115612c2457600080fd5b612c3088828601612ad1565b60c0830152506020860151909450915080821115612c4d57600080fd5b50612c5a85828601612ad1565b9150509250929050565b604081526000612c77604083018561254c565b905060ff831660208301529392505050565b601f821115612cd357600081815260208120601f850160051c81016020861015612cb05750805b601f850160051c820191505b81811015612ccf57828155600101612cbc565b5050505b505050565b81516001600160401b03811115612cf157612cf1612660565b612d0581612cff84546129dd565b84612c89565b602080601f831160018114612d3a5760008415612d225750858301515b600019600386901b1c1916600185901b178555612ccf565b600085815260208120601f198616915b82811015612d6957888601518255948401946001909101908401612d4a565b5085821015612d875787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212206189342c61b88973da0b2ea625e9c4735d1693a2d6cc4a5b590ef81dab5100ca64736f6c63430008140033",
896
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063893d20e8116100de578063c2bf08c811610097578063d943342d11610071578063d943342d14610517578063e285c9c41461052a578063ed841d0c14610532578063fdd9ec7d1461053a57600080fd5b8063c2bf08c8146104d7578063cde749f4146104ea578063cf7a1d771461050457600080fd5b8063893d20e814610434578063946dfcfe1461043c578063a3f4df7e14610463578063a745e3df14610491578063b3c65015146104a4578063b88da759146104c457600080fd5b80631eff4b221161014b5780635ab1bd53116101255780635ab1bd53146103d15780635c992fed146103f6578063644c45e014610409578063834af1531461042157600080fd5b80631eff4b22146102705780634d459c90146102a55780634f421333146103be57600080fd5b806301ffc9a71461019357806309824a80146101d55780630d8e6e2c146102005780630fec111c1461021c578063138461e01461023257806317d7de7c1461023c575b600080fd5b6101c06101a13660046124bc565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101e86101e336600461250b565b61054d565b6040516001600160601b0390911681526020016101cc565b6102086107ec565b60405162ffffff90911681526020016101cc565b610224610876565b6040516101cc9291906125f1565b61023a6109b7565b005b60408051808201909152600f81526e52656769737472795365727669636560881b60208201525b6040516101cc919061261f565b6102977f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101cc565b6103616102b3366004612643565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612db883398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101cc565b6101c06103cc366004612643565b610bd9565b6001546001600160a01b03165b6040516001600160a01b0390911681526020016101cc565b6101e861040436600461279e565b610c8c565b600154600160a01b90046001600160601b03166101e8565b61022461042f36600461250b565b610e2b565b6103de610e3a565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610297565b6102636040518060400160405280600f81526020016e52656769737472795365727669636560881b81525081565b61023a61049f366004612870565b610f53565b6104ac6110ad565b6040516001600160401b0390911681526020016101cc565b6102086104d23660046128d1565b6110ce565b6101e86104e536600461279e565b61111f565b6104f2611244565b60405160ff90911681526020016101cc565b61023a610512366004612870565b6112c7565b6102246105253660046128ea565b6113d0565b6103de600181565b610297600081565b61022461054836600461250b565b611663565b6040516301ffc9a760e01b81526303fb044760e21b6004820152600090829082906001600160a01b038316906301ffc9a790602401602060405180830381865afa9250505080156105bb575060408051601f3d908101601f191682019092526105b891810190612940565b60015b6105c7575060006105ca565b90505b80156105e95760405163087cada760e21b815260040160405180910390fd5b600154604051636939560f60e11b81526001600160a01b039091166004820181905260009163d272ac1e90602401602060405180830381865afa158015610634573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106589190612968565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156106aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ce9190612990565b6001600160a01b0316336001600160a01b0316146106ff5760405163778d468d60e11b815260040160405180910390fd5b60006040518060e00160405280610714600090565b6001600160601b03168152602001836001600160601b03168152602001610739603290565b60ff168152600060208083018290526001600160a01b03808b1660408086019190915260016060860181905281519384018252938352608090940191909152905491516352efcf2760e11b8152929350169063a5df9e4e9061079f9084906004016129ad565b6020604051808303816000875af11580156107be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e29190612968565b9695505050505050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561084d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087191906129c0565b905090565b61087e61247e565b606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806108b8600090565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610900610e3a565b6001600160a01b0316815260200182600101805461091d906129dd565b80601f0160208091040260200160405190810160405280929190818152602001828054610949906129dd565b80156109965780601f1061096b57610100808354040283529160200191610996565b820191906000526020600020905b81548152906001019060200180831161097957829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a3d9190612940565b15610a84576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610aad5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610af6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1a9190612940565b610b42576040516372657a5160e01b81526001600160a01b0382166004820152602401610a7b565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b8c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bb09190612968565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612db883398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c859190612a17565b1192915050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa158015610cd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfd9190612968565b6001549091506001600160a01b0316635f1561518260d26040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d849190612940565b1515600003610da657604051632bb46a5f60e01b815260040160405180910390fd5b610db18360d261190b565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610de19086906004016129ad565b6020604051808303816000875af1158015610e00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e249190612968565b9392505050565b610e3361247e565b6060915091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec39190612940565b15610f4357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610f1f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190612990565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610f756107ec565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd99190612a30565b600080516020612d988339815191528054600160401b900460ff168061100c575080546001600160401b03808416911610155b1561102a5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110558585611a41565b61105e83611ce0565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610871600080516020612d98833981519152546001600160401b031690565b6000600080516020612db883398151915260010182815481106110f3576110f3612a59565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600154604051636939560f60e11b815233600482015260009182916001600160a01b039091169063d272ac1e90602401602060405180830381865afa15801561116c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111909190612968565b6001549091506001600160a01b0316635f1561518260dc6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865afa1580156111f3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112179190612940565b151560000361123957604051632bb46a5f60e01b815260040160405180910390fd5b610db18360dc61190b565b600061124e6107ec565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156112a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190612a7a565b600080516020612d988339815191528054600160401b810460ff1615906001600160401b03166000811580156112fa5750825b90506000826001600160401b031660011480156113165750303b155b905081158015611324575080155b156113425760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561136c57845460ff60401b1916600160401b1785555b6113768888611a41565b6113808787611ce8565b83156113c657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6113d861247e565b6040516301ffc9a760e01b8152631b1599eb60e21b60048201526060906001600160a01b038616906301ffc9a790602401602060405180830381865afa158015611426573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144a9190612940565b61146757604051634138dc2760e11b815260040160405180910390fd5b611472858585611fb2565b600154604051636939560f60e11b81523360048201529294509092506000916001600160a01b039091169063d272ac1e90602401602060405180830381865afa1580156114c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e79190612968565b600154604051635f15615160e01b81526001600160601b038316600482015260ff881660248201529192506001600160a01b031690635f15615190604401602060405180830381865afa158015611542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115669190612940565b61158357604051632bb46a5f60e01b815260040160405180910390fd5b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e906115b39086906004016129ad565b6020604051808303816000875af11580156115d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f69190612968565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0388169163138461e091600480830192600092919082900301818387803b15801561164157600080fd5b505af1158015611655573d6000803e3d6000fd5b50505050505b935093915050565b61166b61247e565b6040516301ffc9a760e01b8152631b4612f160e31b60048201526060906001600160a01b038416906301ffc9a790602401602060405180830381865afa1580156116b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116dd9190612940565b15156000036116ff57604051635458064d60e11b815260040160405180910390fd5b61170b83603c33611fb2565b600154604051636939560f60e11b81526001600160a01b03909116600482018190529294509092506000919063d272ac1e90602401602060405180830381865afa15801561175d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117819190612968565b600154604051631c5da14d60e11b81526001600160601b03831660048201529192506001600160a01b0316906338bb429a90602401602060405180830381865afa1580156117d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f79190612990565b6001600160a01b0316336001600160a01b0316146118285760405163778d468d60e11b815260040160405180910390fd5b600160a08401819052546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e9061185f9086906004016129ad565b6020604051808303816000875af115801561187e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118a29190612968565b6001600160601b0316835260408051629c230f60e51b815290516001600160a01b0386169163138461e091600480830192600092919082900301818387803b1580156118ed57600080fd5b505af1158015611901573d6000803e3d6000fd5b5050505050915091565b60808201516001600160a01b031615611948576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a7b565b6001546001600160a01b031660a083015160405163c3c5a54760e01b81526001600160a01b03918216600482015291169063c3c5a54790602401602060405180830381865afa15801561199f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c39190612940565b806119d9575060a08201516001600160a01b0316155b15611a085760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a7b565b604082015160ff828116911614611a3d57604080830151905163f503452760e01b815260ff9091166004820152602401610a7b565b5050565b611a4961218e565b600080516020612db88339815191526000611a79600080516020612d98833981519152546001600160401b031690565b90506000611a856107ec565b9050816001600160401b0316600103611ab25760028301805462ffffff191662ffffff8316179055611b00565b600283015462ffffff90811690821611611b005760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a7b565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611bb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd89190612a97565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061109e9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b61018e61218e565b600080516020612d988339815191528054600160401b810460ff1615906001600160401b0316600081158015611d1b5750825b90506000826001600160401b03166001148015611d375750303b155b905081158015611d45575080155b15611d635760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d8d57845460ff60401b1916600160401b1785555b600087611d98611244565b604080516001600160a01b03909316602084015260ff9091169082015260600160408051601f1981840301815290829052631585e94960e21b8252915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90635617a52490611e04908b908690600401612abe565b600060405180830381865af4158015611e21573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611e499190810190612b16565b60405163257b1f8160e11b815290915060009073__$b2e3f5fb9dc49bcf3e057142c7696ab68d$__90634af63f0290611e889085908590600401612b4a565b602060405180830381865af4158015611ea5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec99190612990565b604051636939560f60e11b81526001600160a01b03821660048201819052919250829160009163d272ac1e90602401602060405180830381865afa158015611f15573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f399190612968565b9050611f4683828e6121c7565b611f4e6109b7565b611f5e63183a225360e11b61224b565b50505050508315611fa957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b611fba61247e565b6060846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611ffa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526120229190810190612b6c565b608082015191935091506001600160a01b03868116911614612068576080820151604051634726455360e11b81526001600160a01b039091166004820152602401610a7b565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120e09190612940565b806121015750826001600160a01b03168260a001516001600160a01b031614155b156121305760a082015160405163711c133360e01b81526001600160a01b039091166004820152602401610a7b565b6001600160a01b0385163303612159576040516317faf4db60e11b815260040160405180910390fd5b604082015160ff85811691161461165b57604080830151905163f503452760e01b815260ff9091166004820152602401610a7b565b600080516020612d9883398151915254600160401b900460ff166121c557604051631afcd79f60e31b815260040160405180910390fd5b565b60006121f560408051808201909152600f81526e52656769737472795365727669636560881b602082015290565b6121fd611244565b60405160200161220e929190612c64565b6040516020818303038152906040529050612235848461222c603c90565b60008686612270565b612245631b4612f160e31b61224b565b50505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61227a82876122fb565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016122ea8382612cd8565b50611fa96303fb044760e21b61224b565b600280546001600160a01b0319166001600160a01b038416179055611a3d816001546001600160a01b0316156123535760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a7b565b6001600160a01b03811661237a5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036123b05760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a7b565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632c1c764b60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801561242a575060408051601f3d908101601f1916820190925261242791810190612940565b60015b6124525760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a7b565b80611a3d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a7b565b50565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6000602082840312156124ce57600080fd5b81356001600160e01b031981168114610e2457600080fd5b6001600160a01b038116811461247b57600080fd5b8035612506816124e6565b919050565b60006020828403121561251d57600080fd5b8135610e24816124e6565b60005b8381101561254357818101518382015260200161252b565b50506000910152565b60008151808452612564816020860160208601612528565b601f01601f19169290920160200192915050565b60006001600160601b038083511684528060208401511660208501525060ff6040830151166040840152606082015115156060840152608082015160018060a01b0380821660808601528060a08501511660a0860152505060c082015160e060c08501526125e960e085018261254c565b949350505050565b6040815260006126046040830185612578565b8281036020840152612616818561254c565b95945050505050565b602081526000610e24602083018461254c565b62ffffff8116811461247b57600080fd5b60006020828403121561265557600080fd5b8135610e2481612632565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561269857612698612660565b60405290565b604051601f8201601f191681016001600160401b03811182821017156126c6576126c6612660565b604052919050565b6001600160601b038116811461247b57600080fd5b8035612506816126ce565b60ff8116811461247b57600080fd5b8035612506816126ee565b801515811461247b57600080fd5b803561250681612708565b60006001600160401b0382111561273a5761273a612660565b50601f01601f191660200190565b600082601f83011261275957600080fd5b813561276c61276782612721565b61269e565b81815284602083860101111561278157600080fd5b816020850160208301376000918101602001919091529392505050565b6000602082840312156127b057600080fd5b81356001600160401b03808211156127c757600080fd5b9083019060e082860312156127db57600080fd5b6127e3612676565b6127ec836126e3565b81526127fa602084016126e3565b602082015261280b604084016126fd565b604082015261281c60608401612716565b606082015261282d608084016124fb565b608082015261283e60a084016124fb565b60a082015260c08301358281111561285557600080fd5b61286187828601612748565b60c08301525095945050505050565b60008060006060848603121561288557600080fd5b8335612890816124e6565b925060208401356128a0816124e6565b915060408401356001600160401b038111156128bb57600080fd5b6128c786828701612748565b9150509250925092565b6000602082840312156128e357600080fd5b5035919050565b6000806000606084860312156128ff57600080fd5b833561290a816124e6565b9250602084013561291a816126ee565b9150604084013561292a816124e6565b809150509250925092565b805161250681612708565b60006020828403121561295257600080fd5b8151610e2481612708565b8051612506816126ce565b60006020828403121561297a57600080fd5b8151610e24816126ce565b8051612506816124e6565b6000602082840312156129a257600080fd5b8151610e24816124e6565b602081526000610e246020830184612578565b6000602082840312156129d257600080fd5b8151610e2481612632565b600181811c908216806129f157607f821691505b602082108103612a1157634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215612a2957600080fd5b5051919050565b600060208284031215612a4257600080fd5b81516001600160401b0381168114610e2457600080fd5b634e487b7160e01b600052603260045260246000fd5b8051612506816126ee565b600060208284031215612a8c57600080fd5b8151610e24816126ee565b600060208284031215612aa957600080fd5b815164ffffffffff81168114610e2457600080fd5b604081526000612604604083018561254c565b600082601f830112612ae257600080fd5b8151612af061276782612721565b818152846020838601011115612b0557600080fd5b6125e9826020830160208701612528565b600060208284031215612b2857600080fd5b81516001600160401b03811115612b3e57600080fd5b6125e984828501612ad1565b604081526000612b5d604083018561254c565b90508260208301529392505050565b60008060408385031215612b7f57600080fd5b82516001600160401b0380821115612b9657600080fd5b9084019060e08287031215612baa57600080fd5b612bb2612676565b612bbb8361295d565b8152612bc96020840161295d565b6020820152612bda60408401612a6f565b6040820152612beb60608401612935565b6060820152612bfc60808401612985565b6080820152612c0d60a08401612985565b60a082015260c083015182811115612c2457600080fd5b612c3088828601612ad1565b60c0830152506020860151909450915080821115612c4d57600080fd5b50612c5a85828601612ad1565b9150509250929050565b604081526000612c77604083018561254c565b905060ff831660208301529392505050565b601f821115612cd357600081815260208120601f850160051c81016020861015612cb05750805b601f850160051c820191505b81811015612ccf57828155600101612cbc565b5050505b505050565b81516001600160401b03811115612cf157612cf1612660565b612d0581612cff84546129dd565b84612c89565b602080601f831160018114612d3a5760008415612d225750858301515b600019600386901b1c1916600185901b178555612ccf565b600085815260208120601f198616915b82811015612d6957888601518255948401946001909101908401612d4a565b5085821015612d875787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212206189342c61b88973da0b2ea625e9c4735d1693a2d6cc4a5b590ef81dab5100ca64736f6c63430008140033",
897
+ "linkReferences": {
898
+ "contracts/shared/ContractDeployerLib.sol": {
899
+ "ContractDeployerLib": [
900
+ {
901
+ "length": 20,
902
+ "start": 7950
903
+ },
904
+ {
905
+ "length": 20,
906
+ "start": 8082
907
+ }
908
+ ]
909
+ },
910
+ "contracts/types/Blocknumber.sol": {
911
+ "BlocknumberLib": [
912
+ {
913
+ "length": 20,
914
+ "start": 3419
915
+ }
916
+ ]
917
+ },
918
+ "contracts/types/NftId.sol": {
919
+ "NftIdLib": [
920
+ {
921
+ "length": 20,
922
+ "start": 2835
923
+ },
924
+ {
925
+ "length": 20,
926
+ "start": 3993
927
+ }
928
+ ]
929
+ },
930
+ "contracts/types/Timestamp.sol": {
931
+ "TimestampLib": [
932
+ {
933
+ "length": 20,
934
+ "start": 7342
935
+ }
936
+ ]
937
+ },
938
+ "contracts/types/Version.sol": {
939
+ "VersionLib": [
940
+ {
941
+ "length": 20,
942
+ "start": 2375
943
+ },
944
+ {
945
+ "length": 20,
946
+ "start": 4233
947
+ },
948
+ {
949
+ "length": 20,
950
+ "start": 5021
951
+ }
952
+ ]
953
+ }
954
+ },
955
+ "deployedLinkReferences": {
956
+ "contracts/shared/ContractDeployerLib.sol": {
957
+ "ContractDeployerLib": [
958
+ {
959
+ "length": 20,
960
+ "start": 7642
961
+ },
962
+ {
963
+ "length": 20,
964
+ "start": 7774
965
+ }
966
+ ]
967
+ },
968
+ "contracts/types/Blocknumber.sol": {
969
+ "BlocknumberLib": [
970
+ {
971
+ "length": 20,
972
+ "start": 3111
973
+ }
974
+ ]
975
+ },
976
+ "contracts/types/NftId.sol": {
977
+ "NftIdLib": [
978
+ {
979
+ "length": 20,
980
+ "start": 2527
981
+ },
982
+ {
983
+ "length": 20,
984
+ "start": 3685
985
+ }
986
+ ]
987
+ },
988
+ "contracts/types/Timestamp.sol": {
989
+ "TimestampLib": [
990
+ {
991
+ "length": 20,
992
+ "start": 7034
993
+ }
994
+ ]
995
+ },
996
+ "contracts/types/Version.sol": {
997
+ "VersionLib": [
998
+ {
999
+ "length": 20,
1000
+ "start": 2067
1001
+ },
1002
+ {
1003
+ "length": 20,
1004
+ "start": 3925
1005
+ },
1006
+ {
1007
+ "length": 20,
1008
+ "start": 4713
1009
+ }
1010
+ ]
1011
+ }
1012
+ }
1013
+ }