@etherisc/gif-next 0.0.2-ed4dd55 → 0.0.2-ef2f083-203

Sign up to get free protection for your applications and to get access to all the features.
Files changed (383) hide show
  1. package/README.md +301 -7
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +327 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +670 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +280 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +204 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +249 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/{instance/pool/PoolModule.sol/PoolModule.json → components/IProductComponent.sol/IProductComponent.json} +81 -86
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +636 -41
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +615 -53
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +4 -0
  25. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +105 -0
  26. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +4 -0
  27. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +105 -0
  28. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  30. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  32. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
  39. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
  40. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
  41. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
  42. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
  43. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
  44. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
  45. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
  46. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
  47. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
  48. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  49. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  50. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  51. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  52. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
  53. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
  54. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
  55. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
  56. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  57. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  58. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +282 -730
  60. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +480 -0
  62. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  63. package/artifacts/contracts/instance/Instance.sol/Instance.json +3040 -533
  64. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1283 -0
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +827 -0
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +468 -0
  72. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +481 -0
  74. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
  76. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  78. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  80. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  82. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  86. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  87. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  88. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  89. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  90. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  92. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  93. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  94. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  95. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/ISetup.sol/ISetup.json} +2 -2
  96. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  97. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +10 -0
  98. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +827 -0
  100. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +641 -0
  102. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +428 -0
  104. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +466 -0
  106. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
  108. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +561 -0
  110. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +751 -0
  112. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  113. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  114. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +549 -75
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  117. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +853 -0
  118. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  119. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  120. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/Registry.sol/Registry.json +723 -81
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1237 -0
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +525 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  134. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +201 -0
  136. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IService.sol/IService.json +421 -0
  138. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  139. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  140. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  142. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  143. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  144. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  145. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +274 -0
  146. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +442 -0
  148. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  149. package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
  150. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  151. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  152. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  153. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  154. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  155. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  156. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  157. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  158. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  159. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +305 -0
  160. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  161. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  162. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  163. package/artifacts/contracts/test/TestService.sol/TestService.json +600 -0
  164. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  166. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  168. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +286 -0
  170. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  171. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  172. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  173. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  174. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  175. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  176. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  178. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  179. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  180. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  182. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  183. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  184. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +148 -5
  186. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  187. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  188. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  190. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  192. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  194. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  196. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +249 -0
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  210. package/contracts/components/BaseComponent.sol +91 -0
  211. package/contracts/components/Distribution.sol +166 -0
  212. package/contracts/components/IBaseComponent.sol +25 -0
  213. package/contracts/components/IDistributionComponent.sol +46 -0
  214. package/contracts/components/IPoolComponent.sol +62 -0
  215. package/contracts/components/IProductComponent.sol +35 -0
  216. package/contracts/components/Pool.sol +247 -18
  217. package/contracts/components/Product.sol +267 -35
  218. package/contracts/experiment/cloning/Cloner.sol +47 -0
  219. package/contracts/experiment/errors/Require.sol +38 -0
  220. package/contracts/experiment/errors/Revert.sol +44 -0
  221. package/contracts/experiment/inheritance/A.sol +8 -11
  222. package/contracts/experiment/inheritance/B.sol +10 -5
  223. package/contracts/experiment/inheritance/C.sol +11 -5
  224. package/contracts/experiment/inheritance/IA.sol +2 -7
  225. package/contracts/experiment/inheritance/IB.sol +3 -2
  226. package/contracts/experiment/inheritance/IC.sol +4 -3
  227. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  228. package/contracts/experiment/statemachine/ISM.sol +25 -0
  229. package/contracts/experiment/statemachine/SM.sol +57 -0
  230. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  231. package/contracts/experiment/types/TypeA.sol +14 -9
  232. package/contracts/experiment/types/TypeB.sol +14 -9
  233. package/contracts/instance/AccessManagedSimple.sol +115 -0
  234. package/contracts/instance/AccessManagerSimple.sol +692 -0
  235. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  236. package/contracts/instance/IInstance.sol +28 -15
  237. package/contracts/instance/IInstanceService.sol +30 -0
  238. package/contracts/instance/Instance.sol +423 -43
  239. package/contracts/instance/InstanceAccessManager.sol +288 -0
  240. package/contracts/instance/InstanceReader.sol +290 -0
  241. package/contracts/instance/InstanceService.sol +158 -0
  242. package/contracts/instance/InstanceServiceManager.sol +56 -0
  243. package/contracts/instance/base/ComponentServiceBase.sol +39 -0
  244. package/contracts/instance/base/IInstanceBase.sol +23 -0
  245. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  246. package/contracts/instance/base/ILifecycle.sol +30 -0
  247. package/contracts/instance/base/KeyValueStore.sol +172 -0
  248. package/contracts/instance/base/Lifecycle.sol +100 -0
  249. package/contracts/instance/module/IAccess.sol +38 -0
  250. package/contracts/instance/module/IBundle.sol +19 -0
  251. package/contracts/instance/module/IDistribution.sol +39 -0
  252. package/contracts/instance/module/IPolicy.sol +45 -0
  253. package/contracts/instance/module/IRisk.sol +11 -0
  254. package/contracts/instance/module/ISetup.sol +43 -0
  255. package/contracts/instance/module/ITreasury.sol +23 -0
  256. package/contracts/instance/service/ComponentOwnerService.sol +317 -0
  257. package/contracts/instance/service/DistributionService.sol +96 -0
  258. package/contracts/instance/service/DistributionServiceManager.sol +53 -0
  259. package/contracts/instance/service/IComponentOwnerService.sol +20 -0
  260. package/contracts/instance/service/IDistributionService.sol +12 -0
  261. package/contracts/instance/service/IPoolService.sol +37 -0
  262. package/contracts/instance/service/IProductService.sol +107 -0
  263. package/contracts/registry/ChainNft.sol +138 -109
  264. package/contracts/registry/IRegistry.sol +83 -57
  265. package/contracts/registry/IRegistryService.sol +33 -0
  266. package/contracts/registry/ITransferInterceptor.sol +6 -0
  267. package/contracts/registry/Registry.sol +426 -113
  268. package/contracts/registry/RegistryService.sol +399 -0
  269. package/contracts/registry/RegistryServiceManager.sol +80 -0
  270. package/contracts/registry/TokenRegistry.sol +111 -0
  271. package/contracts/shared/ContractDeployerLib.sol +72 -0
  272. package/contracts/shared/ERC165.sol +25 -0
  273. package/contracts/shared/INftOwnable.sol +22 -0
  274. package/contracts/shared/IRegisterable.sol +17 -0
  275. package/contracts/shared/IService.sol +15 -0
  276. package/contracts/shared/IVersionable.sol +96 -0
  277. package/contracts/shared/NftOwnable.sol +136 -0
  278. package/contracts/shared/ProxyManager.sol +94 -0
  279. package/contracts/shared/Registerable.sol +90 -0
  280. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  281. package/contracts/shared/Service.sol +54 -0
  282. package/contracts/shared/TokenHandler.sol +27 -0
  283. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  284. package/contracts/shared/Versionable.sol +147 -0
  285. package/contracts/test/TestFee.sol +25 -0
  286. package/contracts/test/TestRegisterable.sol +18 -0
  287. package/contracts/test/TestRoleId.sol +14 -0
  288. package/contracts/test/TestService.sol +24 -0
  289. package/contracts/test/TestToken.sol +26 -0
  290. package/contracts/test/TestVersion.sol +44 -0
  291. package/contracts/test/TestVersionable.sol +17 -0
  292. package/contracts/test/Usdc.sol +26 -0
  293. package/contracts/types/AddressSet.sol +58 -0
  294. package/contracts/types/Blocknumber.sol +118 -0
  295. package/contracts/types/ChainId.sol +24 -10
  296. package/contracts/types/DistributorType.sol +55 -0
  297. package/contracts/types/Fee.sol +56 -0
  298. package/contracts/types/Key32.sol +50 -0
  299. package/contracts/types/NftId.sol +55 -8
  300. package/contracts/types/NftIdSet.sol +60 -0
  301. package/contracts/types/NumberId.sol +52 -0
  302. package/contracts/types/ObjectType.sol +152 -0
  303. package/contracts/types/Referral.sol +85 -0
  304. package/contracts/types/RiskId.sol +43 -0
  305. package/contracts/types/RoleId.sol +88 -0
  306. package/contracts/types/StateId.sol +105 -0
  307. package/contracts/types/Timestamp.sol +127 -0
  308. package/contracts/types/UFixed.sol +325 -0
  309. package/contracts/types/Version.sol +107 -0
  310. package/package.json +21 -6
  311. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  312. package/artifacts/contracts/components/Component.sol/Component.json +0 -179
  313. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  314. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  315. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  316. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
  317. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  318. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  319. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  320. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  321. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  322. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  323. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  324. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  325. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  326. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  327. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  328. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  329. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
  330. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  331. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -105
  332. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  333. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  334. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  335. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  336. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  337. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  338. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  339. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  340. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  341. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  342. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  343. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
  344. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  345. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
  346. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  347. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  348. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
  349. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  350. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  352. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  353. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  354. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  355. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  356. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  357. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -125
  358. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  359. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  360. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  361. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  362. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  363. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  364. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  365. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  366. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  367. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  368. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  369. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  370. package/contracts/components/Component.sol +0 -62
  371. package/contracts/components/IPool.sol +0 -9
  372. package/contracts/components/IProduct.sol +0 -11
  373. package/contracts/instance/access/Access.sol +0 -218
  374. package/contracts/instance/access/IAccess.sol +0 -83
  375. package/contracts/instance/component/ComponentModule.sol +0 -259
  376. package/contracts/instance/component/IComponent.sol +0 -94
  377. package/contracts/instance/policy/IPolicy.sol +0 -66
  378. package/contracts/instance/policy/PolicyModule.sol +0 -106
  379. package/contracts/instance/pool/IPoolModule.sol +0 -40
  380. package/contracts/instance/pool/PoolModule.sol +0 -83
  381. package/contracts/instance/product/IProductService.sol +0 -45
  382. package/contracts/instance/product/ProductService.sol +0 -105
  383. package/contracts/registry/IChainNft.sol +0 -18
@@ -0,0 +1,827 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceService",
4
+ "sourceName": "contracts/instance/InstanceService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ERC1167FailedCreateClone",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "address",
15
+ "name": "registry",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "nftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "ErrorAlreadyLinked",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "address",
31
+ "name": "contractAddress",
32
+ "type": "address"
33
+ }
34
+ ],
35
+ "name": "ErrorContractNotRegistered",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "account",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorNotOwner",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "registryAddress",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorNotRegistry",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "registryAddress",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorRegisterableNotRegistry",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorRegistryAddressZero",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "registry",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorRegistryAlreadyInitialized",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "ErrorRegistryNotInitialized",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "InvalidInitialization",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "NotInitializing",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": false,
107
+ "internalType": "uint64",
108
+ "name": "version",
109
+ "type": "uint64"
110
+ }
111
+ ],
112
+ "name": "Initialized",
113
+ "type": "event"
114
+ },
115
+ {
116
+ "anonymous": false,
117
+ "inputs": [
118
+ {
119
+ "indexed": false,
120
+ "internalType": "address",
121
+ "name": "clonedAccessManagerAddress",
122
+ "type": "address"
123
+ },
124
+ {
125
+ "indexed": false,
126
+ "internalType": "address",
127
+ "name": "clonedInstanceAddress",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "indexed": false,
132
+ "internalType": "address",
133
+ "name": "clonedInstanceReaderAddress",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "indexed": false,
138
+ "internalType": "NftId",
139
+ "name": "clonedInstanceNftId",
140
+ "type": "uint96"
141
+ }
142
+ ],
143
+ "name": "LogInstanceCloned",
144
+ "type": "event"
145
+ },
146
+ {
147
+ "anonymous": false,
148
+ "inputs": [
149
+ {
150
+ "indexed": false,
151
+ "internalType": "Version",
152
+ "name": "version",
153
+ "type": "uint24"
154
+ },
155
+ {
156
+ "indexed": false,
157
+ "internalType": "address",
158
+ "name": "implementation",
159
+ "type": "address"
160
+ },
161
+ {
162
+ "indexed": false,
163
+ "internalType": "address",
164
+ "name": "activatedBy",
165
+ "type": "address"
166
+ }
167
+ ],
168
+ "name": "LogVersionableInitialized",
169
+ "type": "event"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "INSTANCE_CREATION_CODE_HASH",
174
+ "outputs": [
175
+ {
176
+ "internalType": "bytes32",
177
+ "name": "",
178
+ "type": "bytes32"
179
+ }
180
+ ],
181
+ "stateMutability": "view",
182
+ "type": "function"
183
+ },
184
+ {
185
+ "inputs": [],
186
+ "name": "NAME",
187
+ "outputs": [
188
+ {
189
+ "internalType": "string",
190
+ "name": "",
191
+ "type": "string"
192
+ }
193
+ ],
194
+ "stateMutability": "view",
195
+ "type": "function"
196
+ },
197
+ {
198
+ "inputs": [],
199
+ "name": "REGISTERABLE_LOCATION_V1",
200
+ "outputs": [
201
+ {
202
+ "internalType": "bytes32",
203
+ "name": "",
204
+ "type": "bytes32"
205
+ }
206
+ ],
207
+ "stateMutability": "view",
208
+ "type": "function"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "createInstanceClone",
213
+ "outputs": [
214
+ {
215
+ "internalType": "contract AccessManagerSimple",
216
+ "name": "clonedAccessManager",
217
+ "type": "address"
218
+ },
219
+ {
220
+ "internalType": "contract Instance",
221
+ "name": "clonedInstance",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "internalType": "NftId",
226
+ "name": "instanceNftId",
227
+ "type": "uint96"
228
+ },
229
+ {
230
+ "internalType": "contract InstanceReader",
231
+ "name": "clonedInstanceReader",
232
+ "type": "address"
233
+ }
234
+ ],
235
+ "stateMutability": "nonpayable",
236
+ "type": "function"
237
+ },
238
+ {
239
+ "inputs": [],
240
+ "name": "getAccessManagerMaster",
241
+ "outputs": [
242
+ {
243
+ "internalType": "address",
244
+ "name": "",
245
+ "type": "address"
246
+ }
247
+ ],
248
+ "stateMutability": "view",
249
+ "type": "function"
250
+ },
251
+ {
252
+ "inputs": [],
253
+ "name": "getInitialInfo",
254
+ "outputs": [
255
+ {
256
+ "components": [
257
+ {
258
+ "internalType": "NftId",
259
+ "name": "nftId",
260
+ "type": "uint96"
261
+ },
262
+ {
263
+ "internalType": "NftId",
264
+ "name": "parentNftId",
265
+ "type": "uint96"
266
+ },
267
+ {
268
+ "internalType": "ObjectType",
269
+ "name": "objectType",
270
+ "type": "uint8"
271
+ },
272
+ {
273
+ "internalType": "bool",
274
+ "name": "isInterceptor",
275
+ "type": "bool"
276
+ },
277
+ {
278
+ "internalType": "address",
279
+ "name": "objectAddress",
280
+ "type": "address"
281
+ },
282
+ {
283
+ "internalType": "address",
284
+ "name": "initialOwner",
285
+ "type": "address"
286
+ },
287
+ {
288
+ "internalType": "bytes",
289
+ "name": "data",
290
+ "type": "bytes"
291
+ }
292
+ ],
293
+ "internalType": "struct IRegistry.ObjectInfo",
294
+ "name": "",
295
+ "type": "tuple"
296
+ },
297
+ {
298
+ "internalType": "bytes",
299
+ "name": "data",
300
+ "type": "bytes"
301
+ }
302
+ ],
303
+ "stateMutability": "view",
304
+ "type": "function"
305
+ },
306
+ {
307
+ "inputs": [],
308
+ "name": "getInitializedVersion",
309
+ "outputs": [
310
+ {
311
+ "internalType": "uint64",
312
+ "name": "",
313
+ "type": "uint64"
314
+ }
315
+ ],
316
+ "stateMutability": "view",
317
+ "type": "function"
318
+ },
319
+ {
320
+ "inputs": [],
321
+ "name": "getInstance",
322
+ "outputs": [
323
+ {
324
+ "internalType": "contract Instance",
325
+ "name": "",
326
+ "type": "address"
327
+ }
328
+ ],
329
+ "stateMutability": "view",
330
+ "type": "function"
331
+ },
332
+ {
333
+ "inputs": [],
334
+ "name": "getInstanceMaster",
335
+ "outputs": [
336
+ {
337
+ "internalType": "address",
338
+ "name": "",
339
+ "type": "address"
340
+ }
341
+ ],
342
+ "stateMutability": "view",
343
+ "type": "function"
344
+ },
345
+ {
346
+ "inputs": [],
347
+ "name": "getInstanceReaderMaster",
348
+ "outputs": [
349
+ {
350
+ "internalType": "address",
351
+ "name": "",
352
+ "type": "address"
353
+ }
354
+ ],
355
+ "stateMutability": "view",
356
+ "type": "function"
357
+ },
358
+ {
359
+ "inputs": [],
360
+ "name": "getMajorVersion",
361
+ "outputs": [
362
+ {
363
+ "internalType": "VersionPart",
364
+ "name": "majorVersion",
365
+ "type": "uint8"
366
+ }
367
+ ],
368
+ "stateMutability": "view",
369
+ "type": "function"
370
+ },
371
+ {
372
+ "inputs": [],
373
+ "name": "getName",
374
+ "outputs": [
375
+ {
376
+ "internalType": "string",
377
+ "name": "",
378
+ "type": "string"
379
+ }
380
+ ],
381
+ "stateMutability": "pure",
382
+ "type": "function"
383
+ },
384
+ {
385
+ "inputs": [],
386
+ "name": "getNftId",
387
+ "outputs": [
388
+ {
389
+ "internalType": "NftId",
390
+ "name": "",
391
+ "type": "uint96"
392
+ }
393
+ ],
394
+ "stateMutability": "view",
395
+ "type": "function"
396
+ },
397
+ {
398
+ "inputs": [],
399
+ "name": "getOwner",
400
+ "outputs": [
401
+ {
402
+ "internalType": "address",
403
+ "name": "",
404
+ "type": "address"
405
+ }
406
+ ],
407
+ "stateMutability": "view",
408
+ "type": "function"
409
+ },
410
+ {
411
+ "inputs": [],
412
+ "name": "getRegistry",
413
+ "outputs": [
414
+ {
415
+ "internalType": "contract IRegistry",
416
+ "name": "",
417
+ "type": "address"
418
+ }
419
+ ],
420
+ "stateMutability": "view",
421
+ "type": "function"
422
+ },
423
+ {
424
+ "inputs": [],
425
+ "name": "getVersion",
426
+ "outputs": [
427
+ {
428
+ "internalType": "Version",
429
+ "name": "",
430
+ "type": "uint24"
431
+ }
432
+ ],
433
+ "stateMutability": "pure",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [
438
+ {
439
+ "internalType": "uint256",
440
+ "name": "idx",
441
+ "type": "uint256"
442
+ }
443
+ ],
444
+ "name": "getVersion",
445
+ "outputs": [
446
+ {
447
+ "internalType": "Version",
448
+ "name": "",
449
+ "type": "uint24"
450
+ }
451
+ ],
452
+ "stateMutability": "view",
453
+ "type": "function"
454
+ },
455
+ {
456
+ "inputs": [],
457
+ "name": "getVersionCount",
458
+ "outputs": [
459
+ {
460
+ "internalType": "uint256",
461
+ "name": "",
462
+ "type": "uint256"
463
+ }
464
+ ],
465
+ "stateMutability": "view",
466
+ "type": "function"
467
+ },
468
+ {
469
+ "inputs": [
470
+ {
471
+ "internalType": "Version",
472
+ "name": "_version",
473
+ "type": "uint24"
474
+ }
475
+ ],
476
+ "name": "getVersionInfo",
477
+ "outputs": [
478
+ {
479
+ "components": [
480
+ {
481
+ "internalType": "Version",
482
+ "name": "version",
483
+ "type": "uint24"
484
+ },
485
+ {
486
+ "internalType": "address",
487
+ "name": "implementation",
488
+ "type": "address"
489
+ },
490
+ {
491
+ "internalType": "address",
492
+ "name": "activatedBy",
493
+ "type": "address"
494
+ },
495
+ {
496
+ "internalType": "Timestamp",
497
+ "name": "activatedAt",
498
+ "type": "uint40"
499
+ },
500
+ {
501
+ "internalType": "Blocknumber",
502
+ "name": "activatedIn",
503
+ "type": "uint32"
504
+ }
505
+ ],
506
+ "internalType": "struct IVersionable.VersionInfo",
507
+ "name": "",
508
+ "type": "tuple"
509
+ }
510
+ ],
511
+ "stateMutability": "view",
512
+ "type": "function"
513
+ },
514
+ {
515
+ "inputs": [
516
+ {
517
+ "internalType": "address",
518
+ "name": "implementation",
519
+ "type": "address"
520
+ },
521
+ {
522
+ "internalType": "address",
523
+ "name": "activatedBy",
524
+ "type": "address"
525
+ },
526
+ {
527
+ "internalType": "bytes",
528
+ "name": "data",
529
+ "type": "bytes"
530
+ }
531
+ ],
532
+ "name": "initialize",
533
+ "outputs": [],
534
+ "stateMutability": "nonpayable",
535
+ "type": "function"
536
+ },
537
+ {
538
+ "inputs": [
539
+ {
540
+ "internalType": "Version",
541
+ "name": "_version",
542
+ "type": "uint24"
543
+ }
544
+ ],
545
+ "name": "isInitialized",
546
+ "outputs": [
547
+ {
548
+ "internalType": "bool",
549
+ "name": "",
550
+ "type": "bool"
551
+ }
552
+ ],
553
+ "stateMutability": "view",
554
+ "type": "function"
555
+ },
556
+ {
557
+ "inputs": [],
558
+ "name": "linkToRegisteredNftId",
559
+ "outputs": [],
560
+ "stateMutability": "nonpayable",
561
+ "type": "function"
562
+ },
563
+ {
564
+ "inputs": [
565
+ {
566
+ "internalType": "address",
567
+ "name": "accessManagerMaster",
568
+ "type": "address"
569
+ }
570
+ ],
571
+ "name": "setAccessManagerMaster",
572
+ "outputs": [],
573
+ "stateMutability": "nonpayable",
574
+ "type": "function"
575
+ },
576
+ {
577
+ "inputs": [
578
+ {
579
+ "internalType": "address",
580
+ "name": "instanceMaster",
581
+ "type": "address"
582
+ }
583
+ ],
584
+ "name": "setInstanceMaster",
585
+ "outputs": [],
586
+ "stateMutability": "nonpayable",
587
+ "type": "function"
588
+ },
589
+ {
590
+ "inputs": [
591
+ {
592
+ "internalType": "address",
593
+ "name": "instanceReaderMaster",
594
+ "type": "address"
595
+ }
596
+ ],
597
+ "name": "setInstanceReaderMaster",
598
+ "outputs": [],
599
+ "stateMutability": "nonpayable",
600
+ "type": "function"
601
+ },
602
+ {
603
+ "inputs": [
604
+ {
605
+ "internalType": "bytes4",
606
+ "name": "interfaceId",
607
+ "type": "bytes4"
608
+ }
609
+ ],
610
+ "name": "supportsInterface",
611
+ "outputs": [
612
+ {
613
+ "internalType": "bool",
614
+ "name": "",
615
+ "type": "bool"
616
+ }
617
+ ],
618
+ "stateMutability": "view",
619
+ "type": "function"
620
+ },
621
+ {
622
+ "inputs": [
623
+ {
624
+ "internalType": "address",
625
+ "name": "implementation",
626
+ "type": "address"
627
+ },
628
+ {
629
+ "internalType": "address",
630
+ "name": "activatedBy",
631
+ "type": "address"
632
+ },
633
+ {
634
+ "internalType": "bytes",
635
+ "name": "data",
636
+ "type": "bytes"
637
+ }
638
+ ],
639
+ "name": "upgrade",
640
+ "outputs": [],
641
+ "stateMutability": "nonpayable",
642
+ "type": "function"
643
+ }
644
+ ],
645
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612ca0806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063b3c6501511610097578063cf7a1d7711610071578063cf7a1d771461052f578063d6277f9914610542578063de7b5d1414610555578063eeff428e1461055b57600080fd5b8063b3c65015146104e2578063b88da75914610502578063cde749f41461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a578063a3f4df7e146104a1578063a745e3df146104cf57600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc36600461244a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610573565b60405162ffffff90911681526020016101e7565b6102146105fd565b6040516101e79291906124cb565b61022a61077f565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190612572565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004612596565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612c4b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004612596565b6109a1565b61022a6104053660046125c8565b610a54565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a6104543660046125c8565b610ae1565b6102ac600081565b61026d610b74565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104dd36600461267a565b610c8d565b6104ea610de7565b6040516001600160401b0390911681526020016101e7565b6101f861051036600461271e565b610e08565b61051d610e59565b60405160ff90911681526020016101e7565b61022a61053d36600461267a565b610edc565b61022a6105503660046125c8565b610fe5565b3061026d565b610563611079565b6040516101e79493929190612737565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f8919061276b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106806001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8610b74565b6001600160a01b031681526020018260010180546106e590612788565b80601f016020809104026020016040519081016040528092919081815260200182805461071190612788565b801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080591906127d2565b1561084c576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108755760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e291906127d2565b61090a576040516372657a5160e01b81526001600160a01b0382166004820152602401610843565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610954573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109789190612804565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612c4b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d919061281f565b1192915050565b6005546001600160a01b031615610abf5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610843565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b525760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610843565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfd91906127d2565b15610c7d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190612843565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610caf610573565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d139190612875565b600080516020612c2b8339815191528054600160401b900460ff1680610d46575080546001600160401b03808416911610155b15610d645760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d8f858561174a565b610d98836119e9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105f8600080516020612c2b833981519152546001600160401b031690565b6000600080516020612c4b8339815191526001018281548110610e2d57610e2d612892565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000610e63610573565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f891906128c2565b600080516020612c2b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610f0f5750825b90506000826001600160401b03166001148015610f2b5750303b155b905081158015610f39575080155b15610f575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f8157845460ff60401b1916600160401b1785555b610f8b888861174a565b610f9587876119f1565b8315610fdb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b0316156110575760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610843565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa1580156110d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f49190612804565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611168573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118c919061276b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156111e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120591906128c2565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561126b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128f9190612843565b60045490915081906112a9906001600160a01b0316611b47565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b1580156112ed57600080fd5b505af1158015611301573d6000803e3d6000fd5b505060055461131b92506001600160a01b03169050611b47565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a7792611355928e9291169088903390600401612737565b600060405180830381600087803b15801561136f57600080fd5b505af1158015611383573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af11580156113d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113fa919081019061292c565b508051600654909950909150611418906001600160a01b0316611b47565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b15801561147057600080fd5b505af1158015611484573d6000803e3d6000fd5b505050506114928a8a611bb9565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b1580156114d557600080fd5b505af11580156114e9573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a0611504611fe2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561155d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115819190612875565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b1580156115d857600080fd5b505af11580156115ec573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611607611fe2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611660573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116849190612875565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156116cb57600080fd5b505af11580156116df573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61175261205a565b600080516020612c4b8339815191526000611782600080516020612c2b833981519152546001600160401b031690565b9050600061178e610573565b9050816001600160401b03166001036117bb5760028301805462ffffff191662ffffff8316179055611809565b600283015462ffffff908116908216116118095760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610843565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156118bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e19190612a24565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610dd89083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a961205a565b600080516020612c2b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611a245750825b90506000826001600160401b03166001148015611a405750303b155b905081158015611a4e575080155b15611a6c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a9657845460ff60401b1916600160401b1785555b600086806020019051810190611aac9190612a4b565b600380546001600160a01b039093166001600160a01b0319909316831790559150611ad79082612093565b611ae7631b4612f160e31b612120565b611af763777fa14760e11b612120565b508315611b3e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611bb4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611c2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c51919061276b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ca6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cca91906128c2565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611d34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d589190612843565b9050826001600160a01b03166325c471a0611d71612145565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611dca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dee9190612875565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b158015611e4557600080fd5b505af1158015611e59573d6000803e3d6000fd5b506000925060029150611e699050565b604051908082528060200260200182016040528015611e92578160200160208202803683370190505b509050630b24cf5f60e01b81600081518110611eb057611eb0612892565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b9082906001908110611ee757611ee7612892565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d8483611f19612145565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f969190612875565b6040518463ffffffff1660e01b8152600401611fb493929190612a85565b600060405180830381600087803b158015611fce57600080fd5b505af1158015610fdb573d6000803e3d6000fd5b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612036573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190612875565b600080516020612c2b83398151915254600160401b900460ff1661209157604051631afcd79f60e31b815260040160405180910390fd5b565b60006120c160408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6120c9610e59565b6040516020016120da929190612af7565b604051602081830303815290604052905060006120f684612181565b905060006121098583603c8488886121f2565b612119631b4612f160e31b612120565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612019565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156121c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ec9190612804565b92915050565b6122336301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61223d82876122be565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016122ad8382612b6b565b50611b3e6303fb044760e21b612120565b600280546001600160a01b0319166001600160a01b0384161790556122e2816122e6565b5050565b6001546001600160a01b03161561231f5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610843565b6001600160a01b0381166123465760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361237c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156123f6575060408051601f3d908101601f191682019092526123f3918101906127d2565b60015b61241e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b806122e25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610843565b50565b60006020828403121561245c57600080fd5b81356001600160e01b03198116811461247457600080fd5b9392505050565b60005b8381101561249657818101518382015260200161247e565b50506000910152565b600081518084526124b781602086016020860161247b565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161250f60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261255561012084018261249f565b90508281036020840152612569818561249f565b95945050505050565b602081526000612474602083018461249f565b62ffffff8116811461244757600080fd5b6000602082840312156125a857600080fd5b813561247481612585565b6001600160a01b038116811461244757600080fd5b6000602082840312156125da57600080fd5b8135612474816125b3565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561261d5761261d6125e5565b60405290565b604051601f8201601f191681016001600160401b038111828210171561264b5761264b6125e5565b604052919050565b60006001600160401b0382111561266c5761266c6125e5565b50601f01601f191660200190565b60008060006060848603121561268f57600080fd5b833561269a816125b3565b925060208401356126aa816125b3565b915060408401356001600160401b038111156126c557600080fd5b8401601f810186136126d657600080fd5b80356126e96126e482612653565b612623565b8181528760208385010111156126fe57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561273057600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b60006020828403121561277d57600080fd5b815161247481612585565b600181811c9082168061279c57607f821691505b6020821081036127bc57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611bb457600080fd5b6000602082840312156127e457600080fd5b612474826127c2565b80516001600160601b0381168114611bb457600080fd5b60006020828403121561281657600080fd5b612474826127ed565b60006020828403121561283157600080fd5b5051919050565b8051611bb4816125b3565b60006020828403121561285557600080fd5b8151612474816125b3565b6001600160401b038116811461244757600080fd5b60006020828403121561288757600080fd5b815161247481612860565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461244757600080fd5b8051611bb4816128a8565b6000602082840312156128d457600080fd5b8151612474816128a8565b600082601f8301126128f057600080fd5b81516128fe6126e482612653565b81815284602083860101111561291357600080fd5b61292482602083016020870161247b565b949350505050565b6000806040838503121561293f57600080fd5b82516001600160401b038082111561295657600080fd5b9084019060e0828703121561296a57600080fd5b6129726125fb565b61297b836127ed565b8152612989602084016127ed565b602082015261299a604084016128b7565b60408201526129ab606084016127c2565b60608201526129bc60808401612838565b60808201526129cd60a08401612838565b60a082015260c0830151828111156129e457600080fd5b6129f0888286016128df565b60c0830152506020860151909450915080821115612a0d57600080fd5b50612a1a858286016128df565b9150509250929050565b600060208284031215612a3657600080fd5b815164ffffffffff8116811461247457600080fd5b60008060408385031215612a5e57600080fd5b8251612a69816125b3565b6020840151909250612a7a816125b3565b809150509250929050565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b81811015612ad85784516001600160e01b03191683529383019391830191600101612ab2565b50508093505050506001600160401b0383166040830152949350505050565b604081526000612b0a604083018561249f565b905060ff831660208301529392505050565b601f821115612b6657600081815260208120601f850160051c81016020861015612b435750805b601f850160051c820191505b81811015612b6257828155600101612b4f565b5050505b505050565b81516001600160401b03811115612b8457612b846125e5565b612b9881612b928454612788565b84612b1c565b602080601f831160018114612bcd5760008415612bb55750858301515b600019600386901b1c1916600185901b178555612b62565b600085815260208120601f198616915b82811015612bfc57888601518255948401946001909101908401612bdd565b5085821015612c1a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f6ace2a2194db7cac0c1f9d8ea10f198ac24e996594f53dd27a64eb945e6a93f64736f6c63430008140033",
646
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c8063656bc9ef116100f9578063b3c6501511610097578063cf7a1d7711610071578063cf7a1d771461052f578063d6277f9914610542578063de7b5d1414610555578063eeff428e1461055b57600080fd5b8063b3c65015146104e2578063b88da75914610502578063cde749f41461051557600080fd5b806393c48054116100d357806393c4805414610469578063946dfcfe1461047a578063a3f4df7e146104a1578063a745e3df146104cf57600080fd5b8063656bc9ef14610446578063872309c714610459578063893d20e81461046157600080fd5b80631eff4b22116101665780634f421333116101405780634f421333146103e457806355ad7436146103f75780635ab1bd531461040a578063644c45e01461041b57600080fd5b80631eff4b22146102855780633a0b4b31146102ba5780634d459c90146102cb57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063138461e01461022257806317d7de7c1461022c5780631a77e50c14610260575b600080fd5b6101db6101bc36600461244a565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f8610573565b60405162ffffff90911681526020016101e7565b6102146105fd565b6040516101e79291906124cb565b61022a61077f565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190612572565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102ac7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6005546001600160a01b031661026d565b6103876102d9366004612596565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020612c4b83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db6103f2366004612596565b6109a1565b61022a6104053660046125c8565b610a54565b6001546001600160a01b031661026d565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b61022a6104543660046125c8565b610ae1565b6102ac600081565b61026d610b74565b6006546001600160a01b031661026d565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102ac565b6102536040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61022a6104dd36600461267a565b610c8d565b6104ea610de7565b6040516001600160401b0390911681526020016101e7565b6101f861051036600461271e565b610e08565b61051d610e59565b60405160ff90911681526020016101e7565b61022a61053d36600461267a565b610edc565b61022a6105503660046125c8565b610fe5565b3061026d565b610563611079565b6040516101e79493929190612737565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156105d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f8919061276b565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106806001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016106c8610b74565b6001600160a01b031681526020018260010180546106e590612788565b80601f016020809104026020016040519081016040528092919081815260200182805461071190612788565b801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156107e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080591906127d2565b1561084c576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108755760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156108be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108e291906127d2565b61090a576040516372657a5160e01b81526001600160a01b0382166004820152602401610843565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610954573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109789190612804565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600080600080516020612c4b83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610a29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d919061281f565b1192915050565b6005546001600160a01b031615610abf5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610843565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610b525760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610843565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610bd9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfd91906127d2565b15610c7d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610c59573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190612843565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610caf610573565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610cef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d139190612875565b600080516020612c2b8339815191528054600160401b900460ff1680610d46575080546001600160401b03808416911610155b15610d645760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610d8f858561174a565b610d98836119e9565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006105f8600080516020612c2b833981519152546001600160401b031690565b6000600080516020612c4b8339815191526001018281548110610e2d57610e2d612892565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b6000610e63610573565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f891906128c2565b600080516020612c2b8339815191528054600160401b810460ff1615906001600160401b0316600081158015610f0f5750825b90506000826001600160401b03166001148015610f2b5750303b155b905081158015610f39575080155b15610f575760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610f8157845460ff60401b1916600160401b1785555b610f8b888861174a565b610f9587876119f1565b8315610fdb57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b0316156110575760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b6064820152608401610843565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829133918390829063d272ac1e90602401602060405180830381865afa1580156110d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110f49190612804565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611168573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061118c919061276b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156111e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061120591906128c2565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801561126b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128f9190612843565b60045490915081906112a9906001600160a01b0316611b47565b60405163189acdbd60e31b81523060048201529099506001600160a01b038a169063c4d66de890602401600060405180830381600087803b1580156112ed57600080fd5b505af1158015611301573d6000803e3d6000fd5b505060055461131b92506001600160a01b03169050611b47565b60035460405163976b0a7760e01b81529199506001600160a01b03808b169263976b0a7792611355928e9291169088903390600401612737565b600060405180830381600087803b15801561136f57600080fd5b505af1158015611383573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038b81166004830152600093508416915063834af153906024016000604051808303816000875af11580156113d2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526113fa919081019061292c565b508051600654909950909150611418906001600160a01b0316611b47565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038b16602482015291985088169063f2a4137490604401600060405180830381600087803b15801561147057600080fd5b505af1158015611484573d6000803e3d6000fd5b505050506114928a8a611bb9565b604051633def10c760e21b81526001600160a01b0388811660048301528a169063f7bc431c90602401600060405180830381600087803b1580156114d557600080fd5b505af11580156114e9573d6000803e3d6000fd5b50505050896001600160a01b03166325c471a0611504611fe2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561155d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115819190612875565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038916602482015260006044820152606401600060405180830381600087803b1580156115d857600080fd5b505af11580156115ec573d6000803e3d6000fd5b50505050896001600160a01b031663b7d2b162611607611fe2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611660573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116849190612875565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b1580156116cb57600080fd5b505af11580156116df573d6000803e3d6000fd5b5050604080516001600160a01b038e811682528d811660208301528b16818301526001600160601b038c16606082015290517f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f39350908190036080019150a150505050505090919293565b61175261205a565b600080516020612c4b8339815191526000611782600080516020612c2b833981519152546001600160401b031690565b9050600061178e610573565b9050816001600160401b03166001036117bb5760028301805462ffffff191662ffffff8316179055611809565b600283015462ffffff908116908216116118095760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610843565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af41580156118bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e19190612a24565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610dd89083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a961205a565b600080516020612c2b8339815191528054600160401b810460ff1615906001600160401b0316600081158015611a245750825b90506000826001600160401b03166001148015611a405750303b155b905081158015611a4e575080155b15611a6c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611a9657845460ff60401b1916600160401b1785555b600086806020019051810190611aac9190612a4b565b600380546001600160a01b039093166001600160a01b0319909316831790559150611ad79082612093565b611ae7631b4612f160e31b612120565b611af763777fa14760e11b612120565b508315611b3e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611bb4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611c2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c51919061276b565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611ca6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cca91906128c2565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015611d34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d589190612843565b9050826001600160a01b03166325c471a0611d71612145565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611dca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dee9190612875565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038416602482015260006044820152606401600060405180830381600087803b158015611e4557600080fd5b505af1158015611e59573d6000803e3d6000fd5b506000925060029150611e699050565b604051908082528060200260200182016040528015611e92578160200160208202803683370190505b509050630b24cf5f60e01b81600081518110611eb057611eb0612892565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b9082906001908110611ee757611ee7612892565b6001600160e01b0319909216602092830291909101909101526001600160a01b0384166308d6122d8483611f19612145565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611f72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f969190612875565b6040518463ffffffff1660e01b8152600401611fb493929190612a85565b600060405180830381600087803b158015611fce57600080fd5b505af1158015610fdb573d6000803e3d6000fd5b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015612036573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105f89190612875565b600080516020612c2b83398151915254600160401b900460ff1661209157604051631afcd79f60e31b815260040160405180910390fd5b565b60006120c160408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6120c9610e59565b6040516020016120da929190612af7565b604051602081830303815290604052905060006120f684612181565b905060006121098583603c8488886121f2565b612119631b4612f160e31b612120565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401612019565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156121c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121ec9190612804565b92915050565b6122336301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61223d82876122be565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016122ad8382612b6b565b50611b3e6303fb044760e21b612120565b600280546001600160a01b0319166001600160a01b0384161790556122e2816122e6565b5050565b6001546001600160a01b03161561231f5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610843565b6001600160a01b0381166123465760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361237c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156123f6575060408051601f3d908101601f191682019092526123f3918101906127d2565b60015b61241e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610843565b806122e25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610843565b50565b60006020828403121561245c57600080fd5b81356001600160e01b03198116811461247457600080fd5b9392505050565b60005b8381101561249657818101518382015260200161247e565b50506000910152565b600081518084526124b781602086016020860161247b565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161250f60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261255561012084018261249f565b90508281036020840152612569818561249f565b95945050505050565b602081526000612474602083018461249f565b62ffffff8116811461244757600080fd5b6000602082840312156125a857600080fd5b813561247481612585565b6001600160a01b038116811461244757600080fd5b6000602082840312156125da57600080fd5b8135612474816125b3565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561261d5761261d6125e5565b60405290565b604051601f8201601f191681016001600160401b038111828210171561264b5761264b6125e5565b604052919050565b60006001600160401b0382111561266c5761266c6125e5565b50601f01601f191660200190565b60008060006060848603121561268f57600080fd5b833561269a816125b3565b925060208401356126aa816125b3565b915060408401356001600160401b038111156126c557600080fd5b8401601f810186136126d657600080fd5b80356126e96126e482612653565b612623565b8181528760208385010111156126fe57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561273057600080fd5b5035919050565b6001600160a01b03948516815292841660208401526001600160601b03919091166040830152909116606082015260800190565b60006020828403121561277d57600080fd5b815161247481612585565b600181811c9082168061279c57607f821691505b6020821081036127bc57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611bb457600080fd5b6000602082840312156127e457600080fd5b612474826127c2565b80516001600160601b0381168114611bb457600080fd5b60006020828403121561281657600080fd5b612474826127ed565b60006020828403121561283157600080fd5b5051919050565b8051611bb4816125b3565b60006020828403121561285557600080fd5b8151612474816125b3565b6001600160401b038116811461244757600080fd5b60006020828403121561288757600080fd5b815161247481612860565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461244757600080fd5b8051611bb4816128a8565b6000602082840312156128d457600080fd5b8151612474816128a8565b600082601f8301126128f057600080fd5b81516128fe6126e482612653565b81815284602083860101111561291357600080fd5b61292482602083016020870161247b565b949350505050565b6000806040838503121561293f57600080fd5b82516001600160401b038082111561295657600080fd5b9084019060e0828703121561296a57600080fd5b6129726125fb565b61297b836127ed565b8152612989602084016127ed565b602082015261299a604084016128b7565b60408201526129ab606084016127c2565b60608201526129bc60808401612838565b60808201526129cd60a08401612838565b60a082015260c0830151828111156129e457600080fd5b6129f0888286016128df565b60c0830152506020860151909450915080821115612a0d57600080fd5b50612a1a858286016128df565b9150509250929050565b600060208284031215612a3657600080fd5b815164ffffffffff8116811461247457600080fd5b60008060408385031215612a5e57600080fd5b8251612a69816125b3565b6020840151909250612a7a816125b3565b809150509250929050565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b81811015612ad85784516001600160e01b03191683529383019391830191600101612ab2565b50508093505050506001600160401b0383166040830152949350505050565b604081526000612b0a604083018561249f565b905060ff831660208301529392505050565b601f821115612b6657600081815260208120601f850160051c81016020861015612b435750805b601f850160051c820191505b81811015612b6257828155600101612b4f565b5050505b505050565b81516001600160401b03811115612b8457612b846125e5565b612b9881612b928454612788565b84612b1c565b602080601f831160018114612bcd5760008415612bb55750858301515b600019600386901b1c1916600185901b178555612b62565b600085815260208120601f198616915b82811015612bfc57888601518255948401946001909101908401612bdd565b5085821015612c1a5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220f6ace2a2194db7cac0c1f9d8ea10f198ac24e996594f53dd27a64eb945e6a93f64736f6c63430008140033",
647
+ "linkReferences": {
648
+ "contracts/types/Blocknumber.sol": {
649
+ "BlocknumberLib": [
650
+ {
651
+ "length": 20,
652
+ "start": 2857
653
+ }
654
+ ]
655
+ },
656
+ "contracts/types/NftId.sol": {
657
+ "NftIdLib": [
658
+ {
659
+ "length": 20,
660
+ "start": 2273
661
+ },
662
+ {
663
+ "length": 20,
664
+ "start": 3289
665
+ }
666
+ ]
667
+ },
668
+ "contracts/types/RoleId.sol": {
669
+ "RoleIdLib": [
670
+ {
671
+ "length": 20,
672
+ "start": 5725
673
+ },
674
+ {
675
+ "length": 20,
676
+ "start": 5984
677
+ },
678
+ {
679
+ "length": 20,
680
+ "start": 7882
681
+ },
682
+ {
683
+ "length": 20,
684
+ "start": 8306
685
+ },
686
+ {
687
+ "length": 20,
688
+ "start": 8501
689
+ },
690
+ {
691
+ "length": 20,
692
+ "start": 8857
693
+ }
694
+ ]
695
+ },
696
+ "contracts/types/Timestamp.sol": {
697
+ "TimestampLib": [
698
+ {
699
+ "length": 20,
700
+ "start": 6589
701
+ }
702
+ ]
703
+ },
704
+ "contracts/types/Version.sol": {
705
+ "VersionLib": [
706
+ {
707
+ "length": 20,
708
+ "start": 1748
709
+ },
710
+ {
711
+ "length": 20,
712
+ "start": 3529
713
+ },
714
+ {
715
+ "length": 20,
716
+ "start": 4024
717
+ },
718
+ {
719
+ "length": 20,
720
+ "start": 4712
721
+ },
722
+ {
723
+ "length": 20,
724
+ "start": 4833
725
+ },
726
+ {
727
+ "length": 20,
728
+ "start": 7469
729
+ },
730
+ {
731
+ "length": 20,
732
+ "start": 7590
733
+ }
734
+ ]
735
+ }
736
+ },
737
+ "deployedLinkReferences": {
738
+ "contracts/types/Blocknumber.sol": {
739
+ "BlocknumberLib": [
740
+ {
741
+ "length": 20,
742
+ "start": 2543
743
+ }
744
+ ]
745
+ },
746
+ "contracts/types/NftId.sol": {
747
+ "NftIdLib": [
748
+ {
749
+ "length": 20,
750
+ "start": 1959
751
+ },
752
+ {
753
+ "length": 20,
754
+ "start": 2975
755
+ }
756
+ ]
757
+ },
758
+ "contracts/types/RoleId.sol": {
759
+ "RoleIdLib": [
760
+ {
761
+ "length": 20,
762
+ "start": 5411
763
+ },
764
+ {
765
+ "length": 20,
766
+ "start": 5670
767
+ },
768
+ {
769
+ "length": 20,
770
+ "start": 7568
771
+ },
772
+ {
773
+ "length": 20,
774
+ "start": 7992
775
+ },
776
+ {
777
+ "length": 20,
778
+ "start": 8187
779
+ },
780
+ {
781
+ "length": 20,
782
+ "start": 8543
783
+ }
784
+ ]
785
+ },
786
+ "contracts/types/Timestamp.sol": {
787
+ "TimestampLib": [
788
+ {
789
+ "length": 20,
790
+ "start": 6275
791
+ }
792
+ ]
793
+ },
794
+ "contracts/types/Version.sol": {
795
+ "VersionLib": [
796
+ {
797
+ "length": 20,
798
+ "start": 1434
799
+ },
800
+ {
801
+ "length": 20,
802
+ "start": 3215
803
+ },
804
+ {
805
+ "length": 20,
806
+ "start": 3710
807
+ },
808
+ {
809
+ "length": 20,
810
+ "start": 4398
811
+ },
812
+ {
813
+ "length": 20,
814
+ "start": 4519
815
+ },
816
+ {
817
+ "length": 20,
818
+ "start": 7155
819
+ },
820
+ {
821
+ "length": 20,
822
+ "start": 7276
823
+ }
824
+ ]
825
+ }
826
+ }
827
+ }