@etherisc/gif-next 0.0.2-eb7397c → 0.0.2-eb98db7-932

Sign up to get free protection for your applications and to get access to all the features.
Files changed (423) hide show
  1. package/README.md +436 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +705 -31
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1346 -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} +284 -223
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +900 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +887 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +806 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1184 -75
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1105 -90
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2102 -510
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +498 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +2780 -459
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1386 -0
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1035 -0
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +541 -0
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  51. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  52. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  55. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  56. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  57. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  58. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/ISetup.sol/ISetup.json} +2 -2
  60. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  61. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +10 -0
  62. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +858 -0
  64. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
  66. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1085 -0
  68. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  70. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +743 -0
  72. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1087 -0
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +729 -0
  78. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +462 -0
  80. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +622 -0
  82. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +398 -0
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +520 -0
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +572 -0
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +336 -0
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +373 -0
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1109 -0
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +717 -0
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +716 -0
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +766 -0
  102. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  105. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +519 -61
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +879 -0
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  111. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  112. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  113. package/artifacts/contracts/registry/Registry.sol/Registry.json +567 -75
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  115. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  117. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1166 -0
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  121. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  123. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  124. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  125. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  126. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  128. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  129. package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +46 -74
  130. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  131. package/artifacts/contracts/{instance/product/IProductService.sol/IProductService.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +68 -53
  132. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/pool/PoolModule.sol/PoolModule.json → shared/IRegisterable.sol/IRegisterable.json} +106 -80
  134. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  135. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
  136. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  137. package/artifacts/contracts/shared/IService.sol/IService.json +258 -0
  138. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  139. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  140. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  142. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  143. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  144. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  145. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  146. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +352 -0
  148. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  149. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  150. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  151. package/artifacts/contracts/shared/Service.sol/Service.json +414 -0
  152. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  153. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  154. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  155. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  156. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  157. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  158. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  159. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  160. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  161. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +383 -0
  162. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  163. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  164. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestService.sol/TestService.json +510 -0
  166. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  168. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  170. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  171. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
  172. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  173. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  174. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  175. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  176. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  178. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  180. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  182. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  184. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  186. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  187. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  188. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  190. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  191. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  192. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  193. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  194. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  196. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  198. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  200. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  202. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  204. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  206. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +77 -2
  208. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  210. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  212. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  214. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  216. package/contracts/components/Component.sol +216 -37
  217. package/contracts/components/Distribution.sol +287 -0
  218. package/contracts/components/IComponent.sol +54 -0
  219. package/contracts/components/IDistributionComponent.sol +92 -0
  220. package/contracts/components/IPoolComponent.sol +87 -0
  221. package/contracts/components/IProductComponent.sol +39 -0
  222. package/contracts/components/Pool.sol +242 -17
  223. package/contracts/components/Product.sol +251 -32
  224. package/contracts/instance/BundleManager.sol +125 -0
  225. package/contracts/instance/Cloneable.sol +46 -0
  226. package/contracts/instance/IInstance.sol +87 -15
  227. package/contracts/instance/IInstanceService.sol +59 -0
  228. package/contracts/instance/Instance.sol +270 -43
  229. package/contracts/instance/InstanceAccessManager.sol +297 -0
  230. package/contracts/instance/InstanceReader.sol +293 -0
  231. package/contracts/instance/InstanceService.sol +476 -0
  232. package/contracts/instance/InstanceServiceManager.sol +54 -0
  233. package/contracts/instance/ObjectManager.sol +84 -0
  234. package/contracts/instance/base/ComponentService.sol +134 -0
  235. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  236. package/contracts/instance/base/ILifecycle.sol +30 -0
  237. package/contracts/instance/base/KeyValueStore.sol +172 -0
  238. package/contracts/instance/base/Lifecycle.sol +100 -0
  239. package/contracts/instance/module/IAccess.sol +47 -0
  240. package/contracts/instance/module/IBundle.sol +20 -0
  241. package/contracts/instance/module/IDistribution.sol +40 -0
  242. package/contracts/instance/module/IPolicy.sol +47 -0
  243. package/contracts/instance/module/IRisk.sol +11 -0
  244. package/contracts/instance/module/ISetup.sol +48 -0
  245. package/contracts/instance/module/ITreasury.sol +23 -0
  246. package/contracts/instance/service/ApplicationService.sol +268 -0
  247. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  248. package/contracts/instance/service/BundleService.sol +298 -0
  249. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  250. package/contracts/instance/service/ClaimService.sol +151 -0
  251. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  252. package/contracts/instance/service/DistributionService.sol +346 -0
  253. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  254. package/contracts/instance/service/IApplicationService.sol +82 -0
  255. package/contracts/instance/service/IBundleService.sol +54 -0
  256. package/contracts/instance/service/IClaimService.sol +61 -0
  257. package/contracts/instance/service/IDistributionService.sol +73 -0
  258. package/contracts/instance/service/IPolicyService.sol +89 -0
  259. package/contracts/instance/service/IPoolService.sol +20 -0
  260. package/contracts/instance/service/IProductService.sol +40 -0
  261. package/contracts/instance/service/PolicyService.sol +476 -0
  262. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  263. package/contracts/instance/service/PoolService.sol +109 -0
  264. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  265. package/contracts/instance/service/ProductService.sol +233 -0
  266. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  267. package/contracts/registry/ChainNft.sol +138 -109
  268. package/contracts/registry/IRegistry.sol +78 -49
  269. package/contracts/registry/IRegistryService.sol +67 -0
  270. package/contracts/registry/ITransferInterceptor.sol +6 -0
  271. package/contracts/registry/Registry.sol +398 -116
  272. package/contracts/registry/RegistryAccessManager.sol +216 -0
  273. package/contracts/registry/RegistryService.sol +283 -0
  274. package/contracts/registry/RegistryServiceManager.sol +62 -0
  275. package/contracts/registry/ReleaseManager.sol +322 -0
  276. package/contracts/registry/TokenRegistry.sol +116 -0
  277. package/contracts/shared/ContractDeployerLib.sol +72 -0
  278. package/contracts/shared/ERC165.sol +27 -0
  279. package/contracts/shared/INftOwnable.sol +23 -0
  280. package/contracts/shared/IPolicyHolder.sol +26 -0
  281. package/contracts/shared/IRegisterable.sol +15 -0
  282. package/contracts/shared/IRegistryLinked.sol +12 -0
  283. package/contracts/shared/IService.sol +16 -0
  284. package/contracts/shared/IVersionable.sol +53 -0
  285. package/contracts/shared/NftOwnable.sol +120 -0
  286. package/contracts/shared/PolicyHolder.sol +81 -0
  287. package/contracts/shared/ProxyManager.sol +169 -0
  288. package/contracts/shared/Registerable.sol +74 -0
  289. package/contracts/shared/RegistryLinked.sol +48 -0
  290. package/contracts/shared/Service.sol +58 -0
  291. package/contracts/shared/TokenHandler.sol +27 -0
  292. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  293. package/contracts/shared/Versionable.sol +59 -0
  294. package/contracts/test/TestFee.sol +25 -0
  295. package/contracts/test/TestRegisterable.sol +18 -0
  296. package/contracts/test/TestRoleId.sol +14 -0
  297. package/contracts/test/TestService.sol +25 -0
  298. package/contracts/test/TestToken.sol +26 -0
  299. package/contracts/test/TestVersion.sol +44 -0
  300. package/contracts/test/TestVersionable.sol +17 -0
  301. package/contracts/test/Usdc.sol +26 -0
  302. package/contracts/types/AddressSet.sol +58 -0
  303. package/contracts/types/Blocknumber.sol +76 -18
  304. package/contracts/types/ChainId.sol +18 -10
  305. package/contracts/types/ClaimId.sol +52 -0
  306. package/contracts/types/DistributorType.sol +55 -0
  307. package/contracts/types/Fee.sol +56 -0
  308. package/contracts/types/Key32.sol +50 -0
  309. package/contracts/types/NftId.sol +48 -11
  310. package/contracts/types/NftIdSet.sol +62 -0
  311. package/contracts/types/NumberId.sol +52 -0
  312. package/contracts/types/ObjectType.sol +156 -0
  313. package/contracts/types/PayoutId.sol +54 -0
  314. package/contracts/types/Referral.sol +85 -0
  315. package/contracts/types/RiskId.sol +43 -0
  316. package/contracts/types/RoleId.sol +90 -0
  317. package/contracts/types/StateId.sol +105 -0
  318. package/contracts/types/Timestamp.sol +89 -17
  319. package/contracts/types/UFixed.sol +193 -75
  320. package/contracts/types/Version.sol +107 -0
  321. package/package.json +21 -6
  322. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  323. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  324. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  325. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
  326. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  327. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  328. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  330. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  332. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  334. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  336. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  338. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  340. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  342. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  344. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  346. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  348. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  350. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  352. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  353. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  354. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  355. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  356. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  357. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  358. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  359. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  361. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  362. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -327
  363. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  364. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
  365. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  366. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  367. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  368. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  369. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  370. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  371. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  372. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  373. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  374. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  375. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  376. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
  377. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  378. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
  379. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  380. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  381. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
  382. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  383. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  384. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  385. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  386. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  387. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  388. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  389. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
  390. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  391. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  392. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  393. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  394. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  395. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  396. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  397. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  398. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  399. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  400. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -440
  401. package/contracts/components/IPool.sol +0 -9
  402. package/contracts/components/IProduct.sol +0 -12
  403. package/contracts/experiment/errors/Require.sol +0 -33
  404. package/contracts/experiment/errors/Revert.sol +0 -39
  405. package/contracts/experiment/inheritance/A.sol +0 -56
  406. package/contracts/experiment/inheritance/B.sol +0 -23
  407. package/contracts/experiment/inheritance/C.sol +0 -28
  408. package/contracts/experiment/inheritance/IA.sol +0 -18
  409. package/contracts/experiment/inheritance/IB.sol +0 -9
  410. package/contracts/experiment/inheritance/IC.sol +0 -11
  411. package/contracts/experiment/types/TypeA.sol +0 -42
  412. package/contracts/experiment/types/TypeB.sol +0 -24
  413. package/contracts/instance/access/Access.sol +0 -218
  414. package/contracts/instance/access/IAccess.sol +0 -83
  415. package/contracts/instance/component/ComponentModule.sol +0 -248
  416. package/contracts/instance/component/IComponent.sol +0 -95
  417. package/contracts/instance/policy/IPolicy.sol +0 -66
  418. package/contracts/instance/policy/PolicyModule.sol +0 -107
  419. package/contracts/instance/pool/IPoolModule.sol +0 -41
  420. package/contracts/instance/pool/PoolModule.sol +0 -86
  421. package/contracts/instance/product/IProductService.sol +0 -46
  422. package/contracts/instance/product/ProductService.sol +0 -108
  423. package/contracts/registry/IChainNft.sol +0 -18
@@ -0,0 +1,1166 @@
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": "NftId",
48
+ "name": "nftId",
49
+ "type": "uint96"
50
+ }
51
+ ],
52
+ "name": "ErrorNftOwnableAlreadyLinked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "contractAddress",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorNftOwnableContractNotRegistered",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorNftOwnableInitialOwnerZero",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "account",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorNftOwnableNotOwner",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "address",
86
+ "name": "registryAddress",
87
+ "type": "address"
88
+ }
89
+ ],
90
+ "name": "ErrorNotRegistry",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "address",
97
+ "name": "registerableAddress",
98
+ "type": "address"
99
+ }
100
+ ],
101
+ "name": "InvalidAddress",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [
106
+ {
107
+ "internalType": "address",
108
+ "name": "initialOwner",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "name": "InvalidInitialOwner",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [],
117
+ "name": "InvalidInitialization",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [],
122
+ "name": "NotDistribution",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [],
127
+ "name": "NotInitializing",
128
+ "type": "error"
129
+ },
130
+ {
131
+ "inputs": [],
132
+ "name": "NotInstance",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [],
137
+ "name": "NotPool",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [],
142
+ "name": "NotProduct",
143
+ "type": "error"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "address",
149
+ "name": "expectedOwner",
150
+ "type": "address"
151
+ }
152
+ ],
153
+ "name": "NotRegisterableOwner",
154
+ "type": "error"
155
+ },
156
+ {
157
+ "inputs": [],
158
+ "name": "NotRegistryOwner",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "NotService",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [],
168
+ "name": "RegisterableOwnerIsRegistered",
169
+ "type": "error"
170
+ },
171
+ {
172
+ "inputs": [],
173
+ "name": "RegisterableOwnerIsZero",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [],
178
+ "name": "SelfRegistration",
179
+ "type": "error"
180
+ },
181
+ {
182
+ "inputs": [
183
+ {
184
+ "internalType": "ObjectType",
185
+ "name": "expected",
186
+ "type": "uint8"
187
+ },
188
+ {
189
+ "internalType": "ObjectType",
190
+ "name": "found",
191
+ "type": "uint8"
192
+ }
193
+ ],
194
+ "name": "UnexpectedRegisterableType",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "anonymous": false,
199
+ "inputs": [
200
+ {
201
+ "indexed": false,
202
+ "internalType": "address",
203
+ "name": "authority",
204
+ "type": "address"
205
+ }
206
+ ],
207
+ "name": "AuthorityUpdated",
208
+ "type": "event"
209
+ },
210
+ {
211
+ "anonymous": false,
212
+ "inputs": [
213
+ {
214
+ "indexed": false,
215
+ "internalType": "uint64",
216
+ "name": "version",
217
+ "type": "uint64"
218
+ }
219
+ ],
220
+ "name": "Initialized",
221
+ "type": "event"
222
+ },
223
+ {
224
+ "inputs": [],
225
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
226
+ "outputs": [
227
+ {
228
+ "internalType": "bytes32",
229
+ "name": "",
230
+ "type": "bytes32"
231
+ }
232
+ ],
233
+ "stateMutability": "view",
234
+ "type": "function"
235
+ },
236
+ {
237
+ "inputs": [],
238
+ "name": "REGISTERABLE_LOCATION_V1",
239
+ "outputs": [
240
+ {
241
+ "internalType": "bytes32",
242
+ "name": "",
243
+ "type": "bytes32"
244
+ }
245
+ ],
246
+ "stateMutability": "view",
247
+ "type": "function"
248
+ },
249
+ {
250
+ "inputs": [],
251
+ "name": "REGISTRY_CREATION_CODE_HASH",
252
+ "outputs": [
253
+ {
254
+ "internalType": "bytes32",
255
+ "name": "",
256
+ "type": "bytes32"
257
+ }
258
+ ],
259
+ "stateMutability": "view",
260
+ "type": "function"
261
+ },
262
+ {
263
+ "inputs": [],
264
+ "name": "authority",
265
+ "outputs": [
266
+ {
267
+ "internalType": "address",
268
+ "name": "",
269
+ "type": "address"
270
+ }
271
+ ],
272
+ "stateMutability": "view",
273
+ "type": "function"
274
+ },
275
+ {
276
+ "inputs": [],
277
+ "name": "getDomain",
278
+ "outputs": [
279
+ {
280
+ "internalType": "ObjectType",
281
+ "name": "serviceDomain",
282
+ "type": "uint8"
283
+ }
284
+ ],
285
+ "stateMutability": "pure",
286
+ "type": "function"
287
+ },
288
+ {
289
+ "inputs": [],
290
+ "name": "getFunctionConfigs",
291
+ "outputs": [
292
+ {
293
+ "components": [
294
+ {
295
+ "internalType": "ObjectType",
296
+ "name": "serviceDomain",
297
+ "type": "uint8"
298
+ },
299
+ {
300
+ "internalType": "bytes4[]",
301
+ "name": "selectors",
302
+ "type": "bytes4[]"
303
+ }
304
+ ],
305
+ "internalType": "struct IRegistryService.FunctionConfig[]",
306
+ "name": "config",
307
+ "type": "tuple[]"
308
+ }
309
+ ],
310
+ "stateMutability": "pure",
311
+ "type": "function"
312
+ },
313
+ {
314
+ "inputs": [],
315
+ "name": "getInitialInfo",
316
+ "outputs": [
317
+ {
318
+ "components": [
319
+ {
320
+ "internalType": "NftId",
321
+ "name": "nftId",
322
+ "type": "uint96"
323
+ },
324
+ {
325
+ "internalType": "NftId",
326
+ "name": "parentNftId",
327
+ "type": "uint96"
328
+ },
329
+ {
330
+ "internalType": "ObjectType",
331
+ "name": "objectType",
332
+ "type": "uint8"
333
+ },
334
+ {
335
+ "internalType": "bool",
336
+ "name": "isInterceptor",
337
+ "type": "bool"
338
+ },
339
+ {
340
+ "internalType": "address",
341
+ "name": "objectAddress",
342
+ "type": "address"
343
+ },
344
+ {
345
+ "internalType": "address",
346
+ "name": "initialOwner",
347
+ "type": "address"
348
+ },
349
+ {
350
+ "internalType": "bytes",
351
+ "name": "data",
352
+ "type": "bytes"
353
+ }
354
+ ],
355
+ "internalType": "struct IRegistry.ObjectInfo",
356
+ "name": "info",
357
+ "type": "tuple"
358
+ }
359
+ ],
360
+ "stateMutability": "view",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "inputs": [],
365
+ "name": "getMajorVersion",
366
+ "outputs": [
367
+ {
368
+ "internalType": "VersionPart",
369
+ "name": "majorVersion",
370
+ "type": "uint8"
371
+ }
372
+ ],
373
+ "stateMutability": "view",
374
+ "type": "function"
375
+ },
376
+ {
377
+ "inputs": [],
378
+ "name": "getNftId",
379
+ "outputs": [
380
+ {
381
+ "internalType": "NftId",
382
+ "name": "",
383
+ "type": "uint96"
384
+ }
385
+ ],
386
+ "stateMutability": "view",
387
+ "type": "function"
388
+ },
389
+ {
390
+ "inputs": [],
391
+ "name": "getOwner",
392
+ "outputs": [
393
+ {
394
+ "internalType": "address",
395
+ "name": "",
396
+ "type": "address"
397
+ }
398
+ ],
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
402
+ {
403
+ "inputs": [],
404
+ "name": "getRegistry",
405
+ "outputs": [
406
+ {
407
+ "internalType": "contract IRegistry",
408
+ "name": "",
409
+ "type": "address"
410
+ }
411
+ ],
412
+ "stateMutability": "view",
413
+ "type": "function"
414
+ },
415
+ {
416
+ "inputs": [],
417
+ "name": "getRegistryAddress",
418
+ "outputs": [
419
+ {
420
+ "internalType": "address",
421
+ "name": "",
422
+ "type": "address"
423
+ }
424
+ ],
425
+ "stateMutability": "view",
426
+ "type": "function"
427
+ },
428
+ {
429
+ "inputs": [],
430
+ "name": "getVersion",
431
+ "outputs": [
432
+ {
433
+ "internalType": "Version",
434
+ "name": "",
435
+ "type": "uint24"
436
+ }
437
+ ],
438
+ "stateMutability": "pure",
439
+ "type": "function"
440
+ },
441
+ {
442
+ "inputs": [],
443
+ "name": "initializeERC165",
444
+ "outputs": [],
445
+ "stateMutability": "nonpayable",
446
+ "type": "function"
447
+ },
448
+ {
449
+ "inputs": [
450
+ {
451
+ "internalType": "address",
452
+ "name": "initialOwner",
453
+ "type": "address"
454
+ },
455
+ {
456
+ "internalType": "address",
457
+ "name": "registryAddress",
458
+ "type": "address"
459
+ }
460
+ ],
461
+ "name": "initializeNftOwnable",
462
+ "outputs": [],
463
+ "stateMutability": "nonpayable",
464
+ "type": "function"
465
+ },
466
+ {
467
+ "inputs": [
468
+ {
469
+ "internalType": "address",
470
+ "name": "registryAddress",
471
+ "type": "address"
472
+ },
473
+ {
474
+ "internalType": "NftId",
475
+ "name": "parentNftId",
476
+ "type": "uint96"
477
+ },
478
+ {
479
+ "internalType": "ObjectType",
480
+ "name": "objectType",
481
+ "type": "uint8"
482
+ },
483
+ {
484
+ "internalType": "bool",
485
+ "name": "isInterceptor",
486
+ "type": "bool"
487
+ },
488
+ {
489
+ "internalType": "address",
490
+ "name": "initialOwner",
491
+ "type": "address"
492
+ },
493
+ {
494
+ "internalType": "bytes",
495
+ "name": "data",
496
+ "type": "bytes"
497
+ }
498
+ ],
499
+ "name": "initializeRegisterable",
500
+ "outputs": [],
501
+ "stateMutability": "nonpayable",
502
+ "type": "function"
503
+ },
504
+ {
505
+ "inputs": [
506
+ {
507
+ "internalType": "address",
508
+ "name": "registryAddress",
509
+ "type": "address"
510
+ }
511
+ ],
512
+ "name": "initializeRegistryLinked",
513
+ "outputs": [],
514
+ "stateMutability": "nonpayable",
515
+ "type": "function"
516
+ },
517
+ {
518
+ "inputs": [
519
+ {
520
+ "internalType": "address",
521
+ "name": "registry",
522
+ "type": "address"
523
+ },
524
+ {
525
+ "internalType": "address",
526
+ "name": "initialOwner",
527
+ "type": "address"
528
+ }
529
+ ],
530
+ "name": "initializeService",
531
+ "outputs": [],
532
+ "stateMutability": "nonpayable",
533
+ "type": "function"
534
+ },
535
+ {
536
+ "inputs": [
537
+ {
538
+ "internalType": "address",
539
+ "name": "activatedBy",
540
+ "type": "address"
541
+ },
542
+ {
543
+ "internalType": "bytes",
544
+ "name": "data",
545
+ "type": "bytes"
546
+ }
547
+ ],
548
+ "name": "initializeVersionable",
549
+ "outputs": [],
550
+ "stateMutability": "nonpayable",
551
+ "type": "function"
552
+ },
553
+ {
554
+ "inputs": [],
555
+ "name": "isConsumingScheduledOp",
556
+ "outputs": [
557
+ {
558
+ "internalType": "bytes4",
559
+ "name": "",
560
+ "type": "bytes4"
561
+ }
562
+ ],
563
+ "stateMutability": "view",
564
+ "type": "function"
565
+ },
566
+ {
567
+ "inputs": [],
568
+ "name": "linkToRegisteredNftId",
569
+ "outputs": [],
570
+ "stateMutability": "nonpayable",
571
+ "type": "function"
572
+ },
573
+ {
574
+ "inputs": [
575
+ {
576
+ "components": [
577
+ {
578
+ "internalType": "NftId",
579
+ "name": "nftId",
580
+ "type": "uint96"
581
+ },
582
+ {
583
+ "internalType": "NftId",
584
+ "name": "parentNftId",
585
+ "type": "uint96"
586
+ },
587
+ {
588
+ "internalType": "ObjectType",
589
+ "name": "objectType",
590
+ "type": "uint8"
591
+ },
592
+ {
593
+ "internalType": "bool",
594
+ "name": "isInterceptor",
595
+ "type": "bool"
596
+ },
597
+ {
598
+ "internalType": "address",
599
+ "name": "objectAddress",
600
+ "type": "address"
601
+ },
602
+ {
603
+ "internalType": "address",
604
+ "name": "initialOwner",
605
+ "type": "address"
606
+ },
607
+ {
608
+ "internalType": "bytes",
609
+ "name": "data",
610
+ "type": "bytes"
611
+ }
612
+ ],
613
+ "internalType": "struct IRegistry.ObjectInfo",
614
+ "name": "info",
615
+ "type": "tuple"
616
+ }
617
+ ],
618
+ "name": "registerBundle",
619
+ "outputs": [
620
+ {
621
+ "internalType": "NftId",
622
+ "name": "nftId",
623
+ "type": "uint96"
624
+ }
625
+ ],
626
+ "stateMutability": "nonpayable",
627
+ "type": "function"
628
+ },
629
+ {
630
+ "inputs": [
631
+ {
632
+ "internalType": "contract IComponent",
633
+ "name": "distribution",
634
+ "type": "address"
635
+ },
636
+ {
637
+ "internalType": "address",
638
+ "name": "owner",
639
+ "type": "address"
640
+ }
641
+ ],
642
+ "name": "registerDistribution",
643
+ "outputs": [
644
+ {
645
+ "components": [
646
+ {
647
+ "internalType": "NftId",
648
+ "name": "nftId",
649
+ "type": "uint96"
650
+ },
651
+ {
652
+ "internalType": "NftId",
653
+ "name": "parentNftId",
654
+ "type": "uint96"
655
+ },
656
+ {
657
+ "internalType": "ObjectType",
658
+ "name": "objectType",
659
+ "type": "uint8"
660
+ },
661
+ {
662
+ "internalType": "bool",
663
+ "name": "isInterceptor",
664
+ "type": "bool"
665
+ },
666
+ {
667
+ "internalType": "address",
668
+ "name": "objectAddress",
669
+ "type": "address"
670
+ },
671
+ {
672
+ "internalType": "address",
673
+ "name": "initialOwner",
674
+ "type": "address"
675
+ },
676
+ {
677
+ "internalType": "bytes",
678
+ "name": "data",
679
+ "type": "bytes"
680
+ }
681
+ ],
682
+ "internalType": "struct IRegistry.ObjectInfo",
683
+ "name": "info",
684
+ "type": "tuple"
685
+ }
686
+ ],
687
+ "stateMutability": "nonpayable",
688
+ "type": "function"
689
+ },
690
+ {
691
+ "inputs": [
692
+ {
693
+ "components": [
694
+ {
695
+ "internalType": "NftId",
696
+ "name": "nftId",
697
+ "type": "uint96"
698
+ },
699
+ {
700
+ "internalType": "NftId",
701
+ "name": "parentNftId",
702
+ "type": "uint96"
703
+ },
704
+ {
705
+ "internalType": "ObjectType",
706
+ "name": "objectType",
707
+ "type": "uint8"
708
+ },
709
+ {
710
+ "internalType": "bool",
711
+ "name": "isInterceptor",
712
+ "type": "bool"
713
+ },
714
+ {
715
+ "internalType": "address",
716
+ "name": "objectAddress",
717
+ "type": "address"
718
+ },
719
+ {
720
+ "internalType": "address",
721
+ "name": "initialOwner",
722
+ "type": "address"
723
+ },
724
+ {
725
+ "internalType": "bytes",
726
+ "name": "data",
727
+ "type": "bytes"
728
+ }
729
+ ],
730
+ "internalType": "struct IRegistry.ObjectInfo",
731
+ "name": "info",
732
+ "type": "tuple"
733
+ }
734
+ ],
735
+ "name": "registerDistributor",
736
+ "outputs": [
737
+ {
738
+ "internalType": "NftId",
739
+ "name": "nftId",
740
+ "type": "uint96"
741
+ }
742
+ ],
743
+ "stateMutability": "nonpayable",
744
+ "type": "function"
745
+ },
746
+ {
747
+ "inputs": [
748
+ {
749
+ "internalType": "contract IRegisterable",
750
+ "name": "instance",
751
+ "type": "address"
752
+ },
753
+ {
754
+ "internalType": "address",
755
+ "name": "owner",
756
+ "type": "address"
757
+ }
758
+ ],
759
+ "name": "registerInstance",
760
+ "outputs": [
761
+ {
762
+ "components": [
763
+ {
764
+ "internalType": "NftId",
765
+ "name": "nftId",
766
+ "type": "uint96"
767
+ },
768
+ {
769
+ "internalType": "NftId",
770
+ "name": "parentNftId",
771
+ "type": "uint96"
772
+ },
773
+ {
774
+ "internalType": "ObjectType",
775
+ "name": "objectType",
776
+ "type": "uint8"
777
+ },
778
+ {
779
+ "internalType": "bool",
780
+ "name": "isInterceptor",
781
+ "type": "bool"
782
+ },
783
+ {
784
+ "internalType": "address",
785
+ "name": "objectAddress",
786
+ "type": "address"
787
+ },
788
+ {
789
+ "internalType": "address",
790
+ "name": "initialOwner",
791
+ "type": "address"
792
+ },
793
+ {
794
+ "internalType": "bytes",
795
+ "name": "data",
796
+ "type": "bytes"
797
+ }
798
+ ],
799
+ "internalType": "struct IRegistry.ObjectInfo",
800
+ "name": "info",
801
+ "type": "tuple"
802
+ }
803
+ ],
804
+ "stateMutability": "nonpayable",
805
+ "type": "function"
806
+ },
807
+ {
808
+ "inputs": [
809
+ {
810
+ "internalType": "bytes4",
811
+ "name": "interfaceId",
812
+ "type": "bytes4"
813
+ }
814
+ ],
815
+ "name": "registerInterface",
816
+ "outputs": [],
817
+ "stateMutability": "nonpayable",
818
+ "type": "function"
819
+ },
820
+ {
821
+ "inputs": [
822
+ {
823
+ "components": [
824
+ {
825
+ "internalType": "NftId",
826
+ "name": "nftId",
827
+ "type": "uint96"
828
+ },
829
+ {
830
+ "internalType": "NftId",
831
+ "name": "parentNftId",
832
+ "type": "uint96"
833
+ },
834
+ {
835
+ "internalType": "ObjectType",
836
+ "name": "objectType",
837
+ "type": "uint8"
838
+ },
839
+ {
840
+ "internalType": "bool",
841
+ "name": "isInterceptor",
842
+ "type": "bool"
843
+ },
844
+ {
845
+ "internalType": "address",
846
+ "name": "objectAddress",
847
+ "type": "address"
848
+ },
849
+ {
850
+ "internalType": "address",
851
+ "name": "initialOwner",
852
+ "type": "address"
853
+ },
854
+ {
855
+ "internalType": "bytes",
856
+ "name": "data",
857
+ "type": "bytes"
858
+ }
859
+ ],
860
+ "internalType": "struct IRegistry.ObjectInfo",
861
+ "name": "info",
862
+ "type": "tuple"
863
+ }
864
+ ],
865
+ "name": "registerPolicy",
866
+ "outputs": [
867
+ {
868
+ "internalType": "NftId",
869
+ "name": "nftId",
870
+ "type": "uint96"
871
+ }
872
+ ],
873
+ "stateMutability": "nonpayable",
874
+ "type": "function"
875
+ },
876
+ {
877
+ "inputs": [
878
+ {
879
+ "internalType": "contract IComponent",
880
+ "name": "pool",
881
+ "type": "address"
882
+ },
883
+ {
884
+ "internalType": "address",
885
+ "name": "owner",
886
+ "type": "address"
887
+ }
888
+ ],
889
+ "name": "registerPool",
890
+ "outputs": [
891
+ {
892
+ "components": [
893
+ {
894
+ "internalType": "NftId",
895
+ "name": "nftId",
896
+ "type": "uint96"
897
+ },
898
+ {
899
+ "internalType": "NftId",
900
+ "name": "parentNftId",
901
+ "type": "uint96"
902
+ },
903
+ {
904
+ "internalType": "ObjectType",
905
+ "name": "objectType",
906
+ "type": "uint8"
907
+ },
908
+ {
909
+ "internalType": "bool",
910
+ "name": "isInterceptor",
911
+ "type": "bool"
912
+ },
913
+ {
914
+ "internalType": "address",
915
+ "name": "objectAddress",
916
+ "type": "address"
917
+ },
918
+ {
919
+ "internalType": "address",
920
+ "name": "initialOwner",
921
+ "type": "address"
922
+ },
923
+ {
924
+ "internalType": "bytes",
925
+ "name": "data",
926
+ "type": "bytes"
927
+ }
928
+ ],
929
+ "internalType": "struct IRegistry.ObjectInfo",
930
+ "name": "info",
931
+ "type": "tuple"
932
+ }
933
+ ],
934
+ "stateMutability": "nonpayable",
935
+ "type": "function"
936
+ },
937
+ {
938
+ "inputs": [
939
+ {
940
+ "internalType": "contract IComponent",
941
+ "name": "product",
942
+ "type": "address"
943
+ },
944
+ {
945
+ "internalType": "address",
946
+ "name": "owner",
947
+ "type": "address"
948
+ }
949
+ ],
950
+ "name": "registerProduct",
951
+ "outputs": [
952
+ {
953
+ "components": [
954
+ {
955
+ "internalType": "NftId",
956
+ "name": "nftId",
957
+ "type": "uint96"
958
+ },
959
+ {
960
+ "internalType": "NftId",
961
+ "name": "parentNftId",
962
+ "type": "uint96"
963
+ },
964
+ {
965
+ "internalType": "ObjectType",
966
+ "name": "objectType",
967
+ "type": "uint8"
968
+ },
969
+ {
970
+ "internalType": "bool",
971
+ "name": "isInterceptor",
972
+ "type": "bool"
973
+ },
974
+ {
975
+ "internalType": "address",
976
+ "name": "objectAddress",
977
+ "type": "address"
978
+ },
979
+ {
980
+ "internalType": "address",
981
+ "name": "initialOwner",
982
+ "type": "address"
983
+ },
984
+ {
985
+ "internalType": "bytes",
986
+ "name": "data",
987
+ "type": "bytes"
988
+ }
989
+ ],
990
+ "internalType": "struct IRegistry.ObjectInfo",
991
+ "name": "info",
992
+ "type": "tuple"
993
+ }
994
+ ],
995
+ "stateMutability": "nonpayable",
996
+ "type": "function"
997
+ },
998
+ {
999
+ "inputs": [
1000
+ {
1001
+ "components": [
1002
+ {
1003
+ "internalType": "NftId",
1004
+ "name": "nftId",
1005
+ "type": "uint96"
1006
+ },
1007
+ {
1008
+ "internalType": "NftId",
1009
+ "name": "parentNftId",
1010
+ "type": "uint96"
1011
+ },
1012
+ {
1013
+ "internalType": "ObjectType",
1014
+ "name": "objectType",
1015
+ "type": "uint8"
1016
+ },
1017
+ {
1018
+ "internalType": "bool",
1019
+ "name": "isInterceptor",
1020
+ "type": "bool"
1021
+ },
1022
+ {
1023
+ "internalType": "address",
1024
+ "name": "objectAddress",
1025
+ "type": "address"
1026
+ },
1027
+ {
1028
+ "internalType": "address",
1029
+ "name": "initialOwner",
1030
+ "type": "address"
1031
+ },
1032
+ {
1033
+ "internalType": "bytes",
1034
+ "name": "data",
1035
+ "type": "bytes"
1036
+ }
1037
+ ],
1038
+ "internalType": "struct IRegistry.ObjectInfo",
1039
+ "name": "info",
1040
+ "type": "tuple"
1041
+ }
1042
+ ],
1043
+ "name": "registerStake",
1044
+ "outputs": [
1045
+ {
1046
+ "internalType": "NftId",
1047
+ "name": "nftId",
1048
+ "type": "uint96"
1049
+ }
1050
+ ],
1051
+ "stateMutability": "nonpayable",
1052
+ "type": "function"
1053
+ },
1054
+ {
1055
+ "inputs": [
1056
+ {
1057
+ "internalType": "address",
1058
+ "name": "newAuthority",
1059
+ "type": "address"
1060
+ }
1061
+ ],
1062
+ "name": "setAuthority",
1063
+ "outputs": [],
1064
+ "stateMutability": "nonpayable",
1065
+ "type": "function"
1066
+ },
1067
+ {
1068
+ "inputs": [
1069
+ {
1070
+ "internalType": "bytes4",
1071
+ "name": "interfaceId",
1072
+ "type": "bytes4"
1073
+ }
1074
+ ],
1075
+ "name": "supportsInterface",
1076
+ "outputs": [
1077
+ {
1078
+ "internalType": "bool",
1079
+ "name": "",
1080
+ "type": "bool"
1081
+ }
1082
+ ],
1083
+ "stateMutability": "view",
1084
+ "type": "function"
1085
+ },
1086
+ {
1087
+ "inputs": [
1088
+ {
1089
+ "internalType": "bytes",
1090
+ "name": "data",
1091
+ "type": "bytes"
1092
+ }
1093
+ ],
1094
+ "name": "upgradeVersionable",
1095
+ "outputs": [],
1096
+ "stateMutability": "nonpayable",
1097
+ "type": "function"
1098
+ }
1099
+ ],
1100
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b612d6e80620000e66000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fc565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612352565b6104b9565b60405161023991906123db565b61026a610657565b60405162ffffff9091168152602001610239565b6102556106e1565b61028e61087d565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fc565b610a84565b61028e6102e63660046125a4565b610ab1565b61028e6102f936600461263c565b610b3d565b61028e610c8a565b61028e610314366004612670565b610cd0565b61032c6103273660046126bf565b610dcf565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126bf565b610e5e565b61025561038a366004612352565b610e74565b600080516020612cd9833981519152546001600160601b031661032c565b61028e6103bb366004612791565b610fb4565b6102556103ce366004612352565b6110c7565b61028e6103e1366004612791565b611174565b61032c6103f43660046126bf565b6111f7565b61035161120d565b610409611344565b60405161023991906127ae565b610255610424366004612352565b61137c565b6102b7600080516020612cd983398151915281565b60285b60405160ff9091168152602001610239565b610351611429565b610463611445565b60405161023991906127c3565b61032c61047e3660046126bf565b611a2f565b610441611a45565b61028e610499366004612352565b611abc565b6102b7600081565b61028e6104b4366004612352565b611b54565b6104c16122be565b6104ce335b600036611bcb565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610501906302994e4760e61b906004016127ae565b602060405180830381865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061287b565b61055f57604051636795c76360e01b815260040160405180910390fd5b61056c8360465b84611cd1565b90506105806001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105ab91906123db565b6020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906128a3565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063957600080fd5b505af115801561064d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc91906128c0565b905090565b6106e96122be565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610779906128e5565b80601f01602080910402602001604051908101604052809291908181526020018280546107a5906128e5565b80156107f25780601f106107c7576101008083540402835291602001916107f2565b820191906000526020600020905b8154815290600101906020018083116107d557829003601f168201915b50505050508152505090506040518060e00160405280610810600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086161120d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cd983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610910919061287b565b156109415780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109546001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c0919061287b565b6109e85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610938565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906128a3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8c611ec1565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab9611ec1565b610ac38287611b54565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b338382612965565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5f610657565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190612a24565b600080516020612d198339815191528054600160401b900460ff1680610bf6575080546001600160401b03808416911610155b15610c145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3e83611efa565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c92611ec1565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d198339815191528054600160401b810460ff1615906001600160401b0316600081158015610d035750825b90506000826001600160401b03166001148015610d1f5750303b155b905081158015610d2d575080155b15610d4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7557845460ff60401b1916600160401b1785555b610d7f8787611f02565b8315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dda336104c6565b610de582607a612029565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e159085906004016123db565b6020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906128a3565b92915050565b6000610e69336104c6565b610de58260d3612029565b610e7c6122be565b610e85336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb8906301da8d1160e61b906004016127ae565b602060405180830381865afa158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef9919061287b565b610f1657604051637a71998760e01b815260040160405180910390fd5b610f2183606e610566565b9050610f356001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f6091906123db565b6020604051808303816000875af1158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa391906128a3565b6001600160601b0316815292915050565b610fbc611ec1565b806001600160a01b03163b600003610ff25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906110389063230c0c8160e11b906004016127ae565b602060405180830381865afa925050508015611071575060408051601f3d908101601f1916820190925261106e9181019061287b565b60015b6110995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b806110c25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610938565b505b50565b6110cf6122be565b6110d8336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110b9063100f51f760e01b906004016127ae565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061287b565b61116957604051636f61f64160e01b815260040160405180910390fd5b610f2183608c610566565b3361117d611429565b6001600160a01b0316816001600160a01b0316146111b85760405162d1953b60e31b81526001600160a01b0382166004820152602401610938565b816001600160a01b03163b6000036111ee576040516361798f2f60e11b81526001600160a01b0383166004820152602401610938565b6110c282612134565b6000611202336104c6565b610de5826050612029565b600080600080516020612cd983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a1919061287b565b1561132e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612a58565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cf9833981519152805460009190600160a01b900460ff1661136e576000611328565b638fb3603760e01b91505090565b6113846122be565b61138d336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113c090630c14afe960e21b906004016127ae565b602060405180830381865afa1580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611401919061287b565b61141e576040516308707e3160e41b815260040160405180910390fd5b610f21836078610566565b600080516020612cf9833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145e57905050905061149060d290565b816000815181106114a3576114a3612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816000815181106114e9576114e9612a75565b602002602001015160200181905250635c992fed60e01b8160008151811061151357611513612a75565b60200260200101516020015160008151811061153157611531612a75565b6001600160e01b03199092166020928302919091019091015261155260d390565b8160018151811061156557611565612a75565b60209081029190910181015160ff929092169091526040805160008152918201905281518290600190811061159c5761159c612a75565b6020026020010151602001819052506115b360d490565b816002815181106115c6576115c6612a75565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115fd576115fd612a75565b60200260200101516020018190525061161460dc90565b8160038151811061162757611627612a75565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166d5761166d612a75565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169757611697612a75565b6020026020010151602001516000815181106116b5576116b5612a75565b6001600160e01b0319909216602092830291909101909101526116d6606e90565b816004815181106116e9576116e9612a75565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061172f5761172f612a75565b602002602001015160200181905250635d96628960e01b8160048151811061175957611759612a75565b60200260200101516020015160008151811061177757611777612a75565b6001600160e01b031990921660209283029190910190910152611798608c90565b816005815181106117ab576117ab612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f1576117f1612a75565b602002602001015160200181905250637286e5e560e01b8160058151811061181b5761181b612a75565b60200260200101516020015160008151811061183957611839612a75565b6001600160e01b03199092166020928302919091019091015261185a607890565b8160068151811061186d5761186d612a75565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b4576118b4612a75565b602002602001015160200181905250638fbc2d8160e01b816006815181106118de576118de612a75565b6020026020010151602001516000815181106118fc576118fc612a75565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193357611933612a75565b60200260200101516020015160018151811061195157611951612a75565b6001600160e01b031990921660209283029190910190910152611972604690565b8160078151811061198557611985612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cb576119cb612a75565b60200260200101516020018190525063026bc43b60e01b816007815181106119f5576119f5612a75565b602002602001015160200151600081518110611a1357611a13612a75565b6001600160e01b03199092166020928302919091019091015290565b6000611a3a336104c6565b610de58260dc612029565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a98573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190612a96565b611ac4611ec1565b611b4482836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a91906128a3565b603c60008560405180602001604052806000815250610ab1565b6110c2637b6a51fd60e01b610a84565b611b5c611ec1565b611b6581610fb4565b611b6d610c8a565b6001600160a01b038216611b945760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cd983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cf9833981519152600080611c06611be8611429565b8730611bf8600460008a8c612ab3565b611c0191612add565b612195565b9150915081611cc95763ffffffff811615611ca657825460ff60a01b1916600160a01b178355611c34611429565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6393929190612b0d565b600060405180830381600087803b158015611c7d57600080fd5b505af1158015611c91573d6000803e3d6000fd5b5050845460ff60a01b1916855550611cc99050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610938565b505050505050565b611cd96122be565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d17573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3f9190810190612b92565b6001600160a01b0385166080820152604081015190915060ff848116911614611d8e576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610938565b60a08101516001600160a01b0380821690841614611dca5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610938565b846001600160a01b0316816001600160a01b031603611dfc576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9b919061287b565b15611eb957604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1983398151915254600160401b900460ff16611ef857604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec1565b600080516020612d198339815191528054600160401b810460ff1615906001600160401b0316600081158015611f355750825b90506000826001600160401b03166001148015611f515750303b155b905081158015611f5f575080155b15611f7d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa757845460ff60401b1916600160401b1785555b60008087806020019051810190611fbe9190612c55565b91509150611fcb816122a1565b611fd5828a611abc565b611fe563aa745bc360e01b610a84565b50508315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbd565b60006080830152604082015160ff82811691161461206d576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610938565b60a08201516001600160a01b03811661209957604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612111919061287b565b1561212f57604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cf983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122049190612c84565b600060405180830381855afa9150503d806000811461223f576040519150601f19603f3d011682016040523d82523d6000602084013e612244565b606091505b50915091508115612296576040815110612276578080602001905181019061226c9190612ca0565b9094509250612296565b60208151106122965780806020019051810190612293919061287b565b93505b505094509492505050565b6122a9611ec1565b6110c4816122b5611ec1565b6110c481612134565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561230e57600080fd5b81356001600160e01b03198116811461232657600080fd5b9392505050565b6001600160a01b03811681146110c457600080fd5b803561234d8161232d565b919050565b6000806040838503121561236557600080fd5b82356123708161232d565b915060208301356123808161232d565b809150509250929050565b60005b838110156123a657818101518382015260200161238e565b50506000910152565b600081518084526123c781602086016020860161238b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244460c08401826001600160a01b03169052565b5060c083015160e08084015261245e6101008401826123af565b949350505050565b6001600160601b03811681146110c457600080fd5b803561234d81612466565b60ff811681146110c457600080fd5b803561234d81612486565b80151581146110c457600080fd5b803561234d816124a0565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f1576124f16124b9565b60405290565b604051601f8201601f191681016001600160401b038111828210171561251f5761251f6124b9565b604052919050565b60006001600160401b03821115612540576125406124b9565b50601f01601f191660200190565b600082601f83011261255f57600080fd5b813561257261256d82612527565b6124f7565b81815284602083860101111561258757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125bd57600080fd5b86356125c88161232d565b955060208701356125d881612466565b945060408701356125e881612486565b935060608701356125f8816124a0565b925060808701356126088161232d565b915060a08701356001600160401b0381111561262357600080fd5b61262f89828a0161254e565b9150509295509295509295565b60006020828403121561264e57600080fd5b81356001600160401b0381111561266457600080fd5b61245e8482850161254e565b6000806040838503121561268357600080fd5b823561268e8161232d565b915060208301356001600160401b038111156126a957600080fd5b6126b58582860161254e565b9150509250929050565b6000602082840312156126d157600080fd5b81356001600160401b03808211156126e857600080fd5b9083019060e082860312156126fc57600080fd5b6127046124cf565b61270d8361247b565b815261271b6020840161247b565b602082015261272c60408401612495565b604082015261273d606084016124ae565b606082015261274e60808401612342565b608082015261275f60a08401612342565b60a082015260c08301358281111561277657600080fd5b6127828782860161254e565b60c08301525095945050505050565b6000602082840312156127a357600080fd5b81356123268161232d565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286157898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284c5783516001600160e01b0319168252928b019260019290920191908b0190612822565b50978a019795505050918701916001016127eb565b50919998505050505050505050565b805161234d816124a0565b60006020828403121561288d57600080fd5b8151612326816124a0565b805161234d81612466565b6000602082840312156128b557600080fd5b815161232681612466565b6000602082840312156128d257600080fd5b815162ffffff8116811461232657600080fd5b600181811c908216806128f957607f821691505b60208210810361291957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561212f57600081815260208120601f850160051c810160208610156129465750805b601f850160051c820191505b81811015611cc957828155600101612952565b81516001600160401b0381111561297e5761297e6124b9565b6129928161298c84546128e5565b8461291f565b602080601f8311600181146129c757600084156129af5750858301515b600019600386901b1c1916600185901b178555611cc9565b600085815260208120601f198616915b828110156129f6578886015182559484019460019091019084016129d7565b5085821015612a145787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3657600080fd5b81516001600160401b038116811461232657600080fd5b805161234d8161232d565b600060208284031215612a6a57600080fd5b81516123268161232d565b634e487b7160e01b600052603260045260246000fd5b805161234d81612486565b600060208284031215612aa857600080fd5b815161232681612486565b60008085851115612ac357600080fd5b83861115612ad057600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b055780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b5e57600080fd5b8151612b6c61256d82612527565b818152846020838601011115612b8157600080fd5b61245e82602083016020870161238b565b600060208284031215612ba457600080fd5b81516001600160401b0380821115612bbb57600080fd5b9083019060e08286031215612bcf57600080fd5b612bd76124cf565b612be083612898565b8152612bee60208401612898565b6020820152612bff60408401612a8b565b6040820152612c1060608401612870565b6060820152612c2160808401612a4d565b6080820152612c3260a08401612a4d565b60a082015260c083015182811115612c4957600080fd5b61278287828601612b4d565b60008060408385031215612c6857600080fd5b8251612c738161232d565b60208401519092506123808161232d565b60008251612c9681846020870161238b565b9190910192915050565b60008060408385031215612cb357600080fd5b8251612cbe816124a0565b602084015190925063ffffffff8116811461238057600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220bf88b3ba98f2e471d4971458e6acbad64985380ef507737beb706f00e36012c864736f6c63430008140033",
1101
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063675393bf1161011a578063b68d1809116100ad578063cde749f41161007c578063cde749f414610483578063ea8665721461048b578063ed841d0c1461049e578063f21de1e814610344578063f7c34ee0146104a657600080fd5b8063b68d18091461043e578063bf7e214f14610453578063c13de9971461045b578063c2bf08c81461047057600080fd5b8063893d20e8116100e9578063893d20e8146103f95780638fb36037146104015780638fbc2d8114610416578063ada9652e1461042957600080fd5b8063675393bf146103ad5780637286e5e5146103c05780637a9e5e4b146103d35780638105cc7f146103e657600080fd5b8063329d6e74116101925780635ab1bd53116101615780635ab1bd53146103445780635c992fed146103695780635d9662891461037c578063644c45e01461038f57600080fd5b8063329d6e74146102eb57806336fc697e146102fe57806349bb9e4b1461030657806357a8fba71461031957600080fd5b8063138461e0116101ce578063138461e0146102865780631eff4b2214610290578063214cdb80146102c557806327bb7a33146102d857600080fd5b806301ffc9a714610200578063026bc43b146102425780630d8e6e2c146102625780630fec111c1461027e575b600080fd5b61022d61020e3660046122fc565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b610255610250366004612352565b6104b9565b60405161023991906123db565b61026a610657565b60405162ffffff9091168152602001610239565b6102556106e1565b61028e61087d565b005b6102b77f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610239565b61028e6102d33660046122fc565b610a84565b61028e6102e63660046125a4565b610ab1565b61028e6102f936600461263c565b610b3d565b61028e610c8a565b61028e610314366004612670565b610cd0565b61032c6103273660046126bf565b610dcf565b6040516001600160601b039091168152602001610239565b6001546001600160a01b03165b6040516001600160a01b039091168152602001610239565b61032c6103773660046126bf565b610e5e565b61025561038a366004612352565b610e74565b600080516020612cd9833981519152546001600160601b031661032c565b61028e6103bb366004612791565b610fb4565b6102556103ce366004612352565b6110c7565b61028e6103e1366004612791565b611174565b61032c6103f43660046126bf565b6111f7565b61035161120d565b610409611344565b60405161023991906127ae565b610255610424366004612352565b61137c565b6102b7600080516020612cd983398151915281565b60285b60405160ff9091168152602001610239565b610351611429565b610463611445565b60405161023991906127c3565b61032c61047e3660046126bf565b611a2f565b610441611a45565b61028e610499366004612352565b611abc565b6102b7600081565b61028e6104b4366004612352565b611b54565b6104c16122be565b6104ce335b600036611bcb565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610501906302994e4760e61b906004016127ae565b602060405180830381865afa15801561051e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610542919061287b565b61055f57604051636795c76360e01b815260040160405180910390fd5b61056c8360465b84611cd1565b90506105806001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b81526004016105ab91906123db565b6020604051808303816000875af11580156105ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ee91906128a3565b6001600160601b0316815260408051629c230f60e51b815290516001600160a01b0385169163138461e091600480830192600092919082900301818387803b15801561063957600080fd5b505af115801561064d573d6000803e3d6000fd5b5050505092915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af41580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc91906128c0565b905090565b6106e96122be565b604080516080810182527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116835260ff600160601b820481166020850152600160681b909104161515928201929092527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3018054600093916060840191610779906128e5565b80601f01602080910402602001604051908101604052809291908181526020018280546107a5906128e5565b80156107f25780601f106107c7576101008083540402835291602001916107f2565b820191906000526020600020905b8154815290600101906020018083116107d557829003601f168201915b50505050508152505090506040518060e00160405280610810600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b0316815260200161086161120d565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020612cd983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610910919061287b565b156109415780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b306109546001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561099c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c0919061287b565b6109e85760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610938565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015610a3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6091906128a3565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b610a8c611ec1565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610ab9611ec1565b610ac38287611b54565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610b338382612965565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c610b5f610657565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af4158015610b9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190612a24565b600080516020612d198339815191528054600160401b900460ff1680610bf6575080546001600160401b03808416911610155b15610c145760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b178155610c3e83611efa565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b610c92611ec1565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600080516020612d198339815191528054600160401b810460ff1615906001600160401b0316600081158015610d035750825b90506000826001600160401b03166001148015610d1f5750303b155b905081158015610d2d575080155b15610d4b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315610d7557845460ff60401b1916600160401b1785555b610d7f8787611f02565b8315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000610dda336104c6565b610de582607a612029565b6001546040516352efcf2760e11b81526001600160a01b039091169063a5df9e4e90610e159085906004016123db565b6020604051808303816000875af1158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5891906128a3565b92915050565b6000610e69336104c6565b610de58260d3612029565b610e7c6122be565b610e85336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a790610eb8906301da8d1160e61b906004016127ae565b602060405180830381865afa158015610ed5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef9919061287b565b610f1657604051637a71998760e01b815260040160405180910390fd5b610f2183606e610566565b9050610f356001546001600160a01b031690565b6001600160a01b031663a5df9e4e826040518263ffffffff1660e01b8152600401610f6091906123db565b6020604051808303816000875af1158015610f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fa391906128a3565b6001600160601b0316815292915050565b610fbc611ec1565b806001600160a01b03163b600003610ff25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526301ffc9a7906110389063230c0c8160e11b906004016127ae565b602060405180830381865afa925050508015611071575060408051601f3d908101601f1916820190925261106e9181019061287b565b60015b6110995760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610938565b806110c25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610938565b505b50565b6110cf6122be565b6110d8336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a79061110b9063100f51f760e01b906004016127ae565b602060405180830381865afa158015611128573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114c919061287b565b61116957604051636f61f64160e01b815260040160405180910390fd5b610f2183608c610566565b3361117d611429565b6001600160a01b0316816001600160a01b0316146111b85760405162d1953b60e31b81526001600160a01b0382166004820152602401610938565b816001600160a01b03163b6000036111ee576040516361798f2f60e11b81526001600160a01b0383166004820152602401610938565b6110c282612134565b6000611202336104c6565b610de5826050612029565b600080600080516020612cd983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561127d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112a1919061287b565b1561132e576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113289190612a58565b91505090565b54600160601b90046001600160a01b0316919050565b600080516020612cf9833981519152805460009190600160a01b900460ff1661136e576000611328565b638fb3603760e01b91505090565b6113846122be565b61138d336104c6565b6040516301ffc9a760e01b81526001600160a01b038416906301ffc9a7906113c090630c14afe960e21b906004016127ae565b602060405180830381865afa1580156113dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611401919061287b565b61141e576040516308707e3160e41b815260040160405180910390fd5b610f21836078610566565b600080516020612cf9833981519152546001600160a01b031690565b6040805160088082526101208201909252606091816020015b60408051808201909152600081526060602082015281526020019060019003908161145e57905050905061149060d290565b816000815181106114a3576114a3612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816000815181106114e9576114e9612a75565b602002602001015160200181905250635c992fed60e01b8160008151811061151357611513612a75565b60200260200101516020015160008151811061153157611531612a75565b6001600160e01b03199092166020928302919091019091015261155260d390565b8160018151811061156557611565612a75565b60209081029190910181015160ff929092169091526040805160008152918201905281518290600190811061159c5761159c612a75565b6020026020010151602001819052506115b360d490565b816002815181106115c6576115c6612a75565b60209081029190910181015160ff92909216909152604080516000815291820190528151829060029081106115fd576115fd612a75565b60200260200101516020018190525061161460dc90565b8160038151811061162757611627612a75565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160038151811061166d5761166d612a75565b60200260200101516020018190525063c2bf08c860e01b8160038151811061169757611697612a75565b6020026020010151602001516000815181106116b5576116b5612a75565b6001600160e01b0319909216602092830291909101909101526116d6606e90565b816004815181106116e9576116e9612a75565b602090810291909101015160ff91909116905260408051600180825281830190925290816020016020820280368337019050508160048151811061172f5761172f612a75565b602002602001015160200181905250635d96628960e01b8160048151811061175957611759612a75565b60200260200101516020015160008151811061177757611777612a75565b6001600160e01b031990921660209283029190910190910152611798608c90565b816005815181106117ab576117ab612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816005815181106117f1576117f1612a75565b602002602001015160200181905250637286e5e560e01b8160058151811061181b5761181b612a75565b60200260200101516020015160008151811061183957611839612a75565b6001600160e01b03199092166020928302919091019091015261185a607890565b8160068151811061186d5761186d612a75565b602090810291909101015160ff919091169052604080516002808252606082019092529081602001602082028036833701905050816006815181106118b4576118b4612a75565b602002602001015160200181905250638fbc2d8160e01b816006815181106118de576118de612a75565b6020026020010151602001516000815181106118fc576118fc612a75565b6001600160e01b03199092166020928302919091019091015280516357a8fba760e01b908290600690811061193357611933612a75565b60200260200101516020015160018151811061195157611951612a75565b6001600160e01b031990921660209283029190910190910152611972604690565b8160078151811061198557611985612a75565b602090810291909101015160ff9190911690526040805160018082528183019092529081602001602082028036833701905050816007815181106119cb576119cb612a75565b60200260200101516020018190525063026bc43b60e01b816007815181106119f5576119f5612a75565b602002602001015160200151600081518110611a1357611a13612a75565b6001600160e01b03199092166020928302919091019091015290565b6000611a3a336104c6565b610de58260dc612029565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611a98573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190612a96565b611ac4611ec1565b611b4482836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2a91906128a3565b603c60008560405180602001604052806000815250610ab1565b6110c2637b6a51fd60e01b610a84565b611b5c611ec1565b611b6581610fb4565b611b6d610c8a565b6001600160a01b038216611b945760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020612cd983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600080516020612cf9833981519152600080611c06611be8611429565b8730611bf8600460008a8c612ab3565b611c0191612add565b612195565b9150915081611cc95763ffffffff811615611ca657825460ff60a01b1916600160a01b178355611c34611429565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611c6393929190612b0d565b600060405180830381600087803b158015611c7d57600080fd5b505af1158015611c91573d6000803e3d6000fd5b5050845460ff60a01b1916855550611cc99050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610938565b505050505050565b611cd96122be565b836001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015611d17573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611d3f9190810190612b92565b6001600160a01b0385166080820152604081015190915060ff848116911614611d8e576040808201519051632208245760e11b815260ff80861660048301529091166024820152604401610938565b60a08101516001600160a01b0380821690841614611dca5760405163dfc430cb60e01b81526001600160a01b0384166004820152602401610938565b846001600160a01b0316816001600160a01b031603611dfc576040516317faf4db60e11b815260040160405180910390fd5b6001600160a01b038116611e2357604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611e77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e9b919061287b565b15611eb957604051637142ceb360e11b815260040160405180910390fd5b509392505050565b600080516020612d1983398151915254600160401b900460ff16611ef857604051631afcd79f60e31b815260040160405180910390fd5b565b6101fb611ec1565b600080516020612d198339815191528054600160401b810460ff1615906001600160401b0316600081158015611f355750825b90506000826001600160401b03166001148015611f515750303b155b905081158015611f5f575080155b15611f7d5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611fa757845460ff60401b1916600160401b1785555b60008087806020019051810190611fbe9190612c55565b91509150611fcb816122a1565b611fd5828a611abc565b611fe563aa745bc360e01b610a84565b50508315610dc657845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602001610dbd565b60006080830152604082015160ff82811691161461206d576040808301519051632208245760e11b815260ff80841660048301529091166024820152604401610938565b60a08201516001600160a01b03811661209957604051630fd187d360e01b815260040160405180910390fd5b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156120ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612111919061287b565b1561212f57604051637142ceb360e11b815260040160405180910390fd5b505050565b600080516020612cf983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516122049190612c84565b600060405180830381855afa9150503d806000811461223f576040519150601f19603f3d011682016040523d82523d6000602084013e612244565b606091505b50915091508115612296576040815110612276578080602001905181019061226c9190612ca0565b9094509250612296565b60208151106122965780806020019051810190612293919061287b565b93505b505094509492505050565b6122a9611ec1565b6110c4816122b5611ec1565b6110c481612134565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b60006020828403121561230e57600080fd5b81356001600160e01b03198116811461232657600080fd5b9392505050565b6001600160a01b03811681146110c457600080fd5b803561234d8161232d565b919050565b6000806040838503121561236557600080fd5b82356123708161232d565b915060208301356123808161232d565b809150509250929050565b60005b838110156123a657818101518382015260200161238e565b50506000910152565b600081518084526123c781602086016020860161238b565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161244460c08401826001600160a01b03169052565b5060c083015160e08084015261245e6101008401826123af565b949350505050565b6001600160601b03811681146110c457600080fd5b803561234d81612466565b60ff811681146110c457600080fd5b803561234d81612486565b80151581146110c457600080fd5b803561234d816124a0565b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b03811182821017156124f1576124f16124b9565b60405290565b604051601f8201601f191681016001600160401b038111828210171561251f5761251f6124b9565b604052919050565b60006001600160401b03821115612540576125406124b9565b50601f01601f191660200190565b600082601f83011261255f57600080fd5b813561257261256d82612527565b6124f7565b81815284602083860101111561258757600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156125bd57600080fd5b86356125c88161232d565b955060208701356125d881612466565b945060408701356125e881612486565b935060608701356125f8816124a0565b925060808701356126088161232d565b915060a08701356001600160401b0381111561262357600080fd5b61262f89828a0161254e565b9150509295509295509295565b60006020828403121561264e57600080fd5b81356001600160401b0381111561266457600080fd5b61245e8482850161254e565b6000806040838503121561268357600080fd5b823561268e8161232d565b915060208301356001600160401b038111156126a957600080fd5b6126b58582860161254e565b9150509250929050565b6000602082840312156126d157600080fd5b81356001600160401b03808211156126e857600080fd5b9083019060e082860312156126fc57600080fd5b6127046124cf565b61270d8361247b565b815261271b6020840161247b565b602082015261272c60408401612495565b604082015261273d606084016124ae565b606082015261274e60808401612342565b608082015261275f60a08401612342565b60a082015260c08301358281111561277657600080fd5b6127828782860161254e565b60c08301525095945050505050565b6000602082840312156127a357600080fd5b81356123268161232d565b6001600160e01b031991909116815260200190565b60006020808301818452808551808352604092508286019150828160051b8701018488016000805b8481101561286157898403603f190186528251805160ff168552880151888501889052805188860181905290890190839060608701905b8083101561284c5783516001600160e01b0319168252928b019260019290920191908b0190612822565b50978a019795505050918701916001016127eb565b50919998505050505050505050565b805161234d816124a0565b60006020828403121561288d57600080fd5b8151612326816124a0565b805161234d81612466565b6000602082840312156128b557600080fd5b815161232681612466565b6000602082840312156128d257600080fd5b815162ffffff8116811461232657600080fd5b600181811c908216806128f957607f821691505b60208210810361291957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561212f57600081815260208120601f850160051c810160208610156129465750805b601f850160051c820191505b81811015611cc957828155600101612952565b81516001600160401b0381111561297e5761297e6124b9565b6129928161298c84546128e5565b8461291f565b602080601f8311600181146129c757600084156129af5750858301515b600019600386901b1c1916600185901b178555611cc9565b600085815260208120601f198616915b828110156129f6578886015182559484019460019091019084016129d7565b5085821015612a145787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215612a3657600080fd5b81516001600160401b038116811461232657600080fd5b805161234d8161232d565b600060208284031215612a6a57600080fd5b81516123268161232d565b634e487b7160e01b600052603260045260246000fd5b805161234d81612486565b600060208284031215612aa857600080fd5b815161232681612486565b60008085851115612ac357600080fd5b83861115612ad057600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015612b055780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600082601f830112612b5e57600080fd5b8151612b6c61256d82612527565b818152846020838601011115612b8157600080fd5b61245e82602083016020870161238b565b600060208284031215612ba457600080fd5b81516001600160401b0380821115612bbb57600080fd5b9083019060e08286031215612bcf57600080fd5b612bd76124cf565b612be083612898565b8152612bee60208401612898565b6020820152612bff60408401612a8b565b6040820152612c1060608401612870565b6060820152612c2160808401612a4d565b6080820152612c3260a08401612a4d565b60a082015260c083015182811115612c4957600080fd5b61278287828601612b4d565b60008060408385031215612c6857600080fd5b8251612c738161232d565b60208401519092506123808161232d565b60008251612c9681846020870161238b565b9190910192915050565b60008060408385031215612cb357600080fd5b8251612cbe816124a0565b602084015190925063ffffffff8116811461238057600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220bf88b3ba98f2e471d4971458e6acbad64985380ef507737beb706f00e36012c864736f6c63430008140033",
1102
+ "linkReferences": {
1103
+ "contracts/types/NftId.sol": {
1104
+ "NftIdLib": [
1105
+ {
1106
+ "length": 20,
1107
+ "start": 2456
1108
+ },
1109
+ {
1110
+ "length": 20,
1111
+ "start": 4905
1112
+ }
1113
+ ]
1114
+ },
1115
+ "contracts/types/Version.sol": {
1116
+ "VersionLib": [
1117
+ {
1118
+ "length": 20,
1119
+ "start": 1892
1120
+ },
1121
+ {
1122
+ "length": 20,
1123
+ "start": 3109
1124
+ }
1125
+ ],
1126
+ "VersionPartLib": [
1127
+ {
1128
+ "length": 20,
1129
+ "start": 6980
1130
+ }
1131
+ ]
1132
+ }
1133
+ },
1134
+ "deployedLinkReferences": {
1135
+ "contracts/types/NftId.sol": {
1136
+ "NftIdLib": [
1137
+ {
1138
+ "length": 20,
1139
+ "start": 2226
1140
+ },
1141
+ {
1142
+ "length": 20,
1143
+ "start": 4675
1144
+ }
1145
+ ]
1146
+ },
1147
+ "contracts/types/Version.sol": {
1148
+ "VersionLib": [
1149
+ {
1150
+ "length": 20,
1151
+ "start": 1662
1152
+ },
1153
+ {
1154
+ "length": 20,
1155
+ "start": 2879
1156
+ }
1157
+ ],
1158
+ "VersionPartLib": [
1159
+ {
1160
+ "length": 20,
1161
+ "start": 6750
1162
+ }
1163
+ ]
1164
+ }
1165
+ }
1166
+ }