@etherisc/gif-next 0.0.2-ed4dd55 → 0.0.2-ee7cb16-393

Sign up to get free protection for your applications and to get access to all the features.
Files changed (406) hide show
  1. package/README.md +364 -8
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/BaseComponent.sol/BaseComponent.json} +241 -240
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +744 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +368 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +275 -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 +784 -40
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +691 -49
  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/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  53. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  54. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  55. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +788 -0
  56. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  57. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  58. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  59. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  60. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  61. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1285 -479
  62. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  63. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +448 -0
  64. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +485 -0
  66. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  67. package/artifacts/contracts/instance/Instance.sol/Instance.json +3082 -548
  68. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +940 -0
  70. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  71. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +763 -0
  72. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  73. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1422 -0
  74. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +972 -0
  76. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +512 -0
  78. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  79. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +285 -0
  80. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +540 -0
  82. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
  84. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  85. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  86. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  87. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  88. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  89. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  90. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  92. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  93. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  94. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  95. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  96. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  97. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  98. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  99. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  100. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  101. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  102. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/ISetup.sol/ISetup.json} +2 -2
  104. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  105. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +10 -0
  106. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +827 -0
  108. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +716 -0
  110. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +444 -0
  112. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  113. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +466 -0
  114. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  115. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
  116. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  117. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +728 -0
  118. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  119. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +760 -0
  120. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  121. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1049 -0
  122. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +464 -0
  124. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  125. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +1147 -0
  126. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +488 -0
  128. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  129. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  130. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  131. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +443 -77
  132. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  133. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +947 -0
  134. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  135. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  136. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  137. package/artifacts/contracts/registry/Registry.sol/Registry.json +613 -82
  138. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  139. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1293 -0
  140. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  141. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +517 -0
  142. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  143. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  144. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  145. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  146. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  147. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  148. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  149. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  151. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +201 -0
  152. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  153. package/artifacts/contracts/shared/IService.sol/IService.json +421 -0
  154. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  155. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  156. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  157. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  158. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  159. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  160. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  161. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +274 -0
  162. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +442 -0
  164. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  165. package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
  166. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  167. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  168. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  169. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  170. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  171. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  172. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  174. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +305 -0
  176. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  177. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  178. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  179. package/artifacts/contracts/test/TestService.sol/TestService.json +600 -0
  180. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  181. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  182. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  183. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  184. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  185. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +286 -0
  186. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  187. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  188. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  189. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  190. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  192. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  194. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  196. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  198. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  200. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +148 -5
  202. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  203. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  204. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  206. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  208. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  210. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  212. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  214. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  216. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +249 -0
  218. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  220. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  221. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  222. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  223. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  224. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  225. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  226. package/contracts/components/BaseComponent.sol +132 -0
  227. package/contracts/components/Distribution.sol +163 -0
  228. package/contracts/components/IBaseComponent.sol +31 -0
  229. package/contracts/components/IDistributionComponent.sol +44 -0
  230. package/contracts/components/IPoolComponent.sol +66 -0
  231. package/contracts/components/IProductComponent.sol +35 -0
  232. package/contracts/components/Pool.sol +256 -18
  233. package/contracts/components/Product.sol +259 -35
  234. package/contracts/experiment/cloning/Cloner.sol +47 -0
  235. package/contracts/experiment/errors/Require.sol +38 -0
  236. package/contracts/experiment/errors/Revert.sol +44 -0
  237. package/contracts/experiment/inheritance/A.sol +8 -11
  238. package/contracts/experiment/inheritance/B.sol +10 -5
  239. package/contracts/experiment/inheritance/C.sol +11 -5
  240. package/contracts/experiment/inheritance/IA.sol +2 -7
  241. package/contracts/experiment/inheritance/IB.sol +3 -2
  242. package/contracts/experiment/inheritance/IC.sol +4 -3
  243. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  244. package/contracts/experiment/statemachine/ISM.sol +25 -0
  245. package/contracts/experiment/statemachine/SM.sol +57 -0
  246. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  247. package/contracts/experiment/types/TypeA.sol +14 -9
  248. package/contracts/experiment/types/TypeB.sol +14 -9
  249. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
  250. package/contracts/instance/BundleManager.sol +129 -0
  251. package/contracts/instance/Cloneable.sol +46 -0
  252. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  253. package/contracts/instance/IInstance.sol +51 -15
  254. package/contracts/instance/IInstanceBase.sol +26 -0
  255. package/contracts/instance/IInstanceService.sol +32 -0
  256. package/contracts/instance/Instance.sol +435 -43
  257. package/contracts/instance/InstanceAccessManager.sol +288 -0
  258. package/contracts/instance/InstanceBase.sol +41 -0
  259. package/contracts/instance/InstanceReader.sol +315 -0
  260. package/contracts/instance/InstanceService.sol +245 -0
  261. package/contracts/instance/InstanceServiceManager.sol +57 -0
  262. package/contracts/instance/ObjectManager.sol +101 -0
  263. package/contracts/instance/base/ComponentServiceBase.sol +134 -0
  264. package/contracts/instance/base/IInstanceBase.sol +23 -0
  265. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  266. package/contracts/instance/base/ILifecycle.sol +30 -0
  267. package/contracts/instance/base/KeyValueStore.sol +172 -0
  268. package/contracts/instance/base/Lifecycle.sol +100 -0
  269. package/contracts/instance/module/IAccess.sol +38 -0
  270. package/contracts/instance/module/IBundle.sol +20 -0
  271. package/contracts/instance/module/IDistribution.sol +39 -0
  272. package/contracts/instance/module/IPolicy.sol +45 -0
  273. package/contracts/instance/module/IRisk.sol +11 -0
  274. package/contracts/instance/module/ISetup.sol +46 -0
  275. package/contracts/instance/module/ITreasury.sol +23 -0
  276. package/contracts/instance/service/ComponentOwnerService.sol +317 -0
  277. package/contracts/instance/service/DistributionService.sol +88 -0
  278. package/contracts/instance/service/DistributionServiceManager.sol +54 -0
  279. package/contracts/instance/service/IComponentOwnerService.sol +20 -0
  280. package/contracts/instance/service/IDistributionService.sol +12 -0
  281. package/contracts/instance/service/IPoolService.sol +51 -0
  282. package/contracts/instance/service/IProductService.sol +110 -0
  283. package/contracts/instance/service/PoolService.sol +287 -0
  284. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  285. package/contracts/instance/service/ProductService.sol +570 -0
  286. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  287. package/contracts/registry/ChainNft.sol +138 -109
  288. package/contracts/registry/IRegistry.sol +70 -57
  289. package/contracts/registry/IRegistryService.sol +50 -0
  290. package/contracts/registry/ITransferInterceptor.sol +6 -0
  291. package/contracts/registry/Registry.sol +386 -114
  292. package/contracts/registry/RegistryService.sol +358 -0
  293. package/contracts/registry/RegistryServiceManager.sol +80 -0
  294. package/contracts/registry/TokenRegistry.sol +111 -0
  295. package/contracts/shared/ContractDeployerLib.sol +72 -0
  296. package/contracts/shared/ERC165.sol +25 -0
  297. package/contracts/shared/INftOwnable.sol +22 -0
  298. package/contracts/shared/IRegisterable.sol +17 -0
  299. package/contracts/shared/IService.sol +15 -0
  300. package/contracts/shared/IVersionable.sol +96 -0
  301. package/contracts/shared/NftOwnable.sol +134 -0
  302. package/contracts/shared/ProxyManager.sol +94 -0
  303. package/contracts/shared/Registerable.sol +90 -0
  304. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  305. package/contracts/shared/Service.sol +55 -0
  306. package/contracts/shared/TokenHandler.sol +27 -0
  307. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  308. package/contracts/shared/Versionable.sol +147 -0
  309. package/contracts/test/TestFee.sol +25 -0
  310. package/contracts/test/TestRegisterable.sol +18 -0
  311. package/contracts/test/TestRoleId.sol +14 -0
  312. package/contracts/test/TestService.sol +24 -0
  313. package/contracts/test/TestToken.sol +26 -0
  314. package/contracts/test/TestVersion.sol +44 -0
  315. package/contracts/test/TestVersionable.sol +17 -0
  316. package/contracts/test/Usdc.sol +26 -0
  317. package/contracts/types/AddressSet.sol +58 -0
  318. package/contracts/types/Blocknumber.sol +118 -0
  319. package/contracts/types/ChainId.sol +24 -10
  320. package/contracts/types/DistributorType.sol +55 -0
  321. package/contracts/types/Fee.sol +56 -0
  322. package/contracts/types/Key32.sol +50 -0
  323. package/contracts/types/NftId.sol +55 -8
  324. package/contracts/types/NftIdSet.sol +62 -0
  325. package/contracts/types/NumberId.sol +52 -0
  326. package/contracts/types/ObjectType.sol +152 -0
  327. package/contracts/types/Referral.sol +85 -0
  328. package/contracts/types/RiskId.sol +43 -0
  329. package/contracts/types/RoleId.sol +90 -0
  330. package/contracts/types/StateId.sol +105 -0
  331. package/contracts/types/Timestamp.sol +127 -0
  332. package/contracts/types/UFixed.sol +325 -0
  333. package/contracts/types/Version.sol +107 -0
  334. package/package.json +21 -6
  335. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  336. package/artifacts/contracts/components/Component.sol/Component.json +0 -179
  337. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  338. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  339. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  340. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
  341. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  342. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  343. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  344. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  345. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  346. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  347. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  348. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  349. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  350. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  352. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
  354. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -105
  356. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  357. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  358. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  359. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  361. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  362. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  363. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  364. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  365. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  366. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  367. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
  368. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  369. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
  370. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  371. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
  373. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  374. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  375. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  376. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  377. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  378. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  379. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  380. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  381. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -125
  382. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  383. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  384. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  385. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  386. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  387. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  388. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  389. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  390. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  391. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  392. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  393. package/contracts/components/Component.sol +0 -62
  394. package/contracts/components/IPool.sol +0 -9
  395. package/contracts/components/IProduct.sol +0 -11
  396. package/contracts/instance/access/Access.sol +0 -218
  397. package/contracts/instance/access/IAccess.sol +0 -83
  398. package/contracts/instance/component/ComponentModule.sol +0 -259
  399. package/contracts/instance/component/IComponent.sol +0 -94
  400. package/contracts/instance/policy/IPolicy.sol +0 -66
  401. package/contracts/instance/policy/PolicyModule.sol +0 -106
  402. package/contracts/instance/pool/IPoolModule.sol +0 -40
  403. package/contracts/instance/pool/PoolModule.sol +0 -83
  404. package/contracts/instance/product/IProductService.sol +0 -45
  405. package/contracts/instance/product/ProductService.sol +0 -105
  406. package/contracts/registry/IChainNft.sol +0 -18
@@ -0,0 +1,972 @@
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 AccessManagerUpgradeableInitializeable",
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": "clonedInstanceNftId",
227
+ "type": "uint96"
228
+ },
229
+ {
230
+ "internalType": "contract InstanceReader",
231
+ "name": "clonedInstanceReader",
232
+ "type": "address"
233
+ },
234
+ {
235
+ "internalType": "contract BundleManager",
236
+ "name": "clonedBundleManager",
237
+ "type": "address"
238
+ }
239
+ ],
240
+ "stateMutability": "nonpayable",
241
+ "type": "function"
242
+ },
243
+ {
244
+ "inputs": [],
245
+ "name": "getAccessManagerMaster",
246
+ "outputs": [
247
+ {
248
+ "internalType": "address",
249
+ "name": "",
250
+ "type": "address"
251
+ }
252
+ ],
253
+ "stateMutability": "view",
254
+ "type": "function"
255
+ },
256
+ {
257
+ "inputs": [],
258
+ "name": "getBundleManagerMaster",
259
+ "outputs": [
260
+ {
261
+ "internalType": "address",
262
+ "name": "",
263
+ "type": "address"
264
+ }
265
+ ],
266
+ "stateMutability": "view",
267
+ "type": "function"
268
+ },
269
+ {
270
+ "inputs": [],
271
+ "name": "getInitialInfo",
272
+ "outputs": [
273
+ {
274
+ "components": [
275
+ {
276
+ "internalType": "NftId",
277
+ "name": "nftId",
278
+ "type": "uint96"
279
+ },
280
+ {
281
+ "internalType": "NftId",
282
+ "name": "parentNftId",
283
+ "type": "uint96"
284
+ },
285
+ {
286
+ "internalType": "ObjectType",
287
+ "name": "objectType",
288
+ "type": "uint8"
289
+ },
290
+ {
291
+ "internalType": "bool",
292
+ "name": "isInterceptor",
293
+ "type": "bool"
294
+ },
295
+ {
296
+ "internalType": "address",
297
+ "name": "objectAddress",
298
+ "type": "address"
299
+ },
300
+ {
301
+ "internalType": "address",
302
+ "name": "initialOwner",
303
+ "type": "address"
304
+ },
305
+ {
306
+ "internalType": "bytes",
307
+ "name": "data",
308
+ "type": "bytes"
309
+ }
310
+ ],
311
+ "internalType": "struct IRegistry.ObjectInfo",
312
+ "name": "",
313
+ "type": "tuple"
314
+ },
315
+ {
316
+ "internalType": "bytes",
317
+ "name": "data",
318
+ "type": "bytes"
319
+ }
320
+ ],
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "inputs": [],
326
+ "name": "getInitializedVersion",
327
+ "outputs": [
328
+ {
329
+ "internalType": "uint64",
330
+ "name": "",
331
+ "type": "uint64"
332
+ }
333
+ ],
334
+ "stateMutability": "view",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [],
339
+ "name": "getInstanceMaster",
340
+ "outputs": [
341
+ {
342
+ "internalType": "address",
343
+ "name": "",
344
+ "type": "address"
345
+ }
346
+ ],
347
+ "stateMutability": "view",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [],
352
+ "name": "getInstanceReaderMaster",
353
+ "outputs": [
354
+ {
355
+ "internalType": "address",
356
+ "name": "",
357
+ "type": "address"
358
+ }
359
+ ],
360
+ "stateMutability": "view",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "inputs": [],
365
+ "name": "getMajorVersion",
366
+ "outputs": [
367
+ {
368
+ "internalType": "VersionPart",
369
+ "name": "majorVersion",
370
+ "type": "uint8"
371
+ }
372
+ ],
373
+ "stateMutability": "view",
374
+ "type": "function"
375
+ },
376
+ {
377
+ "inputs": [],
378
+ "name": "getName",
379
+ "outputs": [
380
+ {
381
+ "internalType": "string",
382
+ "name": "",
383
+ "type": "string"
384
+ }
385
+ ],
386
+ "stateMutability": "pure",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "getNftId",
392
+ "outputs": [
393
+ {
394
+ "internalType": "NftId",
395
+ "name": "",
396
+ "type": "uint96"
397
+ }
398
+ ],
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "getOwner",
405
+ "outputs": [
406
+ {
407
+ "internalType": "address",
408
+ "name": "",
409
+ "type": "address"
410
+ }
411
+ ],
412
+ "stateMutability": "view",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [],
417
+ "name": "getRegistry",
418
+ "outputs": [
419
+ {
420
+ "internalType": "contract IRegistry",
421
+ "name": "",
422
+ "type": "address"
423
+ }
424
+ ],
425
+ "stateMutability": "view",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [],
430
+ "name": "getVersion",
431
+ "outputs": [
432
+ {
433
+ "internalType": "Version",
434
+ "name": "",
435
+ "type": "uint24"
436
+ }
437
+ ],
438
+ "stateMutability": "pure",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [
443
+ {
444
+ "internalType": "uint256",
445
+ "name": "idx",
446
+ "type": "uint256"
447
+ }
448
+ ],
449
+ "name": "getVersion",
450
+ "outputs": [
451
+ {
452
+ "internalType": "Version",
453
+ "name": "",
454
+ "type": "uint24"
455
+ }
456
+ ],
457
+ "stateMutability": "view",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [],
462
+ "name": "getVersionCount",
463
+ "outputs": [
464
+ {
465
+ "internalType": "uint256",
466
+ "name": "",
467
+ "type": "uint256"
468
+ }
469
+ ],
470
+ "stateMutability": "view",
471
+ "type": "function"
472
+ },
473
+ {
474
+ "inputs": [
475
+ {
476
+ "internalType": "Version",
477
+ "name": "_version",
478
+ "type": "uint24"
479
+ }
480
+ ],
481
+ "name": "getVersionInfo",
482
+ "outputs": [
483
+ {
484
+ "components": [
485
+ {
486
+ "internalType": "Version",
487
+ "name": "version",
488
+ "type": "uint24"
489
+ },
490
+ {
491
+ "internalType": "address",
492
+ "name": "implementation",
493
+ "type": "address"
494
+ },
495
+ {
496
+ "internalType": "address",
497
+ "name": "activatedBy",
498
+ "type": "address"
499
+ },
500
+ {
501
+ "internalType": "Timestamp",
502
+ "name": "activatedAt",
503
+ "type": "uint40"
504
+ },
505
+ {
506
+ "internalType": "Blocknumber",
507
+ "name": "activatedIn",
508
+ "type": "uint32"
509
+ }
510
+ ],
511
+ "internalType": "struct IVersionable.VersionInfo",
512
+ "name": "",
513
+ "type": "tuple"
514
+ }
515
+ ],
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "inputs": [
521
+ {
522
+ "internalType": "address",
523
+ "name": "account",
524
+ "type": "address"
525
+ },
526
+ {
527
+ "internalType": "RoleId",
528
+ "name": "role",
529
+ "type": "uint64"
530
+ },
531
+ {
532
+ "internalType": "NftId",
533
+ "name": "instanceNftId",
534
+ "type": "uint96"
535
+ }
536
+ ],
537
+ "name": "hasRole",
538
+ "outputs": [
539
+ {
540
+ "internalType": "bool",
541
+ "name": "",
542
+ "type": "bool"
543
+ }
544
+ ],
545
+ "stateMutability": "view",
546
+ "type": "function"
547
+ },
548
+ {
549
+ "inputs": [
550
+ {
551
+ "internalType": "address",
552
+ "name": "implementation",
553
+ "type": "address"
554
+ },
555
+ {
556
+ "internalType": "address",
557
+ "name": "activatedBy",
558
+ "type": "address"
559
+ },
560
+ {
561
+ "internalType": "bytes",
562
+ "name": "data",
563
+ "type": "bytes"
564
+ }
565
+ ],
566
+ "name": "initialize",
567
+ "outputs": [],
568
+ "stateMutability": "nonpayable",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [
573
+ {
574
+ "internalType": "Version",
575
+ "name": "_version",
576
+ "type": "uint24"
577
+ }
578
+ ],
579
+ "name": "isInitialized",
580
+ "outputs": [
581
+ {
582
+ "internalType": "bool",
583
+ "name": "",
584
+ "type": "bool"
585
+ }
586
+ ],
587
+ "stateMutability": "view",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "inputs": [],
592
+ "name": "linkToRegisteredNftId",
593
+ "outputs": [],
594
+ "stateMutability": "nonpayable",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [
599
+ {
600
+ "internalType": "address",
601
+ "name": "accessManagerAddress",
602
+ "type": "address"
603
+ },
604
+ {
605
+ "internalType": "address",
606
+ "name": "instanceAddress",
607
+ "type": "address"
608
+ },
609
+ {
610
+ "internalType": "address",
611
+ "name": "instanceReaderAddress",
612
+ "type": "address"
613
+ },
614
+ {
615
+ "internalType": "address",
616
+ "name": "bundleManagerAddress",
617
+ "type": "address"
618
+ }
619
+ ],
620
+ "name": "setMasterInstance",
621
+ "outputs": [],
622
+ "stateMutability": "nonpayable",
623
+ "type": "function"
624
+ },
625
+ {
626
+ "inputs": [
627
+ {
628
+ "internalType": "address",
629
+ "name": "instanceReaderAddress",
630
+ "type": "address"
631
+ }
632
+ ],
633
+ "name": "setMasterInstanceReader",
634
+ "outputs": [],
635
+ "stateMutability": "nonpayable",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "internalType": "bytes4",
642
+ "name": "interfaceId",
643
+ "type": "bytes4"
644
+ }
645
+ ],
646
+ "name": "supportsInterface",
647
+ "outputs": [
648
+ {
649
+ "internalType": "bool",
650
+ "name": "",
651
+ "type": "bool"
652
+ }
653
+ ],
654
+ "stateMutability": "view",
655
+ "type": "function"
656
+ },
657
+ {
658
+ "inputs": [
659
+ {
660
+ "internalType": "address",
661
+ "name": "implementation",
662
+ "type": "address"
663
+ },
664
+ {
665
+ "internalType": "address",
666
+ "name": "activatedBy",
667
+ "type": "address"
668
+ },
669
+ {
670
+ "internalType": "bytes",
671
+ "name": "data",
672
+ "type": "bytes"
673
+ }
674
+ ],
675
+ "name": "upgrade",
676
+ "outputs": [],
677
+ "stateMutability": "nonpayable",
678
+ "type": "function"
679
+ },
680
+ {
681
+ "inputs": [
682
+ {
683
+ "internalType": "NftId",
684
+ "name": "instanceNftId",
685
+ "type": "uint96"
686
+ }
687
+ ],
688
+ "name": "upgradeInstanceReader",
689
+ "outputs": [],
690
+ "stateMutability": "nonpayable",
691
+ "type": "function"
692
+ }
693
+ ],
694
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61455e806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063872309c7116100f9578063b3c6501511610097578063cde749f411610071578063cde749f414610552578063cf7a1d771461056c578063eeff428e1461057f578063feec1190146105ca57600080fd5b8063b3c650151461050e578063b88da7591461052e578063c22f980d1461054157600080fd5b8063946dfcfe116100d3578063946dfcfe146104935780639c12c9c7146104ba578063a3f4df7e146104cd578063a745e3df146104fb57600080fd5b8063872309c714610472578063893d20e81461047a57806393c480541461048257600080fd5b806336147088116101665780634d459c90116101405780634d459c901461030a5780634f421333146104235780635ab1bd5314610436578063644c45e01461044757600080fd5b806336147088146102d55780633a0b4b31146102e65780633bd516ef146102f757600080fd5b8063138461e0116101a2578063138461e01461023d57806317d7de7c146102475780631a77e50c1461027b5780631eff4b22146102a057600080fd5b806301ffc9a7146101c95780630d8e6e2c1461020b5780630fec111c14610227575b600080fd5b6101f66101d7366004613bc3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102136105dd565b60405162ffffff9091168152602001610202565b61022f610667565b604051610202929190613c3d565b6102456107e9565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516102029190613ce4565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6102c77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b6007546001600160a01b0316610288565b6005546001600160a01b0316610288565b610245610305366004613d0c565b610a0b565b6103c6610318366004613d79565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061450983398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b6101f6610431366004613d79565b611020565b6001546001600160a01b0316610288565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610202565b6102c7600081565b6102886110d3565b6006546001600160a01b0316610288565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102c7565b6101f66104c8366004613dc0565b6111ec565b61026e6040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b610245610509366004613ea0565b611426565b610516611580565b6040516001600160401b039091168152602001610202565b61021361053c366004613f44565b6115a1565b61024561054f366004613f5d565b50565b61055a6115f2565b60405160ff9091168152602001610202565b61024561057a366004613ea0565b611675565b61058761177e565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610202565b6102456105d8366004613f7a565b611f42565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561063e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106629190613f97565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106ea6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107326110d3565b6001600160a01b0316815260200182600101805461074f90613fb4565b80601f016020809104026020016040519081016040528092919081815260200182805461077b90613fb4565b80156107c85780601f1061079d576101008083540402835291602001916107c8565b820191906000526020600020905b8154815290600101906020018083116107ab57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561084b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086f9190613ffe565b156108b6576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108df5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094c9190613ffe565b610974576040516372657a5160e01b81526001600160a01b03821660048201526024016108ad565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156109be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e29190614024565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610a136110d3565b6001600160a01b0316336001600160a01b031614610a465760405163700dd81160e01b81523360048201526024016108ad565b6004546001600160a01b031615610ab75760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108ad565b6005546001600160a01b031615610b225760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016108ad565b6007546001600160a01b031615610b935760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108ad565b6001600160a01b038416610bf35760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b60648201526084016108ad565b6001600160a01b038316610c495760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f000000000060448201526064016108ad565b6001600160a01b038216610caa5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016108ad565b6001600160a01b038116610d0a5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b60648201526084016108ad565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d85919061404c565b6001600160a01b031614610ded5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b60648201526084016108ad565b610ec5826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e529190614024565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb49190614024565b6001600160601b0390811691161490565b610f295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016108ad565b610f6a816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e2e573d6000803e3d6000fd5b610fcd5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b60648201526084016108ad565b5050600480546001600160a01b039687166001600160a01b031991821617909155600580549587169582169590951790945550600680549285169284169290921790915560078054919093169116179055565b60008060008051602061450983398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156110a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cc9190614069565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115c9190613ffe565b156111dc57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156111b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610662919061404c565b506002546001600160a01b031690565b6000806112016001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112789190810190614196565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ec919061404c565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561135d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138191906141ca565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa1580156113d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f791906141e7565b909250905063ffffffff811615611417576000965050505050505061141f565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6114486105dd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ac91906141ca565b6000805160206144e98339815191528054600160401b900460ff16806114df575080546001600160401b03808416911610155b156114fd5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556115288585612206565b611531836124a5565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106626000805160206144e9833981519152546001600160401b031690565b600060008051602061450983398151915260010182815481106115c6576115c6614227565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006115fc6105dd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611651573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610662919061423d565b6000805160206144e98339815191528054600160401b810460ff1615906001600160401b03166000811580156116a85750825b90506000826001600160401b031660011480156116c45750303b155b9050811580156116d2575080155b156116f05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561171a57845460ff60401b1916600160401b1785555b6117248888612206565b61172e87876124ad565b831561177457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa1580156117d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117fc9190614024565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611870573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118949190613f97565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156118e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190d919061423d565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015611973573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611997919061404c565b60045490915081906119b1906001600160a01b0316612603565b604051632207fb6160e21b8152306004820152909a506001600160a01b038b169063881fed8490602401600060405180830381600087803b1580156119f557600080fd5b505af1158015611a09573d6000803e3d6000fd5b5050600554611a2392506001600160a01b03169050612603565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b158015611a8957600080fd5b505af1158015611a9d573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611aec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b14919081019061425a565b508051600654909a50909150611b32906001600160a01b0316612603565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b158015611b8a57600080fd5b505af1158015611b9e573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015611be557600080fd5b505af1158015611bf9573d6000803e3d6000fd5b5050600754611c1392506001600160a01b03169050612603565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b158015611c7357600080fd5b505af1158015611c87573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015611ccd57600080fd5b505af1158015611ce1573d6000803e3d6000fd5b50505050611cf08b8b89612675565b8a6001600160a01b03166325c471a0611d07613690565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d8491906141ca565b8860006040518463ffffffff1660e01b8152600401611da5939291906142bd565b600060405180830381600087803b158015611dbf57600080fd5b505af1158015611dd3573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611dee613690565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611e47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e6b91906141ca565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611eb257600080fd5b505af1158015611ec6573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611f2d94939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611f4a6110d3565b6001600160a01b0316336001600160a01b031614611f7d5760405163700dd81160e01b81523360048201526024016108ad565b6006546001600160a01b0316611fea5760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b60648201526084016108ad565b6001600160a01b03811661204b5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016108ad565b6006546001600160a01b03908116908216036120c25760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b60648201526084016108ad565b600081905061217f816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015612108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212c9190614024565b600560009054906101000a90046001600160a01b03166001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e90573d6000803e3d6000fd5b6121e35760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016108ad565b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b61220e613708565b600080516020614509833981519152600061223e6000805160206144e9833981519152546001600160401b031690565b9050600061224a6105dd565b9050816001600160401b03166001036122775760028301805462ffffff191662ffffff83161790556122c5565b600283015462ffffff908116908216116122c55760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016108ad565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612379573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239d91906142ed565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906115719083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c4613708565b6000805160206144e98339815191528054600160401b810460ff1615906001600160401b03166000811580156124e05750825b90506000826001600160401b031660011480156124fc5750303b155b90508115801561250a575080155b156125285760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561255257845460ff60401b1916600160401b1785555b6000868060200190518101906125689190614314565b600380546001600160a01b039093166001600160a01b03199093168317905591506125939089613741565b6125a3631b4612f160e31b6137ce565b6125b363777fa14760e11b6137ce565b5083156125fa57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116612670576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156126e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270d9190613f97565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612762573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612786919061423d565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa1580156127f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612814919061404c565b9050836001600160a01b03166325c471a061282d6137f3565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128aa91906141ca565b8360006040518463ffffffff1660e01b81526004016128cb939291906142bd565b600060405180830381600087803b1580156128e557600080fd5b505af11580156128f9573d6000803e3d6000fd5b5060009250600291506129099050565b604051908082528060200260200182016040528015612932578160200160208202803683370190505b509050630b24cf5f60e01b8160008151811061295057612950614227565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061298757612987614227565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d85836129b96137f3565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3691906141ca565b6040518463ffffffff1660e01b8152600401612a5493929190614343565b600060405180830381600087803b158015612a6e57600080fd5b505af1158015612a82573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612afc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b209190613f97565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612b75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b99919061423d565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa158015612bfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1f919061404c565b9050856001600160a01b03166325c471a0612c3861382f565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612c91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb591906141ca565b8360006040518463ffffffff1660e01b8152600401612cd6939291906142bd565b600060405180830381600087803b158015612cf057600080fd5b505af1158015612d04573d6000803e3d6000fd5b506000925060049150612d149050565b604051908082528060200260200182016040528015612d3d578160200160208202803683370190505b50905063e7cd37d460e01b81600081518110612d5b57612d5b614227565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b9082906001908110612d9257612d92614227565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b9082906002908110612dc957612dc9614227565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906003908110612e0057612e00614227565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d8783612e3261382f565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eaf91906141ca565b6040518463ffffffff1660e01b8152600401612ecd93929190614343565b600060405180830381600087803b158015612ee757600080fd5b505af1158015612efb573d6000803e3d6000fd5b506000925060059150612f0b9050565b604051908082528060200260200182016040528015612f34578160200160208202803683370190505b509050630cc7e61460e01b81600081518110612f5257612f52614227565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110612f8957612f89614227565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110612fc057612fc0614227565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110612ff757612ff7614227565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b908290600490811061302e5761302e614227565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d878361306061382f565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156130b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130dd91906141ca565b6040518463ffffffff1660e01b81526004016130fb93929190614343565b600060405180830381600087803b15801561311557600080fd5b505af1158015613129573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156131a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131c79190613f97565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561321c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613240919061423d565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa1580156132a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132c9919061404c565b9050886001600160a01b03166325c471a06132e261386b565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561333b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061335f91906141ca565b8360006040518463ffffffff1660e01b8152600401613380939291906142bd565b600060405180830381600087803b15801561339a57600080fd5b505af11580156133ae573d6000803e3d6000fd5b5060009250600991506133be9050565b6040519080825280602002602001820160405280156133e7578160200160208202803683370190505b5090506391ff6eaa60e01b8160008151811061340557613405614227565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061343c5761343c614227565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b908290600290811061347357613473614227565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106134aa576134aa614227565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b90829060049081106134e1576134e1614227565b6001600160e01b03199092166020928302919091019091015280516202f23560ee1b908290600590811061351757613517614227565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b908290600690811061354e5761354e614227565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b908290600790811061358557613585614227565b6001600160e01b0319909216602092830291909101909101526001600160a01b038a166308d6122d8a836135b761386b565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613610573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061363491906141ca565b6040518463ffffffff1660e01b815260040161365293929190614343565b600060405180830381600087803b15801561366c57600080fd5b505af1158015613680573d6000803e3d6000fd5b5050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156136e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066291906141ca565b6000805160206144e983398151915254600160401b900460ff1661373f57604051631afcd79f60e31b815260040160405180910390fd5b565b600061376f60408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6137776115f2565b6040516020016137889291906143b5565b604051602081830303815290604052905060006137a4846138a7565b905060006137b78583603c848888613918565b6137c7631b4612f160e31b6137ce565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136c7565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136c7565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136c7565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156138ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139129190614024565b92915050565b6139596301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61396382876139e4565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016139d38382614429565b506125fa6303fb044760e21b6137ce565b6001600160a01b038216613a3a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016108ad565b600280546001600160a01b0319166001600160a01b038416179055613a5e81613a62565b5050565b6001546001600160a01b031615613a9b5760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016108ad565b6001600160a01b038116613ac25760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613af85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ad565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613b72575060408051601f3d908101601f19168201909252613b6f91810190613ffe565b60015b613b9a5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ad565b80613a5e5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108ad565b600060208284031215613bd557600080fd5b81356001600160e01b03198116811461141f57600080fd5b60005b83811015613c08578181015183820152602001613bf0565b50506000910152565b60008151808452613c29816020860160208601613bed565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151613c8160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152613cc7610120840182613c11565b90508281036020840152613cdb8185613c11565b95945050505050565b60208152600061141f6020830184613c11565b6001600160a01b038116811461054f57600080fd5b60008060008060808587031215613d2257600080fd5b8435613d2d81613cf7565b93506020850135613d3d81613cf7565b92506040850135613d4d81613cf7565b91506060850135613d5d81613cf7565b939692955090935050565b62ffffff8116811461054f57600080fd5b600060208284031215613d8b57600080fd5b813561141f81613d68565b6001600160401b038116811461054f57600080fd5b6001600160601b038116811461054f57600080fd5b600080600060608486031215613dd557600080fd5b8335613de081613cf7565b92506020840135613df081613d96565b91506040840135613e0081613dab565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613e4357613e43613e0b565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613e7157613e71613e0b565b604052919050565b60006001600160401b03821115613e9257613e92613e0b565b50601f01601f191660200190565b600080600060608486031215613eb557600080fd5b8335613ec081613cf7565b92506020840135613ed081613cf7565b915060408401356001600160401b03811115613eeb57600080fd5b8401601f81018613613efc57600080fd5b8035613f0f613f0a82613e79565b613e49565b818152876020838501011115613f2457600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215613f5657600080fd5b5035919050565b600060208284031215613f6f57600080fd5b813561141f81613dab565b600060208284031215613f8c57600080fd5b813561141f81613cf7565b600060208284031215613fa957600080fd5b815161141f81613d68565b600181811c90821680613fc857607f821691505b602082108103613fe857634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461267057600080fd5b60006020828403121561401057600080fd5b61141f82613fee565b805161267081613dab565b60006020828403121561403657600080fd5b815161141f81613dab565b805161267081613cf7565b60006020828403121561405e57600080fd5b815161141f81613cf7565b60006020828403121561407b57600080fd5b5051919050565b60ff8116811461054f57600080fd5b805161267081614082565b600082601f8301126140ad57600080fd5b81516140bb613f0a82613e79565b8181528460208386010111156140d057600080fd5b6140e1826020830160208701613bed565b949350505050565b600060e082840312156140fb57600080fd5b614103613e21565b905061410e82614019565b815261411c60208301614019565b602082015261412d60408301614091565b604082015261413e60608301613fee565b606082015261414f60808301614041565b608082015261416060a08301614041565b60a082015260c08201516001600160401b0381111561417e57600080fd5b61418a8482850161409c565b60c08301525092915050565b6000602082840312156141a857600080fd5b81516001600160401b038111156141be57600080fd5b6140e1848285016140e9565b6000602082840312156141dc57600080fd5b815161141f81613d96565b600080604083850312156141fa57600080fd5b61420383613fee565b9150602083015163ffffffff8116811461421c57600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561424f57600080fd5b815161141f81614082565b6000806040838503121561426d57600080fd5b82516001600160401b038082111561428457600080fd5b614290868387016140e9565b935060208501519150808211156142a657600080fd5b506142b38582860161409c565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b6000602082840312156142ff57600080fd5b815164ffffffffff8116811461141f57600080fd5b6000806040838503121561432757600080fd5b825161433281613cf7565b602084015190925061421c81613cf7565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b818110156143965784516001600160e01b03191683529383019391830191600101614370565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006143c86040830185613c11565b905060ff831660208301529392505050565b601f82111561442457600081815260208120601f850160051c810160208610156144015750805b601f850160051c820191505b818110156144205782815560010161440d565b5050505b505050565b81516001600160401b0381111561444257614442613e0b565b614456816144508454613fb4565b846143da565b602080601f83116001811461448b57600084156144735750858301515b600019600386901b1c1916600185901b178555614420565b600085815260208120601f198616915b828110156144ba5788860151825594840194600190910190840161449b565b50858210156144d85787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212208a2851784cd55a6d7656735b6b61b53e675995a5f5122199aef89e3b047a35ed64736f6c63430008140033",
695
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063872309c7116100f9578063b3c6501511610097578063cde749f411610071578063cde749f414610552578063cf7a1d771461056c578063eeff428e1461057f578063feec1190146105ca57600080fd5b8063b3c650151461050e578063b88da7591461052e578063c22f980d1461054157600080fd5b8063946dfcfe116100d3578063946dfcfe146104935780639c12c9c7146104ba578063a3f4df7e146104cd578063a745e3df146104fb57600080fd5b8063872309c714610472578063893d20e81461047a57806393c480541461048257600080fd5b806336147088116101665780634d459c90116101405780634d459c901461030a5780634f421333146104235780635ab1bd5314610436578063644c45e01461044757600080fd5b806336147088146102d55780633a0b4b31146102e65780633bd516ef146102f757600080fd5b8063138461e0116101a2578063138461e01461023d57806317d7de7c146102475780631a77e50c1461027b5780631eff4b22146102a057600080fd5b806301ffc9a7146101c95780630d8e6e2c1461020b5780630fec111c14610227575b600080fd5b6101f66101d7366004613bc3565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102136105dd565b60405162ffffff9091168152602001610202565b61022f610667565b604051610202929190613c3d565b6102456107e9565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516102029190613ce4565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610202565b6102c77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610202565b6007546001600160a01b0316610288565b6005546001600160a01b0316610288565b610245610305366004613d0c565b610a0b565b6103c6610318366004613d79565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915260008051602061450983398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610202565b6101f6610431366004613d79565b611020565b6001546001600160a01b0316610288565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610202565b6102c7600081565b6102886110d3565b6006546001600160a01b0316610288565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102c7565b6101f66104c8366004613dc0565b6111ec565b61026e6040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b610245610509366004613ea0565b611426565b610516611580565b6040516001600160401b039091168152602001610202565b61021361053c366004613f44565b6115a1565b61024561054f366004613f5d565b50565b61055a6115f2565b60405160ff9091168152602001610202565b61024561057a366004613ea0565b611675565b61058761177e565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610202565b6102456105d8366004613f7a565b611f42565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561063e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106629190613f97565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106ea6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016107326110d3565b6001600160a01b0316815260200182600101805461074f90613fb4565b80601f016020809104026020016040519081016040528092919081815260200182805461077b90613fb4565b80156107c85780601f1061079d576101008083540402835291602001916107c8565b820191906000526020600020905b8154815290600101906020018083116107ab57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561084b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086f9190613ffe565b156108b6576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108df5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094c9190613ffe565b610974576040516372657a5160e01b81526001600160a01b03821660048201526024016108ad565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156109be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e29190614024565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610a136110d3565b6001600160a01b0316336001600160a01b031614610a465760405163700dd81160e01b81523360048201526024016108ad565b6004546001600160a01b031615610ab75760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108ad565b6005546001600160a01b031615610b225760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016108ad565b6007546001600160a01b031615610b935760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108ad565b6001600160a01b038416610bf35760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b60648201526084016108ad565b6001600160a01b038316610c495760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f000000000060448201526064016108ad565b6001600160a01b038216610caa5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016108ad565b6001600160a01b038116610d0a5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b60648201526084016108ad565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d85919061404c565b6001600160a01b031614610ded5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b60648201526084016108ad565b610ec5826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e2e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e529190614024565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb49190614024565b6001600160601b0390811691161490565b610f295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016108ad565b610f6a816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e2e573d6000803e3d6000fd5b610fcd5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b60648201526084016108ad565b5050600480546001600160a01b039687166001600160a01b031991821617909155600580549587169582169590951790945550600680549285169284169290921790915560078054919093169116179055565b60008060008051602061450983398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af41580156110a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cc9190614069565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611138573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115c9190613ffe565b156111dc57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156111b8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610662919061404c565b506002546001600160a01b031690565b6000806112016001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015611250573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112789190810190614196565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156112c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ec919061404c565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561135d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138191906141ca565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa1580156113d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f791906141e7565b909250905063ffffffff811615611417576000965050505050505061141f565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6114486105dd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114ac91906141ca565b6000805160206144e98339815191528054600160401b900460ff16806114df575080546001600160401b03808416911610155b156114fd5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556115288585612206565b611531836124a5565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106626000805160206144e9833981519152546001600160401b031690565b600060008051602061450983398151915260010182815481106115c6576115c6614227565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006115fc6105dd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611651573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610662919061423d565b6000805160206144e98339815191528054600160401b810460ff1615906001600160401b03166000811580156116a85750825b90506000826001600160401b031660011480156116c45750303b155b9050811580156116d2575080155b156116f05760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561171a57845460ff60401b1916600160401b1785555b6117248888612206565b61172e87876124ad565b831561177457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa1580156117d8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117fc9190614024565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015611870573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118949190613f97565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156118e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061190d919061423d565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015611973573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611997919061404c565b60045490915081906119b1906001600160a01b0316612603565b604051632207fb6160e21b8152306004820152909a506001600160a01b038b169063881fed8490602401600060405180830381600087803b1580156119f557600080fd5b505af1158015611a09573d6000803e3d6000fd5b5050600554611a2392506001600160a01b03169050612603565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b158015611a8957600080fd5b505af1158015611a9d573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611aec573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b14919081019061425a565b508051600654909a50909150611b32906001600160a01b0316612603565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b158015611b8a57600080fd5b505af1158015611b9e573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015611be557600080fd5b505af1158015611bf9573d6000803e3d6000fd5b5050600754611c1392506001600160a01b03169050612603565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b158015611c7357600080fd5b505af1158015611c87573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015611ccd57600080fd5b505af1158015611ce1573d6000803e3d6000fd5b50505050611cf08b8b89612675565b8a6001600160a01b03166325c471a0611d07613690565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d8491906141ca565b8860006040518463ffffffff1660e01b8152600401611da5939291906142bd565b600060405180830381600087803b158015611dbf57600080fd5b505af1158015611dd3573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611dee613690565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611e47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e6b91906141ca565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611eb257600080fd5b505af1158015611ec6573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611f2d94939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611f4a6110d3565b6001600160a01b0316336001600160a01b031614611f7d5760405163700dd81160e01b81523360048201526024016108ad565b6006546001600160a01b0316611fea5760405162461bcd60e51b815260206004820152602c60248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526b14d5115497d393d517d4d15560a21b60648201526084016108ad565b6001600160a01b03811661204b5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3031323a494e5354414e43455f5245414445525f5a45604482015261524f60f01b60648201526084016108ad565b6006546001600160a01b03908116908216036120c25760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3031343a494e5354414e43455f5245414445525f4d4160448201526f535445525f53414d455f41535f4e455760801b60648201526084016108ad565b600081905061217f816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015612108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212c9190614024565b600560009054906101000a90046001600160a01b03166001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e90573d6000803e3d6000fd5b6121e35760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031353a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b60648201526084016108ad565b50600680546001600160a01b0319166001600160a01b0392909216919091179055565b61220e613708565b600080516020614509833981519152600061223e6000805160206144e9833981519152546001600160401b031690565b9050600061224a6105dd565b9050816001600160401b03166001036122775760028301805462ffffff191662ffffff83161790556122c5565b600283015462ffffff908116908216116122c55760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016108ad565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015612379573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061239d91906142ed565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906115719083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101c4613708565b6000805160206144e98339815191528054600160401b810460ff1615906001600160401b03166000811580156124e05750825b90506000826001600160401b031660011480156124fc5750303b155b90508115801561250a575080155b156125285760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561255257845460ff60401b1916600160401b1785555b6000868060200190518101906125689190614314565b600380546001600160a01b039093166001600160a01b03199093168317905591506125939089613741565b6125a3631b4612f160e31b6137ce565b6125b363777fa14760e11b6137ce565b5083156125fa57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116612670576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156126e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270d9190613f97565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612762573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612786919061423d565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa1580156127f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612814919061404c565b9050836001600160a01b03166325c471a061282d6137f3565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612886573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128aa91906141ca565b8360006040518463ffffffff1660e01b81526004016128cb939291906142bd565b600060405180830381600087803b1580156128e557600080fd5b505af11580156128f9573d6000803e3d6000fd5b5060009250600291506129099050565b604051908082528060200260200182016040528015612932578160200160208202803683370190505b509050630b24cf5f60e01b8160008151811061295057612950614227565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061298757612987614227565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d85836129b96137f3565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612a12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3691906141ca565b6040518463ffffffff1660e01b8152600401612a5493929190614343565b600060405180830381600087803b158015612a6e57600080fd5b505af1158015612a82573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612afc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b209190613f97565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612b75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b99919061423d565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa158015612bfb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1f919061404c565b9050856001600160a01b03166325c471a0612c3861382f565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612c91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cb591906141ca565b8360006040518463ffffffff1660e01b8152600401612cd6939291906142bd565b600060405180830381600087803b158015612cf057600080fd5b505af1158015612d04573d6000803e3d6000fd5b506000925060049150612d149050565b604051908082528060200260200182016040528015612d3d578160200160208202803683370190505b50905063e7cd37d460e01b81600081518110612d5b57612d5b614227565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b9082906001908110612d9257612d92614227565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b9082906002908110612dc957612dc9614227565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906003908110612e0057612e00614227565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d8783612e3261382f565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612e8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eaf91906141ca565b6040518463ffffffff1660e01b8152600401612ecd93929190614343565b600060405180830381600087803b158015612ee757600080fd5b505af1158015612efb573d6000803e3d6000fd5b506000925060059150612f0b9050565b604051908082528060200260200182016040528015612f34578160200160208202803683370190505b509050630cc7e61460e01b81600081518110612f5257612f52614227565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110612f8957612f89614227565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110612fc057612fc0614227565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110612ff757612ff7614227565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b908290600490811061302e5761302e614227565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d878361306061382f565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156130b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130dd91906141ca565b6040518463ffffffff1660e01b81526004016130fb93929190614343565b600060405180830381600087803b15801561311557600080fd5b505af1158015613129573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156131a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131c79190613f97565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561321c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613240919061423d565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa1580156132a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132c9919061404c565b9050886001600160a01b03166325c471a06132e261386b565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561333b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061335f91906141ca565b8360006040518463ffffffff1660e01b8152600401613380939291906142bd565b600060405180830381600087803b15801561339a57600080fd5b505af11580156133ae573d6000803e3d6000fd5b5060009250600991506133be9050565b6040519080825280602002602001820160405280156133e7578160200160208202803683370190505b5090506391ff6eaa60e01b8160008151811061340557613405614227565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b908290600190811061343c5761343c614227565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b908290600290811061347357613473614227565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b90829060039081106134aa576134aa614227565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b90829060049081106134e1576134e1614227565b6001600160e01b03199092166020928302919091019091015280516202f23560ee1b908290600590811061351757613517614227565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b908290600690811061354e5761354e614227565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b908290600790811061358557613585614227565b6001600160e01b0319909216602092830291909101909101526001600160a01b038a166308d6122d8a836135b761386b565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613610573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061363491906141ca565b6040518463ffffffff1660e01b815260040161365293929190614343565b600060405180830381600087803b15801561366c57600080fd5b505af1158015613680573d6000803e3d6000fd5b5050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156136e4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066291906141ca565b6000805160206144e983398151915254600160401b900460ff1661373f57604051631afcd79f60e31b815260040160405180910390fd5b565b600061376f60408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6137776115f2565b6040516020016137889291906143b5565b604051602081830303815290604052905060006137a4846138a7565b905060006137b78583603c848888613918565b6137c7631b4612f160e31b6137ce565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136c7565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136c7565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136c7565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa1580156138ee573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139129190614024565b92915050565b6139596301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61396382876139e4565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016139d38382614429565b506125fa6303fb044760e21b6137ce565b6001600160a01b038216613a3a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016108ad565b600280546001600160a01b0319166001600160a01b038416179055613a5e81613a62565b5050565b6001546001600160a01b031615613a9b5760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016108ad565b6001600160a01b038116613ac25760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613af85760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ad565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613b72575060408051601f3d908101601f19168201909252613b6f91810190613ffe565b60015b613b9a5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108ad565b80613a5e5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108ad565b600060208284031215613bd557600080fd5b81356001600160e01b03198116811461141f57600080fd5b60005b83811015613c08578181015183820152602001613bf0565b50506000910152565b60008151808452613c29816020860160208601613bed565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151613c8160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152613cc7610120840182613c11565b90508281036020840152613cdb8185613c11565b95945050505050565b60208152600061141f6020830184613c11565b6001600160a01b038116811461054f57600080fd5b60008060008060808587031215613d2257600080fd5b8435613d2d81613cf7565b93506020850135613d3d81613cf7565b92506040850135613d4d81613cf7565b91506060850135613d5d81613cf7565b939692955090935050565b62ffffff8116811461054f57600080fd5b600060208284031215613d8b57600080fd5b813561141f81613d68565b6001600160401b038116811461054f57600080fd5b6001600160601b038116811461054f57600080fd5b600080600060608486031215613dd557600080fd5b8335613de081613cf7565b92506020840135613df081613d96565b91506040840135613e0081613dab565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613e4357613e43613e0b565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613e7157613e71613e0b565b604052919050565b60006001600160401b03821115613e9257613e92613e0b565b50601f01601f191660200190565b600080600060608486031215613eb557600080fd5b8335613ec081613cf7565b92506020840135613ed081613cf7565b915060408401356001600160401b03811115613eeb57600080fd5b8401601f81018613613efc57600080fd5b8035613f0f613f0a82613e79565b613e49565b818152876020838501011115613f2457600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215613f5657600080fd5b5035919050565b600060208284031215613f6f57600080fd5b813561141f81613dab565b600060208284031215613f8c57600080fd5b813561141f81613cf7565b600060208284031215613fa957600080fd5b815161141f81613d68565b600181811c90821680613fc857607f821691505b602082108103613fe857634e487b7160e01b600052602260045260246000fd5b50919050565b8051801515811461267057600080fd5b60006020828403121561401057600080fd5b61141f82613fee565b805161267081613dab565b60006020828403121561403657600080fd5b815161141f81613dab565b805161267081613cf7565b60006020828403121561405e57600080fd5b815161141f81613cf7565b60006020828403121561407b57600080fd5b5051919050565b60ff8116811461054f57600080fd5b805161267081614082565b600082601f8301126140ad57600080fd5b81516140bb613f0a82613e79565b8181528460208386010111156140d057600080fd5b6140e1826020830160208701613bed565b949350505050565b600060e082840312156140fb57600080fd5b614103613e21565b905061410e82614019565b815261411c60208301614019565b602082015261412d60408301614091565b604082015261413e60608301613fee565b606082015261414f60808301614041565b608082015261416060a08301614041565b60a082015260c08201516001600160401b0381111561417e57600080fd5b61418a8482850161409c565b60c08301525092915050565b6000602082840312156141a857600080fd5b81516001600160401b038111156141be57600080fd5b6140e1848285016140e9565b6000602082840312156141dc57600080fd5b815161141f81613d96565b600080604083850312156141fa57600080fd5b61420383613fee565b9150602083015163ffffffff8116811461421c57600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561424f57600080fd5b815161141f81614082565b6000806040838503121561426d57600080fd5b82516001600160401b038082111561428457600080fd5b614290868387016140e9565b935060208501519150808211156142a657600080fd5b506142b38582860161409c565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b6000602082840312156142ff57600080fd5b815164ffffffffff8116811461141f57600080fd5b6000806040838503121561432757600080fd5b825161433281613cf7565b602084015190925061421c81613cf7565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b818110156143965784516001600160e01b03191683529383019391830191600101614370565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006143c86040830185613c11565b905060ff831660208301529392505050565b601f82111561442457600081815260208120601f850160051c810160208610156144015750805b601f850160051c820191505b818110156144205782815560010161440d565b5050505b505050565b81516001600160401b0381111561444257614442613e0b565b614456816144508454613fb4565b846143da565b602080601f83116001811461448b57600084156144735750858301515b600019600386901b1c1916600185901b178555614420565b600085815260208120601f198616915b828110156144ba5788860151825594840194600190910190840161449b565b50858210156144d85787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212208a2851784cd55a6d7656735b6b61b53e675995a5f5122199aef89e3b047a35ed64736f6c63430008140033",
696
+ "linkReferences": {
697
+ "contracts/types/Blocknumber.sol": {
698
+ "BlocknumberLib": [
699
+ {
700
+ "length": 20,
701
+ "start": 4520
702
+ }
703
+ ]
704
+ },
705
+ "contracts/types/NftId.sol": {
706
+ "NftIdLib": [
707
+ {
708
+ "length": 20,
709
+ "start": 2379
710
+ },
711
+ {
712
+ "length": 20,
713
+ "start": 4664
714
+ }
715
+ ]
716
+ },
717
+ "contracts/types/RoleId.sol": {
718
+ "RoleIdLib": [
719
+ {
720
+ "length": 20,
721
+ "start": 5213
722
+ },
723
+ {
724
+ "length": 20,
725
+ "start": 7776
726
+ },
727
+ {
728
+ "length": 20,
729
+ "start": 8007
730
+ },
731
+ {
732
+ "length": 20,
733
+ "start": 10630
734
+ },
735
+ {
736
+ "length": 20,
737
+ "start": 11026
738
+ },
739
+ {
740
+ "length": 20,
741
+ "start": 11665
742
+ },
743
+ {
744
+ "length": 20,
745
+ "start": 12171
746
+ },
747
+ {
748
+ "length": 20,
749
+ "start": 12729
750
+ },
751
+ {
752
+ "length": 20,
753
+ "start": 13371
754
+ },
755
+ {
756
+ "length": 20,
757
+ "start": 14096
758
+ },
759
+ {
760
+ "length": 20,
761
+ "start": 14307
762
+ },
763
+ {
764
+ "length": 20,
765
+ "start": 14663
766
+ },
767
+ {
768
+ "length": 20,
769
+ "start": 14723
770
+ },
771
+ {
772
+ "length": 20,
773
+ "start": 14783
774
+ }
775
+ ]
776
+ },
777
+ "contracts/types/Timestamp.sol": {
778
+ "TimestampLib": [
779
+ {
780
+ "length": 20,
781
+ "start": 9337
782
+ }
783
+ ]
784
+ },
785
+ "contracts/types/Version.sol": {
786
+ "VersionLib": [
787
+ {
788
+ "length": 20,
789
+ "start": 1854
790
+ },
791
+ {
792
+ "length": 20,
793
+ "start": 5474
794
+ },
795
+ {
796
+ "length": 20,
797
+ "start": 5969
798
+ },
799
+ {
800
+ "length": 20,
801
+ "start": 6512
802
+ },
803
+ {
804
+ "length": 20,
805
+ "start": 6633
806
+ },
807
+ {
808
+ "length": 20,
809
+ "start": 10217
810
+ },
811
+ {
812
+ "length": 20,
813
+ "start": 10338
814
+ },
815
+ {
816
+ "length": 20,
817
+ "start": 11260
818
+ },
819
+ {
820
+ "length": 20,
821
+ "start": 11381
822
+ },
823
+ {
824
+ "length": 20,
825
+ "start": 12963
826
+ },
827
+ {
828
+ "length": 20,
829
+ "start": 13084
830
+ }
831
+ ]
832
+ }
833
+ },
834
+ "deployedLinkReferences": {
835
+ "contracts/types/Blocknumber.sol": {
836
+ "BlocknumberLib": [
837
+ {
838
+ "length": 20,
839
+ "start": 4206
840
+ }
841
+ ]
842
+ },
843
+ "contracts/types/NftId.sol": {
844
+ "NftIdLib": [
845
+ {
846
+ "length": 20,
847
+ "start": 2065
848
+ },
849
+ {
850
+ "length": 20,
851
+ "start": 4350
852
+ }
853
+ ]
854
+ },
855
+ "contracts/types/RoleId.sol": {
856
+ "RoleIdLib": [
857
+ {
858
+ "length": 20,
859
+ "start": 4899
860
+ },
861
+ {
862
+ "length": 20,
863
+ "start": 7462
864
+ },
865
+ {
866
+ "length": 20,
867
+ "start": 7693
868
+ },
869
+ {
870
+ "length": 20,
871
+ "start": 10316
872
+ },
873
+ {
874
+ "length": 20,
875
+ "start": 10712
876
+ },
877
+ {
878
+ "length": 20,
879
+ "start": 11351
880
+ },
881
+ {
882
+ "length": 20,
883
+ "start": 11857
884
+ },
885
+ {
886
+ "length": 20,
887
+ "start": 12415
888
+ },
889
+ {
890
+ "length": 20,
891
+ "start": 13057
892
+ },
893
+ {
894
+ "length": 20,
895
+ "start": 13782
896
+ },
897
+ {
898
+ "length": 20,
899
+ "start": 13993
900
+ },
901
+ {
902
+ "length": 20,
903
+ "start": 14349
904
+ },
905
+ {
906
+ "length": 20,
907
+ "start": 14409
908
+ },
909
+ {
910
+ "length": 20,
911
+ "start": 14469
912
+ }
913
+ ]
914
+ },
915
+ "contracts/types/Timestamp.sol": {
916
+ "TimestampLib": [
917
+ {
918
+ "length": 20,
919
+ "start": 9023
920
+ }
921
+ ]
922
+ },
923
+ "contracts/types/Version.sol": {
924
+ "VersionLib": [
925
+ {
926
+ "length": 20,
927
+ "start": 1540
928
+ },
929
+ {
930
+ "length": 20,
931
+ "start": 5160
932
+ },
933
+ {
934
+ "length": 20,
935
+ "start": 5655
936
+ },
937
+ {
938
+ "length": 20,
939
+ "start": 6198
940
+ },
941
+ {
942
+ "length": 20,
943
+ "start": 6319
944
+ },
945
+ {
946
+ "length": 20,
947
+ "start": 9903
948
+ },
949
+ {
950
+ "length": 20,
951
+ "start": 10024
952
+ },
953
+ {
954
+ "length": 20,
955
+ "start": 10946
956
+ },
957
+ {
958
+ "length": 20,
959
+ "start": 11067
960
+ },
961
+ {
962
+ "length": 20,
963
+ "start": 12649
964
+ },
965
+ {
966
+ "length": 20,
967
+ "start": 12770
968
+ }
969
+ ]
970
+ }
971
+ }
972
+ }