@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fbe8e04-715

Sign up to get free protection for your applications and to get access to all the features.
Files changed (407) hide show
  1. package/README.md +242 -2
  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 +946 -1088
  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 +2592 -1219
  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 +1039 -0
  68. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +552 -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/BundleService.sol/BundleService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +923 -0
  99. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +440 -0
  101. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +381 -77
  103. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +684 -0
  105. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +428 -0
  107. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +669 -0
  109. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  110. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +177 -75
  111. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  112. package/artifacts/contracts/instance/{base/ServiceBase.sol/ServiceBase.json → service/IDistributionService.sol/IDistributionService.json} +204 -58
  113. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  114. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +664 -0
  115. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  116. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +194 -71
  117. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  118. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +202 -143
  119. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  120. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +984 -0
  121. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  122. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +464 -0
  123. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  124. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +323 -76
  125. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  126. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +428 -0
  127. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  128. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +313 -218
  129. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  130. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +420 -0
  131. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  132. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  133. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  134. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +377 -37
  135. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  136. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +947 -0
  137. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  138. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  139. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  140. package/artifacts/contracts/registry/Registry.sol/Registry.json +487 -123
  141. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  142. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1293 -0
  143. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  144. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +517 -0
  145. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  146. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +410 -0
  147. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  148. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  149. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  151. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  152. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  153. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  154. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +117 -37
  155. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  156. package/artifacts/contracts/{instance/base → shared}/IService.sol/IService.json +175 -54
  157. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  159. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  160. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  161. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  162. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  163. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  164. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +190 -37
  165. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +4 -0
  166. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/RegisterableUpgradable.sol/RegisterableUpgradable.json} +199 -83
  167. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  168. package/artifacts/contracts/shared/Service.sol/Service.json +468 -0
  169. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  170. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  171. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  172. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  173. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  174. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  175. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  177. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  178. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +204 -36
  179. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  180. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  181. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  182. package/artifacts/contracts/test/TestService.sol/TestService.json +283 -62
  183. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  184. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  185. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  186. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  187. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  188. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  189. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  190. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  191. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  192. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  196. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  198. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  200. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  202. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  203. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  204. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  206. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  208. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  210. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  212. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  214. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  215. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  216. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  217. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  218. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  220. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  221. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  222. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  223. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  224. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  225. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  226. package/contracts/components/BaseComponent.sol +75 -31
  227. package/contracts/components/Distribution.sol +163 -0
  228. package/contracts/components/IBaseComponent.sol +15 -3
  229. package/contracts/components/IDistributionComponent.sol +44 -0
  230. package/contracts/components/IPoolComponent.sol +19 -10
  231. package/contracts/components/IProductComponent.sol +25 -9
  232. package/contracts/components/Pool.sol +132 -35
  233. package/contracts/components/Product.sol +211 -36
  234. package/contracts/experiment/cloning/Cloner.sol +47 -0
  235. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
  236. package/contracts/instance/BundleManager.sol +129 -0
  237. package/contracts/instance/Cloneable.sol +46 -0
  238. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  239. package/contracts/instance/IInstance.sol +53 -45
  240. package/contracts/instance/IInstanceBase.sol +26 -0
  241. package/contracts/instance/IInstanceService.sol +32 -0
  242. package/contracts/instance/Instance.sol +448 -51
  243. package/contracts/instance/InstanceAccessManager.sol +288 -0
  244. package/contracts/instance/InstanceBase.sol +41 -0
  245. package/contracts/instance/InstanceReader.sol +315 -0
  246. package/contracts/instance/InstanceService.sol +261 -0
  247. package/contracts/instance/InstanceServiceManager.sol +57 -0
  248. package/contracts/instance/ObjectManager.sol +101 -0
  249. package/contracts/instance/base/ComponentServiceBase.sol +46 -16
  250. package/contracts/instance/base/IInstanceBase.sol +11 -2
  251. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  252. package/contracts/instance/base/ILifecycle.sol +3 -3
  253. package/contracts/instance/base/KeyValueStore.sol +53 -37
  254. package/contracts/instance/base/Lifecycle.sol +16 -11
  255. package/contracts/instance/module/IAccess.sol +38 -0
  256. package/contracts/instance/module/IBundle.sol +20 -0
  257. package/contracts/instance/module/IDistribution.sol +39 -0
  258. package/contracts/instance/module/IPolicy.sol +45 -0
  259. package/contracts/instance/module/IRisk.sol +11 -0
  260. package/contracts/instance/module/ISetup.sol +46 -0
  261. package/contracts/instance/module/ITreasury.sol +23 -0
  262. package/contracts/instance/service/BundleService.sol +260 -0
  263. package/contracts/instance/service/BundleServiceManager.sol +54 -0
  264. package/contracts/instance/service/ComponentOwnerService.sol +244 -97
  265. package/contracts/instance/service/DistributionService.sol +118 -0
  266. package/contracts/instance/service/DistributionServiceManager.sol +54 -0
  267. package/contracts/instance/service/IBundleService.sol +45 -0
  268. package/contracts/instance/service/IComponentOwnerService.sol +1 -3
  269. package/contracts/instance/service/IDistributionService.sol +12 -0
  270. package/contracts/instance/service/IPolicyService.sol +87 -0
  271. package/contracts/instance/service/IPoolService.sol +8 -18
  272. package/contracts/instance/service/IProductService.sol +21 -39
  273. package/contracts/instance/service/PolicyService.sol +508 -0
  274. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  275. package/contracts/instance/service/PoolService.sol +86 -85
  276. package/contracts/instance/service/PoolServiceManager.sol +54 -0
  277. package/contracts/instance/service/ProductService.sol +108 -289
  278. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  279. package/contracts/registry/ChainNft.sol +80 -37
  280. package/contracts/registry/IRegistry.sol +49 -25
  281. package/contracts/registry/IRegistryService.sol +50 -0
  282. package/contracts/registry/ITransferInterceptor.sol +6 -0
  283. package/contracts/registry/Registry.sol +337 -270
  284. package/contracts/registry/RegistryService.sol +358 -0
  285. package/contracts/registry/RegistryServiceManager.sol +80 -0
  286. package/contracts/registry/TokenRegistry.sol +111 -0
  287. package/contracts/shared/ContractDeployerLib.sol +72 -0
  288. package/contracts/shared/ERC165.sol +6 -2
  289. package/contracts/shared/INftOwnable.sol +22 -0
  290. package/contracts/shared/IRegisterable.sol +8 -15
  291. package/contracts/{instance/base → shared}/IService.sol +3 -3
  292. package/contracts/shared/IVersionable.sol +55 -11
  293. package/contracts/shared/NftOwnable.sol +134 -0
  294. package/contracts/shared/ProxyManager.sol +94 -0
  295. package/contracts/shared/Registerable.sol +63 -59
  296. package/contracts/shared/RegisterableUpgradable.sol +16 -0
  297. package/contracts/shared/Service.sol +55 -0
  298. package/contracts/shared/TokenHandler.sol +27 -0
  299. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  300. package/contracts/shared/Versionable.sol +113 -55
  301. package/contracts/test/TestFee.sol +2 -2
  302. package/contracts/test/TestRegisterable.sol +5 -6
  303. package/contracts/test/TestRoleId.sol +1 -1
  304. package/contracts/test/TestService.sol +5 -13
  305. package/contracts/types/DistributorType.sol +55 -0
  306. package/contracts/types/Fee.sol +10 -5
  307. package/contracts/types/Key32.sol +8 -3
  308. package/contracts/types/NftIdSet.sol +26 -24
  309. package/contracts/types/NumberId.sol +52 -0
  310. package/contracts/types/ObjectType.sol +51 -14
  311. package/contracts/types/Referral.sol +85 -0
  312. package/contracts/types/RiskId.sol +43 -0
  313. package/contracts/types/RoleId.sol +64 -10
  314. package/contracts/types/StateId.sol +5 -1
  315. package/contracts/types/Timestamp.sol +7 -3
  316. package/contracts/types/UFixed.sol +128 -12
  317. package/contracts/types/Version.sol +13 -1
  318. package/package.json +4 -3
  319. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  320. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  321. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  322. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  323. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  324. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  325. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  326. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  327. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  328. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  329. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  330. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  332. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  333. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  334. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  335. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  336. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  337. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  338. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  339. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  340. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  341. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  342. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  343. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  344. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  345. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  346. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  347. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  348. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  349. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  350. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  352. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  353. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  354. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  355. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  356. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  358. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  359. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  361. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  362. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  363. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  364. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  366. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  368. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  369. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  370. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  371. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  372. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  373. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  374. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  375. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  376. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  377. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  378. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  379. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  380. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  381. package/contracts/experiment/statemachine/README.md +0 -112
  382. package/contracts/instance/IInstanceLinked.sol +0 -8
  383. package/contracts/instance/base/InstanceBase.sol +0 -80
  384. package/contracts/instance/base/ModuleBase.sol +0 -52
  385. package/contracts/instance/base/ServiceBase.sol +0 -37
  386. package/contracts/instance/module/access/Access.sol +0 -149
  387. package/contracts/instance/module/access/IAccess.sol +0 -53
  388. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  389. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  390. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  391. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  392. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  393. package/contracts/instance/module/component/IComponent.sol +0 -53
  394. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  395. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  396. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  397. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  398. package/contracts/instance/module/risk/IRisk.sol +0 -10
  399. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  400. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  401. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  402. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  403. package/contracts/registry/IChainNft.sol +0 -21
  404. package/contracts/registry/IRegistryLinked.sol +0 -8
  405. package/contracts/shared/IOwnable.sol +0 -6
  406. package/contracts/test/TestPool.sol +0 -22
  407. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,1039 @@
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": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000076565b6200012a565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000c75760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620001275780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b614924806200013a6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c80635ab1bd53116100f9578063a745e3df11610097578063c22f980d11610071578063c22f980d14610526578063cde749f414610537578063cf7a1d7714610551578063eeff428e1461056457600080fd5b8063a745e3df146104e0578063b3c65015146104f3578063b88da7591461051357600080fd5b8063893d20e8116100d3578063893d20e81461047257806393c480541461047a578063946dfcfe1461048b578063a3f4df7e146104b257600080fd5b80635ab1bd531461042e578063644c45e01461043f578063872309c71461046a57600080fd5b80631a77e50c116101665780633a0b4b31116101405780633a0b4b31146102de5780633bd516ef146102ef5780634d459c90146103025780634f4213331461041b57600080fd5b80631a77e50c146102735780631eff4b221461029857806336147088146102cd57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063103bd5da14610222578063138461e01461023557806317d7de7c1461023f575b600080fd5b6101db6101bc366004613ff2565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f86105af565b60405162ffffff90911681526020016101e7565b610214610639565b6040516101e792919061406c565b6101db61023036600461413d565b6107bb565b61023d61095b565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190614188565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102bf7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6007546001600160a01b0316610280565b6005546001600160a01b0316610280565b61023d6102fd36600461419b565b610b7d565b6103be610310366004614208565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206148cf83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db610429366004614208565b611192565b6001546001600160a01b0316610280565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b6102bf600081565b610280611245565b6006546001600160a01b0316610280565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102bf565b6102666040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61023d6104ee3660046142ba565b61135e565b6104fb6114b8565b6040516001600160401b0390911681526020016101e7565b6101f861052136600461435e565b6114d9565b61023d61053436600461438c565b50565b61053f61152a565b60405160ff90911681526020016101e7565b61023d61055f3660046142ba565b6115ad565b61056c6116b6565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a0016101e7565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610610573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063491906143a9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106bc6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610704611245565b6001600160a01b03168152602001826001018054610721906143c6565b80601f016020809104026020016040519081016040528092919081815260200182805461074d906143c6565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610801573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610825919061440b565b604051631517388760e21b81526001600160401b038716600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba9190614428565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038b1660248201526044016040805180830381865afa15801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109309190614455565b909250905063ffffffff81161561094e576000945050505050610954565b50925050505b9392505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e19190614495565b15610a28576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610a515760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190614495565b610ae6576040516372657a5160e01b81526001600160a01b0382166004820152602401610a1f565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5491906144bb565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610b85611245565b6001600160a01b0316336001600160a01b031614610bb85760405163700dd81160e01b8152336004820152602401610a1f565b6004546001600160a01b031615610c295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6005546001600160a01b031615610c945760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610a1f565b6007546001600160a01b031615610d055760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6001600160a01b038416610d655760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b6001600160a01b038316610dbb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610a1f565b6001600160a01b038216610e1c5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a1f565b6001600160a01b038116610e7c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef7919061440b565b6001600160a01b031614610f5f5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610a1f565b611037826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc491906144bb565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611002573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102691906144bb565b6001600160601b0390811691161490565b61109b5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a1f565b6110dc816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b61113f5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610a1f565b5050600480546001600160a01b039687166001600160a01b031991821617909155600580549587169582169590951790945550600680549285169284169290921790915560078054919093169116179055565b6000806000805160206148cf83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123e91906144d8565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ce9190614495565b1561134e57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561132a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610634919061440b565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6113806105af565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156113c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e49190614428565b6000805160206148af8339815191528054600160401b900460ff1680611417575080546001600160401b03808416911610155b156114355760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556114608585611e7a565b61146983612119565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106346000805160206148af833981519152546001600160401b031690565b60006000805160206148cf83398151915260010182815481106114fe576114fe6144f1565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006115346105af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190614521565b6000805160206148af8339815191528054600160401b810460ff1615906001600160401b03166000811580156115e05750825b90506000826001600160401b031660011480156115fc5750303b155b90508115801561160a575080155b156116285760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561165257845460ff60401b1916600160401b1785555b61165c8888611e7a565b6116668787612121565b83156116ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa158015611710573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173491906144bb565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156117a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cc91906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611821573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118459190614521565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156118ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cf919061440b565b60045490915081906118e9906001600160a01b0316612277565b604051632207fb6160e21b8152306004820152909a506001600160a01b038b169063881fed8490602401600060405180830381600087803b15801561192d57600080fd5b505af1158015611941573d6000803e3d6000fd5b505060055461195b92506001600160a01b03169050612277565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b1580156119c157600080fd5b505af11580156119d5573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611a24573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4c919081019061458b565b508051600654909a50909150611a6a906001600160a01b0316612277565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b158015611ac257600080fd5b505af1158015611ad6573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015611b1d57600080fd5b505af1158015611b31573d6000803e3d6000fd5b5050600754611b4b92506001600160a01b03169050612277565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b158015611bab57600080fd5b505af1158015611bbf573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015611c0557600080fd5b505af1158015611c19573d6000803e3d6000fd5b50505050611c288b8b896122e9565b8a6001600160a01b03166325c471a0611c3f613a47565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611c98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbc9190614428565b8860006040518463ffffffff1660e01b8152600401611cdd93929190614683565b600060405180830381600087803b158015611cf757600080fd5b505af1158015611d0b573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611d26613a47565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da39190614428565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611dea57600080fd5b505af1158015611dfe573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611e6594939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611e82613abf565b6000805160206148cf8339815191526000611eb26000805160206148af833981519152546001600160401b031690565b90506000611ebe6105af565b9050816001600160401b0316600103611eeb5760028301805462ffffff191662ffffff8316179055611f39565b600283015462ffffff90811690821611611f395760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a1f565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611fed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201191906146b3565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906114a99083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a9613abf565b6000805160206148af8339815191528054600160401b810460ff1615906001600160401b03166000811580156121545750825b90506000826001600160401b031660011480156121705750303b155b90508115801561217e575080155b1561219c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121c657845460ff60401b1916600160401b1785555b6000868060200190518101906121dc91906146da565b600380546001600160a01b039093166001600160a01b03199093168317905591506122079089613af8565b612217631b4612f160e31b613b85565b61222763777fa14760e11b613b85565b50831561226e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166122e4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561235d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238191906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156123d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123fa9190614521565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015612464573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612488919061440b565b9050836001600160a01b03166325c471a06124a1613baa565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156124fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251e9190614428565b8360006040518463ffffffff1660e01b815260040161253f93929190614683565b600060405180830381600087803b15801561255957600080fd5b505af115801561256d573d6000803e3d6000fd5b50600092506002915061257d9050565b6040519080825280602002602001820160405280156125a6578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106125c4576125c46144f1565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106125fb576125fb6144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d858361262d613baa565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612686573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126aa9190614428565b6040518463ffffffff1660e01b81526004016126c893929190614709565b600060405180830381600087803b1580156126e257600080fd5b505af11580156126f6573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612770573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279491906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156127e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280d9190614521565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561286f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612893919061440b565b9050856001600160a01b03166325c471a06128ac613be6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129299190614428565b8360006040518463ffffffff1660e01b815260040161294a93929190614683565b600060405180830381600087803b15801561296457600080fd5b505af1158015612978573d6000803e3d6000fd5b5060009250600491506129889050565b6040519080825280602002602001820160405280156129b1578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106129cf576129cf6144f1565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b9082906001908110612a0657612a066144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d8783612a38613be6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ab59190614428565b6040518463ffffffff1660e01b8152600401612ad393929190614709565b600060405180830381600087803b158015612aed57600080fd5b505af1158015612b01573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612b7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9f91906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c189190614521565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015612c7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca1919061440b565b9050876001600160a01b03166325c471a0612cba613c22565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612d13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d379190614428565b8360006040518463ffffffff1660e01b8152600401612d5893929190614683565b600060405180830381600087803b158015612d7257600080fd5b505af1158015612d86573d6000803e3d6000fd5b506000925060059150612d969050565b604051908082528060200260200182016040528015612dbf578160200160208202803683370190505b5090506391ff6eaa60e01b81600081518110612ddd57612ddd6144f1565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b9082906001908110612e1457612e146144f1565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b9082906002908110612e4b57612e4b6144f1565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b9082906003908110612e8257612e826144f1565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b9082906004908110612eb957612eb96144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b0389166308d6122d8983612eeb613c22565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f689190614428565b6040518463ffffffff1660e01b8152600401612f8693929190614709565b600060405180830381600087803b158015612fa057600080fd5b505af1158015612fb4573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561302e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061305291906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156130a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130cb9190614521565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c506f6c6963795365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa15801561312f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613153919061440b565b9050896001600160a01b03166325c471a061316c613c5e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156131c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131e99190614428565b8360006040518463ffffffff1660e01b815260040161320a93929190614683565b600060405180830381600087803b15801561322457600080fd5b505af1158015613238573d6000803e3d6000fd5b5060009250600391506132489050565b604051908082528060200260200182016040528015613271578160200160208202803683370190505b50905063bc8d400060e01b8160008151811061328f5761328f6144f1565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b90829060019081106132c6576132c66144f1565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b90829060029081106132fd576132fd6144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b038b166308d6122d8b8361332f613c5e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133ac9190614428565b6040518463ffffffff1660e01b81526004016133ca93929190614709565b600060405180830381600087803b1580156133e457600080fd5b505af11580156133f8573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015613472573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349691906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156134eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061350f9190614521565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c42756e646c655365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa158015613573573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613597919061440b565b90508b6001600160a01b03166325c471a06135b0613c9a565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061362d9190614428565b8360006040518463ffffffff1660e01b815260040161364e93929190614683565b600060405180830381600087803b15801561366857600080fd5b505af115801561367c573d6000803e3d6000fd5b50600092506002915061368c9050565b6040519080825280602002602001820160405280156136b5578160200160208202803683370190505b509050636071a68e60e01b816000815181106136d3576136d36144f1565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600190811061370a5761370a6144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b038d166308d6122d8d8361373c613c9a565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137b99190614428565b6040518463ffffffff1660e01b81526004016137d793929190614709565b600060405180830381600087803b1580156137f157600080fd5b505af1158015613805573d6000803e3d6000fd5b5060009250600591506138159050565b60405190808252806020026020018201604052801561383e578160200160208202803683370190505b509050630cc7e61460e01b8160008151811061385c5761385c6144f1565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613893576138936144f1565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b90829060029081106138ca576138ca6144f1565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110613901576139016144f1565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613938576139386144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b038e166308d6122d8d8361396a613c9a565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156139c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139e79190614428565b6040518463ffffffff1660e01b8152600401613a0593929190614709565b600060405180830381600087803b158015613a1f57600080fd5b505af1158015613a33573d6000803e3d6000fd5b505050505050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613a9b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190614428565b6000805160206148af83398151915254600160401b900460ff16613af657604051631afcd79f60e31b815260040160405180910390fd5b565b6000613b2660408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b613b2e61152a565b604051602001613b3f92919061477b565b60405160208183030381529060405290506000613b5b84613cd6565b90506000613b6e8583603c848888613d47565b613b7e631b4612f160e31b613b85565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613a7e565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613a7e565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613a7e565b6040516368aebf7b60e01b815261283c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613a7e565b6040516368aebf7b60e01b81526128a0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613a7e565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d4191906144bb565b92915050565b613d886301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613d928287613e13565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613e0283826147ef565b5061226e6303fb044760e21b613b85565b6001600160a01b038216613e695760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610a1f565b600280546001600160a01b0319166001600160a01b038416179055613e8d81613e91565b5050565b6001546001600160a01b031615613eca5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a1f565b6001600160a01b038116613ef15760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613f275760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613fa1575060408051601f3d908101601f19168201909252613f9e91810190614495565b60015b613fc95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b80613e8d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a1f565b60006020828403121561400457600080fd5b81356001600160e01b03198116811461095457600080fd5b60005b8381101561403757818101518382015260200161401f565b50506000910152565b6000815180845261405881602086016020860161401c565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516140b060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526140f6610120840182614040565b9050828103602084015261410a8185614040565b95945050505050565b6001600160a01b038116811461053457600080fd5b6001600160401b038116811461053457600080fd5b60008060006060848603121561415257600080fd5b833561415d81614113565b9250602084013561416d81614128565b9150604084013561417d81614113565b809150509250925092565b6020815260006109546020830184614040565b600080600080608085870312156141b157600080fd5b84356141bc81614113565b935060208501356141cc81614113565b925060408501356141dc81614113565b915060608501356141ec81614113565b939692955090935050565b62ffffff8116811461053457600080fd5b60006020828403121561421a57600080fd5b8135610954816141f7565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561425d5761425d614225565b60405290565b604051601f8201601f191681016001600160401b038111828210171561428b5761428b614225565b604052919050565b60006001600160401b038211156142ac576142ac614225565b50601f01601f191660200190565b6000806000606084860312156142cf57600080fd5b83356142da81614113565b925060208401356142ea81614113565b915060408401356001600160401b0381111561430557600080fd5b8401601f8101861361431657600080fd5b803561432961432482614293565b614263565b81815287602083850101111561433e57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561437057600080fd5b5035919050565b6001600160601b038116811461053457600080fd5b60006020828403121561439e57600080fd5b813561095481614377565b6000602082840312156143bb57600080fd5b8151610954816141f7565b600181811c908216806143da57607f821691505b6020821081036143fa57634e487b7160e01b600052602260045260246000fd5b50919050565b80516122e481614113565b60006020828403121561441d57600080fd5b815161095481614113565b60006020828403121561443a57600080fd5b815161095481614128565b805180151581146122e457600080fd5b6000806040838503121561446857600080fd5b61447183614445565b9150602083015163ffffffff8116811461448a57600080fd5b809150509250929050565b6000602082840312156144a757600080fd5b61095482614445565b80516122e481614377565b6000602082840312156144cd57600080fd5b815161095481614377565b6000602082840312156144ea57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461053457600080fd5b80516122e481614507565b60006020828403121561453357600080fd5b815161095481614507565b600082601f83011261454f57600080fd5b815161455d61432482614293565b81815284602083860101111561457257600080fd5b61458382602083016020870161401c565b949350505050565b6000806040838503121561459e57600080fd5b82516001600160401b03808211156145b557600080fd5b9084019060e082870312156145c957600080fd5b6145d161423b565b6145da836144b0565b81526145e8602084016144b0565b60208201526145f960408401614516565b604082015261460a60608401614445565b606082015261461b60808401614400565b608082015261462c60a08401614400565b60a082015260c08301518281111561464357600080fd5b61464f8882860161453e565b60c083015250602086015190945091508082111561466c57600080fd5b506146798582860161453e565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b6000602082840312156146c557600080fd5b815164ffffffffff8116811461095457600080fd5b600080604083850312156146ed57600080fd5b82516146f881614113565b602084015190925061448a81614113565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b8181101561475c5784516001600160e01b03191683529383019391830191600101614736565b50508093505050506001600160401b0383166040830152949350505050565b60408152600061478e6040830185614040565b905060ff831660208301529392505050565b601f8211156147ea57600081815260208120601f850160051c810160208610156147c75750805b601f850160051c820191505b818110156147e6578281556001016147d3565b5050505b505050565b81516001600160401b0381111561480857614808614225565b61481c8161481684546143c6565b846147a0565b602080601f83116001811461485157600084156148395750858301515b600019600386901b1c1916600185901b1785556147e6565b600085815260208120601f198616915b8281101561488057888601518255948401946001909101908401614861565b508582101561489e5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220284399c415b51b9122ebf7da3fd90073c90d4bc7b98906256cd52051e0ebb9b364736f6c63430008140033",
682
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101a95760003560e01c80635ab1bd53116100f9578063a745e3df11610097578063c22f980d11610071578063c22f980d14610526578063cde749f414610537578063cf7a1d7714610551578063eeff428e1461056457600080fd5b8063a745e3df146104e0578063b3c65015146104f3578063b88da7591461051357600080fd5b8063893d20e8116100d3578063893d20e81461047257806393c480541461047a578063946dfcfe1461048b578063a3f4df7e146104b257600080fd5b80635ab1bd531461042e578063644c45e01461043f578063872309c71461046a57600080fd5b80631a77e50c116101665780633a0b4b31116101405780633a0b4b31146102de5780633bd516ef146102ef5780634d459c90146103025780634f4213331461041b57600080fd5b80631a77e50c146102735780631eff4b221461029857806336147088146102cd57600080fd5b806301ffc9a7146101ae5780630d8e6e2c146101f05780630fec111c1461020c578063103bd5da14610222578063138461e01461023557806317d7de7c1461023f575b600080fd5b6101db6101bc366004613ff2565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6101f86105af565b60405162ffffff90911681526020016101e7565b610214610639565b6040516101e792919061406c565b6101db61023036600461413d565b6107bb565b61023d61095b565b005b60408051808201909152600f81526e496e7374616e63655365727669636560881b60208201525b6040516101e79190614188565b6004546001600160a01b03165b6040516001600160a01b0390911681526020016101e7565b6102bf7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016101e7565b6007546001600160a01b0316610280565b6005546001600160a01b0316610280565b61023d6102fd36600461419b565b610b7d565b6103be610310366004614208565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206148cf83398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016101e7565b6101db610429366004614208565b611192565b6001546001600160a01b0316610280565b600154600160a01b90046001600160601b03166040516001600160601b0390911681526020016101e7565b6102bf600081565b610280611245565b6006546001600160a01b0316610280565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed901546102bf565b6102666040518060400160405280600f81526020016e496e7374616e63655365727669636560881b81525081565b61023d6104ee3660046142ba565b61135e565b6104fb6114b8565b6040516001600160401b0390911681526020016101e7565b6101f861052136600461435e565b6114d9565b61023d61053436600461438c565b50565b61053f61152a565b60405160ff90911681526020016101e7565b61023d61055f3660046142ba565b6115ad565b61056c6116b6565b604080516001600160a01b03968716815294861660208601526001600160601b03909316928401929092528316606083015291909116608082015260a0016101e7565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015610610573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063491906143a9565b905090565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806106bc6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610704611245565b6001600160a01b03168152602001826001018054610721906143c6565b80601f016020809104026020016040519081016040528092919081815260200182805461074d906143c6565b801561079a5780601f1061076f5761010080835404028352916020019161079a565b820191906000526020600020905b81548152906001019060200180831161077d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000808290506000816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610801573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610825919061440b565b604051631517388760e21b81526001600160401b038716600482015290915060009081906001600160a01b0384169063d1f856ee9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610896573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ba9190614428565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038b1660248201526044016040805180830381865afa15801561090c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109309190614455565b909250905063ffffffff81161561094e576000945050505050610954565b50925050505b9392505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e19190614495565b15610a28576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610a515760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610abe9190614495565b610ae6576040516372657a5160e01b81526001600160a01b0382166004820152602401610a1f565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610b30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b5491906144bb565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610b85611245565b6001600160a01b0316336001600160a01b031614610bb85760405163700dd81160e01b8152336004820152602401610a1f565b6004546001600160a01b031615610c295760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030313a4143434553535f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6005546001600160a01b031615610c945760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030323a494e5354414e43455f4d41535445525f414c604482015268149150511657d4d15560ba1b6064820152608401610a1f565b6007546001600160a01b031615610d055760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3030343a42554e444c455f4d414e414745525f4d415360448201526e15115497d053149150511657d4d155608a1b6064820152608401610a1f565b6001600160a01b038416610d655760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030353a4143434553535f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b6001600160a01b038316610dbb5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a4352442d3030363a494e5354414e43455f5a45524f00000000006044820152606401610a1f565b6001600160a01b038216610e1c5760405162461bcd60e51b815260206004820152602260248201527f4552524f523a4352442d3030373a494e5354414e43455f5245414445525f5a45604482015261524f60f01b6064820152608401610a1f565b6001600160a01b038116610e7c5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4352442d3030383a42554e444c455f4d414e414745525f5a45526044820152604f60f81b6064820152608401610a1f565b600083905060008390506000839050866001600160a01b0316836001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ed3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef7919061440b565b6001600160a01b031614610f5f5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a4352442d3030393a494e5354414e43455f415554484f524954596044820152680be9a92a69a82a886960bb1b6064820152608401610a1f565b611037826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc491906144bb565b846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611002573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061102691906144bb565b6001600160601b0390811691161490565b61109b5760405162461bcd60e51b815260206004820152602f60248201527f4552524f523a4352442d3031303a494e5354414e43455f5245414445525f494e60448201526e0a6a8829c868abe9a92a69a82a8869608b1b6064820152608401610a1f565b6110dc816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fa0573d6000803e3d6000fd5b61113f5760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a4352442d3031313a42554e444c455f4d414e414745525f494e5360448201526d0a8829c868abe9a92a69a82a886960931b6064820152608401610a1f565b5050600480546001600160a01b039687166001600160a01b031991821617909155600580549587169582169590951790945550600680549285169284169290921790915560078054919093169116179055565b6000806000805160206148cf83398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801561121a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123e91906144d8565b1192915050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156112aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ce9190614495565b1561134e57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561132a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610634919061440b565b506002546001600160a01b031690565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c6113806105af565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156113c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e49190614428565b6000805160206148af8339815191528054600160401b900460ff1680611417575080546001600160401b03808416911610155b156114355760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b1781556114608585611e7a565b61146983612119565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15050505050565b60006106346000805160206148af833981519152546001600160401b031690565b60006000805160206148cf83398151915260010182815481106114fe576114fe6144f1565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60006115346105af565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190614521565b6000805160206148af8339815191528054600160401b810460ff1615906001600160401b03166000811580156115e05750825b90506000826001600160401b031660011480156115fc5750303b155b90508115801561160a575080155b156116285760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561165257845460ff60401b1916600160401b1785555b61165c8888611e7a565b6116668787612121565b83156116ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b5050505050505050565b600354604051636939560f60e11b81526001600160a01b039091166004820181905260009182918291829182913391908390829063d272ac1e90602401602060405180830381865afa158015611710573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173491906144bb565b604051632efe011360e01b815260036004820152600060248201819052604482018190529192506001600160a01b0384169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156117a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cc91906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611821573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118459190614521565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e52656769737472795365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa1580156118ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118cf919061440b565b60045490915081906118e9906001600160a01b0316612277565b604051632207fb6160e21b8152306004820152909a506001600160a01b038b169063881fed8490602401600060405180830381600087803b15801561192d57600080fd5b505af1158015611941573d6000803e3d6000fd5b505060055461195b92506001600160a01b03169050612277565b60035460405163976b0a7760e01b81526001600160a01b038d8116600483015291821660248201526001600160601b0386166044820152336064820152919a508a169063976b0a7790608401600060405180830381600087803b1580156119c157600080fd5b505af11580156119d5573d6000803e3d6000fd5b505060405163834af15360e01b81526001600160a01b038c81166004830152600093508416915063834af153906024016000604051808303816000875af1158015611a24573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a4c919081019061458b565b508051600654909a50909150611a6a906001600160a01b0316612277565b600354604051633ca904dd60e21b81526001600160a01b0391821660048201526001600160601b038c16602482015291995089169063f2a4137490604401600060405180830381600087803b158015611ac257600080fd5b505af1158015611ad6573d6000803e3d6000fd5b5050604051633def10c760e21b81526001600160a01b038b811660048301528d16925063f7bc431c9150602401600060405180830381600087803b158015611b1d57600080fd5b505af1158015611b31573d6000803e3d6000fd5b5050600754611b4b92506001600160a01b03169050612277565b600354604051630c861c2560e41b81526001600160a01b038e8116600483015291821660248201526001600160601b038c16604482015291985088169063c861c25090606401600060405180830381600087803b158015611bab57600080fd5b505af1158015611bbf573d6000803e3d6000fd5b505060405162422c9d60e81b81526001600160a01b038a811660048301528d16925063422c9d009150602401600060405180830381600087803b158015611c0557600080fd5b505af1158015611c19573d6000803e3d6000fd5b50505050611c288b8b896122e9565b8a6001600160a01b03166325c471a0611c3f613a47565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611c98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbc9190614428565b8860006040518463ffffffff1660e01b8152600401611cdd93929190614683565b600060405180830381600087803b158015611cf757600080fd5b505af1158015611d0b573d6000803e3d6000fd5b505050508a6001600160a01b031663b7d2b162611d26613a47565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da39190614428565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152306024820152604401600060405180830381600087803b158015611dea57600080fd5b505af1158015611dfe573d6000803e3d6000fd5b505050507f89f53d1fc9d655ac6863fb19d55f6cc8a7649a51ec36a0d13ec77d2bd2e970f38b8b8a8c604051611e6594939291906001600160a01b0394851681529284166020840152921660408201526001600160601b0391909116606082015260800190565b60405180910390a15050505050509091929394565b611e82613abf565b6000805160206148cf8339815191526000611eb26000805160206148af833981519152546001600160401b031690565b90506000611ebe6105af565b9050816001600160401b0316600103611eeb5760028301805462ffffff191662ffffff8316179055611f39565b600283015462ffffff90811690821611611f395760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610a1f565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af4158015611fed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201191906146b3565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf68906114a99083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6101a9613abf565b6000805160206148af8339815191528054600160401b810460ff1615906001600160401b03166000811580156121545750825b90506000826001600160401b031660011480156121705750303b155b90508115801561217e575080155b1561219c5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156121c657845460ff60401b1916600160401b1785555b6000868060200190518101906121dc91906146da565b600380546001600160a01b039093166001600160a01b03199093168317905591506122079089613af8565b612217631b4612f160e31b613b85565b61222763777fa14760e11b613b85565b50831561226e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b6000763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c176000526e5af43d82803e903d91602b57fd5bf38260781b17602052603760096000f090506001600160a01b0381166122e4576040516330be1a3d60e21b815260040160405180910390fd5b919050565b600154604051632efe011360e01b81526003600482015260006024820181905260448201819052916001600160a01b03169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561235d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061238191906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156123d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123fa9190614521565b604080516001600160e01b031960e085901b16815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b606482015260ff9091166024820152608401602060405180830381865afa158015612464573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612488919061440b565b9050836001600160a01b03166325c471a06124a1613baa565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156124fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251e9190614428565b8360006040518463ffffffff1660e01b815260040161253f93929190614683565b600060405180830381600087803b15801561255957600080fd5b505af115801561256d573d6000803e3d6000fd5b50600092506002915061257d9050565b6040519080825280602002602001820160405280156125a6578160200160208202803683370190505b509050630b24cf5f60e01b816000815181106125c4576125c46144f1565b6001600160e01b031990921660209283029190910190910152805163bd5947e360e01b90829060019081106125fb576125fb6144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b0385166308d6122d858361262d613baa565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612686573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126aa9190614428565b6040518463ffffffff1660e01b81526004016126c893929190614709565b600060405180830381600087803b1580156126e257600080fd5b505af11580156126f6573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612770573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279491906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156127e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061280d9190614521565b604080516001600160e01b031960e085901b1681526004810191909152600b60448201526a506f6f6c5365727669636560a81b606482015260ff9091166024820152608401602060405180830381865afa15801561286f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612893919061440b565b9050856001600160a01b03166325c471a06128ac613be6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129299190614428565b8360006040518463ffffffff1660e01b815260040161294a93929190614683565b600060405180830381600087803b15801561296457600080fd5b505af1158015612978573d6000803e3d6000fd5b5060009250600491506129889050565b6040519080825280602002602001820160405280156129b1578160200160208202803683370190505b50905063e7cd37d460e01b816000815181106129cf576129cf6144f1565b6001600160e01b0319909216602092830291909101909101528051633055195560e11b9082906001908110612a0657612a066144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b0387166308d6122d8783612a38613be6565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612a91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ab59190614428565b6040518463ffffffff1660e01b8152600401612ad393929190614709565b600060405180830381600087803b158015612aed57600080fd5b505af1158015612b01573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015612b7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b9f91906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015612bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c189190614521565b604080516001600160e01b031960e085901b1681526004810191909152600e60448201526d50726f647563745365727669636560901b606482015260ff9091166024820152608401602060405180830381865afa158015612c7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca1919061440b565b9050876001600160a01b03166325c471a0612cba613c22565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612d13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d379190614428565b8360006040518463ffffffff1660e01b8152600401612d5893929190614683565b600060405180830381600087803b158015612d7257600080fd5b505af1158015612d86573d6000803e3d6000fd5b506000925060059150612d969050565b604051908082528060200260200182016040528015612dbf578160200160208202803683370190505b5090506391ff6eaa60e01b81600081518110612ddd57612ddd6144f1565b6001600160e01b03199092166020928302919091019091015280516354e750a160e11b9082906001908110612e1457612e146144f1565b6001600160e01b03199092166020928302919091019091015280516317b0844560e11b9082906002908110612e4b57612e4b6144f1565b6001600160e01b03199092166020928302919091019091015280516314eddc0360e31b9082906003908110612e8257612e826144f1565b6001600160e01b0319909216602092830291909101909101528051633e77a42160e11b9082906004908110612eb957612eb96144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b0389166308d6122d8983612eeb613c22565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612f44573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f689190614428565b6040518463ffffffff1660e01b8152600401612f8693929190614709565b600060405180830381600087803b158015612fa057600080fd5b505af1158015612fb4573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801561302e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061305291906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156130a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130cb9190614521565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c506f6c6963795365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa15801561312f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613153919061440b565b9050896001600160a01b03166325c471a061316c613c5e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156131c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131e99190614428565b8360006040518463ffffffff1660e01b815260040161320a93929190614683565b600060405180830381600087803b15801561322457600080fd5b505af1158015613238573d6000803e3d6000fd5b5060009250600391506132489050565b604051908082528060200260200182016040528015613271578160200160208202803683370190505b50905063bc8d400060e01b8160008151811061328f5761328f6144f1565b6001600160e01b0319909216602092830291909101909101528051634d4b06a960e11b90829060019081106132c6576132c66144f1565b6001600160e01b0319909216602092830291909101909101528051631750d17360e21b90829060029081106132fd576132fd6144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b038b166308d6122d8b8361332f613c5e565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613388573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133ac9190614428565b6040518463ffffffff1660e01b81526004016133ca93929190614709565b600060405180830381600087803b1580156133e457600080fd5b505af11580156133f8573d6000803e3d6000fd5b5050600154604051632efe011360e01b8152600360048201526000602482018190526044820181905293506001600160a01b03909116915063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015613472573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061349691906143a9565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156134eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061350f9190614521565b604080516001600160e01b031960e085901b1681526004810191909152600d60448201526c42756e646c655365727669636560981b606482015260ff9091166024820152608401602060405180830381865afa158015613573573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613597919061440b565b90508b6001600160a01b03166325c471a06135b0613c9a565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613609573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061362d9190614428565b8360006040518463ffffffff1660e01b815260040161364e93929190614683565b600060405180830381600087803b15801561366857600080fd5b505af115801561367c573d6000803e3d6000fd5b50600092506002915061368c9050565b6040519080825280602002602001820160405280156136b5578160200160208202803683370190505b509050636071a68e60e01b816000815181106136d3576136d36144f1565b6001600160e01b03199092166020928302919091019091015280516307f8b57360e31b908290600190811061370a5761370a6144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b038d166308d6122d8d8361373c613c9a565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015613795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137b99190614428565b6040518463ffffffff1660e01b81526004016137d793929190614709565b600060405180830381600087803b1580156137f157600080fd5b505af1158015613805573d6000803e3d6000fd5b5060009250600591506138159050565b60405190808252806020026020018201604052801561383e578160200160208202803683370190505b509050630cc7e61460e01b8160008151811061385c5761385c6144f1565b6001600160e01b0319909216602092830291909101909101528051631351fccf60e31b9082906001908110613893576138936144f1565b6001600160e01b03199092166020928302919091019091015280516346f0e8a760e11b90829060029081106138ca576138ca6144f1565b6001600160e01b031990921660209283029190910190910152805163b5346af560e01b9082906003908110613901576139016144f1565b6001600160e01b03199092166020928302919091019091015280516306fa456560e01b9082906004908110613938576139386144f1565b6001600160e01b0319909216602092830291909101909101526001600160a01b038e166308d6122d8d8361396a613c9a565b604051631517388760e21b81526001600160401b03909116600482015273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156139c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139e79190614428565b6040518463ffffffff1660e01b8152600401613a0593929190614709565b600060405180830381600087803b158015613a1f57600080fd5b505af1158015613a33573d6000803e3d6000fd5b505050505050505050505050505050505050565b6040516368aebf7b60e01b81526000600482018190529073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af4158015613a9b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106349190614428565b6000805160206148af83398151915254600160401b900460ff16613af657604051631afcd79f60e31b815260040160405180910390fd5b565b6000613b2660408051808201909152600f81526e496e7374616e63655365727669636560881b602082015290565b613b2e61152a565b604051602001613b3f92919061477b565b60405160208183030381529060405290506000613b5b84613cd6565b90506000613b6e8583603c848888613d47565b613b7e631b4612f160e31b613b85565b5050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516368aebf7b60e01b8152612710600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613a7e565b6040516368aebf7b60e01b8152612774600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613a7e565b6040516368aebf7b60e01b81526127d8600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613a7e565b6040516368aebf7b60e01b815261283c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613a7e565b6040516368aebf7b60e01b81526128a0600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401613a7e565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015613d1d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613d4191906144bb565b92915050565b613d886301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b613d928287613e13565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101613e0283826147ef565b5061226e6303fb044760e21b613b85565b6001600160a01b038216613e695760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610a1f565b600280546001600160a01b0319166001600160a01b038416179055613e8d81613e91565b5050565b6001546001600160a01b031615613eca5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610a1f565b6001600160a01b038116613ef15760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613f275760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa925050508015613fa1575060408051601f3d908101601f19168201909252613f9e91810190614495565b60015b613fc95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610a1f565b80613e8d5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610a1f565b60006020828403121561400457600080fd5b81356001600160e01b03198116811461095457600080fd5b60005b8381101561403757818101518382015260200161401f565b50506000910152565b6000815180845261405881602086016020860161401c565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516140b060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526140f6610120840182614040565b9050828103602084015261410a8185614040565b95945050505050565b6001600160a01b038116811461053457600080fd5b6001600160401b038116811461053457600080fd5b60008060006060848603121561415257600080fd5b833561415d81614113565b9250602084013561416d81614128565b9150604084013561417d81614113565b809150509250925092565b6020815260006109546020830184614040565b600080600080608085870312156141b157600080fd5b84356141bc81614113565b935060208501356141cc81614113565b925060408501356141dc81614113565b915060608501356141ec81614113565b939692955090935050565b62ffffff8116811461053457600080fd5b60006020828403121561421a57600080fd5b8135610954816141f7565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171561425d5761425d614225565b60405290565b604051601f8201601f191681016001600160401b038111828210171561428b5761428b614225565b604052919050565b60006001600160401b038211156142ac576142ac614225565b50601f01601f191660200190565b6000806000606084860312156142cf57600080fd5b83356142da81614113565b925060208401356142ea81614113565b915060408401356001600160401b0381111561430557600080fd5b8401601f8101861361431657600080fd5b803561432961432482614293565b614263565b81815287602083850101111561433e57600080fd5b816020840160208301376000602083830101528093505050509250925092565b60006020828403121561437057600080fd5b5035919050565b6001600160601b038116811461053457600080fd5b60006020828403121561439e57600080fd5b813561095481614377565b6000602082840312156143bb57600080fd5b8151610954816141f7565b600181811c908216806143da57607f821691505b6020821081036143fa57634e487b7160e01b600052602260045260246000fd5b50919050565b80516122e481614113565b60006020828403121561441d57600080fd5b815161095481614113565b60006020828403121561443a57600080fd5b815161095481614128565b805180151581146122e457600080fd5b6000806040838503121561446857600080fd5b61447183614445565b9150602083015163ffffffff8116811461448a57600080fd5b809150509250929050565b6000602082840312156144a757600080fd5b61095482614445565b80516122e481614377565b6000602082840312156144cd57600080fd5b815161095481614377565b6000602082840312156144ea57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b60ff8116811461053457600080fd5b80516122e481614507565b60006020828403121561453357600080fd5b815161095481614507565b600082601f83011261454f57600080fd5b815161455d61432482614293565b81815284602083860101111561457257600080fd5b61458382602083016020870161401c565b949350505050565b6000806040838503121561459e57600080fd5b82516001600160401b03808211156145b557600080fd5b9084019060e082870312156145c957600080fd5b6145d161423b565b6145da836144b0565b81526145e8602084016144b0565b60208201526145f960408401614516565b604082015261460a60608401614445565b606082015261461b60808401614400565b608082015261462c60a08401614400565b60a082015260c08301518281111561464357600080fd5b61464f8882860161453e565b60c083015250602086015190945091508082111561466c57600080fd5b506146798582860161453e565b9150509250929050565b6001600160401b039390931683526001600160a01b0391909116602083015263ffffffff16604082015260600190565b6000602082840312156146c557600080fd5b815164ffffffffff8116811461095457600080fd5b600080604083850312156146ed57600080fd5b82516146f881614113565b602084015190925061448a81614113565b6001600160a01b038416815260606020808301829052845191830182905260009185820191906080850190845b8181101561475c5784516001600160e01b03191683529383019391830191600101614736565b50508093505050506001600160401b0383166040830152949350505050565b60408152600061478e6040830185614040565b905060ff831660208301529392505050565b601f8211156147ea57600081815260208120601f850160051c810160208610156147c75750805b601f850160051c820191505b818110156147e6578281556001016147d3565b5050505b505050565b81516001600160401b0381111561480857614808614225565b61481c8161481684546143c6565b846147a0565b602080601f83116001811461485157600084156148395750858301515b600019600386901b1c1916600185901b1785556147e6565b600085815260208120601f198616915b8281101561488057888601518255948401946001909101908401614861565b508582101561489e5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fef0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a2646970667358221220284399c415b51b9122ebf7da3fd90073c90d4bc7b98906256cd52051e0ebb9b364736f6c63430008140033",
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": 11153
733
+ },
734
+ {
735
+ "length": 20,
736
+ "start": 11795
737
+ },
738
+ {
739
+ "length": 20,
740
+ "start": 12356
741
+ },
742
+ {
743
+ "length": 20,
744
+ "start": 12997
745
+ },
746
+ {
747
+ "length": 20,
748
+ "start": 13448
749
+ },
750
+ {
751
+ "length": 20,
752
+ "start": 14089
753
+ },
754
+ {
755
+ "length": 20,
756
+ "start": 14485
757
+ },
758
+ {
759
+ "length": 20,
760
+ "start": 15043
761
+ },
762
+ {
763
+ "length": 20,
764
+ "start": 15258
765
+ },
766
+ {
767
+ "length": 20,
768
+ "start": 15614
769
+ },
770
+ {
771
+ "length": 20,
772
+ "start": 15674
773
+ },
774
+ {
775
+ "length": 20,
776
+ "start": 15734
777
+ },
778
+ {
779
+ "length": 20,
780
+ "start": 15794
781
+ },
782
+ {
783
+ "length": 20,
784
+ "start": 15854
785
+ }
786
+ ]
787
+ },
788
+ "contracts/types/Timestamp.sol": {
789
+ "TimestampLib": [
790
+ {
791
+ "length": 20,
792
+ "start": 8429
793
+ }
794
+ ]
795
+ },
796
+ "contracts/types/Version.sol": {
797
+ "VersionLib": [
798
+ {
799
+ "length": 20,
800
+ "start": 1808
801
+ },
802
+ {
803
+ "length": 20,
804
+ "start": 5274
805
+ },
806
+ {
807
+ "length": 20,
808
+ "start": 5769
809
+ },
810
+ {
811
+ "length": 20,
812
+ "start": 6312
813
+ },
814
+ {
815
+ "length": 20,
816
+ "start": 6433
817
+ },
818
+ {
819
+ "length": 20,
820
+ "start": 9309
821
+ },
822
+ {
823
+ "length": 20,
824
+ "start": 9430
825
+ },
826
+ {
827
+ "length": 20,
828
+ "start": 10352
829
+ },
830
+ {
831
+ "length": 20,
832
+ "start": 10473
833
+ },
834
+ {
835
+ "length": 20,
836
+ "start": 11387
837
+ },
838
+ {
839
+ "length": 20,
840
+ "start": 11508
841
+ },
842
+ {
843
+ "length": 20,
844
+ "start": 12590
845
+ },
846
+ {
847
+ "length": 20,
848
+ "start": 12711
849
+ },
850
+ {
851
+ "length": 20,
852
+ "start": 13682
853
+ },
854
+ {
855
+ "length": 20,
856
+ "start": 13803
857
+ }
858
+ ]
859
+ }
860
+ },
861
+ "deployedLinkReferences": {
862
+ "contracts/types/Blocknumber.sol": {
863
+ "BlocknumberLib": [
864
+ {
865
+ "length": 20,
866
+ "start": 4576
867
+ }
868
+ ]
869
+ },
870
+ "contracts/types/NftId.sol": {
871
+ "NftIdLib": [
872
+ {
873
+ "length": 20,
874
+ "start": 2435
875
+ },
876
+ {
877
+ "length": 20,
878
+ "start": 4720
879
+ }
880
+ ]
881
+ },
882
+ "contracts/types/RoleId.sol": {
883
+ "RoleIdLib": [
884
+ {
885
+ "length": 20,
886
+ "start": 2140
887
+ },
888
+ {
889
+ "length": 20,
890
+ "start": 7262
891
+ },
892
+ {
893
+ "length": 20,
894
+ "start": 7493
895
+ },
896
+ {
897
+ "length": 20,
898
+ "start": 9408
899
+ },
900
+ {
901
+ "length": 20,
902
+ "start": 9804
903
+ },
904
+ {
905
+ "length": 20,
906
+ "start": 10443
907
+ },
908
+ {
909
+ "length": 20,
910
+ "start": 10839
911
+ },
912
+ {
913
+ "length": 20,
914
+ "start": 11481
915
+ },
916
+ {
917
+ "length": 20,
918
+ "start": 12042
919
+ },
920
+ {
921
+ "length": 20,
922
+ "start": 12683
923
+ },
924
+ {
925
+ "length": 20,
926
+ "start": 13134
927
+ },
928
+ {
929
+ "length": 20,
930
+ "start": 13775
931
+ },
932
+ {
933
+ "length": 20,
934
+ "start": 14171
935
+ },
936
+ {
937
+ "length": 20,
938
+ "start": 14729
939
+ },
940
+ {
941
+ "length": 20,
942
+ "start": 14944
943
+ },
944
+ {
945
+ "length": 20,
946
+ "start": 15300
947
+ },
948
+ {
949
+ "length": 20,
950
+ "start": 15360
951
+ },
952
+ {
953
+ "length": 20,
954
+ "start": 15420
955
+ },
956
+ {
957
+ "length": 20,
958
+ "start": 15480
959
+ },
960
+ {
961
+ "length": 20,
962
+ "start": 15540
963
+ }
964
+ ]
965
+ },
966
+ "contracts/types/Timestamp.sol": {
967
+ "TimestampLib": [
968
+ {
969
+ "length": 20,
970
+ "start": 8115
971
+ }
972
+ ]
973
+ },
974
+ "contracts/types/Version.sol": {
975
+ "VersionLib": [
976
+ {
977
+ "length": 20,
978
+ "start": 1494
979
+ },
980
+ {
981
+ "length": 20,
982
+ "start": 4960
983
+ },
984
+ {
985
+ "length": 20,
986
+ "start": 5455
987
+ },
988
+ {
989
+ "length": 20,
990
+ "start": 5998
991
+ },
992
+ {
993
+ "length": 20,
994
+ "start": 6119
995
+ },
996
+ {
997
+ "length": 20,
998
+ "start": 8995
999
+ },
1000
+ {
1001
+ "length": 20,
1002
+ "start": 9116
1003
+ },
1004
+ {
1005
+ "length": 20,
1006
+ "start": 10038
1007
+ },
1008
+ {
1009
+ "length": 20,
1010
+ "start": 10159
1011
+ },
1012
+ {
1013
+ "length": 20,
1014
+ "start": 11073
1015
+ },
1016
+ {
1017
+ "length": 20,
1018
+ "start": 11194
1019
+ },
1020
+ {
1021
+ "length": 20,
1022
+ "start": 12276
1023
+ },
1024
+ {
1025
+ "length": 20,
1026
+ "start": 12397
1027
+ },
1028
+ {
1029
+ "length": 20,
1030
+ "start": 13368
1031
+ },
1032
+ {
1033
+ "length": 20,
1034
+ "start": 13489
1035
+ }
1036
+ ]
1037
+ }
1038
+ }
1039
+ }