@etherisc/gif-next 0.0.2-d3ee0cc-268 → 0.0.2-d48ae55-246

Sign up to get free protection for your applications and to get access to all the features.
Files changed (426) hide show
  1. package/README.md +314 -11
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +897 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1433 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +292 -224
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +950 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +614 -76
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +594 -60
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1138 -159
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1084 -99
  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/BundleManager.sol/BundleManager.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  46. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  47. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  48. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1539 -1018
  50. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  51. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +674 -0
  52. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.json +2262 -1095
  54. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1386 -0
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1260 -0
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +610 -0
  62. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  64. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +754 -0
  66. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  68. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  70. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  71. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  73. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  75. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  76. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  77. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  78. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  79. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  80. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  81. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  83. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  84. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  85. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  87. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1117 -0
  89. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1318 -0
  91. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +586 -0
  93. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1200 -0
  95. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +614 -0
  97. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +638 -0
  99. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +798 -0
  101. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +656 -0
  103. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +784 -0
  105. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  106. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +208 -72
  107. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +217 -145
  109. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  110. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1378 -0
  111. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  112. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +642 -0
  113. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  114. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +570 -84
  115. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +574 -0
  117. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  118. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +546 -212
  119. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +574 -0
  121. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  122. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  123. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  124. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
  125. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  126. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +1055 -0
  127. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  128. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  129. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  130. package/artifacts/contracts/registry/Registry.sol/Registry.json +470 -103
  131. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  133. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  134. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1407 -0
  135. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  136. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +601 -0
  137. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  138. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  139. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  140. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +531 -0
  141. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  142. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  143. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  144. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  146. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +62 -72
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +125 -32
  151. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  152. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +69 -0
  153. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  154. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +181 -111
  155. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  156. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  157. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  158. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +303 -0
  159. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  160. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +269 -0
  161. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  162. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +499 -0
  163. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  164. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +318 -24
  165. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  166. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +105 -0
  167. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  168. package/artifacts/contracts/shared/Service.sol/Service.json +627 -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 +333 -24
  179. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  180. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +44 -10
  181. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  182. package/artifacts/contracts/test/TestService.sol/TestService.json +436 -56
  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 +4 -0
  213. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  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/Component.sol +236 -0
  227. package/contracts/components/Distribution.sol +316 -0
  228. package/contracts/components/IComponent.sol +50 -0
  229. package/contracts/components/IDistributionComponent.sol +100 -0
  230. package/contracts/components/IPoolComponent.sol +65 -35
  231. package/contracts/components/IProductComponent.sol +29 -9
  232. package/contracts/components/Pool.sol +180 -100
  233. package/contracts/components/Product.sol +203 -42
  234. package/contracts/experiment/cloning/Cloner.sol +47 -0
  235. package/contracts/instance/BundleManager.sol +125 -0
  236. package/contracts/instance/Cloneable.sol +46 -0
  237. package/contracts/instance/IInstance.sol +79 -45
  238. package/contracts/instance/IInstanceService.sol +59 -0
  239. package/contracts/instance/Instance.sol +266 -53
  240. package/contracts/instance/InstanceAccessManager.sol +297 -0
  241. package/contracts/instance/InstanceReader.sol +293 -0
  242. package/contracts/instance/InstanceService.sol +442 -0
  243. package/contracts/instance/InstanceServiceManager.sol +54 -0
  244. package/contracts/instance/ObjectManager.sol +84 -0
  245. package/contracts/instance/base/ComponentService.sol +134 -0
  246. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  247. package/contracts/instance/base/ILifecycle.sol +3 -3
  248. package/contracts/instance/base/KeyValueStore.sol +53 -37
  249. package/contracts/instance/base/Lifecycle.sol +16 -11
  250. package/contracts/instance/module/IAccess.sol +47 -0
  251. package/contracts/instance/module/IBundle.sol +20 -0
  252. package/contracts/instance/module/IDistribution.sol +39 -0
  253. package/contracts/instance/module/IPolicy.sol +45 -0
  254. package/contracts/instance/module/IRisk.sol +11 -0
  255. package/contracts/instance/module/ISetup.sol +47 -0
  256. package/contracts/instance/module/ITreasury.sol +23 -0
  257. package/contracts/instance/service/ApplicationService.sol +268 -0
  258. package/contracts/instance/service/BundleService.sol +298 -0
  259. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  260. package/contracts/instance/service/DistributionService.sol +291 -0
  261. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  262. package/contracts/instance/service/IApplicationService.sol +82 -0
  263. package/contracts/instance/service/IBundleService.sol +54 -0
  264. package/contracts/instance/service/IDistributionService.sol +65 -0
  265. package/contracts/instance/service/IPolicyService.sol +88 -0
  266. package/contracts/instance/service/IPoolService.sol +8 -18
  267. package/contracts/instance/service/IProductService.sol +21 -39
  268. package/contracts/instance/service/PolicyService.sol +524 -0
  269. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  270. package/contracts/instance/service/PoolService.sol +78 -92
  271. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  272. package/contracts/instance/service/ProductService.sol +168 -289
  273. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  274. package/contracts/registry/ChainNft.sol +79 -36
  275. package/contracts/registry/IRegistry.sol +66 -24
  276. package/contracts/registry/IRegistryService.sol +67 -0
  277. package/contracts/registry/ITransferInterceptor.sol +6 -0
  278. package/contracts/registry/Registry.sol +366 -283
  279. package/contracts/registry/RegistryAccessManager.sol +216 -0
  280. package/contracts/registry/RegistryService.sol +277 -0
  281. package/contracts/registry/RegistryServiceManager.sol +62 -0
  282. package/contracts/registry/ReleaseManager.sol +331 -0
  283. package/contracts/registry/TokenRegistry.sol +113 -0
  284. package/contracts/shared/ContractDeployerLib.sol +72 -0
  285. package/contracts/shared/ERC165.sol +13 -8
  286. package/contracts/shared/INftOwnable.sol +28 -0
  287. package/contracts/shared/IPolicyHolder.sol +26 -0
  288. package/contracts/shared/IRegisterable.sol +10 -19
  289. package/contracts/shared/IRegistryLinked.sol +15 -0
  290. package/contracts/shared/IService.sol +16 -0
  291. package/contracts/shared/IVersionable.sol +55 -11
  292. package/contracts/shared/NftOwnable.sol +190 -0
  293. package/contracts/shared/PolicyHolder.sol +81 -0
  294. package/contracts/shared/ProxyManager.sol +95 -0
  295. package/contracts/shared/Registerable.sol +58 -63
  296. package/contracts/shared/RegistryLinked.sol +64 -0
  297. package/contracts/shared/Service.sol +60 -0
  298. package/contracts/shared/TokenHandler.sol +27 -0
  299. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  300. package/contracts/shared/Versionable.sol +113 -54
  301. package/contracts/test/TestFee.sol +2 -2
  302. package/contracts/test/TestRegisterable.sol +5 -6
  303. package/contracts/test/TestRoleId.sol +2 -2
  304. package/contracts/test/TestService.sol +7 -14
  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 +55 -14
  311. package/contracts/types/Referral.sol +85 -0
  312. package/contracts/types/RiskId.sol +43 -0
  313. package/contracts/types/RoleId.sol +65 -11
  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 +6 -5
  319. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  320. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  321. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  322. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  323. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  324. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  325. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  326. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  327. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  328. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  329. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  330. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  331. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +0 -326
  332. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  333. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  334. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  335. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  336. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  337. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  338. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  340. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  341. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  342. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  343. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  344. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  345. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  346. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  347. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  348. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  349. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  350. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  351. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  352. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  353. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  354. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  355. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  356. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  357. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  358. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  359. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  360. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  361. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  362. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  363. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  364. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  366. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  368. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  369. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  371. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  373. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  374. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  375. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  376. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  377. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  378. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  379. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  380. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  381. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -491
  382. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  383. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  384. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  385. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  386. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  387. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  388. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  389. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  390. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  391. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  392. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  393. package/contracts/components/BaseComponent.sol +0 -88
  394. package/contracts/components/IBaseComponent.sol +0 -19
  395. package/contracts/experiment/statemachine/README.md +0 -112
  396. package/contracts/instance/IInstanceLinked.sol +0 -8
  397. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  398. package/contracts/instance/base/IInstanceBase.sol +0 -14
  399. package/contracts/instance/base/IService.sol +0 -15
  400. package/contracts/instance/base/InstanceBase.sol +0 -80
  401. package/contracts/instance/base/ModuleBase.sol +0 -52
  402. package/contracts/instance/base/ServiceBase.sol +0 -37
  403. package/contracts/instance/module/access/Access.sol +0 -149
  404. package/contracts/instance/module/access/IAccess.sol +0 -53
  405. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  406. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  407. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  408. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  409. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  410. package/contracts/instance/module/component/IComponent.sol +0 -53
  411. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  412. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  413. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  414. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  415. package/contracts/instance/module/risk/IRisk.sol +0 -10
  416. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  417. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  418. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  419. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  420. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  421. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  422. package/contracts/registry/IChainNft.sol +0 -21
  423. package/contracts/registry/IRegistryLinked.sol +0 -8
  424. package/contracts/shared/IOwnable.sol +0 -6
  425. package/contracts/test/TestPool.sol +0 -22
  426. package/contracts/test/TestProduct.sol +0 -44
@@ -0,0 +1,1407 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "RegistryService",
4
+ "sourceName": "contracts/registry/RegistryService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "registry",
49
+ "type": "address"
50
+ },
51
+ {
52
+ "internalType": "NftId",
53
+ "name": "nftId",
54
+ "type": "uint96"
55
+ }
56
+ ],
57
+ "name": "ErrorAlreadyLinked",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "contractAddress",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorContractNotRegistered",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorInitialOwnerZero",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "address",
80
+ "name": "account",
81
+ "type": "address"
82
+ }
83
+ ],
84
+ "name": "ErrorNotOwner",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [
89
+ {
90
+ "internalType": "address",
91
+ "name": "registryAddress",
92
+ "type": "address"
93
+ }
94
+ ],
95
+ "name": "ErrorNotRegistry",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "registryAddress",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorRegisterableNotRegistry",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorRegistryAddressZero",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "registry",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "ErrorRegistryAlreadyInitialized",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [],
127
+ "name": "ErrorRegistryNotInitialized",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [
132
+ {
133
+ "internalType": "address",
134
+ "name": "registerableAddress",
135
+ "type": "address"
136
+ }
137
+ ],
138
+ "name": "InvalidAddress",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "address",
145
+ "name": "initialOwner",
146
+ "type": "address"
147
+ }
148
+ ],
149
+ "name": "InvalidInitialOwner",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [],
154
+ "name": "InvalidInitialization",
155
+ "type": "error"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "NotDistribution",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "NotInitializing",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [],
169
+ "name": "NotInstance",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [],
174
+ "name": "NotPool",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "inputs": [],
179
+ "name": "NotProduct",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "address",
186
+ "name": "expectedOwner",
187
+ "type": "address"
188
+ }
189
+ ],
190
+ "name": "NotRegisterableOwner",
191
+ "type": "error"
192
+ },
193
+ {
194
+ "inputs": [],
195
+ "name": "NotRegistryOwner",
196
+ "type": "error"
197
+ },
198
+ {
199
+ "inputs": [],
200
+ "name": "NotService",
201
+ "type": "error"
202
+ },
203
+ {
204
+ "inputs": [],
205
+ "name": "RegisterableOwnerIsRegistered",
206
+ "type": "error"
207
+ },
208
+ {
209
+ "inputs": [],
210
+ "name": "RegisterableOwnerIsZero",
211
+ "type": "error"
212
+ },
213
+ {
214
+ "inputs": [],
215
+ "name": "SelfRegistration",
216
+ "type": "error"
217
+ },
218
+ {
219
+ "inputs": [
220
+ {
221
+ "internalType": "ObjectType",
222
+ "name": "expected",
223
+ "type": "uint8"
224
+ },
225
+ {
226
+ "internalType": "ObjectType",
227
+ "name": "found",
228
+ "type": "uint8"
229
+ }
230
+ ],
231
+ "name": "UnexpectedRegisterableType",
232
+ "type": "error"
233
+ },
234
+ {
235
+ "anonymous": false,
236
+ "inputs": [
237
+ {
238
+ "indexed": false,
239
+ "internalType": "address",
240
+ "name": "authority",
241
+ "type": "address"
242
+ }
243
+ ],
244
+ "name": "AuthorityUpdated",
245
+ "type": "event"
246
+ },
247
+ {
248
+ "anonymous": false,
249
+ "inputs": [
250
+ {
251
+ "indexed": false,
252
+ "internalType": "uint64",
253
+ "name": "version",
254
+ "type": "uint64"
255
+ }
256
+ ],
257
+ "name": "Initialized",
258
+ "type": "event"
259
+ },
260
+ {
261
+ "anonymous": false,
262
+ "inputs": [
263
+ {
264
+ "indexed": false,
265
+ "internalType": "Version",
266
+ "name": "version",
267
+ "type": "uint24"
268
+ },
269
+ {
270
+ "indexed": false,
271
+ "internalType": "address",
272
+ "name": "implementation",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "indexed": false,
277
+ "internalType": "address",
278
+ "name": "activatedBy",
279
+ "type": "address"
280
+ }
281
+ ],
282
+ "name": "LogVersionableInitialized",
283
+ "type": "event"
284
+ },
285
+ {
286
+ "inputs": [],
287
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
288
+ "outputs": [
289
+ {
290
+ "internalType": "bytes32",
291
+ "name": "",
292
+ "type": "bytes32"
293
+ }
294
+ ],
295
+ "stateMutability": "view",
296
+ "type": "function"
297
+ },
298
+ {
299
+ "inputs": [],
300
+ "name": "REGISTERABLE_LOCATION_V1",
301
+ "outputs": [
302
+ {
303
+ "internalType": "bytes32",
304
+ "name": "",
305
+ "type": "bytes32"
306
+ }
307
+ ],
308
+ "stateMutability": "view",
309
+ "type": "function"
310
+ },
311
+ {
312
+ "inputs": [],
313
+ "name": "REGISTRY_CREATION_CODE_HASH",
314
+ "outputs": [
315
+ {
316
+ "internalType": "bytes32",
317
+ "name": "",
318
+ "type": "bytes32"
319
+ }
320
+ ],
321
+ "stateMutability": "view",
322
+ "type": "function"
323
+ },
324
+ {
325
+ "inputs": [],
326
+ "name": "authority",
327
+ "outputs": [
328
+ {
329
+ "internalType": "address",
330
+ "name": "",
331
+ "type": "address"
332
+ }
333
+ ],
334
+ "stateMutability": "view",
335
+ "type": "function"
336
+ },
337
+ {
338
+ "inputs": [],
339
+ "name": "getDomain",
340
+ "outputs": [
341
+ {
342
+ "internalType": "ObjectType",
343
+ "name": "serviceDomain",
344
+ "type": "uint8"
345
+ }
346
+ ],
347
+ "stateMutability": "pure",
348
+ "type": "function"
349
+ },
350
+ {
351
+ "inputs": [],
352
+ "name": "getFunctionConfigs",
353
+ "outputs": [
354
+ {
355
+ "components": [
356
+ {
357
+ "internalType": "ObjectType",
358
+ "name": "serviceDomain",
359
+ "type": "uint8"
360
+ },
361
+ {
362
+ "internalType": "bytes4[]",
363
+ "name": "selectors",
364
+ "type": "bytes4[]"
365
+ }
366
+ ],
367
+ "internalType": "struct IRegistryService.FunctionConfig[]",
368
+ "name": "config",
369
+ "type": "tuple[]"
370
+ }
371
+ ],
372
+ "stateMutability": "pure",
373
+ "type": "function"
374
+ },
375
+ {
376
+ "inputs": [],
377
+ "name": "getInitialInfo",
378
+ "outputs": [
379
+ {
380
+ "components": [
381
+ {
382
+ "internalType": "NftId",
383
+ "name": "nftId",
384
+ "type": "uint96"
385
+ },
386
+ {
387
+ "internalType": "NftId",
388
+ "name": "parentNftId",
389
+ "type": "uint96"
390
+ },
391
+ {
392
+ "internalType": "ObjectType",
393
+ "name": "objectType",
394
+ "type": "uint8"
395
+ },
396
+ {
397
+ "internalType": "bool",
398
+ "name": "isInterceptor",
399
+ "type": "bool"
400
+ },
401
+ {
402
+ "internalType": "address",
403
+ "name": "objectAddress",
404
+ "type": "address"
405
+ },
406
+ {
407
+ "internalType": "address",
408
+ "name": "initialOwner",
409
+ "type": "address"
410
+ },
411
+ {
412
+ "internalType": "bytes",
413
+ "name": "data",
414
+ "type": "bytes"
415
+ }
416
+ ],
417
+ "internalType": "struct IRegistry.ObjectInfo",
418
+ "name": "info",
419
+ "type": "tuple"
420
+ }
421
+ ],
422
+ "stateMutability": "view",
423
+ "type": "function"
424
+ },
425
+ {
426
+ "inputs": [],
427
+ "name": "getInitialOwner",
428
+ "outputs": [
429
+ {
430
+ "internalType": "address",
431
+ "name": "",
432
+ "type": "address"
433
+ }
434
+ ],
435
+ "stateMutability": "view",
436
+ "type": "function"
437
+ },
438
+ {
439
+ "inputs": [],
440
+ "name": "getInitializedVersion",
441
+ "outputs": [
442
+ {
443
+ "internalType": "uint64",
444
+ "name": "",
445
+ "type": "uint64"
446
+ }
447
+ ],
448
+ "stateMutability": "view",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [],
453
+ "name": "getMajorVersion",
454
+ "outputs": [
455
+ {
456
+ "internalType": "VersionPart",
457
+ "name": "majorVersion",
458
+ "type": "uint8"
459
+ }
460
+ ],
461
+ "stateMutability": "view",
462
+ "type": "function"
463
+ },
464
+ {
465
+ "inputs": [],
466
+ "name": "getNftId",
467
+ "outputs": [
468
+ {
469
+ "internalType": "NftId",
470
+ "name": "",
471
+ "type": "uint96"
472
+ }
473
+ ],
474
+ "stateMutability": "view",
475
+ "type": "function"
476
+ },
477
+ {
478
+ "inputs": [],
479
+ "name": "getOwner",
480
+ "outputs": [
481
+ {
482
+ "internalType": "address",
483
+ "name": "",
484
+ "type": "address"
485
+ }
486
+ ],
487
+ "stateMutability": "view",
488
+ "type": "function"
489
+ },
490
+ {
491
+ "inputs": [],
492
+ "name": "getRegistry",
493
+ "outputs": [
494
+ {
495
+ "internalType": "contract IRegistry",
496
+ "name": "",
497
+ "type": "address"
498
+ }
499
+ ],
500
+ "stateMutability": "view",
501
+ "type": "function"
502
+ },
503
+ {
504
+ "inputs": [],
505
+ "name": "getRegistryAddress",
506
+ "outputs": [
507
+ {
508
+ "internalType": "address",
509
+ "name": "",
510
+ "type": "address"
511
+ }
512
+ ],
513
+ "stateMutability": "view",
514
+ "type": "function"
515
+ },
516
+ {
517
+ "inputs": [],
518
+ "name": "getVersion",
519
+ "outputs": [
520
+ {
521
+ "internalType": "Version",
522
+ "name": "",
523
+ "type": "uint24"
524
+ }
525
+ ],
526
+ "stateMutability": "pure",
527
+ "type": "function"
528
+ },
529
+ {
530
+ "inputs": [
531
+ {
532
+ "internalType": "uint256",
533
+ "name": "idx",
534
+ "type": "uint256"
535
+ }
536
+ ],
537
+ "name": "getVersion",
538
+ "outputs": [
539
+ {
540
+ "internalType": "Version",
541
+ "name": "",
542
+ "type": "uint24"
543
+ }
544
+ ],
545
+ "stateMutability": "view",
546
+ "type": "function"
547
+ },
548
+ {
549
+ "inputs": [],
550
+ "name": "getVersionCount",
551
+ "outputs": [
552
+ {
553
+ "internalType": "uint256",
554
+ "name": "",
555
+ "type": "uint256"
556
+ }
557
+ ],
558
+ "stateMutability": "view",
559
+ "type": "function"
560
+ },
561
+ {
562
+ "inputs": [
563
+ {
564
+ "internalType": "Version",
565
+ "name": "_version",
566
+ "type": "uint24"
567
+ }
568
+ ],
569
+ "name": "getVersionInfo",
570
+ "outputs": [
571
+ {
572
+ "components": [
573
+ {
574
+ "internalType": "Version",
575
+ "name": "version",
576
+ "type": "uint24"
577
+ },
578
+ {
579
+ "internalType": "address",
580
+ "name": "implementation",
581
+ "type": "address"
582
+ },
583
+ {
584
+ "internalType": "address",
585
+ "name": "activatedBy",
586
+ "type": "address"
587
+ },
588
+ {
589
+ "internalType": "Timestamp",
590
+ "name": "activatedAt",
591
+ "type": "uint40"
592
+ },
593
+ {
594
+ "internalType": "Blocknumber",
595
+ "name": "activatedIn",
596
+ "type": "uint32"
597
+ }
598
+ ],
599
+ "internalType": "struct IVersionable.VersionInfo",
600
+ "name": "",
601
+ "type": "tuple"
602
+ }
603
+ ],
604
+ "stateMutability": "view",
605
+ "type": "function"
606
+ },
607
+ {
608
+ "inputs": [],
609
+ "name": "initializeERC165",
610
+ "outputs": [],
611
+ "stateMutability": "nonpayable",
612
+ "type": "function"
613
+ },
614
+ {
615
+ "inputs": [
616
+ {
617
+ "internalType": "address",
618
+ "name": "initialOwner",
619
+ "type": "address"
620
+ },
621
+ {
622
+ "internalType": "address",
623
+ "name": "registryAddress",
624
+ "type": "address"
625
+ }
626
+ ],
627
+ "name": "initializeNftOwnable",
628
+ "outputs": [],
629
+ "stateMutability": "nonpayable",
630
+ "type": "function"
631
+ },
632
+ {
633
+ "inputs": [
634
+ {
635
+ "internalType": "address",
636
+ "name": "initialOwner",
637
+ "type": "address"
638
+ }
639
+ ],
640
+ "name": "initializeOwner",
641
+ "outputs": [],
642
+ "stateMutability": "nonpayable",
643
+ "type": "function"
644
+ },
645
+ {
646
+ "inputs": [
647
+ {
648
+ "internalType": "address",
649
+ "name": "registryAddress",
650
+ "type": "address"
651
+ },
652
+ {
653
+ "internalType": "NftId",
654
+ "name": "parentNftId",
655
+ "type": "uint96"
656
+ },
657
+ {
658
+ "internalType": "ObjectType",
659
+ "name": "objectType",
660
+ "type": "uint8"
661
+ },
662
+ {
663
+ "internalType": "bool",
664
+ "name": "isInterceptor",
665
+ "type": "bool"
666
+ },
667
+ {
668
+ "internalType": "address",
669
+ "name": "initialOwner",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "internalType": "bytes",
674
+ "name": "data",
675
+ "type": "bytes"
676
+ }
677
+ ],
678
+ "name": "initializeRegisterable",
679
+ "outputs": [],
680
+ "stateMutability": "nonpayable",
681
+ "type": "function"
682
+ },
683
+ {
684
+ "inputs": [
685
+ {
686
+ "internalType": "address",
687
+ "name": "registryAddress",
688
+ "type": "address"
689
+ }
690
+ ],
691
+ "name": "initializeRegistryLinked",
692
+ "outputs": [],
693
+ "stateMutability": "nonpayable",
694
+ "type": "function"
695
+ },
696
+ {
697
+ "inputs": [
698
+ {
699
+ "internalType": "address",
700
+ "name": "registry",
701
+ "type": "address"
702
+ },
703
+ {
704
+ "internalType": "address",
705
+ "name": "initialOwner",
706
+ "type": "address"
707
+ }
708
+ ],
709
+ "name": "initializeService",
710
+ "outputs": [],
711
+ "stateMutability": "nonpayable",
712
+ "type": "function"
713
+ },
714
+ {
715
+ "inputs": [
716
+ {
717
+ "internalType": "address",
718
+ "name": "implementation",
719
+ "type": "address"
720
+ },
721
+ {
722
+ "internalType": "address",
723
+ "name": "activatedBy",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "internalType": "bytes",
728
+ "name": "data",
729
+ "type": "bytes"
730
+ }
731
+ ],
732
+ "name": "initializeVersionable",
733
+ "outputs": [],
734
+ "stateMutability": "nonpayable",
735
+ "type": "function"
736
+ },
737
+ {
738
+ "inputs": [],
739
+ "name": "isConsumingScheduledOp",
740
+ "outputs": [
741
+ {
742
+ "internalType": "bytes4",
743
+ "name": "",
744
+ "type": "bytes4"
745
+ }
746
+ ],
747
+ "stateMutability": "view",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [
752
+ {
753
+ "internalType": "Version",
754
+ "name": "_version",
755
+ "type": "uint24"
756
+ }
757
+ ],
758
+ "name": "isInitialized",
759
+ "outputs": [
760
+ {
761
+ "internalType": "bool",
762
+ "name": "",
763
+ "type": "bool"
764
+ }
765
+ ],
766
+ "stateMutability": "view",
767
+ "type": "function"
768
+ },
769
+ {
770
+ "inputs": [],
771
+ "name": "linkToRegisteredNftId",
772
+ "outputs": [],
773
+ "stateMutability": "nonpayable",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [
778
+ {
779
+ "components": [
780
+ {
781
+ "internalType": "NftId",
782
+ "name": "nftId",
783
+ "type": "uint96"
784
+ },
785
+ {
786
+ "internalType": "NftId",
787
+ "name": "parentNftId",
788
+ "type": "uint96"
789
+ },
790
+ {
791
+ "internalType": "ObjectType",
792
+ "name": "objectType",
793
+ "type": "uint8"
794
+ },
795
+ {
796
+ "internalType": "bool",
797
+ "name": "isInterceptor",
798
+ "type": "bool"
799
+ },
800
+ {
801
+ "internalType": "address",
802
+ "name": "objectAddress",
803
+ "type": "address"
804
+ },
805
+ {
806
+ "internalType": "address",
807
+ "name": "initialOwner",
808
+ "type": "address"
809
+ },
810
+ {
811
+ "internalType": "bytes",
812
+ "name": "data",
813
+ "type": "bytes"
814
+ }
815
+ ],
816
+ "internalType": "struct IRegistry.ObjectInfo",
817
+ "name": "info",
818
+ "type": "tuple"
819
+ }
820
+ ],
821
+ "name": "registerBundle",
822
+ "outputs": [
823
+ {
824
+ "internalType": "NftId",
825
+ "name": "nftId",
826
+ "type": "uint96"
827
+ }
828
+ ],
829
+ "stateMutability": "nonpayable",
830
+ "type": "function"
831
+ },
832
+ {
833
+ "inputs": [
834
+ {
835
+ "internalType": "contract IComponent",
836
+ "name": "distribution",
837
+ "type": "address"
838
+ },
839
+ {
840
+ "internalType": "address",
841
+ "name": "owner",
842
+ "type": "address"
843
+ }
844
+ ],
845
+ "name": "registerDistribution",
846
+ "outputs": [
847
+ {
848
+ "components": [
849
+ {
850
+ "internalType": "NftId",
851
+ "name": "nftId",
852
+ "type": "uint96"
853
+ },
854
+ {
855
+ "internalType": "NftId",
856
+ "name": "parentNftId",
857
+ "type": "uint96"
858
+ },
859
+ {
860
+ "internalType": "ObjectType",
861
+ "name": "objectType",
862
+ "type": "uint8"
863
+ },
864
+ {
865
+ "internalType": "bool",
866
+ "name": "isInterceptor",
867
+ "type": "bool"
868
+ },
869
+ {
870
+ "internalType": "address",
871
+ "name": "objectAddress",
872
+ "type": "address"
873
+ },
874
+ {
875
+ "internalType": "address",
876
+ "name": "initialOwner",
877
+ "type": "address"
878
+ },
879
+ {
880
+ "internalType": "bytes",
881
+ "name": "data",
882
+ "type": "bytes"
883
+ }
884
+ ],
885
+ "internalType": "struct IRegistry.ObjectInfo",
886
+ "name": "info",
887
+ "type": "tuple"
888
+ }
889
+ ],
890
+ "stateMutability": "nonpayable",
891
+ "type": "function"
892
+ },
893
+ {
894
+ "inputs": [
895
+ {
896
+ "components": [
897
+ {
898
+ "internalType": "NftId",
899
+ "name": "nftId",
900
+ "type": "uint96"
901
+ },
902
+ {
903
+ "internalType": "NftId",
904
+ "name": "parentNftId",
905
+ "type": "uint96"
906
+ },
907
+ {
908
+ "internalType": "ObjectType",
909
+ "name": "objectType",
910
+ "type": "uint8"
911
+ },
912
+ {
913
+ "internalType": "bool",
914
+ "name": "isInterceptor",
915
+ "type": "bool"
916
+ },
917
+ {
918
+ "internalType": "address",
919
+ "name": "objectAddress",
920
+ "type": "address"
921
+ },
922
+ {
923
+ "internalType": "address",
924
+ "name": "initialOwner",
925
+ "type": "address"
926
+ },
927
+ {
928
+ "internalType": "bytes",
929
+ "name": "data",
930
+ "type": "bytes"
931
+ }
932
+ ],
933
+ "internalType": "struct IRegistry.ObjectInfo",
934
+ "name": "info",
935
+ "type": "tuple"
936
+ }
937
+ ],
938
+ "name": "registerDistributor",
939
+ "outputs": [
940
+ {
941
+ "internalType": "NftId",
942
+ "name": "nftId",
943
+ "type": "uint96"
944
+ }
945
+ ],
946
+ "stateMutability": "nonpayable",
947
+ "type": "function"
948
+ },
949
+ {
950
+ "inputs": [
951
+ {
952
+ "internalType": "contract IRegisterable",
953
+ "name": "instance",
954
+ "type": "address"
955
+ },
956
+ {
957
+ "internalType": "address",
958
+ "name": "owner",
959
+ "type": "address"
960
+ }
961
+ ],
962
+ "name": "registerInstance",
963
+ "outputs": [
964
+ {
965
+ "components": [
966
+ {
967
+ "internalType": "NftId",
968
+ "name": "nftId",
969
+ "type": "uint96"
970
+ },
971
+ {
972
+ "internalType": "NftId",
973
+ "name": "parentNftId",
974
+ "type": "uint96"
975
+ },
976
+ {
977
+ "internalType": "ObjectType",
978
+ "name": "objectType",
979
+ "type": "uint8"
980
+ },
981
+ {
982
+ "internalType": "bool",
983
+ "name": "isInterceptor",
984
+ "type": "bool"
985
+ },
986
+ {
987
+ "internalType": "address",
988
+ "name": "objectAddress",
989
+ "type": "address"
990
+ },
991
+ {
992
+ "internalType": "address",
993
+ "name": "initialOwner",
994
+ "type": "address"
995
+ },
996
+ {
997
+ "internalType": "bytes",
998
+ "name": "data",
999
+ "type": "bytes"
1000
+ }
1001
+ ],
1002
+ "internalType": "struct IRegistry.ObjectInfo",
1003
+ "name": "info",
1004
+ "type": "tuple"
1005
+ }
1006
+ ],
1007
+ "stateMutability": "nonpayable",
1008
+ "type": "function"
1009
+ },
1010
+ {
1011
+ "inputs": [
1012
+ {
1013
+ "internalType": "bytes4",
1014
+ "name": "interfaceId",
1015
+ "type": "bytes4"
1016
+ }
1017
+ ],
1018
+ "name": "registerInterface",
1019
+ "outputs": [],
1020
+ "stateMutability": "nonpayable",
1021
+ "type": "function"
1022
+ },
1023
+ {
1024
+ "inputs": [
1025
+ {
1026
+ "components": [
1027
+ {
1028
+ "internalType": "NftId",
1029
+ "name": "nftId",
1030
+ "type": "uint96"
1031
+ },
1032
+ {
1033
+ "internalType": "NftId",
1034
+ "name": "parentNftId",
1035
+ "type": "uint96"
1036
+ },
1037
+ {
1038
+ "internalType": "ObjectType",
1039
+ "name": "objectType",
1040
+ "type": "uint8"
1041
+ },
1042
+ {
1043
+ "internalType": "bool",
1044
+ "name": "isInterceptor",
1045
+ "type": "bool"
1046
+ },
1047
+ {
1048
+ "internalType": "address",
1049
+ "name": "objectAddress",
1050
+ "type": "address"
1051
+ },
1052
+ {
1053
+ "internalType": "address",
1054
+ "name": "initialOwner",
1055
+ "type": "address"
1056
+ },
1057
+ {
1058
+ "internalType": "bytes",
1059
+ "name": "data",
1060
+ "type": "bytes"
1061
+ }
1062
+ ],
1063
+ "internalType": "struct IRegistry.ObjectInfo",
1064
+ "name": "info",
1065
+ "type": "tuple"
1066
+ }
1067
+ ],
1068
+ "name": "registerPolicy",
1069
+ "outputs": [
1070
+ {
1071
+ "internalType": "NftId",
1072
+ "name": "nftId",
1073
+ "type": "uint96"
1074
+ }
1075
+ ],
1076
+ "stateMutability": "nonpayable",
1077
+ "type": "function"
1078
+ },
1079
+ {
1080
+ "inputs": [
1081
+ {
1082
+ "internalType": "contract IComponent",
1083
+ "name": "pool",
1084
+ "type": "address"
1085
+ },
1086
+ {
1087
+ "internalType": "address",
1088
+ "name": "owner",
1089
+ "type": "address"
1090
+ }
1091
+ ],
1092
+ "name": "registerPool",
1093
+ "outputs": [
1094
+ {
1095
+ "components": [
1096
+ {
1097
+ "internalType": "NftId",
1098
+ "name": "nftId",
1099
+ "type": "uint96"
1100
+ },
1101
+ {
1102
+ "internalType": "NftId",
1103
+ "name": "parentNftId",
1104
+ "type": "uint96"
1105
+ },
1106
+ {
1107
+ "internalType": "ObjectType",
1108
+ "name": "objectType",
1109
+ "type": "uint8"
1110
+ },
1111
+ {
1112
+ "internalType": "bool",
1113
+ "name": "isInterceptor",
1114
+ "type": "bool"
1115
+ },
1116
+ {
1117
+ "internalType": "address",
1118
+ "name": "objectAddress",
1119
+ "type": "address"
1120
+ },
1121
+ {
1122
+ "internalType": "address",
1123
+ "name": "initialOwner",
1124
+ "type": "address"
1125
+ },
1126
+ {
1127
+ "internalType": "bytes",
1128
+ "name": "data",
1129
+ "type": "bytes"
1130
+ }
1131
+ ],
1132
+ "internalType": "struct IRegistry.ObjectInfo",
1133
+ "name": "info",
1134
+ "type": "tuple"
1135
+ }
1136
+ ],
1137
+ "stateMutability": "nonpayable",
1138
+ "type": "function"
1139
+ },
1140
+ {
1141
+ "inputs": [
1142
+ {
1143
+ "internalType": "contract IComponent",
1144
+ "name": "product",
1145
+ "type": "address"
1146
+ },
1147
+ {
1148
+ "internalType": "address",
1149
+ "name": "owner",
1150
+ "type": "address"
1151
+ }
1152
+ ],
1153
+ "name": "registerProduct",
1154
+ "outputs": [
1155
+ {
1156
+ "components": [
1157
+ {
1158
+ "internalType": "NftId",
1159
+ "name": "nftId",
1160
+ "type": "uint96"
1161
+ },
1162
+ {
1163
+ "internalType": "NftId",
1164
+ "name": "parentNftId",
1165
+ "type": "uint96"
1166
+ },
1167
+ {
1168
+ "internalType": "ObjectType",
1169
+ "name": "objectType",
1170
+ "type": "uint8"
1171
+ },
1172
+ {
1173
+ "internalType": "bool",
1174
+ "name": "isInterceptor",
1175
+ "type": "bool"
1176
+ },
1177
+ {
1178
+ "internalType": "address",
1179
+ "name": "objectAddress",
1180
+ "type": "address"
1181
+ },
1182
+ {
1183
+ "internalType": "address",
1184
+ "name": "initialOwner",
1185
+ "type": "address"
1186
+ },
1187
+ {
1188
+ "internalType": "bytes",
1189
+ "name": "data",
1190
+ "type": "bytes"
1191
+ }
1192
+ ],
1193
+ "internalType": "struct IRegistry.ObjectInfo",
1194
+ "name": "info",
1195
+ "type": "tuple"
1196
+ }
1197
+ ],
1198
+ "stateMutability": "nonpayable",
1199
+ "type": "function"
1200
+ },
1201
+ {
1202
+ "inputs": [
1203
+ {
1204
+ "components": [
1205
+ {
1206
+ "internalType": "NftId",
1207
+ "name": "nftId",
1208
+ "type": "uint96"
1209
+ },
1210
+ {
1211
+ "internalType": "NftId",
1212
+ "name": "parentNftId",
1213
+ "type": "uint96"
1214
+ },
1215
+ {
1216
+ "internalType": "ObjectType",
1217
+ "name": "objectType",
1218
+ "type": "uint8"
1219
+ },
1220
+ {
1221
+ "internalType": "bool",
1222
+ "name": "isInterceptor",
1223
+ "type": "bool"
1224
+ },
1225
+ {
1226
+ "internalType": "address",
1227
+ "name": "objectAddress",
1228
+ "type": "address"
1229
+ },
1230
+ {
1231
+ "internalType": "address",
1232
+ "name": "initialOwner",
1233
+ "type": "address"
1234
+ },
1235
+ {
1236
+ "internalType": "bytes",
1237
+ "name": "data",
1238
+ "type": "bytes"
1239
+ }
1240
+ ],
1241
+ "internalType": "struct IRegistry.ObjectInfo",
1242
+ "name": "info",
1243
+ "type": "tuple"
1244
+ }
1245
+ ],
1246
+ "name": "registerStake",
1247
+ "outputs": [
1248
+ {
1249
+ "internalType": "NftId",
1250
+ "name": "nftId",
1251
+ "type": "uint96"
1252
+ }
1253
+ ],
1254
+ "stateMutability": "nonpayable",
1255
+ "type": "function"
1256
+ },
1257
+ {
1258
+ "inputs": [
1259
+ {
1260
+ "internalType": "address",
1261
+ "name": "newAuthority",
1262
+ "type": "address"
1263
+ }
1264
+ ],
1265
+ "name": "setAuthority",
1266
+ "outputs": [],
1267
+ "stateMutability": "nonpayable",
1268
+ "type": "function"
1269
+ },
1270
+ {
1271
+ "inputs": [
1272
+ {
1273
+ "internalType": "bytes4",
1274
+ "name": "interfaceId",
1275
+ "type": "bytes4"
1276
+ }
1277
+ ],
1278
+ "name": "supportsInterface",
1279
+ "outputs": [
1280
+ {
1281
+ "internalType": "bool",
1282
+ "name": "",
1283
+ "type": "bool"
1284
+ }
1285
+ ],
1286
+ "stateMutability": "view",
1287
+ "type": "function"
1288
+ },
1289
+ {
1290
+ "inputs": [
1291
+ {
1292
+ "internalType": "address",
1293
+ "name": "implementation",
1294
+ "type": "address"
1295
+ },
1296
+ {
1297
+ "internalType": "address",
1298
+ "name": "activatedBy",
1299
+ "type": "address"
1300
+ },
1301
+ {
1302
+ "internalType": "bytes",
1303
+ "name": "data",
1304
+ "type": "bytes"
1305
+ }
1306
+ ],
1307
+ "name": "upgradeVersionable",
1308
+ "outputs": [],
1309
+ "stateMutability": "nonpayable",
1310
+ "type": "function"
1311
+ }
1312
+ ],
1313
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b61350c80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063b88da759116100b8578063ea8665721161007c578063ea86657214610671578063ed841d0c14610684578063f21de1e8146104bd578063f7c34ee01461068c578063fb2cb1011461069f57600080fd5b8063b88da75914610626578063bf7e214f14610639578063c13de99714610641578063c2bf08c814610656578063cde749f41461066957600080fd5b80638fbc2d81116100ff5780638fbc2d81146105a2578063946dfcfe146105b5578063ada9652e146105dc578063b3c65015146105f1578063b68d18091461061157600080fd5b80637a9e5e4b1461054c5780638105cc7f1461055f578063893d20e8146105725780638c5f36bb1461057a5780638fb360371461058d57600080fd5b806336fc697e116101c95780635c992fed1161018d5780635c992fed146104e25780635d966289146104f5578063644c45e014610508578063675393bf146105265780637286e5e51461053957600080fd5b806336fc697e1461035e5780634d459c90146103665780634f4213331461047f57806357a8fba7146104925780635ab1bd53146104bd57600080fd5b80631647f91e116102105780631647f91e146102dd5780631eff4b22146102f0578063214cdb801461032557806327bb7a33146103385780632a9040181461034b57600080fd5b806301ffc9a71461024d578063026bc43b1461028f5780630d8e6e2c146102af5780630fec111c146102cb578063138461e0146102d3575b600080fd5b61027a61025b3660046129fd565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102a261029d366004612a53565b6106a7565b6040516102869190612adc565b6102b7610845565b60405162ffffff9091168152602001610286565b6102a26108cf565b6102db610a6b565b005b6102db6102eb366004612c52565b610cbe565b6103177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102db6103333660046129fd565b610db5565b6102db610346366004612d06565b610de2565b6102db610359366004612c52565b610e7e565b6102db610fc6565b610422610374366004612daf565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206134b783398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610286565b61027a61048d366004612daf565b61100c565b6104a56104a0366004612dcc565b6110bf565b6040516001600160601b039091168152602001610286565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6104a56104f0366004612dcc565b61114e565b6102a2610503366004612a53565b611164565b600080516020613437833981519152546001600160601b03166104a5565b6102db610534366004612e9e565b6112a4565b6102a2610547366004612a53565b6112b8565b6102db61055a366004612e9e565b611365565b6104a561056d366004612dcc565b6113ec565b6104ca611402565b6102db610588366004612e9e565b611539565b61059561163b565b6040516102869190612ebb565b6102a26105b0366004612a53565b611673565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610317565b61031760008051602061343783398151915281565b6105f9611720565b6040516001600160401b039091168152602001610286565b60285b60405160ff9091168152602001610286565b6102b7610634366004612ed0565b611741565b6104ca611792565b6106496117ae565b6040516102869190612ee9565b6104a5610664366004612dcc565b611cd5565b610614611ceb565b6102db61067f366004612a53565b611d6e565b610317600081565b6102db61069a366004612a53565b611de1565b6104ca611e13565b6106af6129bf565b6106bc335b600036611e29565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906106ef90632400caf160e21b90600401612ebb565b602060405180830381865afa15801561070c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107309190612fa1565b61074d57604051636795c76360e01b815260040160405180910390fd5b61075a8360465b84611f27565b905061076e6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016107999190612adc565b6020604051808303816000875af11580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612fc9565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561082757600080fd5b505af115801561083b573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156108a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ca9190612fe6565b905090565b6108d76129bf565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301805460009391606084019161096790613003565b80601f016020809104026020016040519081016040528092919081815260200182805461099390613003565b80156109e05780601f106109b5576101008083540402835291602001916109e0565b820191906000526020600020905b8154815290600101906020018083116109c357829003601f168201915b50505050508152505090506040518060e001604052806109fe600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610a4f611e13565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061343783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe9190612fa1565b15610b405760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b6000610b546001546001600160a01b031690565b6001600160a01b031603610b7b5760405163cf29926160e01b815260040160405180910390fd5b30610b8e6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa9190612fa1565b610c22576040516372657a5160e01b81526001600160a01b0382166004820152602401610b37565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9a9190612fc9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b0316600081158015610cf15750825b90506000826001600160401b03166001148015610d0d5750303b155b905081158015610d1b575080155b15610d395760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d6357845460ff60401b1916600160401b1785555b610d6d8888612117565b610d7787876123b6565b8315610dab57845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a15b5050505050505050565b610dbd6124d7565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610dea6124d7565b610df48287611de1565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610e648382613083565b50610e756303fb044760e21b610db5565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ea0610845565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f049190613142565b6000805160206134978339815191528054600160401b900460ff1680610f37575080546001600160401b03808416911610155b15610f555760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f808585612117565b610f8983612510565b805460ff60401b191681556040516001600160401b0383168152600080516020613477833981519152906020015b60405180910390a15050505050565b610fce6124d7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206134b783398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b8919061316b565b1192915050565b60006110ca336106b4565b6110d582607a612518565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90611105908590600401612adc565b6020604051808303816000875af1158015611124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111489190612fc9565b92915050565b6000611159336106b4565b6110d58260d3612518565b61116c6129bf565b611175336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906111a8906301da8d1160e61b90600401612ebb565b602060405180830381865afa1580156111c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e99190612fa1565b61120657604051637a71998760e01b815260040160405180910390fd5b61121183606e610754565b90506112256001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016112509190612adc565b6020604051808303816000875af115801561126f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112939190612fc9565b6001600160601b0316815292915050565b6112ac6124d7565b6112b581612623565b50565b6112c06129bf565b6112c9336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906112fc9063100f51f760e01b90600401612ebb565b602060405180830381865afa158015611319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133d9190612fa1565b61135a57604051636f61f64160e01b815260040160405180910390fd5b61121183608c610754565b3361136e611792565b6001600160a01b0316816001600160a01b0316146113a95760405162d1953b60e31b81526001600160a01b0382166004820152602401610b37565b816001600160a01b03163b6000036113df576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b37565b6113e882612789565b5050565b60006113f7336106b4565b6110d5826050612518565b60008060008051602061343783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611472573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114969190612fa1565b15611523576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151d919061318f565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b031660008115801561156c5750825b90506000826001600160401b031660011480156115885750303b155b905081158015611596575080155b156115b45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115de57845460ff60401b1916600160401b1785555b6115e7866127ea565b6115ef610fc6565b6115ff631fdea09d60e31b610db5565b831561163357845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a15b505050505050565b600080516020613457833981519152805460009190600160a01b900460ff1661166557600061151d565b638fb3603760e01b91505090565b61167b6129bf565b611684336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906116b790632595572960e01b90600401612ebb565b602060405180830381865afa1580156116d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f89190612fa1565b611715576040516308707e3160e41b815260040160405180910390fd5b611211836078610754565b60006108ca600080516020613497833981519152546001600160401b031690565b60006000805160206134b78339815191526001018281548110611766576117666131ac565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020613457833981519152546001600160a01b031690565b60408051600680825260e08201909252606091816020015b6040805180820190915260008152606060208201528152602001906001900390816117c65790505090506117f860d390565b8160008151811061180b5761180b6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600081518110611851576118516131ac565b602002602001015160200181905250635c992fed60e01b8160008151811061187b5761187b6131ac565b602002602001015160200151600081518110611899576118996131ac565b6001600160e01b0319909216602092830291909101909101526118ba60dc90565b816001815181106118cd576118cd6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600181518110611913576119136131ac565b60200260200101516020018190525063c2bf08c860e01b8160018151811061193d5761193d6131ac565b60200260200101516020015160008151811061195b5761195b6131ac565b6001600160e01b03199092166020928302919091019091015261197c606e90565b8160028151811061198f5761198f6131ac565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816002815181106119d5576119d56131ac565b602002602001015160200181905250635d96628960e01b816002815181106119ff576119ff6131ac565b602002602001015160200151600081518110611a1d57611a1d6131ac565b6001600160e01b031990921660209283029190910190910152611a3e608c90565b81600381518110611a5157611a516131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600381518110611a9757611a976131ac565b602002602001015160200181905250637286e5e560e01b81600381518110611ac157611ac16131ac565b602002602001015160200151600081518110611adf57611adf6131ac565b6001600160e01b031990921660209283029190910190910152611b00607890565b81600481518110611b1357611b136131ac565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600481518110611b5a57611b5a6131ac565b602002602001015160200181905250638fbc2d8160e01b81600481518110611b8457611b846131ac565b602002602001015160200151600081518110611ba257611ba26131ac565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906004908110611bd957611bd96131ac565b602002602001015160200151600181518110611bf757611bf76131ac565b6001600160e01b031990921660209283029190910190910152611c18604690565b81600581518110611c2b57611c2b6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600581518110611c7157611c716131ac565b60200260200101516020018190525063026bc43b60e01b81600581518110611c9b57611c9b6131ac565b602002602001015160200151600081518110611cb957611cb96131ac565b6001600160e01b03199092166020928302919091019091015290565b6000611ce0336106b4565b6110d58260dc612518565b6000611cf5610845565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611d4a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ca91906131cd565b611d766124d7565b60006028611d82611ceb565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611db78461284f565b90506000611dca8583603c848888610de2565b611dda637b6a51fd60e01b610db5565b5050505050565b611de96124d7565b611df2826127ea565b611dfb816112a4565b611e03610fc6565b6113e8631fdea09d60e31b610db5565b6000600080516020613437833981519152611523565b600080516020613457833981519152600080611e64611e46611792565b8730611e56600460008a8c6131ea565b611e5f91613214565b612896565b91509150816116335763ffffffff811615611f0457825460ff60a01b1916600160a01b178355611e92611792565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611ec193929190613244565b600060405180830381600087803b158015611edb57600080fd5b505af1158015611eef573d6000803e3d6000fd5b5050845460ff60a01b19168555506116339050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b37565b611f2f6129bf565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611f6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f9591908101906132c9565b6001600160a01b0385166080820152604081015190915060ff848116911614611fe4576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610b37565b60a08101516001600160a01b03808216908416146120205760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610b37565b846001600160a01b0316816001600160a01b031603612052576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b03811661207957604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f19190612fa1565b1561210f57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b61211f6124d7565b6000805160206134b7833981519152600061214f600080516020613497833981519152546001600160401b031690565b9050600061215b610845565b9050816001600160401b03166001036121885760028301805462ffffff191662ffffff83161790556121d6565b600283015462ffffff908116908216116121d65760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b37565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561228a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ae919061338c565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610fb79083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b03166000811580156123e95750825b90506000826001600160401b031660011480156124055750303b155b905081158015612413575080155b156124315760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561245b57845460ff60401b1916600160401b1785555b6000808780602001905181019061247291906133b3565b9150915061247f826129a2565b612489818a611d6e565b61249963aa745bc360e01b610db5565b50508315610e7557845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a150505050505050565b60008051602061349783398151915254600160401b900460ff1661250e57604051631afcd79f60e31b815260040160405180910390fd5b565b6102486124d7565b60006080830152604082015160ff82811691161461255c576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610b37565b60a08201516001600160a01b03811661258857604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156125dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126009190612fa1565b1561261e57604051637142ceb360e11b815260040160405180910390fd5b505050565b6001546001600160a01b03161561265c5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b37565b6001600160a01b0381166126835760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036126b95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b37565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906126ff9063230c0c8160e11b90600401612ebb565b602060405180830381865afa925050508015612738575060408051601f3d908101601f1916820190925261273591810190612fa1565b60015b6127605760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b37565b806113e85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b37565b60008051602061345783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6127f26124d7565b6001600160a01b038116612819576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061343783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611124573d6000803e3d6000fd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161290591906133e2565b600060405180830381855afa9150503d8060008114612940576040519150601f19603f3d011682016040523d82523d6000602084013e612945565b606091505b50915091508115612997576040815110612977578080602001905181019061296d91906133fe565b9094509250612997565b602081511061299757808060200190518101906129949190612fa1565b93505b505094509492505050565b6129aa6124d7565b6112b5816129b66124d7565b6112b581612789565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215612a0f57600080fd5b81356001600160e01b031981168114612a2757600080fd5b9392505050565b6001600160a01b03811681146112b557600080fd5b8035612a4e81612a2e565b919050565b60008060408385031215612a6657600080fd5b8235612a7181612a2e565b91506020830135612a8181612a2e565b809150509250929050565b60005b83811015612aa7578181015183820152602001612a8f565b50506000910152565b60008151808452612ac8816020860160208601612a8c565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612b4560c08401826001600160a01b03169052565b5060c083015160e080840152612b5f610100840182612ab0565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612b9f57612b9f612b67565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612bcd57612bcd612b67565b604052919050565b60006001600160401b03821115612bee57612bee612b67565b50601f01601f191660200190565b600082601f830112612c0d57600080fd5b8135612c20612c1b82612bd5565b612ba5565b818152846020838601011115612c3557600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612c6757600080fd5b8335612c7281612a2e565b92506020840135612c8281612a2e565b915060408401356001600160401b03811115612c9d57600080fd5b612ca986828701612bfc565b9150509250925092565b6001600160601b03811681146112b557600080fd5b8035612a4e81612cb3565b60ff811681146112b557600080fd5b8035612a4e81612cd3565b80151581146112b557600080fd5b8035612a4e81612ced565b60008060008060008060c08789031215612d1f57600080fd5b8635612d2a81612a2e565b95506020870135612d3a81612cb3565b94506040870135612d4a81612cd3565b93506060870135612d5a81612ced565b92506080870135612d6a81612a2e565b915060a08701356001600160401b03811115612d8557600080fd5b612d9189828a01612bfc565b9150509295509295509295565b62ffffff811681146112b557600080fd5b600060208284031215612dc157600080fd5b8135612a2781612d9e565b600060208284031215612dde57600080fd5b81356001600160401b0380821115612df557600080fd5b9083019060e08286031215612e0957600080fd5b612e11612b7d565b612e1a83612cc8565b8152612e2860208401612cc8565b6020820152612e3960408401612ce2565b6040820152612e4a60608401612cfb565b6060820152612e5b60808401612a43565b6080820152612e6c60a08401612a43565b60a082015260c083013582811115612e8357600080fd5b612e8f87828601612bfc565b60c08301525095945050505050565b600060208284031215612eb057600080fd5b8135612a2781612a2e565b6001600160e01b031991909116815260200190565b600060208284031215612ee257600080fd5b5035919050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b84811015612f8757898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b80831015612f725783516001600160e01b0319168252928b019260019290920191908b0190612f48565b50978a01979550505091870191600101612f11565b50919998505050505050505050565b8051612a4e81612ced565b600060208284031215612fb357600080fd5b8151612a2781612ced565b8051612a4e81612cb3565b600060208284031215612fdb57600080fd5b8151612a2781612cb3565b600060208284031215612ff857600080fd5b8151612a2781612d9e565b600181811c9082168061301757607f821691505b60208210810361303757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561261e57600081815260208120601f850160051c810160208610156130645750805b601f850160051c820191505b8181101561163357828155600101613070565b81516001600160401b0381111561309c5761309c612b67565b6130b0816130aa8454613003565b8461303d565b602080601f8311600181146130e557600084156130cd5750858301515b600019600386901b1c1916600185901b178555611633565b600085815260208120601f198616915b82811015613114578886015182559484019460019091019084016130f5565b50858210156131325787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561315457600080fd5b81516001600160401b0381168114612a2757600080fd5b60006020828403121561317d57600080fd5b5051919050565b8051612a4e81612a2e565b6000602082840312156131a157600080fd5b8151612a2781612a2e565b634e487b7160e01b600052603260045260246000fd5b8051612a4e81612cd3565b6000602082840312156131df57600080fd5b8151612a2781612cd3565b600080858511156131fa57600080fd5b8386111561320757600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561323c5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f83011261329557600080fd5b81516132a3612c1b82612bd5565b8181528460208386010111156132b857600080fd5b612b5f826020830160208701612a8c565b6000602082840312156132db57600080fd5b81516001600160401b03808211156132f257600080fd5b9083019060e0828603121561330657600080fd5b61330e612b7d565b61331783612fbe565b815261332560208401612fbe565b6020820152613336604084016131c2565b604082015261334760608401612f96565b606082015261335860808401613184565b608082015261336960a08401613184565b60a082015260c08301518281111561338057600080fd5b612e8f87828601613284565b60006020828403121561339e57600080fd5b815164ffffffffff81168114612a2757600080fd5b600080604083850312156133c657600080fd5b82516133d181612a2e565b6020840151909250612a8181612a2e565b600082516133f4818460208701612a8c565b9190910192915050565b6000806040838503121561341157600080fd5b825161341c81612ced565b602084015190925063ffffffff81168114612a8157600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205ae1df8d86e25b516d865ee06c310407f5e59a729502e9dbaf980d724bf0081a64736f6c63430008140033",
1314
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063b88da759116100b8578063ea8665721161007c578063ea86657214610671578063ed841d0c14610684578063f21de1e8146104bd578063f7c34ee01461068c578063fb2cb1011461069f57600080fd5b8063b88da75914610626578063bf7e214f14610639578063c13de99714610641578063c2bf08c814610656578063cde749f41461066957600080fd5b80638fbc2d81116100ff5780638fbc2d81146105a2578063946dfcfe146105b5578063ada9652e146105dc578063b3c65015146105f1578063b68d18091461061157600080fd5b80637a9e5e4b1461054c5780638105cc7f1461055f578063893d20e8146105725780638c5f36bb1461057a5780638fb360371461058d57600080fd5b806336fc697e116101c95780635c992fed1161018d5780635c992fed146104e25780635d966289146104f5578063644c45e014610508578063675393bf146105265780637286e5e51461053957600080fd5b806336fc697e1461035e5780634d459c90146103665780634f4213331461047f57806357a8fba7146104925780635ab1bd53146104bd57600080fd5b80631647f91e116102105780631647f91e146102dd5780631eff4b22146102f0578063214cdb801461032557806327bb7a33146103385780632a9040181461034b57600080fd5b806301ffc9a71461024d578063026bc43b1461028f5780630d8e6e2c146102af5780630fec111c146102cb578063138461e0146102d3575b600080fd5b61027a61025b3660046129fd565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6102a261029d366004612a53565b6106a7565b6040516102869190612adc565b6102b7610845565b60405162ffffff9091168152602001610286565b6102a26108cf565b6102db610a6b565b005b6102db6102eb366004612c52565b610cbe565b6103177f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102db6103333660046129fd565b610db5565b6102db610346366004612d06565b610de2565b6102db610359366004612c52565b610e7e565b6102db610fc6565b610422610374366004612daf565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091526000805160206134b783398151915262ffffff92831660009081526020918252604090819020815160a0810183528154958616815263010000009095046001600160a01b03908116938601939093526001015491821690840152600160a01b810464ffffffffff166060840152600160c81b900463ffffffff1660808301525090565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a001610286565b61027a61048d366004612daf565b61100c565b6104a56104a0366004612dcc565b6110bf565b6040516001600160601b039091168152602001610286565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6104a56104f0366004612dcc565b61114e565b6102a2610503366004612a53565b611164565b600080516020613437833981519152546001600160601b03166104a5565b6102db610534366004612e9e565b6112a4565b6102a2610547366004612a53565b6112b8565b6102db61055a366004612e9e565b611365565b6104a561056d366004612dcc565b6113ec565b6104ca611402565b6102db610588366004612e9e565b611539565b61059561163b565b6040516102869190612ebb565b6102a26105b0366004612a53565b611673565b7f4f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed90154610317565b61031760008051602061343783398151915281565b6105f9611720565b6040516001600160401b039091168152602001610286565b60285b60405160ff9091168152602001610286565b6102b7610634366004612ed0565b611741565b6104ca611792565b6106496117ae565b6040516102869190612ee9565b6104a5610664366004612dcc565b611cd5565b610614611ceb565b6102db61067f366004612a53565b611d6e565b610317600081565b6102db61069a366004612a53565b611de1565b6104ca611e13565b6106af6129bf565b6106bc335b600036611e29565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906106ef90632400caf160e21b90600401612ebb565b602060405180830381865afa15801561070c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107309190612fa1565b61074d57604051636795c76360e01b815260040160405180910390fd5b61075a8360465b84611f27565b905061076e6001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016107999190612adc565b6020604051808303816000875af11580156107b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612fc9565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561082757600080fd5b505af115801561083b573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156108a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ca9190612fe6565b905090565b6108d76129bf565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301805460009391606084019161096790613003565b80601f016020809104026020016040519081016040528092919081815260200182805461099390613003565b80156109e05780601f106109b5576101008083540402835291602001916109e0565b820191906000526020600020905b8154815290600101906020018083116109c357829003601f168201915b50505050508152505090506040518060e001604052806109fe600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610a4f611e13565b6001600160a01b03168152602001826060015181525091505090565b600060008051602061343783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe9190612fa1565b15610b405760015481546040516316322c0f60e31b81526001600160a01b0390921660048301526001600160601b031660248201526044015b60405180910390fd5b6000610b546001546001600160a01b031690565b6001600160a01b031603610b7b5760405163cf29926160e01b815260040160405180910390fd5b30610b8e6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610bd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfa9190612fa1565b610c22576040516372657a5160e01b81526001600160a01b0382166004820152602401610b37565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610c76573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c9a9190612fc9565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b0316600081158015610cf15750825b90506000826001600160401b03166001148015610d0d5750303b155b905081158015610d1b575080155b15610d395760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d6357845460ff60401b1916600160401b1785555b610d6d8888612117565b610d7787876123b6565b8315610dab57845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a15b5050505050505050565b610dbd6124d7565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610dea6124d7565b610df48287611de1565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610e648382613083565b50610e756303fb044760e21b610db5565b50505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610ea0610845565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f049190613142565b6000805160206134978339815191528054600160401b900460ff1680610f37575080546001600160401b03808416911610155b15610f555760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610f808585612117565b610f8983612510565b805460ff60401b191681556040516001600160401b0383168152600080516020613477833981519152906020015b60405180910390a15050505050565b610fce6124d7565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000806000805160206134b783398151915262ffffff84166000908152602091909152604090819020600101549051631bbffab160e21b8152600160c81b90910463ffffffff16600482015273__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af4158015611094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b8919061316b565b1192915050565b60006110ca336106b4565b6110d582607a612518565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90611105908590600401612adc565b6020604051808303816000875af1158015611124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111489190612fc9565b92915050565b6000611159336106b4565b6110d58260d3612518565b61116c6129bf565b611175336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906111a8906301da8d1160e61b90600401612ebb565b602060405180830381865afa1580156111c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e99190612fa1565b61120657604051637a71998760e01b815260040160405180910390fd5b61121183606e610754565b90506112256001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016112509190612adc565b6020604051808303816000875af115801561126f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112939190612fc9565b6001600160601b0316815292915050565b6112ac6124d7565b6112b581612623565b50565b6112c06129bf565b6112c9336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906112fc9063100f51f760e01b90600401612ebb565b602060405180830381865afa158015611319573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061133d9190612fa1565b61135a57604051636f61f64160e01b815260040160405180910390fd5b61121183608c610754565b3361136e611792565b6001600160a01b0316816001600160a01b0316146113a95760405162d1953b60e31b81526001600160a01b0382166004820152602401610b37565b816001600160a01b03163b6000036113df576040516361798f2f60e11b81526001600160a01b0383166004820152602401610b37565b6113e882612789565b5050565b60006113f7336106b4565b6110d5826050612518565b60008060008051602061343783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611472573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114969190612fa1565b15611523576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156114f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151d919061318f565b91505090565b54600160601b90046001600160a01b0316919050565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b031660008115801561156c5750825b90506000826001600160401b031660011480156115885750303b155b905081158015611596575080155b156115b45760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115de57845460ff60401b1916600160401b1785555b6115e7866127ea565b6115ef610fc6565b6115ff631fdea09d60e31b610db5565b831561163357845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a15b505050505050565b600080516020613457833981519152805460009190600160a01b900460ff1661166557600061151d565b638fb3603760e01b91505090565b61167b6129bf565b611684336106b4565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906116b790632595572960e01b90600401612ebb565b602060405180830381865afa1580156116d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f89190612fa1565b611715576040516308707e3160e41b815260040160405180910390fd5b611211836078610754565b60006108ca600080516020613497833981519152546001600160401b031690565b60006000805160206134b78339815191526001018281548110611766576117666131ac565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b600080516020613457833981519152546001600160a01b031690565b60408051600680825260e08201909252606091816020015b6040805180820190915260008152606060208201528152602001906001900390816117c65790505090506117f860d390565b8160008151811061180b5761180b6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600081518110611851576118516131ac565b602002602001015160200181905250635c992fed60e01b8160008151811061187b5761187b6131ac565b602002602001015160200151600081518110611899576118996131ac565b6001600160e01b0319909216602092830291909101909101526118ba60dc90565b816001815181106118cd576118cd6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600181518110611913576119136131ac565b60200260200101516020018190525063c2bf08c860e01b8160018151811061193d5761193d6131ac565b60200260200101516020015160008151811061195b5761195b6131ac565b6001600160e01b03199092166020928302919091019091015261197c606e90565b8160028151811061198f5761198f6131ac565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816002815181106119d5576119d56131ac565b602002602001015160200181905250635d96628960e01b816002815181106119ff576119ff6131ac565b602002602001015160200151600081518110611a1d57611a1d6131ac565b6001600160e01b031990921660209283029190910190910152611a3e608c90565b81600381518110611a5157611a516131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600381518110611a9757611a976131ac565b602002602001015160200181905250637286e5e560e01b81600381518110611ac157611ac16131ac565b602002602001015160200151600081518110611adf57611adf6131ac565b6001600160e01b031990921660209283029190910190910152611b00607890565b81600481518110611b1357611b136131ac565b602090810291909101015160ff91909116905260408051600280825260608201909252908160200160208202803683370190505081600481518110611b5a57611b5a6131ac565b602002602001015160200181905250638fbc2d8160e01b81600481518110611b8457611b846131ac565b602002602001015160200151600081518110611ba257611ba26131ac565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b9082906004908110611bd957611bd96131ac565b602002602001015160200151600181518110611bf757611bf76131ac565b6001600160e01b031990921660209283029190910190910152611c18604690565b81600581518110611c2b57611c2b6131ac565b602090810291909101015160ff919091169052604080516001808252818301909252908160200160208202803683370190505081600581518110611c7157611c716131ac565b60200260200101516020018190525063026bc43b60e01b81600581518110611c9b57611c9b6131ac565b602002602001015160200151600081518110611cb957611cb96131ac565b6001600160e01b03199092166020928302919091019091015290565b6000611ce0336106b4565b6110d58260dc612518565b6000611cf5610845565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015611d4a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ca91906131cd565b611d766124d7565b60006028611d82611ceb565b6040805160ff9384166020820152929091169082015260600160405160208183030381529060405290506000611db78461284f565b90506000611dca8583603c848888610de2565b611dda637b6a51fd60e01b610db5565b5050505050565b611de96124d7565b611df2826127ea565b611dfb816112a4565b611e03610fc6565b6113e8631fdea09d60e31b610db5565b6000600080516020613437833981519152611523565b600080516020613457833981519152600080611e64611e46611792565b8730611e56600460008a8c6131ea565b611e5f91613214565b612896565b91509150816116335763ffffffff811615611f0457825460ff60a01b1916600160a01b178355611e92611792565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611ec193929190613244565b600060405180830381600087803b158015611edb57600080fd5b505af1158015611eef573d6000803e3d6000fd5b5050845460ff60a01b19168555506116339050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610b37565b611f2f6129bf565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611f6d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611f9591908101906132c9565b6001600160a01b0385166080820152604081015190915060ff848116911614611fe4576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610b37565b60a08101516001600160a01b03808216908416146120205760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610b37565b846001600160a01b0316816001600160a01b031603612052576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b03811661207957604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f19190612fa1565b1561210f57604051637142ceb360e11b815260040160405180910390fd5b509392505050565b61211f6124d7565b6000805160206134b7833981519152600061214f600080516020613497833981519152546001600160401b031690565b9050600061215b610845565b9050816001600160401b03166001036121885760028301805462ffffff191662ffffff83161790556121d6565b600283015462ffffff908116908216116121d65760405162461bcd60e51b815260206004820152600f60248201526e24a72b20a624a2102b22a929a4a7a760891b6044820152606401610b37565b6001808401805491820181556000908152602090819020600a808404909101805462ffffff808716600394909606939093026101000a858102930219169190911790556040805160a0810182529283526001600160a01b038089168484015287168382015280516356db0c1960e11b81529051606084019273__$d53880c81dc91c20799140d711e5ab8718$__9263adb6183292600480830193928290030181865af415801561228a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ae919061338c565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602087815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517fad0a0fc10465a8dd9da3ad5f43e1a7fff4b4578551c76f0ae8deb844f0d0bf6890610fb79083908890889062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b6000805160206134978339815191528054600160401b810460ff1615906001600160401b03166000811580156123e95750825b90506000826001600160401b031660011480156124055750303b155b905081158015612413575080155b156124315760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561245b57845460ff60401b1916600160401b1785555b6000808780602001905181019061247291906133b3565b9150915061247f826129a2565b612489818a611d6e565b61249963aa745bc360e01b610db5565b50508315610e7557845460ff60401b19168555604051600181526000805160206134778339815191529060200160405180910390a150505050505050565b60008051602061349783398151915254600160401b900460ff1661250e57604051631afcd79f60e31b815260040160405180910390fd5b565b6102486124d7565b60006080830152604082015160ff82811691161461255c576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610b37565b60a08201516001600160a01b03811661258857604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156125dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126009190612fa1565b1561261e57604051637142ceb360e11b815260040160405180910390fd5b505050565b6001546001600160a01b03161561265c5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610b37565b6001600160a01b0381166126835760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036126b95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b37565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906126ff9063230c0c8160e11b90600401612ebb565b602060405180830381865afa925050508015612738575060408051601f3d908101601f1916820190925261273591810190612fa1565b60015b6127605760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610b37565b806113e85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610b37565b60008051602061345783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6127f26124d7565b6001600160a01b038116612819576040516352e2d0c160e01b815260040160405180910390fd5b60008051602061343783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b604051636939560f60e11b81526001600160a01b0382166004820181905260009163d272ac1e90602401602060405180830381865afa158015611124573d6000803e3d6000fd5b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161290591906133e2565b600060405180830381855afa9150503d8060008114612940576040519150601f19603f3d011682016040523d82523d6000602084013e612945565b606091505b50915091508115612997576040815110612977578080602001905181019061296d91906133fe565b9094509250612997565b602081511061299757808060200190518101906129949190612fa1565b93505b505094509492505050565b6129aa6124d7565b6112b5816129b66124d7565b6112b581612789565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b600060208284031215612a0f57600080fd5b81356001600160e01b031981168114612a2757600080fd5b9392505050565b6001600160a01b03811681146112b557600080fd5b8035612a4e81612a2e565b919050565b60008060408385031215612a6657600080fd5b8235612a7181612a2e565b91506020830135612a8181612a2e565b809150509250929050565b60005b83811015612aa7578181015183820152602001612a8f565b50506000910152565b60008151808452612ac8816020860160208601612a8c565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151612b4560c08401826001600160a01b03169052565b5060c083015160e080840152612b5f610100840182612ab0565b949350505050565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715612b9f57612b9f612b67565b60405290565b604051601f8201601f191681016001600160401b0381118282101715612bcd57612bcd612b67565b604052919050565b60006001600160401b03821115612bee57612bee612b67565b50601f01601f191660200190565b600082601f830112612c0d57600080fd5b8135612c20612c1b82612bd5565b612ba5565b818152846020838601011115612c3557600080fd5b816020850160208301376000918101602001919091529392505050565b600080600060608486031215612c6757600080fd5b8335612c7281612a2e565b92506020840135612c8281612a2e565b915060408401356001600160401b03811115612c9d57600080fd5b612ca986828701612bfc565b9150509250925092565b6001600160601b03811681146112b557600080fd5b8035612a4e81612cb3565b60ff811681146112b557600080fd5b8035612a4e81612cd3565b80151581146112b557600080fd5b8035612a4e81612ced565b60008060008060008060c08789031215612d1f57600080fd5b8635612d2a81612a2e565b95506020870135612d3a81612cb3565b94506040870135612d4a81612cd3565b93506060870135612d5a81612ced565b92506080870135612d6a81612a2e565b915060a08701356001600160401b03811115612d8557600080fd5b612d9189828a01612bfc565b9150509295509295509295565b62ffffff811681146112b557600080fd5b600060208284031215612dc157600080fd5b8135612a2781612d9e565b600060208284031215612dde57600080fd5b81356001600160401b0380821115612df557600080fd5b9083019060e08286031215612e0957600080fd5b612e11612b7d565b612e1a83612cc8565b8152612e2860208401612cc8565b6020820152612e3960408401612ce2565b6040820152612e4a60608401612cfb565b6060820152612e5b60808401612a43565b6080820152612e6c60a08401612a43565b60a082015260c083013582811115612e8357600080fd5b612e8f87828601612bfc565b60c08301525095945050505050565b600060208284031215612eb057600080fd5b8135612a2781612a2e565b6001600160e01b031991909116815260200190565b600060208284031215612ee257600080fd5b5035919050565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b84811015612f8757898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b80831015612f725783516001600160e01b0319168252928b019260019290920191908b0190612f48565b50978a01979550505091870191600101612f11565b50919998505050505050505050565b8051612a4e81612ced565b600060208284031215612fb357600080fd5b8151612a2781612ced565b8051612a4e81612cb3565b600060208284031215612fdb57600080fd5b8151612a2781612cb3565b600060208284031215612ff857600080fd5b8151612a2781612d9e565b600181811c9082168061301757607f821691505b60208210810361303757634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561261e57600081815260208120601f850160051c810160208610156130645750805b601f850160051c820191505b8181101561163357828155600101613070565b81516001600160401b0381111561309c5761309c612b67565b6130b0816130aa8454613003565b8461303d565b602080601f8311600181146130e557600084156130cd5750858301515b600019600386901b1c1916600185901b178555611633565b600085815260208120601f198616915b82811015613114578886015182559484019460019091019084016130f5565b50858210156131325787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561315457600080fd5b81516001600160401b0381168114612a2757600080fd5b60006020828403121561317d57600080fd5b5051919050565b8051612a4e81612a2e565b6000602082840312156131a157600080fd5b8151612a2781612a2e565b634e487b7160e01b600052603260045260246000fd5b8051612a4e81612cd3565b6000602082840312156131df57600080fd5b8151612a2781612cd3565b600080858511156131fa57600080fd5b8386111561320757600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561323c5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f83011261329557600080fd5b81516132a3612c1b82612bd5565b8181528460208386010111156132b857600080fd5b612b5f826020830160208701612a8c565b6000602082840312156132db57600080fd5b81516001600160401b03808211156132f257600080fd5b9083019060e0828603121561330657600080fd5b61330e612b7d565b61331783612fbe565b815261332560208401612fbe565b6020820152613336604084016131c2565b604082015261334760608401612f96565b606082015261335860808401613184565b608082015261336960a08401613184565b60a082015260c08301518281111561338057600080fd5b612e8f87828601613284565b60006020828403121561339e57600080fd5b815164ffffffffff81168114612a2757600080fd5b600080604083850312156133c657600080fd5b82516133d181612a2e565b6020840151909250612a8181612a2e565b600082516133f4818460208701612a8c565b9190910192915050565b6000806040838503121561341157600080fd5b825161341c81612ced565b602084015190925063ffffffff81168114612a8157600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00c7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a004f61291a8ac3d020d0a7d919a76b8592aa88385744dee3f8b4f3873b969ed900a26469706673582212205ae1df8d86e25b516d865ee06c310407f5e59a729502e9dbaf980d724bf0081a64736f6c63430008140033",
1315
+ "linkReferences": {
1316
+ "contracts/types/Blocknumber.sol": {
1317
+ "BlocknumberLib": [
1318
+ {
1319
+ "length": 20,
1320
+ "start": 4416
1321
+ }
1322
+ ]
1323
+ },
1324
+ "contracts/types/NftId.sol": {
1325
+ "NftIdLib": [
1326
+ {
1327
+ "length": 20,
1328
+ "start": 2950
1329
+ },
1330
+ {
1331
+ "length": 20,
1332
+ "start": 5406
1333
+ }
1334
+ ]
1335
+ },
1336
+ "contracts/types/Timestamp.sol": {
1337
+ "TimestampLib": [
1338
+ {
1339
+ "length": 20,
1340
+ "start": 9014
1341
+ }
1342
+ ]
1343
+ },
1344
+ "contracts/types/Version.sol": {
1345
+ "VersionLib": [
1346
+ {
1347
+ "length": 20,
1348
+ "start": 2386
1349
+ },
1350
+ {
1351
+ "length": 20,
1352
+ "start": 3942
1353
+ },
1354
+ {
1355
+ "length": 20,
1356
+ "start": 7670
1357
+ }
1358
+ ]
1359
+ }
1360
+ },
1361
+ "deployedLinkReferences": {
1362
+ "contracts/types/Blocknumber.sol": {
1363
+ "BlocknumberLib": [
1364
+ {
1365
+ "length": 20,
1366
+ "start": 4186
1367
+ }
1368
+ ]
1369
+ },
1370
+ "contracts/types/NftId.sol": {
1371
+ "NftIdLib": [
1372
+ {
1373
+ "length": 20,
1374
+ "start": 2720
1375
+ },
1376
+ {
1377
+ "length": 20,
1378
+ "start": 5176
1379
+ }
1380
+ ]
1381
+ },
1382
+ "contracts/types/Timestamp.sol": {
1383
+ "TimestampLib": [
1384
+ {
1385
+ "length": 20,
1386
+ "start": 8784
1387
+ }
1388
+ ]
1389
+ },
1390
+ "contracts/types/Version.sol": {
1391
+ "VersionLib": [
1392
+ {
1393
+ "length": 20,
1394
+ "start": 2156
1395
+ },
1396
+ {
1397
+ "length": 20,
1398
+ "start": 3712
1399
+ },
1400
+ {
1401
+ "length": 20,
1402
+ "start": 7440
1403
+ }
1404
+ ]
1405
+ }
1406
+ }
1407
+ }