@etherisc/gif-next 0.0.2-fc8b370-882 → 0.0.2-fd275d2-234

Sign up to get free protection for your applications and to get access to all the features.
Files changed (386) hide show
  1. package/README.md +222 -1
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +176 -23
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +618 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +129 -23
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +74 -181
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +55 -177
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +463 -63
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +494 -70
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
  45. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +101 -0
  46. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
  47. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
  48. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  49. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +809 -0
  50. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  51. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  52. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  53. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  54. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  55. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +923 -1091
  56. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  57. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +485 -0
  58. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/Instance.sol/Instance.json +2540 -1128
  60. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +917 -0
  62. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1422 -0
  64. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +970 -0
  66. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +512 -0
  68. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +272 -0
  70. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  71. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +276 -36
  72. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +51 -1
  74. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  76. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  78. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  79. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  81. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  83. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  84. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  85. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  87. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  88. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  89. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  90. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  91. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  92. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  93. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  94. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  95. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +381 -77
  97. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +716 -0
  99. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +444 -0
  101. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +177 -75
  103. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IDistributionService.sol/IDistributionService.json} +204 -58
  105. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  106. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +342 -49
  107. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +334 -51
  109. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  110. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +551 -51
  111. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  112. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +460 -0
  113. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  114. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +552 -78
  115. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +488 -0
  117. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  118. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  119. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  120. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +377 -37
  121. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  122. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +947 -0
  123. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  124. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  125. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  126. package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -123
  127. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  128. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1293 -0
  129. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  130. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +517 -0
  131. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  132. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  133. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  134. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  135. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  136. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  137. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  138. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  139. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  140. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  142. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +175 -54
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  148. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  151. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  152. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +199 -83
  153. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  154. package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
  155. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  156. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  157. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  158. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  159. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  160. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  161. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  163. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  165. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  167. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestService.sol/TestService.json +283 -62
  169. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  171. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  173. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  175. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  176. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  177. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  178. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  182. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  184. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  185. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  186. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  188. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  189. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  190. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  192. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  194. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  196. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  198. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  200. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  202. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  204. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  206. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  208. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  210. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  212. package/contracts/components/BaseComponent.sol +26 -23
  213. package/contracts/components/Distribution.sol +163 -0
  214. package/contracts/components/IBaseComponent.sol +9 -3
  215. package/contracts/components/IDistributionComponent.sol +44 -0
  216. package/contracts/components/IPoolComponent.sol +15 -10
  217. package/contracts/components/IProductComponent.sol +25 -9
  218. package/contracts/components/Pool.sol +106 -33
  219. package/contracts/components/Product.sol +204 -32
  220. package/contracts/experiment/cloning/Cloner.sol +47 -0
  221. package/contracts/instance/AccessManagedSimple.sol +115 -0
  222. package/contracts/instance/AccessManagerSimple.sol +692 -0
  223. package/contracts/instance/BundleManager.sol +152 -0
  224. package/contracts/instance/Cloneable.sol +46 -0
  225. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  226. package/contracts/instance/IInstance.sol +49 -45
  227. package/contracts/instance/IInstanceService.sol +32 -0
  228. package/contracts/instance/Instance.sol +437 -51
  229. package/contracts/instance/InstanceAccessManager.sol +288 -0
  230. package/contracts/instance/InstanceReader.sol +315 -0
  231. package/contracts/instance/InstanceService.sol +232 -0
  232. package/contracts/instance/InstanceServiceManager.sol +57 -0
  233. package/contracts/instance/ObjectManager.sol +95 -0
  234. package/contracts/instance/base/ComponentServiceBase.sol +102 -10
  235. package/contracts/instance/base/IInstanceBase.sol +11 -2
  236. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  237. package/contracts/instance/base/ILifecycle.sol +3 -3
  238. package/contracts/instance/base/KeyValueStore.sol +53 -37
  239. package/contracts/instance/base/Lifecycle.sol +16 -11
  240. package/contracts/instance/module/IAccess.sol +38 -0
  241. package/contracts/instance/module/IBundle.sol +20 -0
  242. package/contracts/instance/module/IDistribution.sol +39 -0
  243. package/contracts/instance/module/IPolicy.sol +45 -0
  244. package/contracts/instance/module/IRisk.sol +11 -0
  245. package/contracts/instance/module/ISetup.sol +46 -0
  246. package/contracts/instance/module/ITreasury.sol +23 -0
  247. package/contracts/instance/service/ComponentOwnerService.sol +244 -97
  248. package/contracts/instance/service/DistributionService.sol +88 -0
  249. package/contracts/instance/service/DistributionServiceManager.sol +54 -0
  250. package/contracts/instance/service/IComponentOwnerService.sol +1 -3
  251. package/contracts/instance/service/IDistributionService.sol +12 -0
  252. package/contracts/instance/service/IPoolService.sol +14 -1
  253. package/contracts/instance/service/IProductService.sol +59 -7
  254. package/contracts/instance/service/PoolService.sol +125 -42
  255. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  256. package/contracts/instance/service/ProductService.sol +340 -133
  257. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  258. package/contracts/registry/ChainNft.sol +80 -37
  259. package/contracts/registry/IRegistry.sol +49 -25
  260. package/contracts/registry/IRegistryService.sol +50 -0
  261. package/contracts/registry/ITransferInterceptor.sol +6 -0
  262. package/contracts/registry/Registry.sol +337 -270
  263. package/contracts/registry/RegistryService.sol +358 -0
  264. package/contracts/registry/RegistryServiceManager.sol +80 -0
  265. package/contracts/registry/TokenRegistry.sol +111 -0
  266. package/contracts/shared/ContractDeployerLib.sol +72 -0
  267. package/contracts/shared/ERC165.sol +6 -2
  268. package/contracts/shared/INftOwnable.sol +22 -0
  269. package/contracts/shared/IRegisterable.sol +8 -15
  270. package/contracts/{instance/base → shared}/IService.sol +3 -3
  271. package/contracts/shared/IVersionable.sol +55 -11
  272. package/contracts/shared/NftOwnable.sol +134 -0
  273. package/contracts/shared/ProxyManager.sol +94 -0
  274. package/contracts/shared/Registerable.sol +63 -59
  275. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  276. package/contracts/shared/Service.sol +55 -0
  277. package/contracts/shared/TokenHandler.sol +27 -0
  278. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  279. package/contracts/shared/Versionable.sol +113 -55
  280. package/contracts/test/TestFee.sol +2 -2
  281. package/contracts/test/TestRegisterable.sol +5 -6
  282. package/contracts/test/TestRoleId.sol +1 -1
  283. package/contracts/test/TestService.sol +5 -13
  284. package/contracts/types/DistributorType.sol +55 -0
  285. package/contracts/types/Fee.sol +10 -5
  286. package/contracts/types/Key32.sol +8 -3
  287. package/contracts/types/NftIdSet.sol +26 -24
  288. package/contracts/types/NumberId.sol +52 -0
  289. package/contracts/types/ObjectType.sol +51 -14
  290. package/contracts/types/Referral.sol +85 -0
  291. package/contracts/types/RiskId.sol +43 -0
  292. package/contracts/types/RoleId.sol +62 -10
  293. package/contracts/types/StateId.sol +5 -1
  294. package/contracts/types/Timestamp.sol +7 -3
  295. package/contracts/types/UFixed.sol +128 -12
  296. package/contracts/types/Version.sol +13 -1
  297. package/package.json +4 -3
  298. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  299. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  300. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  301. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  302. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  303. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  304. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  305. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  306. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  307. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  308. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  309. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  310. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  311. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  312. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  313. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  314. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  315. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  316. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  317. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  318. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  319. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  320. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  321. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  322. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  323. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  324. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  325. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  326. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  327. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  328. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  329. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  330. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  331. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  332. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  333. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  334. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  335. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  336. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  337. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  338. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  340. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  341. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  342. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  343. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  344. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  345. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  346. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  347. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  348. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  349. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  350. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  351. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  352. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  353. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  354. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  355. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  356. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  357. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  358. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  359. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  360. package/contracts/experiment/statemachine/README.md +0 -112
  361. package/contracts/instance/IInstanceLinked.sol +0 -8
  362. package/contracts/instance/base/InstanceBase.sol +0 -80
  363. package/contracts/instance/base/ModuleBase.sol +0 -52
  364. package/contracts/instance/base/ServiceBase.sol +0 -37
  365. package/contracts/instance/module/access/Access.sol +0 -149
  366. package/contracts/instance/module/access/IAccess.sol +0 -53
  367. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  368. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  369. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  370. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  371. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  372. package/contracts/instance/module/component/IComponent.sol +0 -53
  373. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  374. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  375. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  376. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  377. package/contracts/instance/module/risk/IRisk.sol +0 -10
  378. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  379. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  380. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  381. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  382. package/contracts/registry/IChainNft.sol +0 -21
  383. package/contracts/registry/IRegistryLinked.sol +0 -8
  384. package/contracts/shared/IOwnable.sol +0 -6
  385. package/contracts/test/TestPool.sol +0 -22
  386. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,970 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceService",
4
+ "sourceName": "contracts/instance/InstanceService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ERC1167FailedCreateClone",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "address",
15
+ "name": "registry",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "nftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "ErrorAlreadyLinked",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "address",
31
+ "name": "contractAddress",
32
+ "type": "address"
33
+ }
34
+ ],
35
+ "name": "ErrorContractNotRegistered",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "account",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorNotOwner",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "registryAddress",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorNotRegistry",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "registryAddress",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorRegisterableNotRegistry",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorRegistryAddressZero",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "registry",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorRegistryAlreadyInitialized",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "ErrorRegistryNotInitialized",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "InvalidInitialization",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "NotInitializing",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": false,
107
+ "internalType": "uint64",
108
+ "name": "version",
109
+ "type": "uint64"
110
+ }
111
+ ],
112
+ "name": "Initialized",
113
+ "type": "event"
114
+ },
115
+ {
116
+ "anonymous": false,
117
+ "inputs": [
118
+ {
119
+ "indexed": false,
120
+ "internalType": "address",
121
+ "name": "clonedAccessManagerAddress",
122
+ "type": "address"
123
+ },
124
+ {
125
+ "indexed": false,
126
+ "internalType": "address",
127
+ "name": "clonedInstanceAddress",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "indexed": false,
132
+ "internalType": "address",
133
+ "name": "clonedInstanceReaderAddress",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "indexed": false,
138
+ "internalType": "NftId",
139
+ "name": "clonedInstanceNftId",
140
+ "type": "uint96"
141
+ }
142
+ ],
143
+ "name": "LogInstanceCloned",
144
+ "type": "event"
145
+ },
146
+ {
147
+ "anonymous": false,
148
+ "inputs": [
149
+ {
150
+ "indexed": false,
151
+ "internalType": "Version",
152
+ "name": "version",
153
+ "type": "uint24"
154
+ },
155
+ {
156
+ "indexed": false,
157
+ "internalType": "address",
158
+ "name": "implementation",
159
+ "type": "address"
160
+ },
161
+ {
162
+ "indexed": false,
163
+ "internalType": "address",
164
+ "name": "activatedBy",
165
+ "type": "address"
166
+ }
167
+ ],
168
+ "name": "LogVersionableInitialized",
169
+ "type": "event"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "INSTANCE_CREATION_CODE_HASH",
174
+ "outputs": [
175
+ {
176
+ "internalType": "bytes32",
177
+ "name": "",
178
+ "type": "bytes32"
179
+ }
180
+ ],
181
+ "stateMutability": "view",
182
+ "type": "function"
183
+ },
184
+ {
185
+ "inputs": [],
186
+ "name": "NAME",
187
+ "outputs": [
188
+ {
189
+ "internalType": "string",
190
+ "name": "",
191
+ "type": "string"
192
+ }
193
+ ],
194
+ "stateMutability": "view",
195
+ "type": "function"
196
+ },
197
+ {
198
+ "inputs": [],
199
+ "name": "REGISTERABLE_LOCATION_V1",
200
+ "outputs": [
201
+ {
202
+ "internalType": "bytes32",
203
+ "name": "",
204
+ "type": "bytes32"
205
+ }
206
+ ],
207
+ "stateMutability": "view",
208
+ "type": "function"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "createInstanceClone",
213
+ "outputs": [
214
+ {
215
+ "internalType": "contract AccessManagerSimple",
216
+ "name": "clonedAccessManager",
217
+ "type": "address"
218
+ },
219
+ {
220
+ "internalType": "contract Instance",
221
+ "name": "clonedInstance",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "internalType": "NftId",
226
+ "name": "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": "accessManagerMaster",
602
+ "type": "address"
603
+ }
604
+ ],
605
+ "name": "setAccessManagerMaster",
606
+ "outputs": [],
607
+ "stateMutability": "nonpayable",
608
+ "type": "function"
609
+ },
610
+ {
611
+ "inputs": [
612
+ {
613
+ "internalType": "address",
614
+ "name": "bundleManagerMaster",
615
+ "type": "address"
616
+ }
617
+ ],
618
+ "name": "setBundleManagerMaster",
619
+ "outputs": [],
620
+ "stateMutability": "nonpayable",
621
+ "type": "function"
622
+ },
623
+ {
624
+ "inputs": [
625
+ {
626
+ "internalType": "address",
627
+ "name": "instanceMaster",
628
+ "type": "address"
629
+ }
630
+ ],
631
+ "name": "setInstanceMaster",
632
+ "outputs": [],
633
+ "stateMutability": "nonpayable",
634
+ "type": "function"
635
+ },
636
+ {
637
+ "inputs": [
638
+ {
639
+ "internalType": "address",
640
+ "name": "instanceReaderMaster",
641
+ "type": "address"
642
+ }
643
+ ],
644
+ "name": "setInstanceReaderMaster",
645
+ "outputs": [],
646
+ "stateMutability": "nonpayable",
647
+ "type": "function"
648
+ },
649
+ {
650
+ "inputs": [
651
+ {
652
+ "internalType": "bytes4",
653
+ "name": "interfaceId",
654
+ "type": "bytes4"
655
+ }
656
+ ],
657
+ "name": "supportsInterface",
658
+ "outputs": [
659
+ {
660
+ "internalType": "bool",
661
+ "name": "",
662
+ "type": "bool"
663
+ }
664
+ ],
665
+ "stateMutability": "view",
666
+ "type": "function"
667
+ },
668
+ {
669
+ "inputs": [
670
+ {
671
+ "internalType": "address",
672
+ "name": "implementation",
673
+ "type": "address"
674
+ },
675
+ {
676
+ "internalType": "address",
677
+ "name": "activatedBy",
678
+ "type": "address"
679
+ },
680
+ {
681
+ "internalType": "bytes",
682
+ "name": "data",
683
+ "type": "bytes"
684
+ }
685
+ ],
686
+ "name": "upgrade",
687
+ "outputs": [],
688
+ "stateMutability": "nonpayable",
689
+ "type": "function"
690
+ }
691
+ ],
692
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613e76806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063644c45e011610104578063a3f4df7e116100a2578063cde749f411610071578063cde749f414610572578063cf7a1d771461058c578063d6277f991461059f578063eeff428e146105b257600080fd5b8063a3f4df7e146104fe578063a745e3df1461052c578063b3c650151461053f578063b88da7591461055f57600080fd5b8063893d20e8116100de578063893d20e8146104ab57806393c48054146104b3578063946dfcfe146104c45780639c12c9c7146104eb57600080fd5b8063644c45e014610465578063656bc9ef14610490578063872309c7146104a357600080fd5b806336147088116101715780634d459c901161014b5780634d459c90146103155780634f4213331461042e57806355ad7436146104415780635ab1bd531461045457600080fd5b806336147088146102e05780633a0b4b31146102f15780633a2ff5891461030257600080fd5b8063138461e0116101ad578063138461e01461024857806317d7de7c146102525780631a77e50c146102865780631eff4b22146102ab57600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e2366004613554565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e6105fd565b60405162ffffff909116815260200161020d565b61023a610687565b60405161020d9291906135ce565b610250610809565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b60405161020d9190613675565b6004546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b6102d27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6007546001600160a01b0316610293565b6005546001600160a01b0316610293565b61025061031036600461369d565b610a2b565b6103d16103233660046136cb565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613e2183398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161020d565b61020161043c3660046136cb565b610abe565b61025061044f36600461369d565b610b71565b6001546001600160a01b0316610293565b600154600160a01b90046001600160601b03166040516001600160601b03909116815260200161020d565b61025061049e36600461369d565b610bfe565b6102d2600081565b610293610c91565b6006546001600160a01b0316610293565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102d2565b6102016104f9366004613712565b610daa565b6102796040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61025061053a3660046137f2565b610fe4565b61054761113e565b6040516001600160401b03909116815260200161020d565b61021e61056d366004613896565b61115f565b61057a6111b0565b60405160ff909116815260200161020d565b61025061059a3660046137f2565b611233565b6102506105ad36600461369d565b61133c565b6105ba6113d0565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a00161020d565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561065e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068291906138af565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061070a6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610752610c91565b6001600160a01b0316815260200182600101805461076f906138cc565b80601f016020809104026020016040519081016040528092919081815260200182805461079b906138cc565b80156107e85780601f106107bd576101008083540402835291602001916107e8565b820191906000526020600020905b8154815290600101906020018083116107cb57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190613916565b156108d6576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108ff5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c9190613916565b610994576040516372657a5160e01b81526001600160a01b03821660048201526024016108cd565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156109de573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a02919061393c565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6007546001600160a01b031615610a9c5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108cd565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600080600080516020613e2183398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6a9190613959565b1192915050565b6005546001600160a01b031615610bdc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016108cd565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610c6f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108cd565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610cf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1a9190613916565b15610d9a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610682919061397d565b506002546001600160a01b031690565b600080610dbf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610e0e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e369190810190613aae565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaa919061397d565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610f1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3f9190613ae2565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610f91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb59190613aff565b909250905063ffffffff811615610fd55760009650505050505050610fdd565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6110066105fd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611046573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106a9190613ae2565b600080516020613e018339815191528054600160401b900460ff168061109d575080546001600160401b03808416911610155b156110bb5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110e68585611b94565b6110ef83611e33565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610682600080516020613e01833981519152546001600160401b031690565b6000600080516020613e21833981519152600101828154811061118457611184613b3f565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006111ba6105fd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561120f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106829190613b55565b600080516020613e018339815191528054600160401b810460ff1615906001600160401b03166000811580156112665750825b90506000826001600160401b031660011480156112825750303b155b905081158015611290575080155b156112ae5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112d857845460ff60401b1916600160401b1785555b6112e28888611b94565b6112ec8787611e3b565b831561133257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b0316156113ae5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b60648201526084016108cd565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa15801561142a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144e919061393c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156114c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e691906138af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561153b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155f9190613b55565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156115c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e9919061397d565b6004549091508190611603906001600160a01b0316611f91565b60405163189acdbd60e31b8152306004820152909a506001600160a01b038b169063c4d66de890602401600060405180830381600087803b15801561164757600080fd5b505af115801561165b573d6000803e3d6000fd5b505060055461167592506001600160a01b03169050611f91565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b1580156116db57600080fd5b505af11580156116ef573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af115801561173e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117669190810190613b72565b508051600654909a50909150611784906001600160a01b0316611f91565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b1580156117dc57600080fd5b505af11580156117f0573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b15801561183757600080fd5b505af115801561184b573d6000803e3d6000fd5b505060075461186592506001600160a01b03169050611f91565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b1580156118c557600080fd5b505af11580156118d9573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b15801561191f57600080fd5b505af1158015611933573d6000803e3d6000fd5b505050506119428b8b89612003565b8a6001600160a01b03166325c471a061195961301e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156119b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d69190613ae2565b8860006040518463ffffffff1660e01b81526004016119f793929190613bd5565b600060405180830381600087803b158015611a1157600080fd5b505af1158015611a25573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611a4061301e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611a99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abd9190613ae2565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611b0457600080fd5b505af1158015611b18573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611b7f94939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611b9c613096565b600080516020613e218339815191526000611bcc600080516020613e01833981519152546001600160401b031690565b90506000611bd86105fd565b9050816001600160401b0316600103611c055760028301805462ffffff191662ffffff8316179055611c53565b600283015462ffffff90811690821611611c535760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016108cd565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d2b9190613c05565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061112f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101cf613096565b600080516020613e018339815191528054600160401b810460ff1615906001600160401b0316600081158015611e6e5750825b90506000826001600160401b03166001148015611e8a5750303b155b905081158015611e98575080155b15611eb65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ee057845460ff60401b1916600160401b1785555b600086806020019051810190611ef69190613c2c565b600380546001600160a01b039093166001600160a01b0319909316831790559150611f2190896130cf565b611f31631b4612f160e31b61315c565b611f4163777fa14760e11b61315c565b508315611f8857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611ffe576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612077573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209b91906138af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156120f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121149190613b55565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa15801561217e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a2919061397d565b9050836001600160a01b03166325c471a06121bb613181565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122389190613ae2565b8360006040518463ffffffff1660e01b815260040161225993929190613bd5565b600060405180830381600087803b15801561227357600080fd5b505af1158015612287573d6000803e3d6000fd5b5060009250600291506122979050565b6040519080825280602002602001820160405280156122c0578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106122de576122de613b3f565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061231557612315613b3f565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d8583612347613181565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156123a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123c49190613ae2565b6040518463ffffffff1660e01b81526004016123e293929190613c5b565b600060405180830381600087803b1580156123fc57600080fd5b505af1158015612410573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561248a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ae91906138af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612503573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125279190613b55565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa158015612589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ad919061397d565b9050856001600160a01b03166325c471a06125c66131bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561261f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126439190613ae2565b8360006040518463ffffffff1660e01b815260040161266493929190613bd5565b600060405180830381600087803b15801561267e57600080fd5b505af1158015612692573d6000803e3d6000fd5b5060009250600491506126a29050565b6040519080825280602002602001820160405280156126cb578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106126e9576126e9613b3f565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061272057612720613b3f565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061275757612757613b3f565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061278e5761278e613b3f565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d87836127c06131bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612819573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283d9190613ae2565b6040518463ffffffff1660e01b815260040161285b93929190613c5b565b600060405180830381600087803b15801561287557600080fd5b505af1158015612889573d6000803e3d6000fd5b5060009250600591506128999050565b6040519080825280602002602001820160405280156128c2578160200160208202803683370190505b509050630cc7e61460e01b816000815181106128e0576128e0613b3f565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b908290600190811061291757612917613b3f565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b908290600290811061294e5761294e613b3f565b6001600160e01b0319909216602092830291909101909101528051630b93f83f60e01b908290600390811061298557612985613b3f565b6001600160e01b031990921660209283029190910190910152805163c860fe5d60e01b90829060049081106129bc576129bc613b3f565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d87836129ee6131bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612a47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6b9190613ae2565b6040518463ffffffff1660e01b8152600401612a8993929190613c5b565b600060405180830381600087803b158015612aa357600080fd5b505af1158015612ab7573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612b31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b5591906138af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bce9190613b55565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015612c33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c57919061397d565b9050886001600160a01b03166325c471a0612c706131f9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612cc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ced9190613ae2565b8360006040518463ffffffff1660e01b8152600401612d0e93929190613bd5565b600060405180830381600087803b158015612d2857600080fd5b505af1158015612d3c573d6000803e3d6000fd5b506000925060099150612d4c9050565b604051908082528060200260200182016040528015612d75578160200160208202803683370190505b5090506391ff6eaa60e01b81600081518110612d9357612d93613b3f565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b9082906001908110612dca57612dca613b3f565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b9082906002908110612e0157612e01613b3f565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b9082906003908110612e3857612e38613b3f565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b9082906004908110612e6f57612e6f613b3f565b6001600160e01b03199092166020928302919091019091015280516202f23560ee1b9082906005908110612ea557612ea5613b3f565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b9082906006908110612edc57612edc613b3f565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b9082906007908110612f1357612f13613b3f565b6001600160e01b0319909216602092830291909101909101526001600160a01b038a166308d6122d8a83612f456131f9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fc29190613ae2565b6040518463ffffffff1660e01b8152600401612fe093929190613c5b565b600060405180830381600087803b158015612ffa57600080fd5b505af115801561300e573d6000803e3d6000fd5b5050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613072573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106829190613ae2565b600080516020613e0183398151915254600160401b900460ff166130cd57604051631afcd79f60e31b815260040160405180910390fd5b565b60006130fd60408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6131056111b0565b604051602001613116929190613ccd565b6040516020818303038152906040529050600061313284613235565b905060006131458583603c8488886132a6565b613155631b4612f160e31b61315c565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613055565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613055565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561327c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132a0919061393c565b92915050565b6132e76301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6132f18287613372565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016133618382613d41565b50611f886303fb044760e21b61315c565b6001600160a01b0382166133c85760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016108cd565b600280546001600160a01b0319166001600160a01b0384161790556133ec816133f0565b5050565b6001546001600160a01b0316156134295760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016108cd565b6001600160a01b0381166134505760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036134865760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108cd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613500575060408051601f3d908101601f191682019092526134fd91810190613916565b60015b6135285760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108cd565b806133ec5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108cd565b50565b60006020828403121561356657600080fd5b81356001600160e01b031981168114610fdd57600080fd5b60005b83811015613599578181015183820152602001613581565b50506000910152565b600081518084526135ba81602086016020860161357e565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161361260a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526136586101208401826135a2565b9050828103602084015261366c81856135a2565b95945050505050565b602081526000610fdd60208301846135a2565b6001600160a01b038116811461355157600080fd5b6000602082840312156136af57600080fd5b8135610fdd81613688565b62ffffff8116811461355157600080fd5b6000602082840312156136dd57600080fd5b8135610fdd816136ba565b6001600160401b038116811461355157600080fd5b6001600160601b038116811461355157600080fd5b60008060006060848603121561372757600080fd5b833561373281613688565b92506020840135613742816136e8565b91506040840135613752816136fd565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156137955761379561375d565b60405290565b604051601f8201601f191681016001600160401b03811182821017156137c3576137c361375d565b604052919050565b60006001600160401b038211156137e4576137e461375d565b50601f01601f191660200190565b60008060006060848603121561380757600080fd5b833561381281613688565b9250602084013561382281613688565b915060408401356001600160401b0381111561383d57600080fd5b8401601f8101861361384e57600080fd5b803561386161385c826137cb565b61379b565b81815287602083850101111561387657600080fd5b816020840160208301376000602083830101528093505050509250925092565b6000602082840312156138a857600080fd5b5035919050565b6000602082840312156138c157600080fd5b8151610fdd816136ba565b600181811c908216806138e057607f821691505b60208210810361390057634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611ffe57600080fd5b60006020828403121561392857600080fd5b610fdd82613906565b8051611ffe816136fd565b60006020828403121561394e57600080fd5b8151610fdd816136fd565b60006020828403121561396b57600080fd5b5051919050565b8051611ffe81613688565b60006020828403121561398f57600080fd5b8151610fdd81613688565b60ff8116811461355157600080fd5b8051611ffe8161399a565b600082601f8301126139c557600080fd5b81516139d361385c826137cb565b8181528460208386010111156139e857600080fd5b6139f982602083016020870161357e565b949350505050565b600060e08284031215613a1357600080fd5b613a1b613773565b9050613a2682613931565b8152613a3460208301613931565b6020820152613a45604083016139a9565b6040820152613a5660608301613906565b6060820152613a6760808301613972565b6080820152613a7860a08301613972565b60a082015260c08201516001600160401b03811115613a9657600080fd5b613aa2848285016139b4565b60c08301525092915050565b600060208284031215613ac057600080fd5b81516001600160401b03811115613ad657600080fd5b6139f984828501613a01565b600060208284031215613af457600080fd5b8151610fdd816136e8565b60008060408385031215613b1257600080fd5b613b1b83613906565b9150602083015163ffffffff81168114613b3457600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613b6757600080fd5b8151610fdd8161399a565b60008060408385031215613b8557600080fd5b82516001600160401b0380821115613b9c57600080fd5b613ba886838701613a01565b93506020850151915080821115613bbe57600080fd5b50613bcb858286016139b4565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b600060208284031215613c1757600080fd5b815164ffffffffff81168114610fdd57600080fd5b60008060408385031215613c3f57600080fd5b8251613c4a81613688565b6020840151909250613b3481613688565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b81811015613cae5784516001600160e01b03191683529383019391830191600101613c88565b50508093505050506001600160401b0383166040830152949350505050565b604081526000613ce060408301856135a2565b905060ff831660208301529392505050565b601f821115613d3c57600081815260208120601f850160051c81016020861015613d195750805b601f850160051c820191505b81811015613d3857828155600101613d25565b5050505b505050565b81516001600160401b03811115613d5a57613d5a61375d565b613d6e81613d6884546138cc565b84613cf2565b602080601f831160018114613da35760008415613d8b5750858301515b600019600386901b1c1916600185901b178555613d38565b600085815260208120601f198616915b82811015613dd257888601518255948401946001909101908401613db3565b5085821015613df05787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c70449275cb334ae067bf1cf0fbe841b8451e16e39e145d5a80c2f9dc558e75e64736f6c63430008140033",
693
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063644c45e011610104578063a3f4df7e116100a2578063cde749f411610071578063cde749f414610572578063cf7a1d771461058c578063d6277f991461059f578063eeff428e146105b257600080fd5b8063a3f4df7e146104fe578063a745e3df1461052c578063b3c650151461053f578063b88da7591461055f57600080fd5b8063893d20e8116100de578063893d20e8146104ab57806393c48054146104b3578063946dfcfe146104c45780639c12c9c7146104eb57600080fd5b8063644c45e014610465578063656bc9ef14610490578063872309c7146104a357600080fd5b806336147088116101715780634d459c901161014b5780634d459c90146103155780634f4213331461042e57806355ad7436146104415780635ab1bd531461045457600080fd5b806336147088146102e05780633a0b4b31146102f15780633a2ff5891461030257600080fd5b8063138461e0116101ad578063138461e01461024857806317d7de7c146102525780631a77e50c146102865780631eff4b22146102ab57600080fd5b806301ffc9a7146101d45780630d8e6e2c146102165780630fec111c14610232575b600080fd5b6102016101e2366004613554565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e6105fd565b60405162ffffff909116815260200161020d565b61023a610687565b60405161020d9291906135ce565b610250610809565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b60405161020d9190613675565b6004546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b6102d27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b6007546001600160a01b0316610293565b6005546001600160a01b0316610293565b61025061031036600461369d565b610a2b565b6103d16103233660046136cb565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613e2183398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a00161020d565b61020161043c3660046136cb565b610abe565b61025061044f36600461369d565b610b71565b6001546001600160a01b0316610293565b600154600160a01b90046001600160601b03166040516001600160601b03909116815260200161020d565b61025061049e36600461369d565b610bfe565b6102d2600081565b610293610c91565b6006546001600160a01b0316610293565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102d2565b6102016104f9366004613712565b610daa565b6102796040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61025061053a3660046137f2565b610fe4565b61054761113e565b6040516001600160401b03909116815260200161020d565b61021e61056d366004613896565b61115f565b61057a6111b0565b60405160ff909116815260200161020d565b61025061059a3660046137f2565b611233565b6102506105ad36600461369d565b61133c565b6105ba6113d0565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a00161020d565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561065e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068291906138af565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528061070a6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610752610c91565b6001600160a01b0316815260200182600101805461076f906138cc565b80601f016020809104026020016040519081016040528092919081815260200182805461079b906138cc565b80156107e85780601f106107bd576101008083540402835291602001916107e8565b820191906000526020600020905b8154815290600101906020018083116107cb57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f9190613916565b156108d6576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166108ff5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610948573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096c9190613916565b610994576040516372657a5160e01b81526001600160a01b03821660048201526024016108cd565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156109de573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a02919061393c565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6007546001600160a01b031615610a9c5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108cd565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600080600080516020613e2183398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610b46573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6a9190613959565b1192915050565b6005546001600160a01b031615610bdc5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016108cd565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610c6f5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108cd565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610cf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1a9190613916565b15610d9a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610d76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610682919061397d565b506002546001600160a01b031690565b600080610dbf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610e0e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e369190810190613aae565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610e86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eaa919061397d565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610f1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f3f9190613ae2565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610f91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb59190613aff565b909250905063ffffffff811615610fd55760009650505050505050610fdd565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6110066105fd565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611046573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106a9190613ae2565b600080516020613e018339815191528054600160401b900460ff168061109d575080546001600160401b03808416911610155b156110bb5760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556110e68585611b94565b6110ef83611e33565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b6000610682600080516020613e01833981519152546001600160401b031690565b6000600080516020613e21833981519152600101828154811061118457611184613b3f565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006111ba6105fd565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561120f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106829190613b55565b600080516020613e018339815191528054600160401b810460ff1615906001600160401b03166000811580156112665750825b90506000826001600160401b031660011480156112825750303b155b905081158015611290575080155b156112ae5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112d857845460ff60401b1916600160401b1785555b6112e28888611b94565b6112ec8787611e3b565b831561133257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b6006546001600160a01b0316156113ae5760405162461bcd60e51b815260206004820152603060248201527f4552524f523a4352442d3030333a494e5354414e43455f5245414445525f4d4160448201526f14d5115497d053149150511657d4d15560821b60648201526084016108cd565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa15801561142a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144e919061393c565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156114c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e691906138af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561153b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155f9190613b55565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156115c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e9919061397d565b6004549091508190611603906001600160a01b0316611f91565b60405163189acdbd60e31b8152306004820152909a506001600160a01b038b169063c4d66de890602401600060405180830381600087803b15801561164757600080fd5b505af115801561165b573d6000803e3d6000fd5b505060055461167592506001600160a01b03169050611f91565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b1580156116db57600080fd5b505af11580156116ef573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af115801561173e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526117669190810190613b72565b508051600654909a50909150611784906001600160a01b0316611f91565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b1580156117dc57600080fd5b505af11580156117f0573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b15801561183757600080fd5b505af115801561184b573d6000803e3d6000fd5b505060075461186592506001600160a01b03169050611f91565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b1580156118c557600080fd5b505af11580156118d9573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b15801561191f57600080fd5b505af1158015611933573d6000803e3d6000fd5b505050506119428b8b89612003565b8a6001600160a01b03166325c471a061195961301e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156119b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d69190613ae2565b8860006040518463ffffffff1660e01b81526004016119f793929190613bd5565b600060405180830381600087803b158015611a1157600080fd5b505af1158015611a25573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611a4061301e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611a99573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abd9190613ae2565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611b0457600080fd5b505af1158015611b18573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611b7f94939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611b9c613096565b600080516020613e218339815191526000611bcc600080516020613e01833981519152546001600160401b031690565b90506000611bd86105fd565b9050816001600160401b0316600103611c055760028301805462ffffff191662ffffff8316179055611c53565b600283015462ffffff90811690821611611c535760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016108cd565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611d07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d2b9190613c05565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061112f9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101cf613096565b600080516020613e018339815191528054600160401b810460ff1615906001600160401b0316600081158015611e6e5750825b90506000826001600160401b03166001148015611e8a5750303b155b905081158015611e98575080155b15611eb65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ee057845460ff60401b1916600160401b1785555b600086806020019051810190611ef69190613c2c565b600380546001600160a01b039093166001600160a01b0319909316831790559150611f2190896130cf565b611f31631b4612f160e31b61315c565b611f4163777fa14760e11b61315c565b508315611f8857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611ffe576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612077573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209b91906138af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156120f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121149190613b55565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa15801561217e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121a2919061397d565b9050836001600160a01b03166325c471a06121bb613181565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612214573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122389190613ae2565b8360006040518463ffffffff1660e01b815260040161225993929190613bd5565b600060405180830381600087803b15801561227357600080fd5b505af1158015612287573d6000803e3d6000fd5b5060009250600291506122979050565b6040519080825280602002602001820160405280156122c0578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106122de576122de613b3f565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b908290600190811061231557612315613b3f565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d8583612347613181565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156123a0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123c49190613ae2565b6040518463ffffffff1660e01b81526004016123e293929190613c5b565b600060405180830381600087803b1580156123fc57600080fd5b505af1158015612410573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561248a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124ae91906138af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612503573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125279190613b55565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa158015612589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125ad919061397d565b9050856001600160a01b03166325c471a06125c66131bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561261f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126439190613ae2565b8360006040518463ffffffff1660e01b815260040161266493929190613bd5565b600060405180830381600087803b15801561267e57600080fd5b505af1158015612692573d6000803e3d6000fd5b5060009250600491506126a29050565b6040519080825280602002602001820160405280156126cb578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106126e9576126e9613b3f565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061272057612720613b3f565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061275757612757613b3f565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061278e5761278e613b3f565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d87836127c06131bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612819573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061283d9190613ae2565b6040518463ffffffff1660e01b815260040161285b93929190613c5b565b600060405180830381600087803b15801561287557600080fd5b505af1158015612889573d6000803e3d6000fd5b5060009250600591506128999050565b6040519080825280602002602001820160405280156128c2578160200160208202803683370190505b509050630cc7e61460e01b816000815181106128e0576128e0613b3f565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b908290600190811061291757612917613b3f565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b908290600290811061294e5761294e613b3f565b6001600160e01b0319909216602092830291909101909101528051630b93f83f60e01b908290600390811061298557612985613b3f565b6001600160e01b031990921660209283029190910190910152805163c860fe5d60e01b90829060049081106129bc576129bc613b3f565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d87836129ee6131bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612a47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a6b9190613ae2565b6040518463ffffffff1660e01b8152600401612a8993929190613c5b565b600060405180830381600087803b158015612aa357600080fd5b505af1158015612ab7573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612b31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b5591906138af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612baa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bce9190613b55565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015612c33573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c57919061397d565b9050886001600160a01b03166325c471a0612c706131f9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612cc9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ced9190613ae2565b8360006040518463ffffffff1660e01b8152600401612d0e93929190613bd5565b600060405180830381600087803b158015612d2857600080fd5b505af1158015612d3c573d6000803e3d6000fd5b506000925060099150612d4c9050565b604051908082528060200260200182016040528015612d75578160200160208202803683370190505b5090506391ff6eaa60e01b81600081518110612d9357612d93613b3f565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b9082906001908110612dca57612dca613b3f565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b9082906002908110612e0157612e01613b3f565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b9082906003908110612e3857612e38613b3f565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b9082906004908110612e6f57612e6f613b3f565b6001600160e01b03199092166020928302919091019091015280516202f23560ee1b9082906005908110612ea557612ea5613b3f565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b9082906006908110612edc57612edc613b3f565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b9082906007908110612f1357612f13613b3f565b6001600160e01b0319909216602092830291909101909101526001600160a01b038a166308d6122d8a83612f456131f9565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612f9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fc29190613ae2565b6040518463ffffffff1660e01b8152600401612fe093929190613c5b565b600060405180830381600087803b158015612ffa57600080fd5b505af115801561300e573d6000803e3d6000fd5b5050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613072573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106829190613ae2565b600080516020613e0183398151915254600160401b900460ff166130cd57604051631afcd79f60e31b815260040160405180910390fd5b565b60006130fd60408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6131056111b0565b604051602001613116929190613ccd565b6040516020818303038152906040529050600061313284613235565b905060006131458583603c8488886132a6565b613155631b4612f160e31b61315c565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613055565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613055565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa15801561327c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132a0919061393c565b92915050565b6132e76301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6132f18287613372565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016133618382613d41565b50611f886303fb044760e21b61315c565b6001600160a01b0382166133c85760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016108cd565b600280546001600160a01b0319166001600160a01b0384161790556133ec816133f0565b5050565b6001546001600160a01b0316156134295760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016108cd565b6001600160a01b0381166134505760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036134865760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108cd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613500575060408051601f3d908101601f191682019092526134fd91810190613916565b60015b6135285760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108cd565b806133ec5760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108cd565b50565b60006020828403121561356657600080fd5b81356001600160e01b031981168114610fdd57600080fd5b60005b83811015613599578181015183820152602001613581565b50506000910152565b600081518084526135ba81602086016020860161357e565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161361260a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526136586101208401826135a2565b9050828103602084015261366c81856135a2565b95945050505050565b602081526000610fdd60208301846135a2565b6001600160a01b038116811461355157600080fd5b6000602082840312156136af57600080fd5b8135610fdd81613688565b62ffffff8116811461355157600080fd5b6000602082840312156136dd57600080fd5b8135610fdd816136ba565b6001600160401b038116811461355157600080fd5b6001600160601b038116811461355157600080fd5b60008060006060848603121561372757600080fd5b833561373281613688565b92506020840135613742816136e8565b91506040840135613752816136fd565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156137955761379561375d565b60405290565b604051601f8201601f191681016001600160401b03811182821017156137c3576137c361375d565b604052919050565b60006001600160401b038211156137e4576137e461375d565b50601f01601f191660200190565b60008060006060848603121561380757600080fd5b833561381281613688565b9250602084013561382281613688565b915060408401356001600160401b0381111561383d57600080fd5b8401601f8101861361384e57600080fd5b803561386161385c826137cb565b61379b565b81815287602083850101111561387657600080fd5b816020840160208301376000602083830101528093505050509250925092565b6000602082840312156138a857600080fd5b5035919050565b6000602082840312156138c157600080fd5b8151610fdd816136ba565b600181811c908216806138e057607f821691505b60208210810361390057634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611ffe57600080fd5b60006020828403121561392857600080fd5b610fdd82613906565b8051611ffe816136fd565b60006020828403121561394e57600080fd5b8151610fdd816136fd565b60006020828403121561396b57600080fd5b5051919050565b8051611ffe81613688565b60006020828403121561398f57600080fd5b8151610fdd81613688565b60ff8116811461355157600080fd5b8051611ffe8161399a565b600082601f8301126139c557600080fd5b81516139d361385c826137cb565b8181528460208386010111156139e857600080fd5b6139f982602083016020870161357e565b949350505050565b600060e08284031215613a1357600080fd5b613a1b613773565b9050613a2682613931565b8152613a3460208301613931565b6020820152613a45604083016139a9565b6040820152613a5660608301613906565b6060820152613a6760808301613972565b6080820152613a7860a08301613972565b60a082015260c08201516001600160401b03811115613a9657600080fd5b613aa2848285016139b4565b60c08301525092915050565b600060208284031215613ac057600080fd5b81516001600160401b03811115613ad657600080fd5b6139f984828501613a01565b600060208284031215613af457600080fd5b8151610fdd816136e8565b60008060408385031215613b1257600080fd5b613b1b83613906565b9150602083015163ffffffff81168114613b3457600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613b6757600080fd5b8151610fdd8161399a565b60008060408385031215613b8557600080fd5b82516001600160401b0380821115613b9c57600080fd5b613ba886838701613a01565b93506020850151915080821115613bbe57600080fd5b50613bcb858286016139b4565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b600060208284031215613c1757600080fd5b815164ffffffffff81168114610fdd57600080fd5b60008060408385031215613c3f57600080fd5b8251613c4a81613688565b6020840151909250613b3481613688565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b81811015613cae5784516001600160e01b03191683529383019391830191600101613c88565b50508093505050506001600160401b0383166040830152949350505050565b604081526000613ce060408301856135a2565b905060ff831660208301529392505050565b601f821115613d3c57600081815260208120601f850160051c81016020861015613d195750805b601f850160051c820191505b81811015613d3857828155600101613d25565b5050505b505050565b81516001600160401b03811115613d5a57613d5a61375d565b613d6e81613d6884546138cc565b84613cf2565b602080601f831160018114613da35760008415613d8b5750858301515b600019600386901b1c1916600185901b178555613d38565b600085815260208120601f198616915b82811015613dd257888601518255948401946001909101908401613db3565b5085821015613df05787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220c70449275cb334ae067bf1cf0fbe841b8451e16e39e145d5a80c2f9dc558e75e64736f6c63430008140033",
694
+ "linkReferences": {
695
+ "contracts/types/Blocknumber.sol": {
696
+ "BlocknumberLib": [
697
+ {
698
+ "length": 20,
699
+ "start": 3142
700
+ }
701
+ ]
702
+ },
703
+ "contracts/types/NftId.sol": {
704
+ "NftIdLib": [
705
+ {
706
+ "length": 20,
707
+ "start": 2411
708
+ },
709
+ {
710
+ "length": 20,
711
+ "start": 3574
712
+ }
713
+ ]
714
+ },
715
+ "contracts/types/RoleId.sol": {
716
+ "RoleIdLib": [
717
+ {
718
+ "length": 20,
719
+ "start": 4123
720
+ },
721
+ {
722
+ "length": 20,
723
+ "start": 6834
724
+ },
725
+ {
726
+ "length": 20,
727
+ "start": 7065
728
+ },
729
+ {
730
+ "length": 20,
731
+ "start": 8980
732
+ },
733
+ {
734
+ "length": 20,
735
+ "start": 9376
736
+ },
737
+ {
738
+ "length": 20,
739
+ "start": 10015
740
+ },
741
+ {
742
+ "length": 20,
743
+ "start": 10521
744
+ },
745
+ {
746
+ "length": 20,
747
+ "start": 11079
748
+ },
749
+ {
750
+ "length": 20,
751
+ "start": 11721
752
+ },
753
+ {
754
+ "length": 20,
755
+ "start": 12446
756
+ },
757
+ {
758
+ "length": 20,
759
+ "start": 12657
760
+ },
761
+ {
762
+ "length": 20,
763
+ "start": 13013
764
+ },
765
+ {
766
+ "length": 20,
767
+ "start": 13073
768
+ },
769
+ {
770
+ "length": 20,
771
+ "start": 13133
772
+ }
773
+ ]
774
+ },
775
+ "contracts/types/Timestamp.sol": {
776
+ "TimestampLib": [
777
+ {
778
+ "length": 20,
779
+ "start": 7687
780
+ }
781
+ ]
782
+ },
783
+ "contracts/types/Version.sol": {
784
+ "VersionLib": [
785
+ {
786
+ "length": 20,
787
+ "start": 1886
788
+ },
789
+ {
790
+ "length": 20,
791
+ "start": 4384
792
+ },
793
+ {
794
+ "length": 20,
795
+ "start": 4879
796
+ },
797
+ {
798
+ "length": 20,
799
+ "start": 5570
800
+ },
801
+ {
802
+ "length": 20,
803
+ "start": 5691
804
+ },
805
+ {
806
+ "length": 20,
807
+ "start": 8567
808
+ },
809
+ {
810
+ "length": 20,
811
+ "start": 8688
812
+ },
813
+ {
814
+ "length": 20,
815
+ "start": 9610
816
+ },
817
+ {
818
+ "length": 20,
819
+ "start": 9731
820
+ },
821
+ {
822
+ "length": 20,
823
+ "start": 11313
824
+ },
825
+ {
826
+ "length": 20,
827
+ "start": 11434
828
+ }
829
+ ]
830
+ }
831
+ },
832
+ "deployedLinkReferences": {
833
+ "contracts/types/Blocknumber.sol": {
834
+ "BlocknumberLib": [
835
+ {
836
+ "length": 20,
837
+ "start": 2828
838
+ }
839
+ ]
840
+ },
841
+ "contracts/types/NftId.sol": {
842
+ "NftIdLib": [
843
+ {
844
+ "length": 20,
845
+ "start": 2097
846
+ },
847
+ {
848
+ "length": 20,
849
+ "start": 3260
850
+ }
851
+ ]
852
+ },
853
+ "contracts/types/RoleId.sol": {
854
+ "RoleIdLib": [
855
+ {
856
+ "length": 20,
857
+ "start": 3809
858
+ },
859
+ {
860
+ "length": 20,
861
+ "start": 6520
862
+ },
863
+ {
864
+ "length": 20,
865
+ "start": 6751
866
+ },
867
+ {
868
+ "length": 20,
869
+ "start": 8666
870
+ },
871
+ {
872
+ "length": 20,
873
+ "start": 9062
874
+ },
875
+ {
876
+ "length": 20,
877
+ "start": 9701
878
+ },
879
+ {
880
+ "length": 20,
881
+ "start": 10207
882
+ },
883
+ {
884
+ "length": 20,
885
+ "start": 10765
886
+ },
887
+ {
888
+ "length": 20,
889
+ "start": 11407
890
+ },
891
+ {
892
+ "length": 20,
893
+ "start": 12132
894
+ },
895
+ {
896
+ "length": 20,
897
+ "start": 12343
898
+ },
899
+ {
900
+ "length": 20,
901
+ "start": 12699
902
+ },
903
+ {
904
+ "length": 20,
905
+ "start": 12759
906
+ },
907
+ {
908
+ "length": 20,
909
+ "start": 12819
910
+ }
911
+ ]
912
+ },
913
+ "contracts/types/Timestamp.sol": {
914
+ "TimestampLib": [
915
+ {
916
+ "length": 20,
917
+ "start": 7373
918
+ }
919
+ ]
920
+ },
921
+ "contracts/types/Version.sol": {
922
+ "VersionLib": [
923
+ {
924
+ "length": 20,
925
+ "start": 1572
926
+ },
927
+ {
928
+ "length": 20,
929
+ "start": 4070
930
+ },
931
+ {
932
+ "length": 20,
933
+ "start": 4565
934
+ },
935
+ {
936
+ "length": 20,
937
+ "start": 5256
938
+ },
939
+ {
940
+ "length": 20,
941
+ "start": 5377
942
+ },
943
+ {
944
+ "length": 20,
945
+ "start": 8253
946
+ },
947
+ {
948
+ "length": 20,
949
+ "start": 8374
950
+ },
951
+ {
952
+ "length": 20,
953
+ "start": 9296
954
+ },
955
+ {
956
+ "length": 20,
957
+ "start": 9417
958
+ },
959
+ {
960
+ "length": 20,
961
+ "start": 10999
962
+ },
963
+ {
964
+ "length": 20,
965
+ "start": 11120
966
+ }
967
+ ]
968
+ }
969
+ }
970
+ }