@etherisc/gif-next 0.0.2-d4eadee-930 → 0.0.2-d551b5e-892

Sign up to get free protection for your applications and to get access to all the features.
Files changed (398) 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 +788 -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 +934 -1089
  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 +2497 -1117
  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 +999 -0
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +532 -0
  70. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +285 -0
  72. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  73. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +264 -43
  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 +391 -71
  99. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +684 -0
  101. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +428 -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/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +664 -0
  109. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  110. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +401 -49
  111. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  112. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +204 -143
  113. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  114. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +984 -0
  115. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +464 -0
  117. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  118. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +597 -51
  119. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +448 -0
  121. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  122. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +332 -216
  123. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  124. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +420 -0
  125. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  126. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  127. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  128. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +377 -37
  129. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  130. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +947 -0
  131. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  132. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  133. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  134. package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -123
  135. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  136. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1293 -0
  137. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  138. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +517 -0
  139. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  140. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  141. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  142. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  143. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  144. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  146. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  147. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  148. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  149. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  150. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +175 -54
  151. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  153. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  154. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  155. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  156. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  157. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  159. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  160. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +199 -83
  161. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  162. package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
  163. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  164. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  165. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  166. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  167. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  168. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  169. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  170. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  171. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  173. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +26 -10
  175. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestService.sol/TestService.json +283 -62
  177. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  178. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  179. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  180. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  181. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  182. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  183. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  184. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  185. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  186. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  190. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  192. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  194. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  196. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  197. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  198. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  200. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  202. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  204. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  206. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +135 -9
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  220. package/contracts/components/BaseComponent.sol +75 -31
  221. package/contracts/components/Distribution.sol +163 -0
  222. package/contracts/components/IBaseComponent.sol +15 -3
  223. package/contracts/components/IDistributionComponent.sol +44 -0
  224. package/contracts/components/IPoolComponent.sol +19 -10
  225. package/contracts/components/IProductComponent.sol +25 -9
  226. package/contracts/components/Pool.sol +126 -33
  227. package/contracts/components/Product.sol +211 -36
  228. package/contracts/experiment/cloning/Cloner.sol +47 -0
  229. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
  230. package/contracts/instance/BundleManager.sol +129 -0
  231. package/contracts/instance/Cloneable.sol +46 -0
  232. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  233. package/contracts/instance/IInstance.sol +51 -45
  234. package/contracts/instance/IInstanceBase.sol +26 -0
  235. package/contracts/instance/IInstanceService.sol +32 -0
  236. package/contracts/instance/Instance.sol +443 -51
  237. package/contracts/instance/InstanceAccessManager.sol +288 -0
  238. package/contracts/instance/InstanceBase.sol +41 -0
  239. package/contracts/instance/InstanceReader.sol +315 -0
  240. package/contracts/instance/InstanceService.sol +252 -0
  241. package/contracts/instance/InstanceServiceManager.sol +57 -0
  242. package/contracts/instance/ObjectManager.sol +101 -0
  243. package/contracts/instance/base/ComponentServiceBase.sol +46 -16
  244. package/contracts/instance/base/IInstanceBase.sol +11 -2
  245. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  246. package/contracts/instance/base/ILifecycle.sol +3 -3
  247. package/contracts/instance/base/KeyValueStore.sol +53 -37
  248. package/contracts/instance/base/Lifecycle.sol +16 -11
  249. package/contracts/instance/module/IAccess.sol +38 -0
  250. package/contracts/instance/module/IBundle.sol +20 -0
  251. package/contracts/instance/module/IDistribution.sol +39 -0
  252. package/contracts/instance/module/IPolicy.sol +45 -0
  253. package/contracts/instance/module/IRisk.sol +11 -0
  254. package/contracts/instance/module/ISetup.sol +46 -0
  255. package/contracts/instance/module/ITreasury.sol +23 -0
  256. package/contracts/instance/service/ComponentOwnerService.sol +244 -97
  257. package/contracts/instance/service/DistributionService.sol +118 -0
  258. package/contracts/instance/service/DistributionServiceManager.sol +54 -0
  259. package/contracts/instance/service/IComponentOwnerService.sol +1 -3
  260. package/contracts/instance/service/IDistributionService.sol +12 -0
  261. package/contracts/instance/service/IPolicyService.sol +87 -0
  262. package/contracts/instance/service/IPoolService.sol +24 -3
  263. package/contracts/instance/service/IProductService.sol +21 -39
  264. package/contracts/instance/service/PolicyService.sol +513 -0
  265. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  266. package/contracts/instance/service/PoolService.sol +235 -41
  267. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  268. package/contracts/instance/service/ProductService.sol +108 -289
  269. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  270. package/contracts/registry/ChainNft.sol +80 -37
  271. package/contracts/registry/IRegistry.sol +49 -25
  272. package/contracts/registry/IRegistryService.sol +50 -0
  273. package/contracts/registry/ITransferInterceptor.sol +6 -0
  274. package/contracts/registry/Registry.sol +337 -270
  275. package/contracts/registry/RegistryService.sol +358 -0
  276. package/contracts/registry/RegistryServiceManager.sol +80 -0
  277. package/contracts/registry/TokenRegistry.sol +111 -0
  278. package/contracts/shared/ContractDeployerLib.sol +72 -0
  279. package/contracts/shared/ERC165.sol +6 -2
  280. package/contracts/shared/INftOwnable.sol +22 -0
  281. package/contracts/shared/IRegisterable.sol +8 -15
  282. package/contracts/{instance/base → shared}/IService.sol +3 -3
  283. package/contracts/shared/IVersionable.sol +55 -11
  284. package/contracts/shared/NftOwnable.sol +134 -0
  285. package/contracts/shared/ProxyManager.sol +94 -0
  286. package/contracts/shared/Registerable.sol +63 -59
  287. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  288. package/contracts/shared/Service.sol +55 -0
  289. package/contracts/shared/TokenHandler.sol +27 -0
  290. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  291. package/contracts/shared/Versionable.sol +113 -55
  292. package/contracts/test/TestFee.sol +2 -2
  293. package/contracts/test/TestRegisterable.sol +5 -6
  294. package/contracts/test/TestRoleId.sol +2 -2
  295. package/contracts/test/TestService.sol +5 -13
  296. package/contracts/types/DistributorType.sol +55 -0
  297. package/contracts/types/Fee.sol +10 -5
  298. package/contracts/types/Key32.sol +8 -3
  299. package/contracts/types/NftIdSet.sol +26 -24
  300. package/contracts/types/NumberId.sol +52 -0
  301. package/contracts/types/ObjectType.sol +51 -14
  302. package/contracts/types/Referral.sol +85 -0
  303. package/contracts/types/RiskId.sol +43 -0
  304. package/contracts/types/RoleId.sol +62 -14
  305. package/contracts/types/StateId.sol +5 -1
  306. package/contracts/types/Timestamp.sol +7 -3
  307. package/contracts/types/UFixed.sol +128 -12
  308. package/contracts/types/Version.sol +13 -1
  309. package/package.json +4 -3
  310. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  311. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  312. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  313. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  314. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  315. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  316. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  317. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  318. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  319. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  320. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  321. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  322. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  323. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  324. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  325. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  326. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  327. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  328. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  329. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  330. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  332. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  333. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  334. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  335. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  336. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  338. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  340. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  341. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  342. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  343. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  344. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  345. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  346. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  347. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  348. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  349. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  350. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  352. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  354. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  355. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  356. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  357. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  358. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  359. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  361. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  362. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  363. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  364. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  365. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  366. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  367. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  368. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  369. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  370. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  371. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  372. package/contracts/experiment/statemachine/README.md +0 -112
  373. package/contracts/instance/IInstanceLinked.sol +0 -8
  374. package/contracts/instance/base/InstanceBase.sol +0 -80
  375. package/contracts/instance/base/ModuleBase.sol +0 -52
  376. package/contracts/instance/base/ServiceBase.sol +0 -37
  377. package/contracts/instance/module/access/Access.sol +0 -149
  378. package/contracts/instance/module/access/IAccess.sol +0 -53
  379. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  380. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  381. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  382. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  383. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  384. package/contracts/instance/module/component/IComponent.sol +0 -53
  385. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  386. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  387. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  388. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  389. package/contracts/instance/module/risk/IRisk.sol +0 -10
  390. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  391. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  392. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  393. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  394. package/contracts/registry/IChainNft.sol +0 -21
  395. package/contracts/registry/IRegistryLinked.sol +0 -8
  396. package/contracts/shared/IOwnable.sol +0 -6
  397. package/contracts/test/TestPool.sol +0 -22
  398. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,999 @@
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": "address",
533
+ "name": "instanceAddress",
534
+ "type": "address"
535
+ }
536
+ ],
537
+ "name": "hasRole",
538
+ "outputs": [
539
+ {
540
+ "internalType": "bool",
541
+ "name": "",
542
+ "type": "bool"
543
+ }
544
+ ],
545
+ "stateMutability": "view",
546
+ "type": "function"
547
+ },
548
+ {
549
+ "inputs": [
550
+ {
551
+ "internalType": "address",
552
+ "name": "implementation",
553
+ "type": "address"
554
+ },
555
+ {
556
+ "internalType": "address",
557
+ "name": "activatedBy",
558
+ "type": "address"
559
+ },
560
+ {
561
+ "internalType": "bytes",
562
+ "name": "data",
563
+ "type": "bytes"
564
+ }
565
+ ],
566
+ "name": "initialize",
567
+ "outputs": [],
568
+ "stateMutability": "nonpayable",
569
+ "type": "function"
570
+ },
571
+ {
572
+ "inputs": [
573
+ {
574
+ "internalType": "Version",
575
+ "name": "_version",
576
+ "type": "uint24"
577
+ }
578
+ ],
579
+ "name": "isInitialized",
580
+ "outputs": [
581
+ {
582
+ "internalType": "bool",
583
+ "name": "",
584
+ "type": "bool"
585
+ }
586
+ ],
587
+ "stateMutability": "view",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "inputs": [],
592
+ "name": "linkToRegisteredNftId",
593
+ "outputs": [],
594
+ "stateMutability": "nonpayable",
595
+ "type": "function"
596
+ },
597
+ {
598
+ "inputs": [
599
+ {
600
+ "internalType": "address",
601
+ "name": "accessManagerAddress",
602
+ "type": "address"
603
+ },
604
+ {
605
+ "internalType": "address",
606
+ "name": "instanceAddress",
607
+ "type": "address"
608
+ },
609
+ {
610
+ "internalType": "address",
611
+ "name": "instanceReaderAddress",
612
+ "type": "address"
613
+ },
614
+ {
615
+ "internalType": "address",
616
+ "name": "bundleManagerAddress",
617
+ "type": "address"
618
+ }
619
+ ],
620
+ "name": "setMasterInstance",
621
+ "outputs": [],
622
+ "stateMutability": "nonpayable",
623
+ "type": "function"
624
+ },
625
+ {
626
+ "inputs": [
627
+ {
628
+ "internalType": "bytes4",
629
+ "name": "interfaceId",
630
+ "type": "bytes4"
631
+ }
632
+ ],
633
+ "name": "supportsInterface",
634
+ "outputs": [
635
+ {
636
+ "internalType": "bool",
637
+ "name": "",
638
+ "type": "bool"
639
+ }
640
+ ],
641
+ "stateMutability": "view",
642
+ "type": "function"
643
+ },
644
+ {
645
+ "inputs": [
646
+ {
647
+ "internalType": "address",
648
+ "name": "implementation",
649
+ "type": "address"
650
+ },
651
+ {
652
+ "internalType": "address",
653
+ "name": "activatedBy",
654
+ "type": "address"
655
+ },
656
+ {
657
+ "internalType": "bytes",
658
+ "name": "data",
659
+ "type": "bytes"
660
+ }
661
+ ],
662
+ "name": "upgrade",
663
+ "outputs": [],
664
+ "stateMutability": "nonpayable",
665
+ "type": "function"
666
+ },
667
+ {
668
+ "inputs": [
669
+ {
670
+ "internalType": "NftId",
671
+ "name": "instanceNftId",
672
+ "type": "uint96"
673
+ }
674
+ ],
675
+ "name": "upgradeInstanceReader",
676
+ "outputs": [],
677
+ "stateMutability": "nonpayable",
678
+ "type": "function"
679
+ }
680
+ ],
681
+ "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614547806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80635ab1bd53116100f9578063a745e3df11610097578063c22f980d11610071578063c22f980d14610526578063cde749f414610537578063cf7a1d7714610551578063eeff428e1461056457600080fd5b8063a745e3df146104e0578063b3c65015146104f3578063b88da7591461051357600080fd5b8063893d20e8116100d3578063893d20e81461047257806393c480541461047a578063946dfcfe1461048b578063a3f4df7e146104b257600080fd5b80635ab1bd531461042e578063644c45e01461043f578063872309c71461046a57600080fd5b80631a77e50c116101665780633a0b4b31116101405780633a0b4b31146102de5780633bd516ef146102ef5780634d459c90146103025780634f4213331461041b57600080fd5b80631a77e50c146102735780631eff4b221461029857806336147088146102cd57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063103bd5da14610222578063138461e01461023557806317d7de7c1461023f575b600080fd5b6101db6101bc366004613c15565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f86105af565b60405162ffffff90911681526020016101e7565b610214610639565b6040516101e7929190613c8f565b6101db610230366004613d60565b6107bb565b61023d61095b565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190613dab565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102bf7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6007546001600160a01b0316610280565b6005546001600160a01b0316610280565b61023d6102fd366004613dbe565b610b7d565b6103be610310366004613e2b565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206144f283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db610429366004613e2b565b611192565b6001546001600160a01b0316610280565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b6102bf600081565b610280611245565b6006546001600160a01b0316610280565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102bf565b6102666040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61023d6104ee366004613edd565b61135e565b6104fb6114b8565b6040516001600160401b0390911681526020016101e7565b6101f8610521366004613f81565b6114d9565b61023d610534366004613faf565b50565b61053f61152a565b60405160ff90911681526020016101e7565b61023d61055f366004613edd565b6115ad565b61056c6116b6565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a0016101e7565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610610573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190613fcc565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106bc6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610704611245565b6001600160a01b0316815260200182600101805461072190613fe9565b80601f016020809104026020016040519081016040528092919081815260200182805461074d90613fe9565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610801573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610825919061402e565b604051631517388760e21b81526001600160401b038716600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba919061404b565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038b1660248201526044016040805180830381865afa15801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109309190614078565b909250905063ffffffff81161561094e576000945050505050610954565b50925050505b9392505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e191906140b8565b15610a28576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610a515760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe91906140b8565b610ae6576040516372657a5160e01b81526001600160a01b0382166004820152602401610a1f565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5491906140de565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610b85611245565b6001600160a01b0316336001600160a01b031614610bb85760405163700dd81160e01b8152336004820152602401610a1f565b6004546001600160a01b031615610c295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6005546001600160a01b031615610c945760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610a1f565b6007546001600160a01b031615610d055760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6001600160a01b038416610d655760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b6001600160a01b038316610dbb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610a1f565b6001600160a01b038216610e1c5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a1f565b6001600160a01b038116610e7c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef7919061402e565b6001600160a01b031614610f5f5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610a1f565b611037826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc491906140de565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611002573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102691906140de565b6001600160601b0390811691161490565b61109b5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a1f565b6110dc816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b61113f5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610a1f565b5050600480546001600160a01b039687166001600160a01b031991821617909155600580549587169582169590951790945550600680549285169284169290921790915560078054919093169116179055565b6000806000805160206144f283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123e91906140fb565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ce91906140b8565b1561134e57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561132a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610634919061402e565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6113806105af565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156113c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e4919061404b565b6000805160206144d28339815191528054600160401b900460ff1680611417575080546001600160401b03808416911610155b156114355760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556114608585611e7a565b61146983612119565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106346000805160206144d2833981519152546001600160401b031690565b60006000805160206144f283398151915260010182815481106114fe576114fe614114565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006115346105af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190614144565b6000805160206144d28339815191528054600160401b810460ff1615906001600160401b03166000811580156115e05750825b90506000826001600160401b031660011480156115fc5750303b155b90508115801561160a575080155b156116285760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561165257845460ff60401b1916600160401b1785555b61165c8888611e7a565b6116668787612121565b83156116ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa158015611710573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173491906140de565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156117a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cc9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611821573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118459190614144565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156118ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cf919061402e565b60045490915081906118e9906001600160a01b0316612277565b604051632207fb6160e21b8152306004820152909a506001600160a01b038b169063881fed8490602401600060405180830381600087803b15801561192d57600080fd5b505af1158015611941573d6000803e3d6000fd5b505060055461195b92506001600160a01b03169050612277565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b1580156119c157600080fd5b505af11580156119d5573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611a24573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4c91908101906141ae565b508051600654909a50909150611a6a906001600160a01b0316612277565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b158015611ac257600080fd5b505af1158015611ad6573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015611b1d57600080fd5b505af1158015611b31573d6000803e3d6000fd5b5050600754611b4b92506001600160a01b03169050612277565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b158015611bab57600080fd5b505af1158015611bbf573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015611c0557600080fd5b505af1158015611c19573d6000803e3d6000fd5b50505050611c288b8b896122e9565b8a6001600160a01b03166325c471a0611c3f6136a6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611c98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbc919061404b565b8860006040518463ffffffff1660e01b8152600401611cdd939291906142a6565b600060405180830381600087803b158015611cf757600080fd5b505af1158015611d0b573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611d266136a6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da3919061404b565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611dea57600080fd5b505af1158015611dfe573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611e6594939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611e8261371e565b6000805160206144f28339815191526000611eb26000805160206144d2833981519152546001600160401b031690565b90506000611ebe6105af565b9050816001600160401b0316600103611eeb5760028301805462ffffff191662ffffff8316179055611f39565b600283015462ffffff90811690821611611f395760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a1f565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611fed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201191906142d6565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906114a99083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a961371e565b6000805160206144d28339815191528054600160401b810460ff1615906001600160401b03166000811580156121545750825b90506000826001600160401b031660011480156121705750303b155b90508115801561217e575080155b1561219c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121c657845460ff60401b1916600160401b1785555b6000868060200190518101906121dc91906142fd565b600380546001600160a01b039093166001600160a01b03199093168317905591506122079089613757565b612217631b4612f160e31b6137e4565b61222763777fa14760e11b6137e4565b50831561226e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166122e4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561235d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123819190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156123d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123fa9190614144565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015612464573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612488919061402e565b9050836001600160a01b03166325c471a06124a1613809565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156124fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251e919061404b565b8360006040518463ffffffff1660e01b815260040161253f939291906142a6565b600060405180830381600087803b15801561255957600080fd5b505af115801561256d573d6000803e3d6000fd5b50600092506002915061257d9050565b6040519080825280602002602001820160405280156125a6578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106125c4576125c4614114565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106125fb576125fb614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d858361262d613809565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612686573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126aa919061404b565b6040518463ffffffff1660e01b81526004016126c89392919061432c565b600060405180830381600087803b1580156126e257600080fd5b505af11580156126f6573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127949190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156127e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280d9190614144565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561286f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612893919061402e565b9050856001600160a01b03166325c471a06128ac613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612905573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612929919061404b565b8360006040518463ffffffff1660e01b815260040161294a939291906142a6565b600060405180830381600087803b15801561296457600080fd5b505af1158015612978573d6000803e3d6000fd5b5060009250600491506129889050565b6040519080825280602002602001820160405280156129b1578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106129cf576129cf614114565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b9082906001908110612a0657612a06614114565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b9082906002908110612a3d57612a3d614114565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906003908110612a7457612a74614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d8783612aa6613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b23919061404b565b6040518463ffffffff1660e01b8152600401612b419392919061432c565b600060405180830381600087803b158015612b5b57600080fd5b505af1158015612b6f573d6000803e3d6000fd5b506000925060059150612b7f9050565b604051908082528060200260200182016040528015612ba8578160200160208202803683370190505b509050630cc7e61460e01b81600081518110612bc657612bc6614114565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110612bfd57612bfd614114565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110612c3457612c34614114565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110612c6b57612c6b614114565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110612ca257612ca2614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d8783612cd4613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d51919061404b565b6040518463ffffffff1660e01b8152600401612d6f9392919061432c565b600060405180830381600087803b158015612d8957600080fd5b505af1158015612d9d573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e3b9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612e90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eb49190614144565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015612f19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f3d919061402e565b9050886001600160a01b03166325c471a0612f56613881565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd3919061404b565b8360006040518463ffffffff1660e01b8152600401612ff4939291906142a6565b600060405180830381600087803b15801561300e57600080fd5b505af1158015613022573d6000803e3d6000fd5b5060009250600591506130329050565b60405190808252806020026020018201604052801561305b578160200160208202803683370190505b5090506391ff6eaa60e01b8160008151811061307957613079614114565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b90829060019081106130b0576130b0614114565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106130e7576130e7614114565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b908290600390811061311e5761311e614114565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061315557613155614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b038a166308d6122d8a83613187613881565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156131e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613204919061404b565b6040518463ffffffff1660e01b81526004016132229392919061432c565b600060405180830381600087803b15801561323c57600080fd5b505af1158015613250573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156132ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132ee9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613343573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133679190614144565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c506f6c6963795365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa1580156133cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133ef919061402e565b90508a6001600160a01b03166325c471a06134086138bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613461573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613485919061404b565b8360006040518463ffffffff1660e01b81526004016134a6939291906142a6565b600060405180830381600087803b1580156134c057600080fd5b505af11580156134d4573d6000803e3d6000fd5b5060009250600391506134e49050565b60405190808252806020026020018201604052801561350d578160200160208202803683370190505b50905063bc8d400060e01b8160008151811061352b5761352b614114565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b908290600190811061356257613562614114565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b908290600290811061359957613599614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b038c166308d6122d8c836135cb6138bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613624573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613648919061404b565b6040518463ffffffff1660e01b81526004016136669392919061432c565b600060405180830381600087803b15801561368057600080fd5b505af1158015613694573d6000803e3d6000fd5b50505050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156136fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610634919061404b565b6000805160206144d283398151915254600160401b900460ff1661375557604051631afcd79f60e31b815260040160405180910390fd5b565b600061378560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61378d61152a565b60405160200161379e92919061439e565b604051602081830303815290604052905060006137ba846138f9565b905060006137cd8583603c84888861396a565b6137dd631b4612f160e31b6137e4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b815261283c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613940573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061396491906140de565b92915050565b6139ab6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6139b58287613a36565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613a258382614412565b5061226e6303fb044760e21b6137e4565b6001600160a01b038216613a8c5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610a1f565b600280546001600160a01b0319166001600160a01b038416179055613ab081613ab4565b5050565b6001546001600160a01b031615613aed5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a1f565b6001600160a01b038116613b145760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613b4a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613bc4575060408051601f3d908101601f19168201909252613bc1918101906140b8565b60015b613bec5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b80613ab05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a1f565b600060208284031215613c2757600080fd5b81356001600160e01b03198116811461095457600080fd5b60005b83811015613c5a578181015183820152602001613c42565b50506000910152565b60008151808452613c7b816020860160208601613c3f565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151613cd360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152613d19610120840182613c63565b90508281036020840152613d2d8185613c63565b95945050505050565b6001600160a01b038116811461053457600080fd5b6001600160401b038116811461053457600080fd5b600080600060608486031215613d7557600080fd5b8335613d8081613d36565b92506020840135613d9081613d4b565b91506040840135613da081613d36565b809150509250925092565b6020815260006109546020830184613c63565b60008060008060808587031215613dd457600080fd5b8435613ddf81613d36565b93506020850135613def81613d36565b92506040850135613dff81613d36565b91506060850135613e0f81613d36565b939692955090935050565b62ffffff8116811461053457600080fd5b600060208284031215613e3d57600080fd5b813561095481613e1a565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613e8057613e80613e48565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613eae57613eae613e48565b604052919050565b60006001600160401b03821115613ecf57613ecf613e48565b50601f01601f191660200190565b600080600060608486031215613ef257600080fd5b8335613efd81613d36565b92506020840135613f0d81613d36565b915060408401356001600160401b03811115613f2857600080fd5b8401601f81018613613f3957600080fd5b8035613f4c613f4782613eb6565b613e86565b818152876020838501011115613f6157600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215613f9357600080fd5b5035919050565b6001600160601b038116811461053457600080fd5b600060208284031215613fc157600080fd5b813561095481613f9a565b600060208284031215613fde57600080fd5b815161095481613e1a565b600181811c90821680613ffd57607f821691505b60208210810361401d57634e487b7160e01b600052602260045260246000fd5b50919050565b80516122e481613d36565b60006020828403121561404057600080fd5b815161095481613d36565b60006020828403121561405d57600080fd5b815161095481613d4b565b805180151581146122e457600080fd5b6000806040838503121561408b57600080fd5b61409483614068565b9150602083015163ffffffff811681146140ad57600080fd5b809150509250929050565b6000602082840312156140ca57600080fd5b61095482614068565b80516122e481613f9a565b6000602082840312156140f057600080fd5b815161095481613f9a565b60006020828403121561410d57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461053457600080fd5b80516122e48161412a565b60006020828403121561415657600080fd5b81516109548161412a565b600082601f83011261417257600080fd5b8151614180613f4782613eb6565b81815284602083860101111561419557600080fd5b6141a6826020830160208701613c3f565b949350505050565b600080604083850312156141c157600080fd5b82516001600160401b03808211156141d857600080fd5b9084019060e082870312156141ec57600080fd5b6141f4613e5e565b6141fd836140d3565b815261420b602084016140d3565b602082015261421c60408401614139565b604082015261422d60608401614068565b606082015261423e60808401614023565b608082015261424f60a08401614023565b60a082015260c08301518281111561426657600080fd5b61427288828601614161565b60c083015250602086015190945091508082111561428f57600080fd5b5061429c85828601614161565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b6000602082840312156142e857600080fd5b815164ffffffffff8116811461095457600080fd5b6000806040838503121561431057600080fd5b825161431b81613d36565b60208401519092506140ad81613d36565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b8181101561437f5784516001600160e01b03191683529383019391830191600101614359565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006143b16040830185613c63565b905060ff831660208301529392505050565b601f82111561440d57600081815260208120601f850160051c810160208610156143ea5750805b601f850160051c820191505b81811015614409578281556001016143f6565b5050505b505050565b81516001600160401b0381111561442b5761442b613e48565b61443f816144398454613fe9565b846143c3565b602080601f831160018114614474576000841561445c5750858301515b600019600386901b1c1916600185901b178555614409565b600085815260208120601f198616915b828110156144a357888601518255948401946001909101908401614484565b50858210156144c15787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205c8078de1c28525f369687b9108c09b7b5697f6ddcf28c8eb1bce83c63a9a53064736f6c63430008140033",
682
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80635ab1bd53116100f9578063a745e3df11610097578063c22f980d11610071578063c22f980d14610526578063cde749f414610537578063cf7a1d7714610551578063eeff428e1461056457600080fd5b8063a745e3df146104e0578063b3c65015146104f3578063b88da7591461051357600080fd5b8063893d20e8116100d3578063893d20e81461047257806393c480541461047a578063946dfcfe1461048b578063a3f4df7e146104b257600080fd5b80635ab1bd531461042e578063644c45e01461043f578063872309c71461046a57600080fd5b80631a77e50c116101665780633a0b4b31116101405780633a0b4b31146102de5780633bd516ef146102ef5780634d459c90146103025780634f4213331461041b57600080fd5b80631a77e50c146102735780631eff4b221461029857806336147088146102cd57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063103bd5da14610222578063138461e01461023557806317d7de7c1461023f575b600080fd5b6101db6101bc366004613c15565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f86105af565b60405162ffffff90911681526020016101e7565b610214610639565b6040516101e7929190613c8f565b6101db610230366004613d60565b6107bb565b61023d61095b565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190613dab565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102bf7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6007546001600160a01b0316610280565b6005546001600160a01b0316610280565b61023d6102fd366004613dbe565b610b7d565b6103be610310366004613e2b565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206144f283398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db610429366004613e2b565b611192565b6001546001600160a01b0316610280565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b6102bf600081565b610280611245565b6006546001600160a01b0316610280565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102bf565b6102666040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61023d6104ee366004613edd565b61135e565b6104fb6114b8565b6040516001600160401b0390911681526020016101e7565b6101f8610521366004613f81565b6114d9565b61023d610534366004613faf565b50565b61053f61152a565b60405160ff90911681526020016101e7565b61023d61055f366004613edd565b6115ad565b61056c6116b6565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a0016101e7565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610610573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190613fcc565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106bc6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610704611245565b6001600160a01b0316815260200182600101805461072190613fe9565b80601f016020809104026020016040519081016040528092919081815260200182805461074d90613fe9565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610801573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610825919061402e565b604051631517388760e21b81526001600160401b038716600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba919061404b565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038b1660248201526044016040805180830381865afa15801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109309190614078565b909250905063ffffffff81161561094e576000945050505050610954565b50925050505b9392505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e191906140b8565b15610a28576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610a515760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe91906140b8565b610ae6576040516372657a5160e01b81526001600160a01b0382166004820152602401610a1f565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5491906140de565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610b85611245565b6001600160a01b0316336001600160a01b031614610bb85760405163700dd81160e01b8152336004820152602401610a1f565b6004546001600160a01b031615610c295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6005546001600160a01b031615610c945760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610a1f565b6007546001600160a01b031615610d055760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6001600160a01b038416610d655760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b6001600160a01b038316610dbb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610a1f565b6001600160a01b038216610e1c5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a1f565b6001600160a01b038116610e7c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef7919061402e565b6001600160a01b031614610f5f5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610a1f565b611037826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc491906140de565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611002573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102691906140de565b6001600160601b0390811691161490565b61109b5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a1f565b6110dc816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b61113f5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610a1f565b5050600480546001600160a01b039687166001600160a01b031991821617909155600580549587169582169590951790945550600680549285169284169290921790915560078054919093169116179055565b6000806000805160206144f283398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123e91906140fb565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ce91906140b8565b1561134e57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561132a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610634919061402e565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6113806105af565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156113c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e4919061404b565b6000805160206144d28339815191528054600160401b900460ff1680611417575080546001600160401b03808416911610155b156114355760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556114608585611e7a565b61146983612119565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106346000805160206144d2833981519152546001600160401b031690565b60006000805160206144f283398151915260010182815481106114fe576114fe614114565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006115346105af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190614144565b6000805160206144d28339815191528054600160401b810460ff1615906001600160401b03166000811580156115e05750825b90506000826001600160401b031660011480156115fc5750303b155b90508115801561160a575080155b156116285760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561165257845460ff60401b1916600160401b1785555b61165c8888611e7a565b6116668787612121565b83156116ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa158015611710573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173491906140de565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156117a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cc9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611821573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118459190614144565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156118ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cf919061402e565b60045490915081906118e9906001600160a01b0316612277565b604051632207fb6160e21b8152306004820152909a506001600160a01b038b169063881fed8490602401600060405180830381600087803b15801561192d57600080fd5b505af1158015611941573d6000803e3d6000fd5b505060055461195b92506001600160a01b03169050612277565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b1580156119c157600080fd5b505af11580156119d5573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611a24573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4c91908101906141ae565b508051600654909a50909150611a6a906001600160a01b0316612277565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b158015611ac257600080fd5b505af1158015611ad6573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015611b1d57600080fd5b505af1158015611b31573d6000803e3d6000fd5b5050600754611b4b92506001600160a01b03169050612277565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b158015611bab57600080fd5b505af1158015611bbf573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015611c0557600080fd5b505af1158015611c19573d6000803e3d6000fd5b50505050611c288b8b896122e9565b8a6001600160a01b03166325c471a0611c3f6136a6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611c98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbc919061404b565b8860006040518463ffffffff1660e01b8152600401611cdd939291906142a6565b600060405180830381600087803b158015611cf757600080fd5b505af1158015611d0b573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611d266136a6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da3919061404b565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611dea57600080fd5b505af1158015611dfe573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611e6594939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611e8261371e565b6000805160206144f28339815191526000611eb26000805160206144d2833981519152546001600160401b031690565b90506000611ebe6105af565b9050816001600160401b0316600103611eeb5760028301805462ffffff191662ffffff8316179055611f39565b600283015462ffffff90811690821611611f395760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a1f565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611fed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201191906142d6565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906114a99083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a961371e565b6000805160206144d28339815191528054600160401b810460ff1615906001600160401b03166000811580156121545750825b90506000826001600160401b031660011480156121705750303b155b90508115801561217e575080155b1561219c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121c657845460ff60401b1916600160401b1785555b6000868060200190518101906121dc91906142fd565b600380546001600160a01b039093166001600160a01b03199093168317905591506122079089613757565b612217631b4612f160e31b6137e4565b61222763777fa14760e11b6137e4565b50831561226e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166122e4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561235d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123819190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156123d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123fa9190614144565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015612464573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612488919061402e565b9050836001600160a01b03166325c471a06124a1613809565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156124fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251e919061404b565b8360006040518463ffffffff1660e01b815260040161253f939291906142a6565b600060405180830381600087803b15801561255957600080fd5b505af115801561256d573d6000803e3d6000fd5b50600092506002915061257d9050565b6040519080825280602002602001820160405280156125a6578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106125c4576125c4614114565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106125fb576125fb614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d858361262d613809565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612686573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126aa919061404b565b6040518463ffffffff1660e01b81526004016126c89392919061432c565b600060405180830381600087803b1580156126e257600080fd5b505af11580156126f6573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127949190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156127e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280d9190614144565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561286f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612893919061402e565b9050856001600160a01b03166325c471a06128ac613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612905573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612929919061404b565b8360006040518463ffffffff1660e01b815260040161294a939291906142a6565b600060405180830381600087803b15801561296457600080fd5b505af1158015612978573d6000803e3d6000fd5b5060009250600491506129889050565b6040519080825280602002602001820160405280156129b1578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106129cf576129cf614114565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b9082906001908110612a0657612a06614114565b6001600160e01b0319909216602092830291909101909101528051633038d34760e11b9082906002908110612a3d57612a3d614114565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b9082906003908110612a7457612a74614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d8783612aa6613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612aff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b23919061404b565b6040518463ffffffff1660e01b8152600401612b419392919061432c565b600060405180830381600087803b158015612b5b57600080fd5b505af1158015612b6f573d6000803e3d6000fd5b506000925060059150612b7f9050565b604051908082528060200260200182016040528015612ba8578160200160208202803683370190505b509050630cc7e61460e01b81600081518110612bc657612bc6614114565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110612bfd57612bfd614114565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b9082906002908110612c3457612c34614114565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110612c6b57612c6b614114565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110612ca257612ca2614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b0388166308d6122d8783612cd4613845565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d51919061404b565b6040518463ffffffff1660e01b8152600401612d6f9392919061432c565b600060405180830381600087803b158015612d8957600080fd5b505af1158015612d9d573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612e17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e3b9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612e90573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eb49190614144565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015612f19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f3d919061402e565b9050886001600160a01b03166325c471a0612f56613881565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612faf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd3919061404b565b8360006040518463ffffffff1660e01b8152600401612ff4939291906142a6565b600060405180830381600087803b15801561300e57600080fd5b505af1158015613022573d6000803e3d6000fd5b5060009250600591506130329050565b60405190808252806020026020018201604052801561305b578160200160208202803683370190505b5090506391ff6eaa60e01b8160008151811061307957613079614114565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b90829060019081106130b0576130b0614114565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b90829060029081106130e7576130e7614114565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b908290600390811061311e5761311e614114565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b908290600490811061315557613155614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b038a166308d6122d8a83613187613881565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156131e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613204919061404b565b6040518463ffffffff1660e01b81526004016132229392919061432c565b600060405180830381600087803b15801561323c57600080fd5b505af1158015613250573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156132ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132ee9190613fcc565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015613343573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133679190614144565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c506f6c6963795365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa1580156133cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133ef919061402e565b90508a6001600160a01b03166325c471a06134086138bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613461573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613485919061404b565b8360006040518463ffffffff1660e01b81526004016134a6939291906142a6565b600060405180830381600087803b1580156134c057600080fd5b505af11580156134d4573d6000803e3d6000fd5b5060009250600391506134e49050565b60405190808252806020026020018201604052801561350d578160200160208202803683370190505b50905063bc8d400060e01b8160008151811061352b5761352b614114565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b908290600190811061356257613562614114565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b908290600290811061359957613599614114565b6001600160e01b0319909216602092830291909101909101526001600160a01b038c166308d6122d8c836135cb6138bd565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613624573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613648919061404b565b6040518463ffffffff1660e01b81526004016136669392919061432c565b600060405180830381600087803b15801561368057600080fd5b505af1158015613694573d6000803e3d6000fd5b50505050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156136fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610634919061404b565b6000805160206144d283398151915254600160401b900460ff1661375557604051631afcd79f60e31b815260040160405180910390fd5b565b600061378560408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b61378d61152a565b60405160200161379e92919061439e565b604051602081830303815290604052905060006137ba846138f9565b905060006137cd8583603c84888861396a565b6137dd631b4612f160e31b6137e4565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b6040516368aebf7b60e01b815261283c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016136dd565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613940573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061396491906140de565b92915050565b6139ab6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6139b58287613a36565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613a258382614412565b5061226e6303fb044760e21b6137e4565b6001600160a01b038216613a8c5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610a1f565b600280546001600160a01b0319166001600160a01b038416179055613ab081613ab4565b5050565b6001546001600160a01b031615613aed5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a1f565b6001600160a01b038116613b145760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613b4a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613bc4575060408051601f3d908101601f19168201909252613bc1918101906140b8565b60015b613bec5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b80613ab05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a1f565b600060208284031215613c2757600080fd5b81356001600160e01b03198116811461095457600080fd5b60005b83811015613c5a578181015183820152602001613c42565b50506000910152565b60008151808452613c7b816020860160208601613c3f565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151613cd360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152613d19610120840182613c63565b90508281036020840152613d2d8185613c63565b95945050505050565b6001600160a01b038116811461053457600080fd5b6001600160401b038116811461053457600080fd5b600080600060608486031215613d7557600080fd5b8335613d8081613d36565b92506020840135613d9081613d4b565b91506040840135613da081613d36565b809150509250925092565b6020815260006109546020830184613c63565b60008060008060808587031215613dd457600080fd5b8435613ddf81613d36565b93506020850135613def81613d36565b92506040850135613dff81613d36565b91506060850135613e0f81613d36565b939692955090935050565b62ffffff8116811461053457600080fd5b600060208284031215613e3d57600080fd5b813561095481613e1a565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715613e8057613e80613e48565b60405290565b604051601f8201601f191681016001600160401b0381118282101715613eae57613eae613e48565b604052919050565b60006001600160401b03821115613ecf57613ecf613e48565b50601f01601f191660200190565b600080600060608486031215613ef257600080fd5b8335613efd81613d36565b92506020840135613f0d81613d36565b915060408401356001600160401b03811115613f2857600080fd5b8401601f81018613613f3957600080fd5b8035613f4c613f4782613eb6565b613e86565b818152876020838501011115613f6157600080fd5b816020840160208301376000602083830101528093505050509250925092565b600060208284031215613f9357600080fd5b5035919050565b6001600160601b038116811461053457600080fd5b600060208284031215613fc157600080fd5b813561095481613f9a565b600060208284031215613fde57600080fd5b815161095481613e1a565b600181811c90821680613ffd57607f821691505b60208210810361401d57634e487b7160e01b600052602260045260246000fd5b50919050565b80516122e481613d36565b60006020828403121561404057600080fd5b815161095481613d36565b60006020828403121561405d57600080fd5b815161095481613d4b565b805180151581146122e457600080fd5b6000806040838503121561408b57600080fd5b61409483614068565b9150602083015163ffffffff811681146140ad57600080fd5b809150509250929050565b6000602082840312156140ca57600080fd5b61095482614068565b80516122e481613f9a565b6000602082840312156140f057600080fd5b815161095481613f9a565b60006020828403121561410d57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461053457600080fd5b80516122e48161412a565b60006020828403121561415657600080fd5b81516109548161412a565b600082601f83011261417257600080fd5b8151614180613f4782613eb6565b81815284602083860101111561419557600080fd5b6141a6826020830160208701613c3f565b949350505050565b600080604083850312156141c157600080fd5b82516001600160401b03808211156141d857600080fd5b9084019060e082870312156141ec57600080fd5b6141f4613e5e565b6141fd836140d3565b815261420b602084016140d3565b602082015261421c60408401614139565b604082015261422d60608401614068565b606082015261423e60808401614023565b608082015261424f60a08401614023565b60a082015260c08301518281111561426657600080fd5b61427288828601614161565b60c083015250602086015190945091508082111561428f57600080fd5b5061429c85828601614161565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b6000602082840312156142e857600080fd5b815164ffffffffff8116811461095457600080fd5b6000806040838503121561431057600080fd5b825161431b81613d36565b60208401519092506140ad81613d36565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b8181101561437f5784516001600160e01b03191683529383019391830191600101614359565b50508093505050506001600160401b0383166040830152949350505050565b6040815260006143b16040830185613c63565b905060ff831660208301529392505050565b601f82111561440d57600081815260208120601f850160051c810160208610156143ea5750805b601f850160051c820191505b81811015614409578281556001016143f6565b5050505b505050565b81516001600160401b0381111561442b5761442b613e48565b61443f816144398454613fe9565b846143c3565b602080601f831160018114614474576000841561445c5750858301515b600019600386901b1c1916600185901b178555614409565b600085815260208120601f198616915b828110156144a357888601518255948401946001909101908401614484565b50858210156144c15787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205c8078de1c28525f369687b9108c09b7b5697f6ddcf28c8eb1bce83c63a9a53064736f6c63430008140033",
683
+ "linkReferences": {
684
+ "contracts/types/Blocknumber.sol": {
685
+ "BlocknumberLib": [
686
+ {
687
+ "length": 20,
688
+ "start": 4890
689
+ }
690
+ ]
691
+ },
692
+ "contracts/types/NftId.sol": {
693
+ "NftIdLib": [
694
+ {
695
+ "length": 20,
696
+ "start": 2749
697
+ },
698
+ {
699
+ "length": 20,
700
+ "start": 5034
701
+ }
702
+ ]
703
+ },
704
+ "contracts/types/RoleId.sol": {
705
+ "RoleIdLib": [
706
+ {
707
+ "length": 20,
708
+ "start": 2454
709
+ },
710
+ {
711
+ "length": 20,
712
+ "start": 7576
713
+ },
714
+ {
715
+ "length": 20,
716
+ "start": 7807
717
+ },
718
+ {
719
+ "length": 20,
720
+ "start": 9722
721
+ },
722
+ {
723
+ "length": 20,
724
+ "start": 10118
725
+ },
726
+ {
727
+ "length": 20,
728
+ "start": 10757
729
+ },
730
+ {
731
+ "length": 20,
732
+ "start": 11263
733
+ },
734
+ {
735
+ "length": 20,
736
+ "start": 11821
737
+ },
738
+ {
739
+ "length": 20,
740
+ "start": 12463
741
+ },
742
+ {
743
+ "length": 20,
744
+ "start": 13024
745
+ },
746
+ {
747
+ "length": 20,
748
+ "start": 13665
749
+ },
750
+ {
751
+ "length": 20,
752
+ "start": 14116
753
+ },
754
+ {
755
+ "length": 20,
756
+ "start": 14329
757
+ },
758
+ {
759
+ "length": 20,
760
+ "start": 14685
761
+ },
762
+ {
763
+ "length": 20,
764
+ "start": 14745
765
+ },
766
+ {
767
+ "length": 20,
768
+ "start": 14805
769
+ },
770
+ {
771
+ "length": 20,
772
+ "start": 14865
773
+ }
774
+ ]
775
+ },
776
+ "contracts/types/Timestamp.sol": {
777
+ "TimestampLib": [
778
+ {
779
+ "length": 20,
780
+ "start": 8429
781
+ }
782
+ ]
783
+ },
784
+ "contracts/types/Version.sol": {
785
+ "VersionLib": [
786
+ {
787
+ "length": 20,
788
+ "start": 1808
789
+ },
790
+ {
791
+ "length": 20,
792
+ "start": 5274
793
+ },
794
+ {
795
+ "length": 20,
796
+ "start": 5769
797
+ },
798
+ {
799
+ "length": 20,
800
+ "start": 6312
801
+ },
802
+ {
803
+ "length": 20,
804
+ "start": 6433
805
+ },
806
+ {
807
+ "length": 20,
808
+ "start": 9309
809
+ },
810
+ {
811
+ "length": 20,
812
+ "start": 9430
813
+ },
814
+ {
815
+ "length": 20,
816
+ "start": 10352
817
+ },
818
+ {
819
+ "length": 20,
820
+ "start": 10473
821
+ },
822
+ {
823
+ "length": 20,
824
+ "start": 12055
825
+ },
826
+ {
827
+ "length": 20,
828
+ "start": 12176
829
+ },
830
+ {
831
+ "length": 20,
832
+ "start": 13258
833
+ },
834
+ {
835
+ "length": 20,
836
+ "start": 13379
837
+ }
838
+ ]
839
+ }
840
+ },
841
+ "deployedLinkReferences": {
842
+ "contracts/types/Blocknumber.sol": {
843
+ "BlocknumberLib": [
844
+ {
845
+ "length": 20,
846
+ "start": 4576
847
+ }
848
+ ]
849
+ },
850
+ "contracts/types/NftId.sol": {
851
+ "NftIdLib": [
852
+ {
853
+ "length": 20,
854
+ "start": 2435
855
+ },
856
+ {
857
+ "length": 20,
858
+ "start": 4720
859
+ }
860
+ ]
861
+ },
862
+ "contracts/types/RoleId.sol": {
863
+ "RoleIdLib": [
864
+ {
865
+ "length": 20,
866
+ "start": 2140
867
+ },
868
+ {
869
+ "length": 20,
870
+ "start": 7262
871
+ },
872
+ {
873
+ "length": 20,
874
+ "start": 7493
875
+ },
876
+ {
877
+ "length": 20,
878
+ "start": 9408
879
+ },
880
+ {
881
+ "length": 20,
882
+ "start": 9804
883
+ },
884
+ {
885
+ "length": 20,
886
+ "start": 10443
887
+ },
888
+ {
889
+ "length": 20,
890
+ "start": 10949
891
+ },
892
+ {
893
+ "length": 20,
894
+ "start": 11507
895
+ },
896
+ {
897
+ "length": 20,
898
+ "start": 12149
899
+ },
900
+ {
901
+ "length": 20,
902
+ "start": 12710
903
+ },
904
+ {
905
+ "length": 20,
906
+ "start": 13351
907
+ },
908
+ {
909
+ "length": 20,
910
+ "start": 13802
911
+ },
912
+ {
913
+ "length": 20,
914
+ "start": 14015
915
+ },
916
+ {
917
+ "length": 20,
918
+ "start": 14371
919
+ },
920
+ {
921
+ "length": 20,
922
+ "start": 14431
923
+ },
924
+ {
925
+ "length": 20,
926
+ "start": 14491
927
+ },
928
+ {
929
+ "length": 20,
930
+ "start": 14551
931
+ }
932
+ ]
933
+ },
934
+ "contracts/types/Timestamp.sol": {
935
+ "TimestampLib": [
936
+ {
937
+ "length": 20,
938
+ "start": 8115
939
+ }
940
+ ]
941
+ },
942
+ "contracts/types/Version.sol": {
943
+ "VersionLib": [
944
+ {
945
+ "length": 20,
946
+ "start": 1494
947
+ },
948
+ {
949
+ "length": 20,
950
+ "start": 4960
951
+ },
952
+ {
953
+ "length": 20,
954
+ "start": 5455
955
+ },
956
+ {
957
+ "length": 20,
958
+ "start": 5998
959
+ },
960
+ {
961
+ "length": 20,
962
+ "start": 6119
963
+ },
964
+ {
965
+ "length": 20,
966
+ "start": 8995
967
+ },
968
+ {
969
+ "length": 20,
970
+ "start": 9116
971
+ },
972
+ {
973
+ "length": 20,
974
+ "start": 10038
975
+ },
976
+ {
977
+ "length": 20,
978
+ "start": 10159
979
+ },
980
+ {
981
+ "length": 20,
982
+ "start": 11741
983
+ },
984
+ {
985
+ "length": 20,
986
+ "start": 11862
987
+ },
988
+ {
989
+ "length": 20,
990
+ "start": 12944
991
+ },
992
+ {
993
+ "length": 20,
994
+ "start": 13065
995
+ }
996
+ ]
997
+ }
998
+ }
999
+ }