@etherisc/gif-next 0.0.2-f0d86c2-077 → 0.0.2-f5a74cc-201

Sign up to get free protection for your applications and to get access to all the features.
Files changed (389) hide show
  1. package/README.md +242 -11
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +302 -23
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +744 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +217 -23
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +90 -171
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +55 -177
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +615 -63
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +620 -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/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  45. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  46. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  47. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +775 -0
  48. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  49. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  50. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  51. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  52. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +923 -1091
  54. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  55. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +448 -0
  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 +2565 -1218
  60. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +940 -0
  62. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  63. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +763 -0
  64. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1422 -0
  66. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +983 -0
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +512 -0
  70. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +272 -0
  72. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +276 -36
  74. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  75. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +51 -1
  76. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  77. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  78. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  79. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  80. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  81. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  82. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  83. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  84. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  85. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  87. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  88. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  89. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  90. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  91. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  92. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  93. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  94. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  95. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  96. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  97. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +381 -77
  99. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +716 -0
  101. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +444 -0
  103. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +177 -75
  105. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  106. package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IDistributionService.sol/IDistributionService.json} +204 -58
  107. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +401 -49
  109. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  110. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +334 -51
  111. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  112. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +629 -51
  113. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  114. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +464 -0
  115. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  116. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +552 -78
  117. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +488 -0
  119. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  120. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  121. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +377 -37
  123. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  124. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +947 -0
  125. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  126. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  127. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  128. package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -123
  129. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  130. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1293 -0
  131. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +517 -0
  133. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  135. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  136. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  137. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  138. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  139. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  140. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  141. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  143. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  144. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +175 -54
  145. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  147. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  148. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  153. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  154. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +199 -83
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  156. package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  163. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  165. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  167. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  168. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  169. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestService.sol/TestService.json +283 -62
  171. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  173. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  175. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  177. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  178. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  179. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  180. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  184. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  186. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  187. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  188. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  190. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  191. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  192. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  194. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  196. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  198. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  200. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  206. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  208. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  210. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  214. package/contracts/components/BaseComponent.sol +75 -31
  215. package/contracts/components/Distribution.sol +163 -0
  216. package/contracts/components/IBaseComponent.sol +15 -3
  217. package/contracts/components/IDistributionComponent.sol +44 -0
  218. package/contracts/components/IPoolComponent.sol +19 -10
  219. package/contracts/components/IProductComponent.sol +25 -9
  220. package/contracts/components/Pool.sol +126 -33
  221. package/contracts/components/Product.sol +204 -32
  222. package/contracts/experiment/cloning/Cloner.sol +47 -0
  223. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
  224. package/contracts/instance/BundleManager.sol +129 -0
  225. package/contracts/instance/Cloneable.sol +46 -0
  226. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  227. package/contracts/instance/IInstance.sol +49 -45
  228. package/contracts/instance/IInstanceBase.sol +26 -0
  229. package/contracts/instance/IInstanceService.sol +32 -0
  230. package/contracts/instance/Instance.sol +438 -51
  231. package/contracts/instance/InstanceAccessManager.sol +288 -0
  232. package/contracts/instance/InstanceBase.sol +41 -0
  233. package/contracts/instance/InstanceReader.sol +315 -0
  234. package/contracts/instance/InstanceService.sol +239 -0
  235. package/contracts/instance/InstanceServiceManager.sol +57 -0
  236. package/contracts/instance/ObjectManager.sol +95 -0
  237. package/contracts/instance/base/ComponentServiceBase.sol +102 -10
  238. package/contracts/instance/base/IInstanceBase.sol +11 -2
  239. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  240. package/contracts/instance/base/ILifecycle.sol +3 -3
  241. package/contracts/instance/base/KeyValueStore.sol +53 -37
  242. package/contracts/instance/base/Lifecycle.sol +16 -11
  243. package/contracts/instance/module/IAccess.sol +38 -0
  244. package/contracts/instance/module/IBundle.sol +20 -0
  245. package/contracts/instance/module/IDistribution.sol +39 -0
  246. package/contracts/instance/module/IPolicy.sol +45 -0
  247. package/contracts/instance/module/IRisk.sol +11 -0
  248. package/contracts/instance/module/ISetup.sol +46 -0
  249. package/contracts/instance/module/ITreasury.sol +23 -0
  250. package/contracts/instance/service/ComponentOwnerService.sol +244 -97
  251. package/contracts/instance/service/DistributionService.sol +88 -0
  252. package/contracts/instance/service/DistributionServiceManager.sol +54 -0
  253. package/contracts/instance/service/IComponentOwnerService.sol +1 -3
  254. package/contracts/instance/service/IDistributionService.sol +12 -0
  255. package/contracts/instance/service/IPoolService.sol +24 -3
  256. package/contracts/instance/service/IProductService.sol +59 -7
  257. package/contracts/instance/service/PoolService.sol +206 -42
  258. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  259. package/contracts/instance/service/ProductService.sol +349 -133
  260. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  261. package/contracts/registry/ChainNft.sol +80 -37
  262. package/contracts/registry/IRegistry.sol +49 -25
  263. package/contracts/registry/IRegistryService.sol +50 -0
  264. package/contracts/registry/ITransferInterceptor.sol +6 -0
  265. package/contracts/registry/Registry.sol +337 -270
  266. package/contracts/registry/RegistryService.sol +358 -0
  267. package/contracts/registry/RegistryServiceManager.sol +80 -0
  268. package/contracts/registry/TokenRegistry.sol +111 -0
  269. package/contracts/shared/ContractDeployerLib.sol +72 -0
  270. package/contracts/shared/ERC165.sol +6 -2
  271. package/contracts/shared/INftOwnable.sol +22 -0
  272. package/contracts/shared/IRegisterable.sol +8 -15
  273. package/contracts/{instance/base → shared}/IService.sol +3 -3
  274. package/contracts/shared/IVersionable.sol +55 -11
  275. package/contracts/shared/NftOwnable.sol +134 -0
  276. package/contracts/shared/ProxyManager.sol +94 -0
  277. package/contracts/shared/Registerable.sol +63 -59
  278. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  279. package/contracts/shared/Service.sol +55 -0
  280. package/contracts/shared/TokenHandler.sol +27 -0
  281. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  282. package/contracts/shared/Versionable.sol +113 -55
  283. package/contracts/test/TestFee.sol +2 -2
  284. package/contracts/test/TestRegisterable.sol +5 -6
  285. package/contracts/test/TestRoleId.sol +1 -1
  286. package/contracts/test/TestService.sol +5 -13
  287. package/contracts/types/DistributorType.sol +55 -0
  288. package/contracts/types/Fee.sol +10 -5
  289. package/contracts/types/Key32.sol +8 -3
  290. package/contracts/types/NftIdSet.sol +26 -24
  291. package/contracts/types/NumberId.sol +52 -0
  292. package/contracts/types/ObjectType.sol +51 -14
  293. package/contracts/types/Referral.sol +85 -0
  294. package/contracts/types/RiskId.sol +43 -0
  295. package/contracts/types/RoleId.sol +62 -10
  296. package/contracts/types/StateId.sol +5 -1
  297. package/contracts/types/Timestamp.sol +7 -3
  298. package/contracts/types/UFixed.sol +128 -12
  299. package/contracts/types/Version.sol +13 -1
  300. package/package.json +4 -3
  301. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  302. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  303. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  304. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  305. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  306. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  307. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  308. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  309. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  310. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  311. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  312. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  313. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  314. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  315. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  316. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  317. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  318. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  319. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  320. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  321. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  322. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  323. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  324. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  325. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  326. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  327. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  328. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  329. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  330. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  332. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  333. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  334. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  335. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  336. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  338. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  340. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  341. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  342. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  343. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  344. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  345. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  346. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  347. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  348. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  349. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  350. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  352. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  353. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  354. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  355. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  356. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  357. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  358. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  359. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  360. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  361. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  362. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  363. package/contracts/experiment/statemachine/README.md +0 -112
  364. package/contracts/instance/IInstanceLinked.sol +0 -8
  365. package/contracts/instance/base/InstanceBase.sol +0 -80
  366. package/contracts/instance/base/ModuleBase.sol +0 -52
  367. package/contracts/instance/base/ServiceBase.sol +0 -37
  368. package/contracts/instance/module/access/Access.sol +0 -149
  369. package/contracts/instance/module/access/IAccess.sol +0 -53
  370. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  371. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  372. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  373. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  374. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  375. package/contracts/instance/module/component/IComponent.sol +0 -53
  376. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  377. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  378. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  379. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  380. package/contracts/instance/module/risk/IRisk.sol +0 -10
  381. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  382. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  383. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  384. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  385. package/contracts/registry/IChainNft.sol +0 -21
  386. package/contracts/registry/IRegistryLinked.sol +0 -8
  387. package/contracts/shared/IOwnable.sol +0 -6
  388. package/contracts/test/TestPool.sol +0 -22
  389. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,983 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "InstanceService",
4
+ "sourceName": "contracts/instance/InstanceService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "ERC1167FailedCreateClone",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "address",
15
+ "name": "registry",
16
+ "type": "address"
17
+ },
18
+ {
19
+ "internalType": "NftId",
20
+ "name": "nftId",
21
+ "type": "uint96"
22
+ }
23
+ ],
24
+ "name": "ErrorAlreadyLinked",
25
+ "type": "error"
26
+ },
27
+ {
28
+ "inputs": [
29
+ {
30
+ "internalType": "address",
31
+ "name": "contractAddress",
32
+ "type": "address"
33
+ }
34
+ ],
35
+ "name": "ErrorContractNotRegistered",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "account",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorNotOwner",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "registryAddress",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorNotRegistry",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "registryAddress",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorRegisterableNotRegistry",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorRegistryAddressZero",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "registry",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorRegistryAlreadyInitialized",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "ErrorRegistryNotInitialized",
90
+ "type": "error"
91
+ },
92
+ {
93
+ "inputs": [],
94
+ "name": "InvalidInitialization",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [],
99
+ "name": "NotInitializing",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "anonymous": false,
104
+ "inputs": [
105
+ {
106
+ "indexed": false,
107
+ "internalType": "uint64",
108
+ "name": "version",
109
+ "type": "uint64"
110
+ }
111
+ ],
112
+ "name": "Initialized",
113
+ "type": "event"
114
+ },
115
+ {
116
+ "anonymous": false,
117
+ "inputs": [
118
+ {
119
+ "indexed": false,
120
+ "internalType": "address",
121
+ "name": "clonedAccessManagerAddress",
122
+ "type": "address"
123
+ },
124
+ {
125
+ "indexed": false,
126
+ "internalType": "address",
127
+ "name": "clonedInstanceAddress",
128
+ "type": "address"
129
+ },
130
+ {
131
+ "indexed": false,
132
+ "internalType": "address",
133
+ "name": "clonedInstanceReaderAddress",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "indexed": false,
138
+ "internalType": "NftId",
139
+ "name": "clonedInstanceNftId",
140
+ "type": "uint96"
141
+ }
142
+ ],
143
+ "name": "LogInstanceCloned",
144
+ "type": "event"
145
+ },
146
+ {
147
+ "anonymous": false,
148
+ "inputs": [
149
+ {
150
+ "indexed": false,
151
+ "internalType": "Version",
152
+ "name": "version",
153
+ "type": "uint24"
154
+ },
155
+ {
156
+ "indexed": false,
157
+ "internalType": "address",
158
+ "name": "implementation",
159
+ "type": "address"
160
+ },
161
+ {
162
+ "indexed": false,
163
+ "internalType": "address",
164
+ "name": "activatedBy",
165
+ "type": "address"
166
+ }
167
+ ],
168
+ "name": "LogVersionableInitialized",
169
+ "type": "event"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "INSTANCE_CREATION_CODE_HASH",
174
+ "outputs": [
175
+ {
176
+ "internalType": "bytes32",
177
+ "name": "",
178
+ "type": "bytes32"
179
+ }
180
+ ],
181
+ "stateMutability": "view",
182
+ "type": "function"
183
+ },
184
+ {
185
+ "inputs": [],
186
+ "name": "NAME",
187
+ "outputs": [
188
+ {
189
+ "internalType": "string",
190
+ "name": "",
191
+ "type": "string"
192
+ }
193
+ ],
194
+ "stateMutability": "view",
195
+ "type": "function"
196
+ },
197
+ {
198
+ "inputs": [],
199
+ "name": "REGISTERABLE_LOCATION_V1",
200
+ "outputs": [
201
+ {
202
+ "internalType": "bytes32",
203
+ "name": "",
204
+ "type": "bytes32"
205
+ }
206
+ ],
207
+ "stateMutability": "view",
208
+ "type": "function"
209
+ },
210
+ {
211
+ "inputs": [],
212
+ "name": "createInstanceClone",
213
+ "outputs": [
214
+ {
215
+ "internalType": "contract AccessManagerUpgradeableInitializeable",
216
+ "name": "clonedAccessManager",
217
+ "type": "address"
218
+ },
219
+ {
220
+ "internalType": "contract Instance",
221
+ "name": "clonedInstance",
222
+ "type": "address"
223
+ },
224
+ {
225
+ "internalType": "NftId",
226
+ "name": "clonedInstanceNftId",
227
+ "type": "uint96"
228
+ },
229
+ {
230
+ "internalType": "contract InstanceReader",
231
+ "name": "clonedInstanceReader",
232
+ "type": "address"
233
+ },
234
+ {
235
+ "internalType": "contract BundleManager",
236
+ "name": "clonedBundleManager",
237
+ "type": "address"
238
+ }
239
+ ],
240
+ "stateMutability": "nonpayable",
241
+ "type": "function"
242
+ },
243
+ {
244
+ "inputs": [],
245
+ "name": "getAccessManagerMaster",
246
+ "outputs": [
247
+ {
248
+ "internalType": "address",
249
+ "name": "",
250
+ "type": "address"
251
+ }
252
+ ],
253
+ "stateMutability": "view",
254
+ "type": "function"
255
+ },
256
+ {
257
+ "inputs": [],
258
+ "name": "getBundleManagerMaster",
259
+ "outputs": [
260
+ {
261
+ "internalType": "address",
262
+ "name": "",
263
+ "type": "address"
264
+ }
265
+ ],
266
+ "stateMutability": "view",
267
+ "type": "function"
268
+ },
269
+ {
270
+ "inputs": [],
271
+ "name": "getInitialInfo",
272
+ "outputs": [
273
+ {
274
+ "components": [
275
+ {
276
+ "internalType": "NftId",
277
+ "name": "nftId",
278
+ "type": "uint96"
279
+ },
280
+ {
281
+ "internalType": "NftId",
282
+ "name": "parentNftId",
283
+ "type": "uint96"
284
+ },
285
+ {
286
+ "internalType": "ObjectType",
287
+ "name": "objectType",
288
+ "type": "uint8"
289
+ },
290
+ {
291
+ "internalType": "bool",
292
+ "name": "isInterceptor",
293
+ "type": "bool"
294
+ },
295
+ {
296
+ "internalType": "address",
297
+ "name": "objectAddress",
298
+ "type": "address"
299
+ },
300
+ {
301
+ "internalType": "address",
302
+ "name": "initialOwner",
303
+ "type": "address"
304
+ },
305
+ {
306
+ "internalType": "bytes",
307
+ "name": "data",
308
+ "type": "bytes"
309
+ }
310
+ ],
311
+ "internalType": "struct IRegistry.ObjectInfo",
312
+ "name": "",
313
+ "type": "tuple"
314
+ },
315
+ {
316
+ "internalType": "bytes",
317
+ "name": "data",
318
+ "type": "bytes"
319
+ }
320
+ ],
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "inputs": [],
326
+ "name": "getInitializedVersion",
327
+ "outputs": [
328
+ {
329
+ "internalType": "uint64",
330
+ "name": "",
331
+ "type": "uint64"
332
+ }
333
+ ],
334
+ "stateMutability": "view",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [],
339
+ "name": "getInstanceMaster",
340
+ "outputs": [
341
+ {
342
+ "internalType": "address",
343
+ "name": "",
344
+ "type": "address"
345
+ }
346
+ ],
347
+ "stateMutability": "view",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [],
352
+ "name": "getInstanceReaderMaster",
353
+ "outputs": [
354
+ {
355
+ "internalType": "address",
356
+ "name": "",
357
+ "type": "address"
358
+ }
359
+ ],
360
+ "stateMutability": "view",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "inputs": [],
365
+ "name": "getMajorVersion",
366
+ "outputs": [
367
+ {
368
+ "internalType": "VersionPart",
369
+ "name": "majorVersion",
370
+ "type": "uint8"
371
+ }
372
+ ],
373
+ "stateMutability": "view",
374
+ "type": "function"
375
+ },
376
+ {
377
+ "inputs": [],
378
+ "name": "getName",
379
+ "outputs": [
380
+ {
381
+ "internalType": "string",
382
+ "name": "",
383
+ "type": "string"
384
+ }
385
+ ],
386
+ "stateMutability": "pure",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "getNftId",
392
+ "outputs": [
393
+ {
394
+ "internalType": "NftId",
395
+ "name": "",
396
+ "type": "uint96"
397
+ }
398
+ ],
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "getOwner",
405
+ "outputs": [
406
+ {
407
+ "internalType": "address",
408
+ "name": "",
409
+ "type": "address"
410
+ }
411
+ ],
412
+ "stateMutability": "view",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [],
417
+ "name": "getRegistry",
418
+ "outputs": [
419
+ {
420
+ "internalType": "contract IRegistry",
421
+ "name": "",
422
+ "type": "address"
423
+ }
424
+ ],
425
+ "stateMutability": "view",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [],
430
+ "name": "getVersion",
431
+ "outputs": [
432
+ {
433
+ "internalType": "Version",
434
+ "name": "",
435
+ "type": "uint24"
436
+ }
437
+ ],
438
+ "stateMutability": "pure",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [
443
+ {
444
+ "internalType": "uint256",
445
+ "name": "idx",
446
+ "type": "uint256"
447
+ }
448
+ ],
449
+ "name": "getVersion",
450
+ "outputs": [
451
+ {
452
+ "internalType": "Version",
453
+ "name": "",
454
+ "type": "uint24"
455
+ }
456
+ ],
457
+ "stateMutability": "view",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [],
462
+ "name": "getVersionCount",
463
+ "outputs": [
464
+ {
465
+ "internalType": "uint256",
466
+ "name": "",
467
+ "type": "uint256"
468
+ }
469
+ ],
470
+ "stateMutability": "view",
471
+ "type": "function"
472
+ },
473
+ {
474
+ "inputs": [
475
+ {
476
+ "internalType": "Version",
477
+ "name": "_version",
478
+ "type": "uint24"
479
+ }
480
+ ],
481
+ "name": "getVersionInfo",
482
+ "outputs": [
483
+ {
484
+ "components": [
485
+ {
486
+ "internalType": "Version",
487
+ "name": "version",
488
+ "type": "uint24"
489
+ },
490
+ {
491
+ "internalType": "address",
492
+ "name": "implementation",
493
+ "type": "address"
494
+ },
495
+ {
496
+ "internalType": "address",
497
+ "name": "activatedBy",
498
+ "type": "address"
499
+ },
500
+ {
501
+ "internalType": "Timestamp",
502
+ "name": "activatedAt",
503
+ "type": "uint40"
504
+ },
505
+ {
506
+ "internalType": "Blocknumber",
507
+ "name": "activatedIn",
508
+ "type": "uint32"
509
+ }
510
+ ],
511
+ "internalType": "struct IVersionable.VersionInfo",
512
+ "name": "",
513
+ "type": "tuple"
514
+ }
515
+ ],
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ },
519
+ {
520
+ "inputs": [
521
+ {
522
+ "internalType": "address",
523
+ "name": "account",
524
+ "type": "address"
525
+ },
526
+ {
527
+ "internalType": "RoleId",
528
+ "name": "role",
529
+ "type": "uint64"
530
+ },
531
+ {
532
+ "internalType": "NftId",
533
+ "name": "instanceNftId",
534
+ "type": "uint96"
535
+ }
536
+ ],
537
+ "name": "hasRole",
538
+ "outputs": [
539
+ {
540
+ "internalType": "bool",
541
+ "name": "",
542
+ "type": "bool"
543
+ }
544
+ ],
545
+ "stateMutability": "view",
546
+ "type": "function"
547
+ },
548
+ {
549
+ "inputs": [
550
+ {
551
+ "internalType": "address",
552
+ "name": "implementation",
553
+ "type": "address"
554
+ },
555
+ {
556
+ "internalType": "address",
557
+ "name": "activatedBy",
558
+ "type": "address"
559
+ },
560
+ {
561
+ "internalType": "bytes",
562
+ "name": "data",
563
+ "type": "bytes"
564
+ }
565
+ ],
566
+ "name": "initialize",
567
+ "outputs": [],
568
+ "stateMutability": "nonpayable",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [
573
+ {
574
+ "internalType": "Version",
575
+ "name": "_version",
576
+ "type": "uint24"
577
+ }
578
+ ],
579
+ "name": "isInitialized",
580
+ "outputs": [
581
+ {
582
+ "internalType": "bool",
583
+ "name": "",
584
+ "type": "bool"
585
+ }
586
+ ],
587
+ "stateMutability": "view",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "inputs": [],
592
+ "name": "linkToRegisteredNftId",
593
+ "outputs": [],
594
+ "stateMutability": "nonpayable",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [
599
+ {
600
+ "internalType": "address",
601
+ "name": "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
+ "inputs": [
693
+ {
694
+ "internalType": "NftId",
695
+ "name": "instanceNftId",
696
+ "type": "uint96"
697
+ }
698
+ ],
699
+ "name": "upgradeInstanceReader",
700
+ "outputs": [],
701
+ "stateMutability": "nonpayable",
702
+ "type": "function"
703
+ }
704
+ ],
705
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b613e75806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063656bc9ef11610104578063a745e3df116100a2578063cde749f411610071578063cde749f41461058e578063cf7a1d77146105a8578063d6277f99146105bb578063eeff428e146105ce57600080fd5b8063a745e3df14610537578063b3c650151461054a578063b88da7591461056a578063c22f980d1461057d57600080fd5b806393c48054116100de57806393c48054146104be578063946dfcfe146104cf5780639c12c9c7146104f6578063a3f4df7e1461050957600080fd5b8063656bc9ef1461049b578063872309c7146104ae578063893d20e8146104b657600080fd5b8063361470881161017c5780634f4213331161014b5780634f4213331461043957806355ad74361461044c5780635ab1bd531461045f578063644c45e01461047057600080fd5b806336147088146102eb5780633a0b4b31146102fc5780633a2ff5891461030d5780634d459c901461032057600080fd5b8063138461e0116101b8578063138461e01461025357806317d7de7c1461025d5780631a77e50c146102915780631eff4b22146102b657600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed366004613536565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610619565b60405162ffffff9091168152602001610218565b6102456106a3565b6040516102189291906135b0565b61025b610825565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516102189190613657565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6102dd7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6007546001600160a01b031661029e565b6005546001600160a01b031661029e565b61025b61031b36600461367f565b610a47565b6103dc61032e3660046136ad565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613e2083398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610218565b61020c6104473660046136ad565b610ada565b61025b61045a36600461367f565b610b8d565b6001546001600160a01b031661029e565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610218565b61025b6104a936600461367f565b610c1a565b6102dd600081565b61029e610cad565b6006546001600160a01b031661029e565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102dd565b61020c6105043660046136f4565b610dc6565b6102846040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61025b6105453660046137d4565b611000565b61055261115a565b6040516001600160401b039091168152602001610218565b610229610578366004613878565b61117b565b61025b61058b366004613891565b50565b6105966111cc565b60405160ff9091168152602001610218565b61025b6105b63660046137d4565b61124f565b61025b6105c936600461367f565b611358565b6105d66113b5565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610218565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561067a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e91906138ae565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806107266001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161076e610cad565b6001600160a01b0316815260200182600101805461078b906138cb565b80601f01602080910402602001604051908101604052809291908181526020018280546107b7906138cb565b80156108045780601f106107d957610100808354040283529160200191610804565b820191906000526020600020905b8154815290600101906020018083116107e757829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab9190613915565b156108f2576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661091b5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610964573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109889190613915565b6109b0576040516372657a5160e01b81526001600160a01b03821660048201526024016108e9565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156109fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1e919061393b565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6007546001600160a01b031615610ab85760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108e9565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600080600080516020613e2083398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610b62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b869190613958565b1192915050565b6005546001600160a01b031615610bf85760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016108e9565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610c8b5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108e9565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d369190613915565b15610db657600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610d92573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e919061397c565b506002546001600160a01b031690565b600080610ddb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610e2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e529190810190613aad565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ea2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec6919061397c565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610f37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5b9190613ae1565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610fad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd19190613afe565b909250905063ffffffff811615610ff15760009650505050505050610ff9565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611022610619565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611062573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110869190613ae1565b600080516020613e008339815191528054600160401b900460ff16806110b9575080546001600160401b03808416911610155b156110d75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556111028585611b79565b61110b83611e18565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061069e600080516020613e00833981519152546001600160401b031690565b6000600080516020613e2083398151915260010182815481106111a0576111a0613b3e565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006111d6610619565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561122b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e9190613b54565b600080516020613e008339815191528054600160401b810460ff1615906001600160401b03166000811580156112825750825b90506000826001600160401b0316600114801561129e5750303b155b9050811580156112ac575080155b156112ca5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112f457845460ff60401b1916600160401b1785555b6112fe8888611b79565b6113088787611e20565b831561134e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b611360610cad565b6001600160a01b0316336001600160a01b0316146113935760405163700dd81160e01b81523360048201526024016108e9565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa15801561140f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611433919061393b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156114a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cb91906138ae565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611520573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115449190613b54565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156115aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ce919061397c565b60045490915081906115e8906001600160a01b0316611f76565b604051632207fb6160e21b8152306004820152909a506001600160a01b038b169063881fed8490602401600060405180830381600087803b15801561162c57600080fd5b505af1158015611640573d6000803e3d6000fd5b505060055461165a92506001600160a01b03169050611f76565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b1580156116c057600080fd5b505af11580156116d4573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611723573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261174b9190810190613b71565b508051600654909a50909150611769906001600160a01b0316611f76565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b1580156117c157600080fd5b505af11580156117d5573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b15801561181c57600080fd5b505af1158015611830573d6000803e3d6000fd5b505060075461184a92506001600160a01b03169050611f76565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b1580156118aa57600080fd5b505af11580156118be573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b15801561190457600080fd5b505af1158015611918573d6000803e3d6000fd5b505050506119278b8b89611fe8565b8a6001600160a01b03166325c471a061193e613003565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bb9190613ae1565b8860006040518463ffffffff1660e01b81526004016119dc93929190613bd4565b600060405180830381600087803b1580156119f657600080fd5b505af1158015611a0a573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611a25613003565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611a7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa29190613ae1565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611ae957600080fd5b505af1158015611afd573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611b6494939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611b8161307b565b600080516020613e208339815191526000611bb1600080516020613e00833981519152546001600160401b031690565b90506000611bbd610619565b9050816001600160401b0316600103611bea5760028301805462ffffff191662ffffff8316179055611c38565b600283015462ffffff90811690821611611c385760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016108e9565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d109190613c04565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061114b9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101da61307b565b600080516020613e008339815191528054600160401b810460ff1615906001600160401b0316600081158015611e535750825b90506000826001600160401b03166001148015611e6f5750303b155b905081158015611e7d575080155b15611e9b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ec557845460ff60401b1916600160401b1785555b600086806020019051810190611edb9190613c2b565b600380546001600160a01b039093166001600160a01b0319909316831790559150611f0690896130b4565b611f16631b4612f160e31b613141565b611f2663777fa14760e11b613141565b508315611f6d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611fe3576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561205c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061208091906138ae565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156120d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f99190613b54565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015612163573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612187919061397c565b9050836001600160a01b03166325c471a06121a0613166565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156121f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221d9190613ae1565b8360006040518463ffffffff1660e01b815260040161223e93929190613bd4565b600060405180830381600087803b15801561225857600080fd5b505af115801561226c573d6000803e3d6000fd5b50600092506002915061227c9050565b6040519080825280602002602001820160405280156122a5578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106122c3576122c3613b3e565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106122fa576122fa613b3e565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d858361232c613166565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612385573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a99190613ae1565b6040518463ffffffff1660e01b81526004016123c793929190613c5a565b600060405180830381600087803b1580156123e157600080fd5b505af11580156123f5573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561246f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249391906138ae565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156124e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061250c9190613b54565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561256e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612592919061397c565b9050856001600160a01b03166325c471a06125ab6131a2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612604573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126289190613ae1565b8360006040518463ffffffff1660e01b815260040161264993929190613bd4565b600060405180830381600087803b15801561266357600080fd5b505af1158015612677573d6000803e3d6000fd5b5060009250600491506126879050565b6040519080825280602002602001820160405280156126b0578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106126ce576126ce613b3e565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061270557612705613b3e565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061273c5761273c613b3e565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061277357612773613b3e565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d87836127a56131a2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156127fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128229190613ae1565b6040518463ffffffff1660e01b815260040161284093929190613c5a565b600060405180830381600087803b15801561285a57600080fd5b505af115801561286e573d6000803e3d6000fd5b50600092506005915061287e9050565b6040519080825280602002602001820160405280156128a7578160200160208202803683370190505b509050630cc7e61460e01b816000815181106128c5576128c5613b3e565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b90829060019081106128fc576128fc613b3e565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b908290600290811061293357612933613b3e565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b908290600390811061296a5761296a613b3e565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b90829060049081106129a1576129a1613b3e565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d87836129d36131a2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a509190613ae1565b6040518463ffffffff1660e01b8152600401612a6e93929190613c5a565b600060405180830381600087803b158015612a8857600080fd5b505af1158015612a9c573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612b16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3a91906138ae565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612b8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb39190613b54565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015612c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3c919061397c565b9050886001600160a01b03166325c471a0612c556131de565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd29190613ae1565b8360006040518463ffffffff1660e01b8152600401612cf393929190613bd4565b600060405180830381600087803b158015612d0d57600080fd5b505af1158015612d21573d6000803e3d6000fd5b506000925060099150612d319050565b604051908082528060200260200182016040528015612d5a578160200160208202803683370190505b5090506391ff6eaa60e01b81600081518110612d7857612d78613b3e565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b9082906001908110612daf57612daf613b3e565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b9082906002908110612de657612de6613b3e565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b9082906003908110612e1d57612e1d613b3e565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b9082906004908110612e5457612e54613b3e565b6001600160e01b03199092166020928302919091019091015280516202f23560ee1b9082906005908110612e8a57612e8a613b3e565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b9082906006908110612ec157612ec1613b3e565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b9082906007908110612ef857612ef8613b3e565b6001600160e01b0319909216602092830291909101909101526001600160a01b038a166308d6122d8a83612f2a6131de565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa79190613ae1565b6040518463ffffffff1660e01b8152600401612fc593929190613c5a565b600060405180830381600087803b158015612fdf57600080fd5b505af1158015612ff3573d6000803e3d6000fd5b5050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613057573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e9190613ae1565b600080516020613e0083398151915254600160401b900460ff166130b257604051631afcd79f60e31b815260040160405180910390fd5b565b60006130e260408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6130ea6111cc565b6040516020016130fb929190613ccc565b604051602081830303815290604052905060006131178461321a565b9050600061312a8583603c84888861328b565b61313a631b4612f160e31b613141565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161303a565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161303a565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161303a565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613261573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613285919061393b565b92915050565b6132cc6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6132d68287613357565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016133468382613d40565b50611f6d6303fb044760e21b613141565b6001600160a01b0382166133ad5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016108e9565b600280546001600160a01b0319166001600160a01b0384161790556133d1816133d5565b5050565b6001546001600160a01b03161561340e5760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016108e9565b6001600160a01b0381166134355760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361346b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108e9565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156134e5575060408051601f3d908101601f191682019092526134e291810190613915565b60015b61350d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108e9565b806133d15760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108e9565b60006020828403121561354857600080fd5b81356001600160e01b031981168114610ff957600080fd5b60005b8381101561357b578181015183820152602001613563565b50506000910152565b6000815180845261359c816020860160208601613560565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516135f460a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261363a610120840182613584565b9050828103602084015261364e8185613584565b95945050505050565b602081526000610ff96020830184613584565b6001600160a01b038116811461058b57600080fd5b60006020828403121561369157600080fd5b8135610ff98161366a565b62ffffff8116811461058b57600080fd5b6000602082840312156136bf57600080fd5b8135610ff98161369c565b6001600160401b038116811461058b57600080fd5b6001600160601b038116811461058b57600080fd5b60008060006060848603121561370957600080fd5b83356137148161366a565b92506020840135613724816136ca565b91506040840135613734816136df565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156137775761377761373f565b60405290565b604051601f8201601f191681016001600160401b03811182821017156137a5576137a561373f565b604052919050565b60006001600160401b038211156137c6576137c661373f565b50601f01601f191660200190565b6000806000606084860312156137e957600080fd5b83356137f48161366a565b925060208401356138048161366a565b915060408401356001600160401b0381111561381f57600080fd5b8401601f8101861361383057600080fd5b803561384361383e826137ad565b61377d565b81815287602083850101111561385857600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561388a57600080fd5b5035919050565b6000602082840312156138a357600080fd5b8135610ff9816136df565b6000602082840312156138c057600080fd5b8151610ff98161369c565b600181811c908216806138df57607f821691505b6020821081036138ff57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611fe357600080fd5b60006020828403121561392757600080fd5b610ff982613905565b8051611fe3816136df565b60006020828403121561394d57600080fd5b8151610ff9816136df565b60006020828403121561396a57600080fd5b5051919050565b8051611fe38161366a565b60006020828403121561398e57600080fd5b8151610ff98161366a565b60ff8116811461058b57600080fd5b8051611fe381613999565b600082601f8301126139c457600080fd5b81516139d261383e826137ad565b8181528460208386010111156139e757600080fd5b6139f8826020830160208701613560565b949350505050565b600060e08284031215613a1257600080fd5b613a1a613755565b9050613a2582613930565b8152613a3360208301613930565b6020820152613a44604083016139a8565b6040820152613a5560608301613905565b6060820152613a6660808301613971565b6080820152613a7760a08301613971565b60a082015260c08201516001600160401b03811115613a9557600080fd5b613aa1848285016139b3565b60c08301525092915050565b600060208284031215613abf57600080fd5b81516001600160401b03811115613ad557600080fd5b6139f884828501613a00565b600060208284031215613af357600080fd5b8151610ff9816136ca565b60008060408385031215613b1157600080fd5b613b1a83613905565b9150602083015163ffffffff81168114613b3357600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613b6657600080fd5b8151610ff981613999565b60008060408385031215613b8457600080fd5b82516001600160401b0380821115613b9b57600080fd5b613ba786838701613a00565b93506020850151915080821115613bbd57600080fd5b50613bca858286016139b3565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b600060208284031215613c1657600080fd5b815164ffffffffff81168114610ff957600080fd5b60008060408385031215613c3e57600080fd5b8251613c498161366a565b6020840151909250613b338161366a565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b81811015613cad5784516001600160e01b03191683529383019391830191600101613c87565b50508093505050506001600160401b0383166040830152949350505050565b604081526000613cdf6040830185613584565b905060ff831660208301529392505050565b601f821115613d3b57600081815260208120601f850160051c81016020861015613d185750805b601f850160051c820191505b81811015613d3757828155600101613d24565b5050505b505050565b81516001600160401b03811115613d5957613d5961373f565b613d6d81613d6784546138cb565b84613cf1565b602080601f831160018114613da25760008415613d8a5750858301515b600019600386901b1c1916600185901b178555613d37565b600085815260208120601f198616915b82811015613dd157888601518255948401946001909101908401613db2565b5085821015613def5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122020de7fbe55d844caef7c54ff5413da1afa7283522c62066cb16d1540834192ff64736f6c63430008140033",
706
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063656bc9ef11610104578063a745e3df116100a2578063cde749f411610071578063cde749f41461058e578063cf7a1d77146105a8578063d6277f99146105bb578063eeff428e146105ce57600080fd5b8063a745e3df14610537578063b3c650151461054a578063b88da7591461056a578063c22f980d1461057d57600080fd5b806393c48054116100de57806393c48054146104be578063946dfcfe146104cf5780639c12c9c7146104f6578063a3f4df7e1461050957600080fd5b8063656bc9ef1461049b578063872309c7146104ae578063893d20e8146104b657600080fd5b8063361470881161017c5780634f4213331161014b5780634f4213331461043957806355ad74361461044c5780635ab1bd531461045f578063644c45e01461047057600080fd5b806336147088146102eb5780633a0b4b31146102fc5780633a2ff5891461030d5780634d459c901461032057600080fd5b8063138461e0116101b8578063138461e01461025357806317d7de7c1461025d5780631a77e50c146102915780631eff4b22146102b657600080fd5b806301ffc9a7146101df5780630d8e6e2c146102215780630fec111c1461023d575b600080fd5b61020c6101ed366004613536565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610229610619565b60405162ffffff9091168152602001610218565b6102456106a3565b6040516102189291906135b0565b61025b610825565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516102189190613657565b6004546001600160a01b03165b6040516001600160a01b039091168152602001610218565b6102dd7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610218565b6007546001600160a01b031661029e565b6005546001600160a01b031661029e565b61025b61031b36600461367f565b610a47565b6103dc61032e3660046136ad565b6040805160a081018252600080825260208201819052918101829052606081018290526080810191909152600080516020613e2083398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610218565b61020c6104473660046136ad565b610ada565b61025b61045a36600461367f565b610b8d565b6001546001600160a01b031661029e565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610218565b61025b6104a936600461367f565b610c1a565b6102dd600081565b61029e610cad565b6006546001600160a01b031661029e565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102dd565b61020c6105043660046136f4565b610dc6565b6102846040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61025b6105453660046137d4565b611000565b61055261115a565b6040516001600160401b039091168152602001610218565b610229610578366004613878565b61117b565b61025b61058b366004613891565b50565b6105966111cc565b60405160ff9091168152602001610218565b61025b6105b63660046137d4565b61124f565b61025b6105c936600461367f565b611358565b6105d66113b5565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a001610218565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561067a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e91906138ae565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806107266001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161076e610cad565b6001600160a01b0316815260200182600101805461078b906138cb565b80601f01602080910402602001604051908101604052809291908181526020018280546107b7906138cb565b80156108045780601f106107d957610100808354040283529160200191610804565b820191906000526020600020905b8154815290600101906020018083116107e757829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610887573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ab9190613915565b156108f2576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661091b5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610964573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109889190613915565b6109b0576040516372657a5160e01b81526001600160a01b03821660048201526024016108e9565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156109fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1e919061393b565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6007546001600160a01b031615610ab85760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108e9565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600080600080516020613e2083398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015610b62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b869190613958565b1192915050565b6005546001600160a01b031615610bf85760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b60648201526084016108e9565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031615610c8b5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b60648201526084016108e9565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d369190613915565b15610db657600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610d92573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e919061397c565b506002546001600160a01b031690565b600080610ddb6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03851660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa158015610e2a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e529190810190613aad565b905060008160800151905060008190506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ea2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec6919061397c565b604051631517388760e21b81526001600160401b038916600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610f37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f5b9190613ae1565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038d1660248201526044016040805180830381865afa158015610fad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd19190613afe565b909250905063ffffffff811615610ff15760009650505050505050610ff9565b509450505050505b9392505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c611022610619565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015611062573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110869190613ae1565b600080516020613e008339815191528054600160401b900460ff16806110b9575080546001600160401b03808416911610155b156110d75760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556111028585611b79565b61110b83611e18565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b600061069e600080516020613e00833981519152546001600160401b031690565b6000600080516020613e2083398151915260010182815481106111a0576111a0613b3e565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006111d6610619565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801561122b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e9190613b54565b600080516020613e008339815191528054600160401b810460ff1615906001600160401b03166000811580156112825750825b90506000826001600160401b0316600114801561129e5750303b155b9050811580156112ac575080155b156112ca5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156112f457845460ff60401b1916600160401b1785555b6112fe8888611b79565b6113088787611e20565b831561134e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b611360610cad565b6001600160a01b0316336001600160a01b0316146113935760405163700dd81160e01b81523360048201526024016108e9565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa15801561140f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611433919061393b565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156114a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114cb91906138ae565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611520573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115449190613b54565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156115aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ce919061397c565b60045490915081906115e8906001600160a01b0316611f76565b604051632207fb6160e21b8152306004820152909a506001600160a01b038b169063881fed8490602401600060405180830381600087803b15801561162c57600080fd5b505af1158015611640573d6000803e3d6000fd5b505060055461165a92506001600160a01b03169050611f76565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b1580156116c057600080fd5b505af11580156116d4573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611723573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261174b9190810190613b71565b508051600654909a50909150611769906001600160a01b0316611f76565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b1580156117c157600080fd5b505af11580156117d5573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b15801561181c57600080fd5b505af1158015611830573d6000803e3d6000fd5b505060075461184a92506001600160a01b03169050611f76565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b1580156118aa57600080fd5b505af11580156118be573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b15801561190457600080fd5b505af1158015611918573d6000803e3d6000fd5b505050506119278b8b89611fe8565b8a6001600160a01b03166325c471a061193e613003565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bb9190613ae1565b8860006040518463ffffffff1660e01b81526004016119dc93929190613bd4565b600060405180830381600087803b1580156119f657600080fd5b505af1158015611a0a573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611a25613003565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611a7e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aa29190613ae1565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611ae957600080fd5b505af1158015611afd573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611b6494939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611b8161307b565b600080516020613e208339815191526000611bb1600080516020613e00833981519152546001600160401b031690565b90506000611bbd610619565b9050816001600160401b0316600103611bea5760028301805462ffffff191662ffffff8316179055611c38565b600283015462ffffff90811690821611611c385760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b60448201526064016108e9565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611cec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d109190613c04565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf689061114b9083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101da61307b565b600080516020613e008339815191528054600160401b810460ff1615906001600160401b0316600081158015611e535750825b90506000826001600160401b03166001148015611e6f5750303b155b905081158015611e7d575080155b15611e9b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611ec557845460ff60401b1916600160401b1785555b600086806020019051810190611edb9190613c2b565b600380546001600160a01b039093166001600160a01b0319909316831790559150611f0690896130b4565b611f16631b4612f160e31b613141565b611f2663777fa14760e11b613141565b508315611f6d57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b038116611fe3576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561205c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061208091906138ae565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156120d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f99190613b54565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015612163573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612187919061397c565b9050836001600160a01b03166325c471a06121a0613166565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156121f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061221d9190613ae1565b8360006040518463ffffffff1660e01b815260040161223e93929190613bd4565b600060405180830381600087803b15801561225857600080fd5b505af115801561226c573d6000803e3d6000fd5b50600092506002915061227c9050565b6040519080825280602002602001820160405280156122a5578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106122c3576122c3613b3e565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106122fa576122fa613b3e565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d858361232c613166565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612385573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a99190613ae1565b6040518463ffffffff1660e01b81526004016123c793929190613c5a565b600060405180830381600087803b1580156123e157600080fd5b505af11580156123f5573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561246f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061249391906138ae565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156124e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061250c9190613b54565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561256e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612592919061397c565b9050856001600160a01b03166325c471a06125ab6131a2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612604573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126289190613ae1565b8360006040518463ffffffff1660e01b815260040161264993929190613bd4565b600060405180830381600087803b15801561266357600080fd5b505af1158015612677573d6000803e3d6000fd5b5060009250600491506126879050565b6040519080825280602002602001820160405280156126b0578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106126ce576126ce613b3e565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b908290600190811061270557612705613b3e565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b908290600290811061273c5761273c613b3e565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600390811061277357612773613b3e565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d87836127a56131a2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156127fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128229190613ae1565b6040518463ffffffff1660e01b815260040161284093929190613c5a565b600060405180830381600087803b15801561285a57600080fd5b505af115801561286e573d6000803e3d6000fd5b50600092506005915061287e9050565b6040519080825280602002602001820160405280156128a7578160200160208202803683370190505b509050630cc7e61460e01b816000815181106128c5576128c5613b3e565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b90829060019081106128fc576128fc613b3e565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b908290600290811061293357612933613b3e565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b908290600390811061296a5761296a613b3e565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b90829060049081106129a1576129a1613b3e565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d87836129d36131a2565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612a2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a509190613ae1565b6040518463ffffffff1660e01b8152600401612a6e93929190613c5a565b600060405180830381600087803b158015612a8857600080fd5b505af1158015612a9c573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612b16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b3a91906138ae565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612b8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bb39190613b54565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015612c18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c3c919061397c565b9050886001600160a01b03166325c471a0612c556131de565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612cae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd29190613ae1565b8360006040518463ffffffff1660e01b8152600401612cf393929190613bd4565b600060405180830381600087803b158015612d0d57600080fd5b505af1158015612d21573d6000803e3d6000fd5b506000925060099150612d319050565b604051908082528060200260200182016040528015612d5a578160200160208202803683370190505b5090506391ff6eaa60e01b81600081518110612d7857612d78613b3e565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b9082906001908110612daf57612daf613b3e565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b9082906002908110612de657612de6613b3e565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b9082906003908110612e1d57612e1d613b3e565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b9082906004908110612e5457612e54613b3e565b6001600160e01b03199092166020928302919091019091015280516202f23560ee1b9082906005908110612e8a57612e8a613b3e565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b9082906006908110612ec157612ec1613b3e565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b9082906007908110612ef857612ef8613b3e565b6001600160e01b0319909216602092830291909101909101526001600160a01b038a166308d6122d8a83612f2a6131de565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612f83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa79190613ae1565b6040518463ffffffff1660e01b8152600401612fc593929190613c5a565b600060405180830381600087803b158015612fdf57600080fd5b505af1158015612ff3573d6000803e3d6000fd5b5050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613057573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069e9190613ae1565b600080516020613e0083398151915254600160401b900460ff166130b257604051631afcd79f60e31b815260040160405180910390fd5b565b60006130e260408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b6130ea6111cc565b6040516020016130fb929190613ccc565b604051602081830303815290604052905060006131178461321a565b9050600061312a8583603c84888861328b565b61313a631b4612f160e31b613141565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161303a565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161303a565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b9060240161303a565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613261573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613285919061393b565b92915050565b6132cc6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6132d68287613357565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016133468382613d40565b50611f6d6303fb044760e21b613141565b6001600160a01b0382166133ad5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e65722069732030000060448201526064016108e9565b600280546001600160a01b0319166001600160a01b0384161790556133d1816133d5565b5050565b6001546001600160a01b03161561340e5760015460405163fcdbf2d960e01b81526001600160a01b0390911660048201526024016108e9565b6001600160a01b0381166134355760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b60000361346b5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108e9565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156134e5575060408051601f3d908101601f191682019092526134e291810190613915565b60015b61350d5760405163fdeac91f60e01b81526001600160a01b03821660048201526024016108e9565b806133d15760405163fdeac91f60e01b81526001600160a01b03831660048201526024016108e9565b60006020828403121561354857600080fd5b81356001600160e01b031981168114610ff957600080fd5b60005b8381101561357b578181015183820152602001613563565b50506000910152565b6000815180845261359c816020860160208601613560565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516135f460a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261363a610120840182613584565b9050828103602084015261364e8185613584565b95945050505050565b602081526000610ff96020830184613584565b6001600160a01b038116811461058b57600080fd5b60006020828403121561369157600080fd5b8135610ff98161366a565b62ffffff8116811461058b57600080fd5b6000602082840312156136bf57600080fd5b8135610ff98161369c565b6001600160401b038116811461058b57600080fd5b6001600160601b038116811461058b57600080fd5b60008060006060848603121561370957600080fd5b83356137148161366a565b92506020840135613724816136ca565b91506040840135613734816136df565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156137775761377761373f565b60405290565b604051601f8201601f191681016001600160401b03811182821017156137a5576137a561373f565b604052919050565b60006001600160401b038211156137c6576137c661373f565b50601f01601f191660200190565b6000806000606084860312156137e957600080fd5b83356137f48161366a565b925060208401356138048161366a565b915060408401356001600160401b0381111561381f57600080fd5b8401601f8101861361383057600080fd5b803561384361383e826137ad565b61377d565b81815287602083850101111561385857600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561388a57600080fd5b5035919050565b6000602082840312156138a357600080fd5b8135610ff9816136df565b6000602082840312156138c057600080fd5b8151610ff98161369c565b600181811c908216806138df57607f821691505b6020821081036138ff57634e487b7160e01b600052602260045260246000fd5b50919050565b80518015158114611fe357600080fd5b60006020828403121561392757600080fd5b610ff982613905565b8051611fe3816136df565b60006020828403121561394d57600080fd5b8151610ff9816136df565b60006020828403121561396a57600080fd5b5051919050565b8051611fe38161366a565b60006020828403121561398e57600080fd5b8151610ff98161366a565b60ff8116811461058b57600080fd5b8051611fe381613999565b600082601f8301126139c457600080fd5b81516139d261383e826137ad565b8181528460208386010111156139e757600080fd5b6139f8826020830160208701613560565b949350505050565b600060e08284031215613a1257600080fd5b613a1a613755565b9050613a2582613930565b8152613a3360208301613930565b6020820152613a44604083016139a8565b6040820152613a5560608301613905565b6060820152613a6660808301613971565b6080820152613a7760a08301613971565b60a082015260c08201516001600160401b03811115613a9557600080fd5b613aa1848285016139b3565b60c08301525092915050565b600060208284031215613abf57600080fd5b81516001600160401b03811115613ad557600080fd5b6139f884828501613a00565b600060208284031215613af357600080fd5b8151610ff9816136ca565b60008060408385031215613b1157600080fd5b613b1a83613905565b9150602083015163ffffffff81168114613b3357600080fd5b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613b6657600080fd5b8151610ff981613999565b60008060408385031215613b8457600080fd5b82516001600160401b0380821115613b9b57600080fd5b613ba786838701613a00565b93506020850151915080821115613bbd57600080fd5b50613bca858286016139b3565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b600060208284031215613c1657600080fd5b815164ffffffffff81168114610ff957600080fd5b60008060408385031215613c3e57600080fd5b8251613c498161366a565b6020840151909250613b338161366a565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b81811015613cad5784516001600160e01b03191683529383019391830191600101613c87565b50508093505050506001600160401b0383166040830152949350505050565b604081526000613cdf6040830185613584565b905060ff831660208301529392505050565b601f821115613d3b57600081815260208120601f850160051c81016020861015613d185750805b601f850160051c820191505b81811015613d3757828155600101613d24565b5050505b505050565b81516001600160401b03811115613d5957613d5961373f565b613d6d81613d6784546138cb565b84613cf1565b602080601f831160018114613da25760008415613d8a5750858301515b600019600386901b1c1916600185901b178555613d37565b600085815260208120601f198616915b82811015613dd157888601518255948401946001909101908401613db2565b5085821015613def5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a264697066735822122020de7fbe55d844caef7c54ff5413da1afa7283522c62066cb16d1540834192ff64736f6c63430008140033",
707
+ "linkReferences": {
708
+ "contracts/types/Blocknumber.sol": {
709
+ "BlocknumberLib": [
710
+ {
711
+ "length": 20,
712
+ "start": 3170
713
+ }
714
+ ]
715
+ },
716
+ "contracts/types/NftId.sol": {
717
+ "NftIdLib": [
718
+ {
719
+ "length": 20,
720
+ "start": 2439
721
+ },
722
+ {
723
+ "length": 20,
724
+ "start": 3602
725
+ }
726
+ ]
727
+ },
728
+ "contracts/types/RoleId.sol": {
729
+ "RoleIdLib": [
730
+ {
731
+ "length": 20,
732
+ "start": 4151
733
+ },
734
+ {
735
+ "length": 20,
736
+ "start": 6807
737
+ },
738
+ {
739
+ "length": 20,
740
+ "start": 7038
741
+ },
742
+ {
743
+ "length": 20,
744
+ "start": 8953
745
+ },
746
+ {
747
+ "length": 20,
748
+ "start": 9349
749
+ },
750
+ {
751
+ "length": 20,
752
+ "start": 9988
753
+ },
754
+ {
755
+ "length": 20,
756
+ "start": 10494
757
+ },
758
+ {
759
+ "length": 20,
760
+ "start": 11052
761
+ },
762
+ {
763
+ "length": 20,
764
+ "start": 11694
765
+ },
766
+ {
767
+ "length": 20,
768
+ "start": 12419
769
+ },
770
+ {
771
+ "length": 20,
772
+ "start": 12630
773
+ },
774
+ {
775
+ "length": 20,
776
+ "start": 12986
777
+ },
778
+ {
779
+ "length": 20,
780
+ "start": 13046
781
+ },
782
+ {
783
+ "length": 20,
784
+ "start": 13106
785
+ }
786
+ ]
787
+ },
788
+ "contracts/types/Timestamp.sol": {
789
+ "TimestampLib": [
790
+ {
791
+ "length": 20,
792
+ "start": 7660
793
+ }
794
+ ]
795
+ },
796
+ "contracts/types/Version.sol": {
797
+ "VersionLib": [
798
+ {
799
+ "length": 20,
800
+ "start": 1914
801
+ },
802
+ {
803
+ "length": 20,
804
+ "start": 4412
805
+ },
806
+ {
807
+ "length": 20,
808
+ "start": 4907
809
+ },
810
+ {
811
+ "length": 20,
812
+ "start": 5543
813
+ },
814
+ {
815
+ "length": 20,
816
+ "start": 5664
817
+ },
818
+ {
819
+ "length": 20,
820
+ "start": 8540
821
+ },
822
+ {
823
+ "length": 20,
824
+ "start": 8661
825
+ },
826
+ {
827
+ "length": 20,
828
+ "start": 9583
829
+ },
830
+ {
831
+ "length": 20,
832
+ "start": 9704
833
+ },
834
+ {
835
+ "length": 20,
836
+ "start": 11286
837
+ },
838
+ {
839
+ "length": 20,
840
+ "start": 11407
841
+ }
842
+ ]
843
+ }
844
+ },
845
+ "deployedLinkReferences": {
846
+ "contracts/types/Blocknumber.sol": {
847
+ "BlocknumberLib": [
848
+ {
849
+ "length": 20,
850
+ "start": 2856
851
+ }
852
+ ]
853
+ },
854
+ "contracts/types/NftId.sol": {
855
+ "NftIdLib": [
856
+ {
857
+ "length": 20,
858
+ "start": 2125
859
+ },
860
+ {
861
+ "length": 20,
862
+ "start": 3288
863
+ }
864
+ ]
865
+ },
866
+ "contracts/types/RoleId.sol": {
867
+ "RoleIdLib": [
868
+ {
869
+ "length": 20,
870
+ "start": 3837
871
+ },
872
+ {
873
+ "length": 20,
874
+ "start": 6493
875
+ },
876
+ {
877
+ "length": 20,
878
+ "start": 6724
879
+ },
880
+ {
881
+ "length": 20,
882
+ "start": 8639
883
+ },
884
+ {
885
+ "length": 20,
886
+ "start": 9035
887
+ },
888
+ {
889
+ "length": 20,
890
+ "start": 9674
891
+ },
892
+ {
893
+ "length": 20,
894
+ "start": 10180
895
+ },
896
+ {
897
+ "length": 20,
898
+ "start": 10738
899
+ },
900
+ {
901
+ "length": 20,
902
+ "start": 11380
903
+ },
904
+ {
905
+ "length": 20,
906
+ "start": 12105
907
+ },
908
+ {
909
+ "length": 20,
910
+ "start": 12316
911
+ },
912
+ {
913
+ "length": 20,
914
+ "start": 12672
915
+ },
916
+ {
917
+ "length": 20,
918
+ "start": 12732
919
+ },
920
+ {
921
+ "length": 20,
922
+ "start": 12792
923
+ }
924
+ ]
925
+ },
926
+ "contracts/types/Timestamp.sol": {
927
+ "TimestampLib": [
928
+ {
929
+ "length": 20,
930
+ "start": 7346
931
+ }
932
+ ]
933
+ },
934
+ "contracts/types/Version.sol": {
935
+ "VersionLib": [
936
+ {
937
+ "length": 20,
938
+ "start": 1600
939
+ },
940
+ {
941
+ "length": 20,
942
+ "start": 4098
943
+ },
944
+ {
945
+ "length": 20,
946
+ "start": 4593
947
+ },
948
+ {
949
+ "length": 20,
950
+ "start": 5229
951
+ },
952
+ {
953
+ "length": 20,
954
+ "start": 5350
955
+ },
956
+ {
957
+ "length": 20,
958
+ "start": 8226
959
+ },
960
+ {
961
+ "length": 20,
962
+ "start": 8347
963
+ },
964
+ {
965
+ "length": 20,
966
+ "start": 9269
967
+ },
968
+ {
969
+ "length": 20,
970
+ "start": 9390
971
+ },
972
+ {
973
+ "length": 20,
974
+ "start": 10972
975
+ },
976
+ {
977
+ "length": 20,
978
+ "start": 11093
979
+ }
980
+ ]
981
+ }
982
+ }
983
+ }