@etherisc/gif-next 0.0.2-fb8d07b-779 → 0.0.2-fbe22f0-239

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. package/README.md +136 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +858 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +588 -92
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +208 -143
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +543 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +663 -31
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +648 -5
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +818 -273
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +657 -181
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  33. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  39. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  40. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  41. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  42. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
  43. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  44. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1371 -129
  45. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  46. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +132 -21
  47. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  48. package/artifacts/contracts/instance/Instance.sol/Instance.json +293 -656
  49. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  50. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
  51. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  52. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +89 -91
  53. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  54. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +395 -122
  55. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  56. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +149 -57
  57. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  58. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  59. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  60. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +243 -55
  61. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  62. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  63. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  64. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
  65. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  66. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  69. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1091 -0
  77. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1292 -0
  79. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +560 -0
  81. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +272 -91
  83. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  84. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +140 -40
  85. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +217 -58
  87. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +785 -0
  89. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +20 -20
  91. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
  93. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +22 -84
  95. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +32 -247
  97. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1352 -0
  99. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +616 -0
  101. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +256 -180
  103. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  104. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +140 -52
  105. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +981 -0
  107. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +548 -0
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +208 -224
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +228 -95
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  116. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  117. package/artifacts/contracts/registry/Registry.sol/Registry.json +222 -330
  118. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  120. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +197 -109
  122. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +162 -112
  124. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  126. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +124 -29
  128. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +24 -0
  133. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  134. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +5 -5
  137. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IService.sol/IService.json +20 -20
  139. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  140. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
  141. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +130 -11
  143. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  144. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +172 -0
  145. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  146. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +130 -6
  147. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  148. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -11
  149. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  150. package/artifacts/contracts/shared/Service.sol/Service.json +153 -20
  151. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  152. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  153. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  154. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  155. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -2
  156. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +126 -11
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  161. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestService.sol/TestService.json +171 -38
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  164. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  166. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -8
  167. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  168. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  169. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  173. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  183. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
  185. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  187. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  189. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  195. package/contracts/components/Component.sol +230 -0
  196. package/contracts/components/Distribution.sol +53 -57
  197. package/contracts/components/IComponent.sol +50 -0
  198. package/contracts/components/IDistributionComponent.sol +5 -2
  199. package/contracts/components/IPoolComponent.sol +54 -29
  200. package/contracts/components/IProductComponent.sol +7 -3
  201. package/contracts/components/Pool.sol +153 -142
  202. package/contracts/components/Product.sol +109 -128
  203. package/contracts/instance/BundleManager.sol +125 -0
  204. package/contracts/instance/Cloneable.sol +46 -0
  205. package/contracts/instance/IInstance.sol +41 -8
  206. package/contracts/instance/IInstanceService.sol +15 -4
  207. package/contracts/instance/Instance.sol +65 -240
  208. package/contracts/instance/InstanceAccessManager.sol +87 -78
  209. package/contracts/instance/InstanceReader.sol +12 -25
  210. package/contracts/instance/InstanceService.sol +347 -95
  211. package/contracts/instance/InstanceServiceManager.sol +10 -12
  212. package/contracts/instance/ObjectManager.sol +84 -0
  213. package/contracts/instance/base/ComponentService.sol +134 -0
  214. package/contracts/instance/module/IAccess.sol +27 -18
  215. package/contracts/instance/module/ISetup.sol +7 -4
  216. package/contracts/instance/service/ApplicationService.sol +268 -0
  217. package/contracts/instance/service/BundleService.sol +298 -0
  218. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  219. package/contracts/instance/service/DistributionService.sol +45 -27
  220. package/contracts/instance/service/DistributionServiceManager.sol +10 -12
  221. package/contracts/instance/service/IApplicationService.sol +82 -0
  222. package/contracts/instance/service/IBundleService.sol +54 -0
  223. package/contracts/instance/service/IPolicyService.sol +88 -0
  224. package/contracts/instance/service/IPoolService.sol +6 -23
  225. package/contracts/instance/service/IProductService.sol +6 -73
  226. package/contracts/instance/service/PolicyService.sol +524 -0
  227. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  228. package/contracts/instance/service/PoolService.sol +40 -124
  229. package/contracts/instance/service/PoolServiceManager.sol +10 -12
  230. package/contracts/instance/service/ProductService.sol +233 -0
  231. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  232. package/contracts/registry/ChainNft.sol +1 -1
  233. package/contracts/registry/IRegistry.sol +38 -33
  234. package/contracts/registry/IRegistryService.sol +45 -13
  235. package/contracts/registry/Registry.sol +223 -250
  236. package/contracts/registry/RegistryAccessManager.sol +216 -0
  237. package/contracts/registry/RegistryService.sol +86 -224
  238. package/contracts/registry/RegistryServiceManager.sol +18 -36
  239. package/contracts/registry/ReleaseManager.sol +332 -0
  240. package/contracts/registry/TokenRegistry.sol +11 -9
  241. package/contracts/shared/ERC165.sol +12 -11
  242. package/contracts/shared/INftOwnable.sol +6 -1
  243. package/contracts/shared/IPolicyHolder.sol +26 -0
  244. package/contracts/shared/IRegisterable.sol +4 -6
  245. package/contracts/shared/IService.sol +2 -1
  246. package/contracts/shared/IVersionable.sol +2 -2
  247. package/contracts/shared/NftOwnable.sol +93 -42
  248. package/contracts/shared/PolicyHolder.sol +52 -0
  249. package/contracts/shared/ProxyManager.sol +6 -5
  250. package/contracts/shared/Registerable.sol +15 -24
  251. package/contracts/shared/Service.sol +18 -13
  252. package/contracts/shared/Versionable.sol +3 -2
  253. package/contracts/test/TestRegisterable.sol +1 -1
  254. package/contracts/test/TestService.sol +4 -3
  255. package/contracts/types/NftIdSet.sol +26 -24
  256. package/contracts/types/ObjectType.sol +5 -1
  257. package/contracts/types/RoleId.sol +10 -9
  258. package/package.json +3 -3
  259. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  260. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  261. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  262. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  263. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  264. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  265. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  266. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  267. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  268. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  269. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  270. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  271. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  272. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  273. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  274. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  275. package/contracts/components/BaseComponent.sol +0 -91
  276. package/contracts/components/IBaseComponent.sol +0 -25
  277. package/contracts/instance/AccessManagedSimple.sol +0 -115
  278. package/contracts/instance/AccessManagerSimple.sol +0 -692
  279. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  280. package/contracts/instance/base/ComponentServiceBase.sol +0 -125
  281. package/contracts/instance/base/IInstanceBase.sol +0 -23
  282. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  283. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  284. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -3,6 +3,66 @@
3
3
  "contractName": "Pool",
4
4
  "sourceName": "contracts/components/Pool.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "target",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "AddressEmptyCode",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "account",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "AddressInsufficientBalance",
64
+ "type": "error"
65
+ },
6
66
  {
7
67
  "inputs": [
8
68
  {
@@ -12,103 +72,112 @@
12
72
  },
13
73
  {
14
74
  "internalType": "NftId",
15
- "name": "instanceNftId",
75
+ "name": "nftId",
16
76
  "type": "uint96"
17
- },
77
+ }
78
+ ],
79
+ "name": "ErrorAlreadyLinked",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
18
84
  {
19
85
  "internalType": "address",
20
- "name": "token",
86
+ "name": "caller",
21
87
  "type": "address"
22
- },
23
- {
24
- "internalType": "bool",
25
- "name": "isInterceptor",
26
- "type": "bool"
27
- },
88
+ }
89
+ ],
90
+ "name": "ErrorComponentNotChainNft",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
28
95
  {
29
- "internalType": "bool",
30
- "name": "verifying",
31
- "type": "bool"
96
+ "internalType": "NftId",
97
+ "name": "instanceNftId",
98
+ "type": "uint96"
32
99
  },
33
100
  {
34
- "internalType": "UFixed",
35
- "name": "collateralizationLevel",
36
- "type": "uint256"
37
- },
101
+ "internalType": "address",
102
+ "name": "instance",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorComponentNotInstance",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
38
111
  {
39
- "components": [
40
- {
41
- "internalType": "UFixed",
42
- "name": "fractionalFee",
43
- "type": "uint256"
44
- },
45
- {
46
- "internalType": "uint256",
47
- "name": "fixedFee",
48
- "type": "uint256"
49
- }
50
- ],
51
- "internalType": "struct Fee",
52
- "name": "poolFee",
53
- "type": "tuple"
54
- },
112
+ "internalType": "address",
113
+ "name": "caller",
114
+ "type": "address"
115
+ }
116
+ ],
117
+ "name": "ErrorComponentNotProductService",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [],
122
+ "name": "ErrorComponentProductNftAlreadySet",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
55
127
  {
56
- "components": [
57
- {
58
- "internalType": "UFixed",
59
- "name": "fractionalFee",
60
- "type": "uint256"
61
- },
62
- {
63
- "internalType": "uint256",
64
- "name": "fixedFee",
65
- "type": "uint256"
66
- }
67
- ],
68
- "internalType": "struct Fee",
69
- "name": "stakingFee",
70
- "type": "tuple"
128
+ "internalType": "address",
129
+ "name": "caller",
130
+ "type": "address"
71
131
  },
72
132
  {
73
- "components": [
74
- {
75
- "internalType": "UFixed",
76
- "name": "fractionalFee",
77
- "type": "uint256"
78
- },
79
- {
80
- "internalType": "uint256",
81
- "name": "fixedFee",
82
- "type": "uint256"
83
- }
84
- ],
85
- "internalType": "struct Fee",
86
- "name": "performanceFee",
87
- "type": "tuple"
88
- },
133
+ "internalType": "uint64",
134
+ "name": "requiredRoleIdNum",
135
+ "type": "uint64"
136
+ }
137
+ ],
138
+ "name": "ErrorComponentUnauthorized",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [
89
143
  {
90
144
  "internalType": "address",
91
- "name": "initialOwner",
145
+ "name": "newWallet",
92
146
  "type": "address"
93
147
  }
94
148
  ],
95
- "stateMutability": "nonpayable",
96
- "type": "constructor"
149
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
150
+ "type": "error"
151
+ },
152
+ {
153
+ "inputs": [],
154
+ "name": "ErrorComponentWalletAddressZero",
155
+ "type": "error"
97
156
  },
98
157
  {
99
158
  "inputs": [
100
159
  {
101
160
  "internalType": "address",
102
- "name": "registry",
161
+ "name": "oldWallet",
103
162
  "type": "address"
104
163
  },
105
164
  {
106
- "internalType": "NftId",
107
- "name": "nftId",
108
- "type": "uint96"
165
+ "internalType": "address",
166
+ "name": "newWallet",
167
+ "type": "address"
168
+ },
169
+ {
170
+ "internalType": "uint256",
171
+ "name": "allowance",
172
+ "type": "uint256"
173
+ },
174
+ {
175
+ "internalType": "uint256",
176
+ "name": "balance",
177
+ "type": "uint256"
109
178
  }
110
179
  ],
111
- "name": "ErrorAlreadyLinked",
180
+ "name": "ErrorComponentWalletAllowanceTooSmall",
112
181
  "type": "error"
113
182
  },
114
183
  {
@@ -122,6 +191,11 @@
122
191
  "name": "ErrorContractNotRegistered",
123
192
  "type": "error"
124
193
  },
194
+ {
195
+ "inputs": [],
196
+ "name": "ErrorInitialOwnerZero",
197
+ "type": "error"
198
+ },
125
199
  {
126
200
  "inputs": [
127
201
  {
@@ -144,6 +218,17 @@
144
218
  "name": "ErrorNotRegistry",
145
219
  "type": "error"
146
220
  },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "address",
225
+ "name": "service",
226
+ "type": "address"
227
+ }
228
+ ],
229
+ "name": "ErrorPoolNotPoolService",
230
+ "type": "error"
231
+ },
147
232
  {
148
233
  "inputs": [
149
234
  {
@@ -176,6 +261,11 @@
176
261
  "name": "ErrorRegistryNotInitialized",
177
262
  "type": "error"
178
263
  },
264
+ {
265
+ "inputs": [],
266
+ "name": "FailedInnerCall",
267
+ "type": "error"
268
+ },
179
269
  {
180
270
  "inputs": [],
181
271
  "name": "InvalidInitialization",
@@ -186,6 +276,30 @@
186
276
  "name": "NotInitializing",
187
277
  "type": "error"
188
278
  },
279
+ {
280
+ "inputs": [
281
+ {
282
+ "internalType": "address",
283
+ "name": "token",
284
+ "type": "address"
285
+ }
286
+ ],
287
+ "name": "SafeERC20FailedOperation",
288
+ "type": "error"
289
+ },
290
+ {
291
+ "anonymous": false,
292
+ "inputs": [
293
+ {
294
+ "indexed": false,
295
+ "internalType": "address",
296
+ "name": "authority",
297
+ "type": "address"
298
+ }
299
+ ],
300
+ "name": "AuthorityUpdated",
301
+ "type": "event"
302
+ },
189
303
  {
190
304
  "anonymous": false,
191
305
  "inputs": [
@@ -199,6 +313,44 @@
199
313
  "name": "Initialized",
200
314
  "type": "event"
201
315
  },
316
+ {
317
+ "anonymous": false,
318
+ "inputs": [
319
+ {
320
+ "indexed": false,
321
+ "internalType": "address",
322
+ "name": "newWallet",
323
+ "type": "address"
324
+ }
325
+ ],
326
+ "name": "LogComponentWalletAddressChanged",
327
+ "type": "event"
328
+ },
329
+ {
330
+ "anonymous": false,
331
+ "inputs": [
332
+ {
333
+ "indexed": false,
334
+ "internalType": "address",
335
+ "name": "from",
336
+ "type": "address"
337
+ },
338
+ {
339
+ "indexed": false,
340
+ "internalType": "address",
341
+ "name": "to",
342
+ "type": "address"
343
+ },
344
+ {
345
+ "indexed": false,
346
+ "internalType": "uint256",
347
+ "name": "amount",
348
+ "type": "uint256"
349
+ }
350
+ ],
351
+ "name": "LogComponentWalletTokensTransferred",
352
+ "type": "event"
353
+ },
202
354
  {
203
355
  "anonymous": false,
204
356
  "inputs": [
@@ -226,7 +378,7 @@
226
378
  },
227
379
  {
228
380
  "inputs": [],
229
- "name": "REGISTERABLE_LOCATION_V1",
381
+ "name": "CONTRACT_LOCATION_V1",
230
382
  "outputs": [
231
383
  {
232
384
  "internalType": "bytes32",
@@ -238,49 +390,55 @@
238
390
  "type": "function"
239
391
  },
240
392
  {
241
- "inputs": [
393
+ "inputs": [],
394
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
395
+ "outputs": [
242
396
  {
243
- "components": [
244
- {
245
- "internalType": "UFixed",
246
- "name": "fractionalFee",
247
- "type": "uint256"
248
- },
249
- {
250
- "internalType": "uint256",
251
- "name": "fixedFee",
252
- "type": "uint256"
253
- }
254
- ],
255
- "internalType": "struct Fee",
256
- "name": "fee",
257
- "type": "tuple"
258
- },
259
- {
260
- "internalType": "uint256",
261
- "name": "initialAmount",
262
- "type": "uint256"
263
- },
397
+ "internalType": "bytes32",
398
+ "name": "",
399
+ "type": "bytes32"
400
+ }
401
+ ],
402
+ "stateMutability": "view",
403
+ "type": "function"
404
+ },
405
+ {
406
+ "inputs": [],
407
+ "name": "POOL_STORAGE_LOCATION_V1",
408
+ "outputs": [
264
409
  {
265
- "internalType": "uint256",
266
- "name": "lifetime",
267
- "type": "uint256"
268
- },
410
+ "internalType": "bytes32",
411
+ "name": "",
412
+ "type": "bytes32"
413
+ }
414
+ ],
415
+ "stateMutability": "view",
416
+ "type": "function"
417
+ },
418
+ {
419
+ "inputs": [],
420
+ "name": "REGISTERABLE_LOCATION_V1",
421
+ "outputs": [
269
422
  {
270
- "internalType": "bytes",
271
- "name": "filter",
272
- "type": "bytes"
423
+ "internalType": "bytes32",
424
+ "name": "",
425
+ "type": "bytes32"
273
426
  }
274
427
  ],
275
- "name": "createBundle",
428
+ "stateMutability": "view",
429
+ "type": "function"
430
+ },
431
+ {
432
+ "inputs": [],
433
+ "name": "authority",
276
434
  "outputs": [
277
435
  {
278
- "internalType": "NftId",
279
- "name": "bundleNftId",
280
- "type": "uint96"
436
+ "internalType": "address",
437
+ "name": "",
438
+ "type": "address"
281
439
  }
282
440
  ],
283
- "stateMutability": "nonpayable",
441
+ "stateMutability": "view",
284
442
  "type": "function"
285
443
  },
286
444
  {
@@ -296,6 +454,25 @@
296
454
  "stateMutability": "view",
297
455
  "type": "function"
298
456
  },
457
+ {
458
+ "inputs": [
459
+ {
460
+ "internalType": "bytes",
461
+ "name": "name",
462
+ "type": "bytes"
463
+ }
464
+ ],
465
+ "name": "getContractLocation",
466
+ "outputs": [
467
+ {
468
+ "internalType": "bytes32",
469
+ "name": "hash",
470
+ "type": "bytes32"
471
+ }
472
+ ],
473
+ "stateMutability": "pure",
474
+ "type": "function"
475
+ },
299
476
  {
300
477
  "inputs": [],
301
478
  "name": "getInitialInfo",
@@ -339,13 +516,21 @@
339
516
  }
340
517
  ],
341
518
  "internalType": "struct IRegistry.ObjectInfo",
342
- "name": "",
519
+ "name": "info",
343
520
  "type": "tuple"
344
- },
521
+ }
522
+ ],
523
+ "stateMutability": "view",
524
+ "type": "function"
525
+ },
526
+ {
527
+ "inputs": [],
528
+ "name": "getInitialOwner",
529
+ "outputs": [
345
530
  {
346
- "internalType": "bytes",
531
+ "internalType": "address",
347
532
  "name": "",
348
- "type": "bytes"
533
+ "type": "address"
349
534
  }
350
535
  ],
351
536
  "stateMutability": "view",
@@ -364,53 +549,437 @@
364
549
  "stateMutability": "view",
365
550
  "type": "function"
366
551
  },
552
+ {
553
+ "inputs": [],
554
+ "name": "getInstanceService",
555
+ "outputs": [
556
+ {
557
+ "internalType": "contract IInstanceService",
558
+ "name": "",
559
+ "type": "address"
560
+ }
561
+ ],
562
+ "stateMutability": "view",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [],
567
+ "name": "getName",
568
+ "outputs": [
569
+ {
570
+ "internalType": "string",
571
+ "name": "name",
572
+ "type": "string"
573
+ }
574
+ ],
575
+ "stateMutability": "view",
576
+ "type": "function"
577
+ },
367
578
  {
368
579
  "inputs": [],
369
580
  "name": "getNftId",
370
581
  "outputs": [
371
582
  {
372
- "internalType": "NftId",
373
- "name": "",
374
- "type": "uint96"
583
+ "internalType": "NftId",
584
+ "name": "",
585
+ "type": "uint96"
586
+ }
587
+ ],
588
+ "stateMutability": "view",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "inputs": [],
593
+ "name": "getOwner",
594
+ "outputs": [
595
+ {
596
+ "internalType": "address",
597
+ "name": "",
598
+ "type": "address"
599
+ }
600
+ ],
601
+ "stateMutability": "view",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [],
606
+ "name": "getProductNftId",
607
+ "outputs": [
608
+ {
609
+ "internalType": "NftId",
610
+ "name": "productNftId",
611
+ "type": "uint96"
612
+ }
613
+ ],
614
+ "stateMutability": "view",
615
+ "type": "function"
616
+ },
617
+ {
618
+ "inputs": [],
619
+ "name": "getProductService",
620
+ "outputs": [
621
+ {
622
+ "internalType": "contract IProductService",
623
+ "name": "",
624
+ "type": "address"
625
+ }
626
+ ],
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "inputs": [],
632
+ "name": "getRegistry",
633
+ "outputs": [
634
+ {
635
+ "internalType": "contract IRegistry",
636
+ "name": "",
637
+ "type": "address"
638
+ }
639
+ ],
640
+ "stateMutability": "view",
641
+ "type": "function"
642
+ },
643
+ {
644
+ "inputs": [],
645
+ "name": "getRetentionLevel",
646
+ "outputs": [
647
+ {
648
+ "internalType": "UFixed",
649
+ "name": "retentionLevel",
650
+ "type": "uint256"
651
+ }
652
+ ],
653
+ "stateMutability": "view",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [],
658
+ "name": "getSetupInfo",
659
+ "outputs": [
660
+ {
661
+ "components": [
662
+ {
663
+ "internalType": "NftId",
664
+ "name": "productNftId",
665
+ "type": "uint96"
666
+ },
667
+ {
668
+ "internalType": "contract TokenHandler",
669
+ "name": "tokenHandler",
670
+ "type": "address"
671
+ },
672
+ {
673
+ "internalType": "bool",
674
+ "name": "isInterceptingBundleTransfers",
675
+ "type": "bool"
676
+ },
677
+ {
678
+ "internalType": "bool",
679
+ "name": "isExternallyManaged",
680
+ "type": "bool"
681
+ },
682
+ {
683
+ "internalType": "bool",
684
+ "name": "isVerifyingApplications",
685
+ "type": "bool"
686
+ },
687
+ {
688
+ "internalType": "UFixed",
689
+ "name": "collateralizationLevel",
690
+ "type": "uint256"
691
+ },
692
+ {
693
+ "internalType": "UFixed",
694
+ "name": "retentionLevel",
695
+ "type": "uint256"
696
+ },
697
+ {
698
+ "components": [
699
+ {
700
+ "internalType": "UFixed",
701
+ "name": "fractionalFee",
702
+ "type": "uint256"
703
+ },
704
+ {
705
+ "internalType": "uint256",
706
+ "name": "fixedFee",
707
+ "type": "uint256"
708
+ }
709
+ ],
710
+ "internalType": "struct Fee",
711
+ "name": "poolFee",
712
+ "type": "tuple"
713
+ },
714
+ {
715
+ "components": [
716
+ {
717
+ "internalType": "UFixed",
718
+ "name": "fractionalFee",
719
+ "type": "uint256"
720
+ },
721
+ {
722
+ "internalType": "uint256",
723
+ "name": "fixedFee",
724
+ "type": "uint256"
725
+ }
726
+ ],
727
+ "internalType": "struct Fee",
728
+ "name": "stakingFee",
729
+ "type": "tuple"
730
+ },
731
+ {
732
+ "components": [
733
+ {
734
+ "internalType": "UFixed",
735
+ "name": "fractionalFee",
736
+ "type": "uint256"
737
+ },
738
+ {
739
+ "internalType": "uint256",
740
+ "name": "fixedFee",
741
+ "type": "uint256"
742
+ }
743
+ ],
744
+ "internalType": "struct Fee",
745
+ "name": "performanceFee",
746
+ "type": "tuple"
747
+ },
748
+ {
749
+ "internalType": "address",
750
+ "name": "wallet",
751
+ "type": "address"
752
+ }
753
+ ],
754
+ "internalType": "struct ISetup.PoolSetupInfo",
755
+ "name": "setupInfo",
756
+ "type": "tuple"
757
+ }
758
+ ],
759
+ "stateMutability": "view",
760
+ "type": "function"
761
+ },
762
+ {
763
+ "inputs": [],
764
+ "name": "getToken",
765
+ "outputs": [
766
+ {
767
+ "internalType": "contract IERC20Metadata",
768
+ "name": "token",
769
+ "type": "address"
770
+ }
771
+ ],
772
+ "stateMutability": "view",
773
+ "type": "function"
774
+ },
775
+ {
776
+ "inputs": [],
777
+ "name": "getWallet",
778
+ "outputs": [
779
+ {
780
+ "internalType": "address",
781
+ "name": "walletAddress",
782
+ "type": "address"
783
+ }
784
+ ],
785
+ "stateMutability": "view",
786
+ "type": "function"
787
+ },
788
+ {
789
+ "inputs": [
790
+ {
791
+ "internalType": "address",
792
+ "name": "registry",
793
+ "type": "address"
794
+ },
795
+ {
796
+ "internalType": "NftId",
797
+ "name": "instanceNftId",
798
+ "type": "uint96"
799
+ },
800
+ {
801
+ "internalType": "string",
802
+ "name": "name",
803
+ "type": "string"
804
+ },
805
+ {
806
+ "internalType": "address",
807
+ "name": "token",
808
+ "type": "address"
809
+ },
810
+ {
811
+ "internalType": "ObjectType",
812
+ "name": "componentType",
813
+ "type": "uint8"
814
+ },
815
+ {
816
+ "internalType": "bool",
817
+ "name": "isInterceptor",
818
+ "type": "bool"
819
+ },
820
+ {
821
+ "internalType": "address",
822
+ "name": "initialOwner",
823
+ "type": "address"
824
+ },
825
+ {
826
+ "internalType": "bytes",
827
+ "name": "data",
828
+ "type": "bytes"
829
+ }
830
+ ],
831
+ "name": "initializeComponent",
832
+ "outputs": [],
833
+ "stateMutability": "nonpayable",
834
+ "type": "function"
835
+ },
836
+ {
837
+ "inputs": [],
838
+ "name": "initializeERC165",
839
+ "outputs": [],
840
+ "stateMutability": "nonpayable",
841
+ "type": "function"
842
+ },
843
+ {
844
+ "inputs": [
845
+ {
846
+ "internalType": "address",
847
+ "name": "initialOwner",
848
+ "type": "address"
849
+ },
850
+ {
851
+ "internalType": "address",
852
+ "name": "registryAddress",
853
+ "type": "address"
854
+ }
855
+ ],
856
+ "name": "initializeNftOwnable",
857
+ "outputs": [],
858
+ "stateMutability": "nonpayable",
859
+ "type": "function"
860
+ },
861
+ {
862
+ "inputs": [
863
+ {
864
+ "internalType": "address",
865
+ "name": "initialOwner",
866
+ "type": "address"
867
+ }
868
+ ],
869
+ "name": "initializeOwner",
870
+ "outputs": [],
871
+ "stateMutability": "nonpayable",
872
+ "type": "function"
873
+ },
874
+ {
875
+ "inputs": [
876
+ {
877
+ "internalType": "address",
878
+ "name": "registry",
879
+ "type": "address"
880
+ },
881
+ {
882
+ "internalType": "NftId",
883
+ "name": "instanceNftId",
884
+ "type": "uint96"
885
+ },
886
+ {
887
+ "internalType": "string",
888
+ "name": "name",
889
+ "type": "string"
890
+ },
891
+ {
892
+ "internalType": "address",
893
+ "name": "token",
894
+ "type": "address"
895
+ },
896
+ {
897
+ "internalType": "bool",
898
+ "name": "isInterceptingNftTransfers",
899
+ "type": "bool"
900
+ },
901
+ {
902
+ "internalType": "bool",
903
+ "name": "isExternallyManaging",
904
+ "type": "bool"
905
+ },
906
+ {
907
+ "internalType": "bool",
908
+ "name": "isVerifying",
909
+ "type": "bool"
910
+ },
911
+ {
912
+ "internalType": "UFixed",
913
+ "name": "collateralizationLevel",
914
+ "type": "uint256"
915
+ },
916
+ {
917
+ "internalType": "UFixed",
918
+ "name": "retentionLevel",
919
+ "type": "uint256"
920
+ },
921
+ {
922
+ "internalType": "address",
923
+ "name": "initialOwner",
924
+ "type": "address"
925
+ },
926
+ {
927
+ "internalType": "bytes",
928
+ "name": "data",
929
+ "type": "bytes"
375
930
  }
376
931
  ],
377
- "stateMutability": "view",
932
+ "name": "initializePool",
933
+ "outputs": [],
934
+ "stateMutability": "nonpayable",
378
935
  "type": "function"
379
936
  },
380
937
  {
381
- "inputs": [],
382
- "name": "getOwner",
383
- "outputs": [
938
+ "inputs": [
384
939
  {
385
940
  "internalType": "address",
386
- "name": "",
941
+ "name": "registryAddress",
387
942
  "type": "address"
388
- }
389
- ],
390
- "stateMutability": "view",
391
- "type": "function"
392
- },
393
- {
394
- "inputs": [],
395
- "name": "getProductNftId",
396
- "outputs": [
943
+ },
397
944
  {
398
945
  "internalType": "NftId",
399
- "name": "productNftId",
946
+ "name": "parentNftId",
400
947
  "type": "uint96"
948
+ },
949
+ {
950
+ "internalType": "ObjectType",
951
+ "name": "objectType",
952
+ "type": "uint8"
953
+ },
954
+ {
955
+ "internalType": "bool",
956
+ "name": "isInterceptor",
957
+ "type": "bool"
958
+ },
959
+ {
960
+ "internalType": "address",
961
+ "name": "initialOwner",
962
+ "type": "address"
963
+ },
964
+ {
965
+ "internalType": "bytes",
966
+ "name": "data",
967
+ "type": "bytes"
401
968
  }
402
969
  ],
403
- "stateMutability": "view",
970
+ "name": "initializeRegisterable",
971
+ "outputs": [],
972
+ "stateMutability": "nonpayable",
404
973
  "type": "function"
405
974
  },
406
975
  {
407
976
  "inputs": [],
408
- "name": "getRegistry",
977
+ "name": "isConsumingScheduledOp",
409
978
  "outputs": [
410
979
  {
411
- "internalType": "contract IRegistry",
980
+ "internalType": "bytes4",
412
981
  "name": "",
413
- "type": "address"
982
+ "type": "bytes4"
414
983
  }
415
984
  ],
416
985
  "stateMutability": "view",
@@ -418,90 +987,12 @@
418
987
  },
419
988
  {
420
989
  "inputs": [],
421
- "name": "getSetupInfo",
990
+ "name": "isExternallyManaged",
422
991
  "outputs": [
423
992
  {
424
- "components": [
425
- {
426
- "internalType": "NftId",
427
- "name": "productNftId",
428
- "type": "uint96"
429
- },
430
- {
431
- "internalType": "contract TokenHandler",
432
- "name": "tokenHandler",
433
- "type": "address"
434
- },
435
- {
436
- "internalType": "UFixed",
437
- "name": "collateralizationLevel",
438
- "type": "uint256"
439
- },
440
- {
441
- "components": [
442
- {
443
- "internalType": "UFixed",
444
- "name": "fractionalFee",
445
- "type": "uint256"
446
- },
447
- {
448
- "internalType": "uint256",
449
- "name": "fixedFee",
450
- "type": "uint256"
451
- }
452
- ],
453
- "internalType": "struct Fee",
454
- "name": "poolFee",
455
- "type": "tuple"
456
- },
457
- {
458
- "components": [
459
- {
460
- "internalType": "UFixed",
461
- "name": "fractionalFee",
462
- "type": "uint256"
463
- },
464
- {
465
- "internalType": "uint256",
466
- "name": "fixedFee",
467
- "type": "uint256"
468
- }
469
- ],
470
- "internalType": "struct Fee",
471
- "name": "stakingFee",
472
- "type": "tuple"
473
- },
474
- {
475
- "components": [
476
- {
477
- "internalType": "UFixed",
478
- "name": "fractionalFee",
479
- "type": "uint256"
480
- },
481
- {
482
- "internalType": "uint256",
483
- "name": "fixedFee",
484
- "type": "uint256"
485
- }
486
- ],
487
- "internalType": "struct Fee",
488
- "name": "performanceFee",
489
- "type": "tuple"
490
- },
491
- {
492
- "internalType": "bool",
493
- "name": "isIntercepting",
494
- "type": "bool"
495
- },
496
- {
497
- "internalType": "address",
498
- "name": "wallet",
499
- "type": "address"
500
- }
501
- ],
502
- "internalType": "struct ISetup.PoolSetupInfo",
503
- "name": "setupInfo",
504
- "type": "tuple"
993
+ "internalType": "bool",
994
+ "name": "",
995
+ "type": "bool"
505
996
  }
506
997
  ],
507
998
  "stateMutability": "view",
@@ -509,12 +1000,12 @@
509
1000
  },
510
1001
  {
511
1002
  "inputs": [],
512
- "name": "getToken",
1003
+ "name": "isInterceptingBundleTransfers",
513
1004
  "outputs": [
514
1005
  {
515
- "internalType": "contract IERC20Metadata",
516
- "name": "token",
517
- "type": "address"
1006
+ "internalType": "bool",
1007
+ "name": "",
1008
+ "type": "bool"
518
1009
  }
519
1010
  ],
520
1011
  "stateMutability": "view",
@@ -522,12 +1013,12 @@
522
1013
  },
523
1014
  {
524
1015
  "inputs": [],
525
- "name": "getWallet",
1016
+ "name": "isNftInterceptor",
526
1017
  "outputs": [
527
1018
  {
528
- "internalType": "address",
529
- "name": "walletAddress",
530
- "type": "address"
1019
+ "internalType": "bool",
1020
+ "name": "isInterceptor",
1021
+ "type": "bool"
531
1022
  }
532
1023
  ],
533
1024
  "stateMutability": "view",
@@ -535,11 +1026,11 @@
535
1026
  },
536
1027
  {
537
1028
  "inputs": [],
538
- "name": "isVerifying",
1029
+ "name": "isVerifyingApplications",
539
1030
  "outputs": [
540
1031
  {
541
1032
  "internalType": "bool",
542
- "name": "verifying",
1033
+ "name": "isConfirmingApplication",
543
1034
  "type": "bool"
544
1035
  }
545
1036
  ],
@@ -560,6 +1051,42 @@
560
1051
  "stateMutability": "nonpayable",
561
1052
  "type": "function"
562
1053
  },
1054
+ {
1055
+ "inputs": [
1056
+ {
1057
+ "internalType": "NftId",
1058
+ "name": "bundleNftId",
1059
+ "type": "uint96"
1060
+ }
1061
+ ],
1062
+ "name": "lockBundle",
1063
+ "outputs": [],
1064
+ "stateMutability": "nonpayable",
1065
+ "type": "function"
1066
+ },
1067
+ {
1068
+ "inputs": [
1069
+ {
1070
+ "internalType": "address",
1071
+ "name": "from",
1072
+ "type": "address"
1073
+ },
1074
+ {
1075
+ "internalType": "address",
1076
+ "name": "to",
1077
+ "type": "address"
1078
+ },
1079
+ {
1080
+ "internalType": "uint256",
1081
+ "name": "tokenId",
1082
+ "type": "uint256"
1083
+ }
1084
+ ],
1085
+ "name": "nftTransferFrom",
1086
+ "outputs": [],
1087
+ "stateMutability": "nonpayable",
1088
+ "type": "function"
1089
+ },
563
1090
  {
564
1091
  "inputs": [
565
1092
  {
@@ -581,7 +1108,33 @@
581
1108
  "type": "bool"
582
1109
  }
583
1110
  ],
584
- "stateMutability": "view",
1111
+ "stateMutability": "pure",
1112
+ "type": "function"
1113
+ },
1114
+ {
1115
+ "inputs": [
1116
+ {
1117
+ "internalType": "bytes4",
1118
+ "name": "interfaceId",
1119
+ "type": "bytes4"
1120
+ }
1121
+ ],
1122
+ "name": "registerInterface",
1123
+ "outputs": [],
1124
+ "stateMutability": "nonpayable",
1125
+ "type": "function"
1126
+ },
1127
+ {
1128
+ "inputs": [
1129
+ {
1130
+ "internalType": "address",
1131
+ "name": "newAuthority",
1132
+ "type": "address"
1133
+ }
1134
+ ],
1135
+ "name": "setAuthority",
1136
+ "outputs": [],
1137
+ "stateMutability": "nonpayable",
585
1138
  "type": "function"
586
1139
  },
587
1140
  {
@@ -686,6 +1239,19 @@
686
1239
  "stateMutability": "nonpayable",
687
1240
  "type": "function"
688
1241
  },
1242
+ {
1243
+ "inputs": [
1244
+ {
1245
+ "internalType": "address",
1246
+ "name": "newWallet",
1247
+ "type": "address"
1248
+ }
1249
+ ],
1250
+ "name": "setWallet",
1251
+ "outputs": [],
1252
+ "stateMutability": "nonpayable",
1253
+ "type": "function"
1254
+ },
689
1255
  {
690
1256
  "inputs": [
691
1257
  {
@@ -705,16 +1271,36 @@
705
1271
  "stateMutability": "view",
706
1272
  "type": "function"
707
1273
  },
1274
+ {
1275
+ "inputs": [],
1276
+ "name": "unlock",
1277
+ "outputs": [],
1278
+ "stateMutability": "nonpayable",
1279
+ "type": "function"
1280
+ },
708
1281
  {
709
1282
  "inputs": [
710
1283
  {
711
1284
  "internalType": "NftId",
712
- "name": "policyNftId",
1285
+ "name": "bundleNftId",
1286
+ "type": "uint96"
1287
+ }
1288
+ ],
1289
+ "name": "unlockBundle",
1290
+ "outputs": [],
1291
+ "stateMutability": "nonpayable",
1292
+ "type": "function"
1293
+ },
1294
+ {
1295
+ "inputs": [
1296
+ {
1297
+ "internalType": "NftId",
1298
+ "name": "applicationNftId",
713
1299
  "type": "uint96"
714
1300
  },
715
1301
  {
716
1302
  "internalType": "bytes",
717
- "name": "policyData",
1303
+ "name": "applicationData",
718
1304
  "type": "bytes"
719
1305
  },
720
1306
  {
@@ -728,55 +1314,14 @@
728
1314
  "type": "uint256"
729
1315
  }
730
1316
  ],
731
- "name": "underwrite",
732
- "outputs": [],
733
- "stateMutability": "nonpayable",
734
- "type": "function"
735
- },
736
- {
737
- "inputs": [],
738
- "name": "unlock",
1317
+ "name": "verifyApplication",
739
1318
  "outputs": [],
740
1319
  "stateMutability": "nonpayable",
741
1320
  "type": "function"
742
1321
  }
743
1322
  ],
744
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002286380380620022868339810160408190526200003491620007a1565b898989608c8a856200006c6301ffc9a760e01b600090815260205260008051602062002266833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009d878786868686620003ee565b6000620000b26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000102573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012c919081019062000912565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152639f07a2f160e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba9190620009f8565b620001e65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000260919062000a1d565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055634c0cba3d60e11b60009081526020527f8605f84a1fdbc6ff75d8a06315d161884729b429561b502d19c5a33135142c3a805460ff1916600117905550506008805460ff19168d1515179055505050600988905550508451600a5550602080850151600b558351600c5583810151600d558251600e5582810151600f5560075460408051636b9bf08b60e01b815290516001600160a01b0390921692636b9bf08b926004808401938290030181865afa1580156200035c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000382919062000a1d565b601080546001600160a01b0319166001600160a01b0392909216919091179055632d744d3360e11b60009081526020527f8b4532a0111795e202cfc84b9993b64ea185eec29ed9b6b664121b104b35bb00805460ff191660011790555050505050505050505062000b98565b6200041f6301ffc9a760e01b600090815260205260008051602062002266833981519152805460ff19166001179055565b6200042b8287620004f0565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d010000000000000000000000000086151502178155905060018101620004aa838262000acc565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b03841617905562000516816200051a565b5050565b6001546001600160a01b031615620005555760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001dd565b6001600160a01b0381166200057d5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620005b55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa92505050801562000632575060408051601f3d908101601f191682019092526200062f91810190620009f8565b60015b6200065c5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b80620005165760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001dd565b50565b6001600160a01b03811681146200068757600080fd5b8051620006ad816200068a565b919050565b80516001600160601b0381168114620006ad57600080fd5b80518015158114620006ad57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620007165762000716620006db565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007475762000747620006db565b604052919050565b6000604082840312156200076257600080fd5b604080519081016001600160401b0381118282101715620007875762000787620006db565b604052825181526020928301519281019290925250919050565b6000806000806000806000806000806101a08b8d031215620007c257600080fd5b8a51620007cf816200068a565b9950620007df60208c01620006b2565b985060408b0151620007f1816200068a565b97506200080160608c01620006ca565b96506200081160808c01620006ca565b955060a08b01519450620008298c60c08d016200074f565b93506200083b8c6101008d016200074f565b92506200084d8c6101408d016200074f565b91506101808b015162000860816200068a565b809150509295989b9194979a5092959850565b805160ff81168114620006ad57600080fd5b600082601f8301126200089757600080fd5b81516001600160401b03811115620008b357620008b3620006db565b6020620008c9601f8301601f191682016200071c565b8281528582848701011115620008de57600080fd5b60005b83811015620008fe578581018301518282018401528201620008e1565b506000928101909101919091529392505050565b6000602082840312156200092557600080fd5b81516001600160401b03808211156200093d57600080fd5b9083019060e082860312156200095257600080fd5b6200095c620006f1565b6200096783620006b2565b81526200097760208401620006b2565b60208201526200098a6040840162000873565b60408201526200099d60608401620006ca565b6060820152620009b060808401620006a0565b6080820152620009c360a08401620006a0565b60a082015260c083015182811115620009db57600080fd5b620009e98782860162000885565b60c08301525095945050505050565b60006020828403121562000a0b57600080fd5b62000a1682620006ca565b9392505050565b60006020828403121562000a3057600080fd5b815162000a16816200068a565b600181811c9082168062000a5257607f821691505b60208210810362000a7357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000ac757600081815260208120601f850160051c8101602086101562000aa25750805b601f850160051c820191505b8181101562000ac35782815560010162000aae565b5050505b505050565b81516001600160401b0381111562000ae85762000ae8620006db565b62000b008162000af9845462000a3d565b8462000a79565b602080601f83116001811462000b38576000841562000b1f5750858301515b600019600386901b1c1916600185901b17855562000ac3565b600085815260208120601f198616915b8281101562000b695788860151825594840194600190910190840162000b48565b508582101562000b885787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6116be8062000ba86000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c8063644c45e0116100b8578063a69df4b51161007c578063a69df4b5146102cf578063c200b809146102d7578063d7f5e609146102ec578063dab12325146102ff578063de7b5d1414610315578063f83d08ba1461032657600080fd5b8063644c45e01461027e57806365effc1a1461029657806382678766146102a957806387ef9ba0146102bc578063893d20e8146102c757600080fd5b80631eff4b221161010a5780631eff4b22146101f957806321df0da71461022e5780632a65c6881461023f57806354afef63146102525780635ab1bd531461025a578063636450f51461026b57600080fd5b806251884a1461014657806301ffc9a7146101775780630fec111c146101b457806313299604146101ca578063138461e0146101ef575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101a4610185366004610f98565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161016e565b6101bc61032e565b60405161016e92919061100f565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161016e565b6101f7610439565b005b6102207f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016e565b6006546001600160a01b03166101d7565b6101f761024d3660046110ce565b61065b565b600954610220565b6001546001600160a01b03166101d7565b6101f761027936600461117e565b6107bd565b600154600160a01b90046001600160601b031661015a565b6101f76102a4366004611241565b610825565b6101f76102b73660046112bf565b61089b565b60085460ff166101a4565b6101d7610976565b6101f7610a94565b6102df610b42565b60405161016e9190611305565b61015a6102fa3660046113aa565b610cbd565b6101a461030d36600461140c565b600192915050565b6007546001600160a01b03166101d7565b6101f7610d47565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610371610dc4565b506040805161010081018252600754600160a01b90046001600160601b031681526006546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d5481830152608084015283518085018552600e548152600f548183015260a084015260085460ff16151560c084015260055490911660e0830152915192935083926104219201611305565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561049b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104bf9190611485565b15610506576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661052f5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190611485565b6105c4576040516372657a5160e01b81526001600160a01b03821660048201526024016104fd565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063291906114ab565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610665610976565b90506001600160a01b038116158015906106885750336001600160a01b03821614155b156106a85760405163700dd81160e01b81523360048201526024016104fd565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610724573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107489190611485565b6107945760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104fd565b50600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60105460405163636450f560e01b81526001600160a01b039091169063636450f5906107ef90859085906004016114c8565b600060405180830381600087803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b505050505050565b6011546001600160a01b031633146108895760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104fd565b61089584848484610f4a565b50505050565b60006108a5610976565b90506001600160a01b038116158015906108c85750336001600160a01b03821614155b156108e85760405163700dd81160e01b81523360048201526024016104fd565b601054604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b15801561095857600080fd5b505af115801561096c573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ff9190611485565b15610a8457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7f919061150f565b905090565b506002546001600160a01b031690565b6000610a9e610976565b90506001600160a01b03811615801590610ac15750336001600160a01b03821614155b15610ae15760405163700dd81160e01b81523360048201526024016104fd565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b2757600080fd5b505af1158015610b3b573d6000803e3d6000fd5b5050505050565b610bb560408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a0820190815260006020820181905260409091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c23919061150f565b9050806001600160a01b03166355e343a9610c4e6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161016060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb7919061155c565b91505090565b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cfa9084908a908a908a908a906004016115fe565b6020604051808303816000875af1158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3d91906114ab565b9695505050505050565b6000610d51610976565b90506001600160a01b03811615801590610d745750336001600160a01b03821614155b15610d945760405163700dd81160e01b81523360048201526024016104fd565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b0d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e4b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e93610976565b6001600160a01b03168152602001826001018054610eb09061164e565b80601f0160208091040260200160405190810160405280929190818152602001828054610edc9061164e565b8015610f295780601f10610efe57610100808354040283529160200191610f29565b820191906000526020600020905b815481529060010190602001808311610f0c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610faa57600080fd5b81356001600160e01b031981168114610fc257600080fd5b9392505050565b6000815180845260005b81811015610fef57602081850181015186830182015201610fd3565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161105360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611099610120840182610fc9565b905082810360208401526110ad8185610fc9565b95945050505050565b6001600160601b03811681146110cb57600080fd5b50565b6000602082840312156110e057600080fd5b8135610fc2816110b6565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611124576111246110eb565b60405290565b604051610100810167ffffffffffffffff81118282101715611124576111246110eb565b60006040828403121561116057600080fd5b611168611101565b9050813581526020820135602082015292915050565b6000806060838503121561119157600080fd5b823561119c816110b6565b91506111ab846020850161114e565b90509250929050565b600082601f8301126111c557600080fd5b813567ffffffffffffffff808211156111e0576111e06110eb565b604051601f8301601f19908116603f01168101908282118183101715611208576112086110eb565b8160405283815286602085880101111561122157600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561125757600080fd5b8435611262816110b6565b9350602085013567ffffffffffffffff8082111561127f57600080fd5b61128b888389016111b4565b945060408701359150808211156112a157600080fd5b506112ae878288016111b4565b949793965093946060013593505050565b600080600060c084860312156112d457600080fd5b6112de858561114e565b92506112ed856040860161114e565b91506112fc856080860161114e565b90509250925092565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916113519084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b60008060008060a085870312156113c057600080fd5b6113ca868661114e565b93506040850135925060608501359150608085013567ffffffffffffffff8111156113f457600080fd5b611400878288016111b4565b91505092959194509250565b6000806040838503121561141f57600080fd5b823567ffffffffffffffff8082111561143757600080fd5b611443868387016111b4565b9350602085013591508082111561145957600080fd5b50611466858286016111b4565b9150509250929050565b8051801515811461148057600080fd5b919050565b60006020828403121561149757600080fd5b610fc282611470565b8051611480816110b6565b6000602082840312156114bd57600080fd5b8151610fc2816110b6565b6001600160601b038316815260608101610fc2602083018480518252602090810151910152565b6001600160a01b03811681146110cb57600080fd5b8051611480816114ef565b60006020828403121561152157600080fd5b8151610fc2816114ef565b60006040828403121561153e57600080fd5b611546611101565b9050815181526020820151602082015292915050565b6000610160828403121561156f57600080fd5b61157761112a565b611580836114a0565b815261158e60208401611504565b6020820152604083015160408201526115aa846060850161152c565b60608201526115bc8460a0850161152c565b60808201526115ce8460e0850161152c565b60a08201526115e06101208401611470565b60c08201526115f26101408401611504565b60e08201529392505050565b6001600160a01b0386168152611621602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061164360c0830184610fc9565b979650505050505050565b600181811c9082168061166257607f821691505b60208210810361168257634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212206934372a557a63c2cf04110022aca0d0323ce12aa456d18d47febfef4a6609f764736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
745
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101415760003560e01c8063644c45e0116100b8578063a69df4b51161007c578063a69df4b5146102cf578063c200b809146102d7578063d7f5e609146102ec578063dab12325146102ff578063de7b5d1414610315578063f83d08ba1461032657600080fd5b8063644c45e01461027e57806365effc1a1461029657806382678766146102a957806387ef9ba0146102bc578063893d20e8146102c757600080fd5b80631eff4b221161010a5780631eff4b22146101f957806321df0da71461022e5780632a65c6881461023f57806354afef63146102525780635ab1bd531461025a578063636450f51461026b57600080fd5b806251884a1461014657806301ffc9a7146101775780630fec111c146101b457806313299604146101ca578063138461e0146101ef575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101a4610185366004610f98565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161016e565b6101bc61032e565b60405161016e92919061100f565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161016e565b6101f7610439565b005b6102207f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016e565b6006546001600160a01b03166101d7565b6101f761024d3660046110ce565b61065b565b600954610220565b6001546001600160a01b03166101d7565b6101f761027936600461117e565b6107bd565b600154600160a01b90046001600160601b031661015a565b6101f76102a4366004611241565b610825565b6101f76102b73660046112bf565b61089b565b60085460ff166101a4565b6101d7610976565b6101f7610a94565b6102df610b42565b60405161016e9190611305565b61015a6102fa3660046113aa565b610cbd565b6101a461030d36600461140c565b600192915050565b6007546001600160a01b03166101d7565b6101f7610d47565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610371610dc4565b506040805161010081018252600754600160a01b90046001600160601b031681526006546001600160a01b039081166020808401919091526009548385015283518085018552600a548152600b5481830152606084015283518085018552600c548152600d5481830152608084015283518085018552600e548152600f548183015260a084015260085460ff16151560c084015260055490911660e0830152915192935083926104219201611305565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561049b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104bf9190611485565b15610506576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661052f5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061059c9190611485565b6105c4576040516372657a5160e01b81526001600160a01b03821660048201526024016104fd565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561060e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063291906114ab565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b6000610665610976565b90506001600160a01b038116158015906106885750336001600160a01b03821614155b156106a85760405163700dd81160e01b81523360048201526024016104fd565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015610724573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107489190611485565b6107945760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104fd565b50600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60105460405163636450f560e01b81526001600160a01b039091169063636450f5906107ef90859085906004016114c8565b600060405180830381600087803b15801561080957600080fd5b505af115801561081d573d6000803e3d6000fd5b505050505050565b6011546001600160a01b031633146108895760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104fd565b61089584848484610f4a565b50505050565b60006108a5610976565b90506001600160a01b038116158015906108c85750336001600160a01b03821614155b156108e85760405163700dd81160e01b81523360048201526024016104fd565b601054604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b15801561095857600080fd5b505af115801561096c573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156109db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ff9190611485565b15610a8457600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7f919061150f565b905090565b506002546001600160a01b031690565b6000610a9e610976565b90506001600160a01b03811615801590610ac15750336001600160a01b03821614155b15610ae15760405163700dd81160e01b81523360048201526024016104fd565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610b2757600080fd5b505af1158015610b3b573d6000803e3d6000fd5b5050505050565b610bb560408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a0820190815260006020820181905260409091015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c23919061150f565b9050806001600160a01b03166355e343a9610c4e6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161016060405180830381865afa158015610c93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb7919061155c565b91505090565b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cfa9084908a908a908a908a906004016115fe565b6020604051808303816000875af1158015610d19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3d91906114ab565b9695505050505050565b6000610d51610976565b90506001600160a01b03811615801590610d745750336001600160a01b03821614155b15610d945760405163700dd81160e01b81523360048201526024016104fd565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b0d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e4b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e93610976565b6001600160a01b03168152602001826001018054610eb09061164e565b80601f0160208091040260200160405190810160405280929190818152602001828054610edc9061164e565b8015610f295780601f10610efe57610100808354040283529160200191610f29565b820191906000526020600020905b815481529060010190602001808311610f0c57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610faa57600080fd5b81356001600160e01b031981168114610fc257600080fd5b9392505050565b6000815180845260005b81811015610fef57602081850181015186830182015201610fd3565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161105360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611099610120840182610fc9565b905082810360208401526110ad8185610fc9565b95945050505050565b6001600160601b03811681146110cb57600080fd5b50565b6000602082840312156110e057600080fd5b8135610fc2816110b6565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611124576111246110eb565b60405290565b604051610100810167ffffffffffffffff81118282101715611124576111246110eb565b60006040828403121561116057600080fd5b611168611101565b9050813581526020820135602082015292915050565b6000806060838503121561119157600080fd5b823561119c816110b6565b91506111ab846020850161114e565b90509250929050565b600082601f8301126111c557600080fd5b813567ffffffffffffffff808211156111e0576111e06110eb565b604051601f8301601f19908116603f01168101908282118183101715611208576112086110eb565b8160405283815286602085880101111561122157600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561125757600080fd5b8435611262816110b6565b9350602085013567ffffffffffffffff8082111561127f57600080fd5b61128b888389016111b4565b945060408701359150808211156112a157600080fd5b506112ae878288016111b4565b949793965093946060013593505050565b600080600060c084860312156112d457600080fd5b6112de858561114e565b92506112ed856040860161114e565b91506112fc856080860161114e565b90509250925092565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916113519084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b60008060008060a085870312156113c057600080fd5b6113ca868661114e565b93506040850135925060608501359150608085013567ffffffffffffffff8111156113f457600080fd5b611400878288016111b4565b91505092959194509250565b6000806040838503121561141f57600080fd5b823567ffffffffffffffff8082111561143757600080fd5b611443868387016111b4565b9350602085013591508082111561145957600080fd5b50611466858286016111b4565b9150509250929050565b8051801515811461148057600080fd5b919050565b60006020828403121561149757600080fd5b610fc282611470565b8051611480816110b6565b6000602082840312156114bd57600080fd5b8151610fc2816110b6565b6001600160601b038316815260608101610fc2602083018480518252602090810151910152565b6001600160a01b03811681146110cb57600080fd5b8051611480816114ef565b60006020828403121561152157600080fd5b8151610fc2816114ef565b60006040828403121561153e57600080fd5b611546611101565b9050815181526020820151602082015292915050565b6000610160828403121561156f57600080fd5b61157761112a565b611580836114a0565b815261158e60208401611504565b6020820152604083015160408201526115aa846060850161152c565b60608201526115bc8460a0850161152c565b60808201526115ce8460e0850161152c565b60a08201526115e06101208401611470565b60c08201526115f26101408401611504565b60e08201529392505050565b6001600160a01b0386168152611621602082018680518252602090810151910152565b83606082015282608082015260c060a0820152600061164360c0830184610fc9565b979650505050505050565b600181811c9082168061166257607f821691505b60208210810361168257634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212206934372a557a63c2cf04110022aca0d0323ce12aa456d18d47febfef4a6609f764736f6c63430008140033",
746
- "linkReferences": {
747
- "contracts/types/NftId.sol": {
748
- "NftIdLib": [
749
- {
750
- "length": 20,
751
- "start": 4105
752
- },
753
- {
754
- "length": 20,
755
- "start": 4693
756
- },
757
- {
758
- "length": 20,
759
- "start": 5449
760
- }
761
- ]
762
- }
763
- },
764
- "deployedLinkReferences": {
765
- "contracts/types/NftId.sol": {
766
- "NftIdLib": [
767
- {
768
- "length": 20,
769
- "start": 1121
770
- },
771
- {
772
- "length": 20,
773
- "start": 1709
774
- },
775
- {
776
- "length": 20,
777
- "start": 2465
778
- }
779
- ]
780
- }
781
- }
1323
+ "bytecode": "0x",
1324
+ "deployedBytecode": "0x",
1325
+ "linkReferences": {},
1326
+ "deployedLinkReferences": {}
782
1327
  }