@etherisc/gif-next 0.0.2-e4b632c-016 → 0.0.2-e545d2c-624

Sign up to get free protection for your applications and to get access to all the features.
Files changed (253) hide show
  1. package/README.md +67 -1
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +168 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +156 -91
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +130 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +28 -2
  11. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  12. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  13. package/artifacts/contracts/components/Pool.sol/Pool.json +188 -120
  14. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  15. package/artifacts/contracts/components/Product.sol/Product.json +164 -143
  16. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  36. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  37. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  38. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +788 -0
  40. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  41. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +74 -3
  42. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  43. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1463 -93
  44. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  45. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +448 -0
  46. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  47. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +104 -14
  48. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  49. package/artifacts/contracts/instance/Instance.sol/Instance.json +153 -660
  50. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +243 -126
  52. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  53. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +763 -0
  54. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  55. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +177 -38
  56. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  57. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +268 -60
  58. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  59. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +52 -24
  60. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +285 -0
  62. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  63. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +60 -9
  64. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  66. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  68. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  71. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  75. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  76. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1031 -0
  79. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +436 -0
  81. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +39 -52
  83. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  84. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +118 -29
  85. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  86. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +18 -26
  87. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +720 -0
  89. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +13 -13
  91. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -13
  93. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
  95. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +15 -77
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +25 -240
  99. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1156 -0
  101. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +492 -0
  103. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +727 -0
  105. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  106. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +420 -0
  107. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  108. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
  109. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  110. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +420 -0
  111. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  112. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  113. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +263 -63
  115. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +187 -83
  117. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  118. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/Registry.sol/Registry.json +233 -192
  120. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  123. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +31 -97
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  125. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +38 -91
  126. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  127. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +530 -0
  128. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  129. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +397 -0
  130. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  131. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  132. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  136. package/artifacts/contracts/shared/IService.sol/IService.json +13 -13
  137. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  139. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  141. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +4 -4
  144. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +1 -1
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +13 -13
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  150. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +4 -4
  154. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  156. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestService.sol/TestService.json +31 -31
  158. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  161. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
  163. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  164. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  165. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  170. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  172. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  173. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  179. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  185. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  187. package/contracts/components/BaseComponent.sol +87 -14
  188. package/contracts/components/Distribution.sol +17 -19
  189. package/contracts/components/IBaseComponent.sol +10 -0
  190. package/contracts/components/IDistributionComponent.sol +1 -0
  191. package/contracts/components/IPoolComponent.sol +5 -1
  192. package/contracts/components/Pool.sol +45 -32
  193. package/contracts/components/Product.sol +52 -48
  194. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +23 -0
  195. package/contracts/instance/BundleManager.sol +129 -0
  196. package/contracts/instance/Cloneable.sol +46 -0
  197. package/contracts/instance/IInstance.sol +36 -7
  198. package/contracts/instance/IInstanceBase.sol +26 -0
  199. package/contracts/instance/IInstanceService.sol +13 -3
  200. package/contracts/instance/Instance.sol +56 -226
  201. package/contracts/instance/InstanceAccessManager.sol +93 -78
  202. package/contracts/instance/InstanceBase.sol +41 -0
  203. package/contracts/instance/InstanceReader.sol +26 -1
  204. package/contracts/instance/InstanceService.sol +278 -71
  205. package/contracts/instance/InstanceServiceManager.sol +10 -12
  206. package/contracts/instance/ObjectManager.sol +101 -0
  207. package/contracts/instance/base/ComponentServiceBase.sol +50 -13
  208. package/contracts/instance/module/IAccess.sol +27 -17
  209. package/contracts/instance/module/IBundle.sol +1 -0
  210. package/contracts/instance/module/ISetup.sol +3 -0
  211. package/contracts/instance/service/BundleService.sol +294 -0
  212. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  213. package/contracts/instance/service/ComponentOwnerService.sol +4 -6
  214. package/contracts/instance/service/DistributionService.sol +64 -14
  215. package/contracts/instance/service/DistributionServiceManager.sol +11 -13
  216. package/contracts/instance/service/IBundleService.sol +44 -0
  217. package/contracts/instance/service/IPolicyService.sol +94 -0
  218. package/contracts/instance/service/IPoolService.sol +6 -23
  219. package/contracts/instance/service/IProductService.sol +6 -73
  220. package/contracts/instance/service/PolicyService.sol +539 -0
  221. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  222. package/contracts/instance/service/PoolService.sol +145 -0
  223. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  224. package/contracts/instance/service/ProductService.sol +213 -0
  225. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  226. package/contracts/registry/ChainNft.sol +1 -1
  227. package/contracts/registry/IRegistry.sol +39 -6
  228. package/contracts/registry/IRegistryService.sol +36 -13
  229. package/contracts/registry/Registry.sol +172 -199
  230. package/contracts/registry/RegistryAccessManager.sol +210 -0
  231. package/contracts/registry/RegistryService.sol +78 -202
  232. package/contracts/registry/RegistryServiceManager.sol +20 -22
  233. package/contracts/registry/ReleaseManager.sol +342 -0
  234. package/contracts/registry/TokenRegistry.sol +110 -0
  235. package/contracts/shared/ERC165.sol +6 -2
  236. package/contracts/shared/IService.sol +2 -1
  237. package/contracts/shared/NftOwnable.sol +2 -4
  238. package/contracts/shared/ProxyManager.sol +1 -1
  239. package/contracts/shared/Registerable.sol +1 -0
  240. package/contracts/shared/Service.sol +11 -7
  241. package/contracts/test/TestService.sol +3 -2
  242. package/contracts/types/NftIdSet.sol +26 -24
  243. package/contracts/types/RoleId.sol +14 -6
  244. package/contracts/types/Version.sol +4 -1
  245. package/package.json +1 -1
  246. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  247. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  248. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  249. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  250. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  251. package/contracts/instance/AccessManagedSimple.sol +0 -122
  252. package/contracts/instance/AccessManagerSimple.sol +0 -692
  253. package/contracts/instance/IAccessManagerSimple.sol +0 -391
@@ -7,113 +7,91 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "target",
11
11
  "type": "address"
12
- },
12
+ }
13
+ ],
14
+ "name": "AddressEmptyCode",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
13
19
  {
14
- "internalType": "NftId",
15
- "name": "instanceNftId",
16
- "type": "uint96"
20
+ "internalType": "address",
21
+ "name": "account",
22
+ "type": "address"
23
+ }
24
+ ],
25
+ "name": "AddressInsufficientBalance",
26
+ "type": "error"
27
+ },
28
+ {
29
+ "inputs": [
30
+ {
31
+ "internalType": "address",
32
+ "name": "registry",
33
+ "type": "address"
17
34
  },
18
35
  {
19
36
  "internalType": "NftId",
20
- "name": "productNftId",
37
+ "name": "nftId",
21
38
  "type": "uint96"
22
- },
39
+ }
40
+ ],
41
+ "name": "ErrorAlreadyLinked",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
23
46
  {
24
47
  "internalType": "address",
25
- "name": "token",
48
+ "name": "caller",
26
49
  "type": "address"
27
50
  },
28
51
  {
29
- "internalType": "bool",
30
- "name": "isInterceptor",
31
- "type": "bool"
32
- },
33
- {
34
- "internalType": "bool",
35
- "name": "verifying",
36
- "type": "bool"
37
- },
38
- {
39
- "internalType": "UFixed",
40
- "name": "collateralizationLevel",
41
- "type": "uint256"
42
- },
43
- {
44
- "components": [
45
- {
46
- "internalType": "UFixed",
47
- "name": "fractionalFee",
48
- "type": "uint256"
49
- },
50
- {
51
- "internalType": "uint256",
52
- "name": "fixedFee",
53
- "type": "uint256"
54
- }
55
- ],
56
- "internalType": "struct Fee",
57
- "name": "poolFee",
58
- "type": "tuple"
59
- },
60
- {
61
- "components": [
62
- {
63
- "internalType": "UFixed",
64
- "name": "fractionalFee",
65
- "type": "uint256"
66
- },
67
- {
68
- "internalType": "uint256",
69
- "name": "fixedFee",
70
- "type": "uint256"
71
- }
72
- ],
73
- "internalType": "struct Fee",
74
- "name": "stakingFee",
75
- "type": "tuple"
76
- },
77
- {
78
- "components": [
79
- {
80
- "internalType": "UFixed",
81
- "name": "fractionalFee",
82
- "type": "uint256"
83
- },
84
- {
85
- "internalType": "uint256",
86
- "name": "fixedFee",
87
- "type": "uint256"
88
- }
89
- ],
90
- "internalType": "struct Fee",
91
- "name": "performanceFee",
92
- "type": "tuple"
93
- },
52
+ "internalType": "uint64",
53
+ "name": "requiredRoleIdNum",
54
+ "type": "uint64"
55
+ }
56
+ ],
57
+ "name": "ErrorBaseComponentUnauthorized",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
94
62
  {
95
63
  "internalType": "address",
96
- "name": "initialOwner",
64
+ "name": "newWallet",
97
65
  "type": "address"
98
66
  }
99
67
  ],
100
- "stateMutability": "nonpayable",
101
- "type": "constructor"
68
+ "name": "ErrorBaseComponentWalletAddressIsSameAsCurrent",
69
+ "type": "error"
102
70
  },
103
71
  {
104
72
  "inputs": [
105
73
  {
106
74
  "internalType": "address",
107
- "name": "registry",
75
+ "name": "oldWallet",
108
76
  "type": "address"
109
77
  },
110
78
  {
111
- "internalType": "NftId",
112
- "name": "nftId",
113
- "type": "uint96"
79
+ "internalType": "address",
80
+ "name": "newWallet",
81
+ "type": "address"
82
+ },
83
+ {
84
+ "internalType": "uint256",
85
+ "name": "allowance",
86
+ "type": "uint256"
87
+ },
88
+ {
89
+ "internalType": "uint256",
90
+ "name": "balance",
91
+ "type": "uint256"
114
92
  }
115
93
  ],
116
- "name": "ErrorAlreadyLinked",
94
+ "name": "ErrorBaseComponentWalletAllowanceTooSmall",
117
95
  "type": "error"
118
96
  },
119
97
  {
@@ -181,6 +159,11 @@
181
159
  "name": "ErrorRegistryNotInitialized",
182
160
  "type": "error"
183
161
  },
162
+ {
163
+ "inputs": [],
164
+ "name": "FailedInnerCall",
165
+ "type": "error"
166
+ },
184
167
  {
185
168
  "inputs": [],
186
169
  "name": "InvalidInitialization",
@@ -191,6 +174,17 @@
191
174
  "name": "NotInitializing",
192
175
  "type": "error"
193
176
  },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "address",
181
+ "name": "token",
182
+ "type": "address"
183
+ }
184
+ ],
185
+ "name": "SafeERC20FailedOperation",
186
+ "type": "error"
187
+ },
194
188
  {
195
189
  "anonymous": false,
196
190
  "inputs": [
@@ -204,6 +198,44 @@
204
198
  "name": "Initialized",
205
199
  "type": "event"
206
200
  },
201
+ {
202
+ "anonymous": false,
203
+ "inputs": [
204
+ {
205
+ "indexed": false,
206
+ "internalType": "address",
207
+ "name": "newWallet",
208
+ "type": "address"
209
+ }
210
+ ],
211
+ "name": "LogBaseComponentWalletAddressChanged",
212
+ "type": "event"
213
+ },
214
+ {
215
+ "anonymous": false,
216
+ "inputs": [
217
+ {
218
+ "indexed": false,
219
+ "internalType": "address",
220
+ "name": "from",
221
+ "type": "address"
222
+ },
223
+ {
224
+ "indexed": false,
225
+ "internalType": "address",
226
+ "name": "to",
227
+ "type": "address"
228
+ },
229
+ {
230
+ "indexed": false,
231
+ "internalType": "uint256",
232
+ "name": "amount",
233
+ "type": "uint256"
234
+ }
235
+ ],
236
+ "name": "LogBaseComponentWalletTokensTransferred",
237
+ "type": "event"
238
+ },
207
239
  {
208
240
  "anonymous": false,
209
241
  "inputs": [
@@ -369,6 +401,19 @@
369
401
  "stateMutability": "view",
370
402
  "type": "function"
371
403
  },
404
+ {
405
+ "inputs": [],
406
+ "name": "getName",
407
+ "outputs": [
408
+ {
409
+ "internalType": "string",
410
+ "name": "name",
411
+ "type": "string"
412
+ }
413
+ ],
414
+ "stateMutability": "pure",
415
+ "type": "function"
416
+ },
372
417
  {
373
418
  "inputs": [],
374
419
  "name": "getNftId",
@@ -498,6 +543,11 @@
498
543
  "name": "isIntercepting",
499
544
  "type": "bool"
500
545
  },
546
+ {
547
+ "internalType": "bool",
548
+ "name": "isConfirmingApplication",
549
+ "type": "bool"
550
+ },
501
551
  {
502
552
  "internalType": "address",
503
553
  "name": "wallet",
@@ -540,11 +590,11 @@
540
590
  },
541
591
  {
542
592
  "inputs": [],
543
- "name": "isVerifying",
593
+ "name": "isConfirmingApplication",
544
594
  "outputs": [
545
595
  {
546
596
  "internalType": "bool",
547
- "name": "verifying",
597
+ "name": "isConfirmingApplication",
548
598
  "type": "bool"
549
599
  }
550
600
  ],
@@ -565,6 +615,19 @@
565
615
  "stateMutability": "nonpayable",
566
616
  "type": "function"
567
617
  },
618
+ {
619
+ "inputs": [
620
+ {
621
+ "internalType": "NftId",
622
+ "name": "bundleNftId",
623
+ "type": "uint96"
624
+ }
625
+ ],
626
+ "name": "lockBundle",
627
+ "outputs": [],
628
+ "stateMutability": "nonpayable",
629
+ "type": "function"
630
+ },
568
631
  {
569
632
  "inputs": [
570
633
  {
@@ -678,6 +741,32 @@
678
741
  "stateMutability": "nonpayable",
679
742
  "type": "function"
680
743
  },
744
+ {
745
+ "inputs": [
746
+ {
747
+ "internalType": "NftId",
748
+ "name": "productNftId",
749
+ "type": "uint96"
750
+ }
751
+ ],
752
+ "name": "setProductNftId",
753
+ "outputs": [],
754
+ "stateMutability": "nonpayable",
755
+ "type": "function"
756
+ },
757
+ {
758
+ "inputs": [
759
+ {
760
+ "internalType": "address",
761
+ "name": "newWallet",
762
+ "type": "address"
763
+ }
764
+ ],
765
+ "name": "setWallet",
766
+ "outputs": [],
767
+ "stateMutability": "nonpayable",
768
+ "type": "function"
769
+ },
681
770
  {
682
771
  "inputs": [
683
772
  {
@@ -731,44 +820,23 @@
731
820
  "outputs": [],
732
821
  "stateMutability": "nonpayable",
733
822
  "type": "function"
734
- }
735
- ],
736
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162002187380380620021878339810160408190526200003491620006fe565b8a8a8a8a608c6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558b86600280546001600160a01b03191633179055604080516020810190915260008152620000a98888868686866200037c565b6000620000be6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156200010e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000138919081019062000882565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263e72ac88960e01b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c6919062000968565b620001f25760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000246573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026c91906200098d565b600380546001600160a01b03199081166001600160a01b039384161790915560058054309083161790556006805490911688831617905560078054909116600160a01b6001600160601b038a160217905563593e597960e11b60009081526020527fe5ff73b5268559916713b465b9aafbfc723fb1444fb210a355c8977973af6095805460ff1916600117905550506008805460ff19168e1515179055505050600989905550508551600a555050602080850151600b558351600c5583810151600d558251600e55820151600f556200036b632d744d3360e11b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b505050505050505050505062000b08565b6200038882876200044d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000407838262000a3c565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620004738162000477565b5050565b6001546001600160a01b031615620004b25760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001e9565b6001600160a01b038116620004da5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620005125760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001e9565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200058f575060408051601f3d908101601f191682019092526200058c9181019062000968565b60015b620005b95760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001e9565b80620004735760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001e9565b50565b6001600160a01b0381168114620005e457600080fd5b80516200060a81620005e7565b919050565b80516001600160601b03811681146200060a57600080fd5b805180151581146200060a57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000673576200067362000638565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620006a457620006a462000638565b604052919050565b600060408284031215620006bf57600080fd5b604080519081016001600160401b0381118282101715620006e457620006e462000638565b604052825181526020928301519281019290925250919050565b60008060008060008060008060008060006101c08c8e0312156200072157600080fd5b8b516200072e81620005e7565b9a506200073e60208d016200060f565b99506200074e60408d016200060f565b985060608c01516200076081620005e7565b97506200077060808d0162000627565b96506200078060a08d0162000627565b955060c08c01519450620007988d60e08e01620006ac565b9350620007aa8d6101208e01620006ac565b9250620007bc8d6101608e01620006ac565b91506101a08c0151620007cf81620005e7565b809150509295989b509295989b9093969950565b805160ff811681146200060a57600080fd5b600082601f8301126200080757600080fd5b81516001600160401b0381111562000823576200082362000638565b602062000839601f8301601f1916820162000679565b82815285828487010111156200084e57600080fd5b60005b838110156200086e57858101830151828201840152820162000851565b506000928101909101919091529392505050565b6000602082840312156200089557600080fd5b81516001600160401b0380821115620008ad57600080fd5b9083019060e08286031215620008c257600080fd5b620008cc6200064e565b620008d7836200060f565b8152620008e7602084016200060f565b6020820152620008fa60408401620007e3565b60408201526200090d6060840162000627565b60608201526200092060808401620005fd565b60808201526200093360a08401620005fd565b60a082015260c0830151828111156200094b57600080fd5b6200095987828601620007f5565b60c08301525095945050505050565b6000602082840312156200097b57600080fd5b620009868262000627565b9392505050565b600060208284031215620009a057600080fd5b81516200098681620005e7565b600181811c90821680620009c257607f821691505b602082108103620009e357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a3757600081815260208120601f850160051c8101602086101562000a125750805b601f850160051c820191505b8181101562000a335782815560010162000a1e565b5050505b505050565b81516001600160401b0381111562000a585762000a5862000638565b62000a708162000a698454620009ad565b84620009e9565b602080601f83116001811462000aa8576000841562000a8f5750858301515b600019600386901b1c1916600185901b17855562000a33565b600085815260208120601f198616915b8281101562000ad95788860151825594840194600190910190840162000ab8565b508582101562000af85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61166f8062000b186000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c8063644c45e0116100b8578063a69df4b51161007c578063a69df4b5146102b1578063c200b809146102b9578063d7f5e609146102ce578063dab12325146102e1578063de7b5d14146102f7578063f83d08ba1461030857600080fd5b8063644c45e01461026057806365effc1a14610278578063826787661461028b57806387ef9ba01461029e578063893d20e8146102a957600080fd5b80631eff4b22116100ff5780631eff4b22146101ee57806321df0da71461022357806354afef63146102345780635ab1bd531461023c578063636450f51461024d57600080fd5b806251884a1461013b57806301ffc9a71461016c5780630fec111c146101a957806313299604146101bf578063138461e0146101e4575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61019961017a366004610f66565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610163565b6101b1610310565b604051610163929190610fdd565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610163565b6101ec610431565b005b6102157f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610163565b6006546001600160a01b03166101cc565b600954610215565b6001546001600160a01b03166101cc565b6101ec61025b36600461112f565b610653565b600154600160a01b90046001600160601b031661014f565b6101ec6102863660046111f2565b6106bb565b6101ec610299366004611270565b610731565b60085460ff16610199565b6101cc61080c565b6101ec61092a565b6102c16109d8565b60405161016391906112b6565b61014f6102dc36600461135b565b610c8b565b6101996102ef3660046113bd565b600192915050565b6007546001600160a01b03166101cc565b6101ec610d15565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610354610d92565b915091508160405180610100016040528061037f6007546001600160601b03600160a01b9091041690565b6001600160601b03168152600060208083019190915260095460408084019190915280518082018252600a548152600b5481840152606084015280518082018252600c548152600d5481840152608084015280518082018252600e548152600f548184015260a084015260085460ff16151560c08401526005546001600160a01b031660e09093019290925290516104189291016112b6565b6040516020818303038152906040529350935050509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b79190611436565b156104fe576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105275760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105949190611436565b6105bc576040516372657a5160e01b81526001600160a01b03821660048201526024016104f5565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610606573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062a919061145c565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60105460405163636450f560e01b81526001600160a01b039091169063636450f5906106859085908590600401611479565b600060405180830381600087803b15801561069f57600080fd5b505af11580156106b3573d6000803e3d6000fd5b505050505050565b6011546001600160a01b0316331461071f5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104f5565b61072b84848484610f18565b50505050565b600061073b61080c565b90506001600160a01b0381161580159061075e5750336001600160a01b03821614155b1561077e5760405163700dd81160e01b81523360048201526024016104f5565b601054604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156107ee57600080fd5b505af1158015610802573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190611436565b1561091a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156108f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091591906114c0565b905090565b506002546001600160a01b031690565b600061093461080c565b90506001600160a01b038116158015906109575750336001600160a01b03821614155b156109775760405163700dd81160e01b81523360048201526024016104f5565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109bd57600080fd5b505af11580156109d1573d6000803e3d6000fd5b5050505050565b610a4b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a0820190815260006020820181905260409091015290565b6001546040805163c4cade9d60e01b8152600160a01b9092046001600160601b03166004830152600060248301525173__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9163c4cade9d9160448083019260209291908290030181865af4158015610aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ade9190611436565b15610b8357506040805161010081018252600754600160a01b90046001600160601b0316815260006020808301919091526009548284015282518084018452600a548152600b5481830152606083015282518084018452600c548152600d548183015260808301528251808401909352600e548352600f549083015260a081019190915260085460ff16151560c08201526005546001600160a01b031660e082015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf191906114c0565b9050806001600160a01b03166355e343a9610c1c6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161016060405180830381865afa158015610c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c85919061150d565b91505090565b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cc89084908a908a908a908a906004016115af565b6020604051808303816000875af1158015610ce7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0b919061145c565b9695505050505050565b6000610d1f61080c565b90506001600160a01b03811615801590610d425750336001600160a01b03821614155b15610d625760405163700dd81160e01b81523360048201526024016104f5565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109a3565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e196001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e6161080c565b6001600160a01b03168152602001826001018054610e7e906115ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610eaa906115ff565b8015610ef75780601f10610ecc57610100808354040283529160200191610ef7565b820191906000526020600020905b815481529060010190602001808311610eda57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610f7857600080fd5b81356001600160e01b031981168114610f9057600080fd5b9392505050565b6000815180845260005b81811015610fbd57602081850181015186830182015201610fa1565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161102160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611067610120840182610f97565b9050828103602084015261107b8185610f97565b95945050505050565b6001600160601b038116811461109957600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110d5576110d561109c565b60405290565b604051610100810167ffffffffffffffff811182821017156110d5576110d561109c565b60006040828403121561111157600080fd5b6111196110b2565b9050813581526020820135602082015292915050565b6000806060838503121561114257600080fd5b823561114d81611084565b915061115c84602085016110ff565b90509250929050565b600082601f83011261117657600080fd5b813567ffffffffffffffff808211156111915761119161109c565b604051601f8301601f19908116603f011681019082821181831017156111b9576111b961109c565b816040528381528660208588010111156111d257600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561120857600080fd5b843561121381611084565b9350602085013567ffffffffffffffff8082111561123057600080fd5b61123c88838901611165565b9450604087013591508082111561125257600080fd5b5061125f87828801611165565b949793965093946060013593505050565b600080600060c0848603121561128557600080fd5b61128f85856110ff565b925061129e85604086016110ff565b91506112ad85608086016110ff565b90509250925092565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916113029084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b60008060008060a0858703121561137157600080fd5b61137b86866110ff565b93506040850135925060608501359150608085013567ffffffffffffffff8111156113a557600080fd5b6113b187828801611165565b91505092959194509250565b600080604083850312156113d057600080fd5b823567ffffffffffffffff808211156113e857600080fd5b6113f486838701611165565b9350602085013591508082111561140a57600080fd5b5061141785828601611165565b9150509250929050565b8051801515811461143157600080fd5b919050565b60006020828403121561144857600080fd5b610f9082611421565b805161143181611084565b60006020828403121561146e57600080fd5b8151610f9081611084565b6001600160601b038316815260608101610f90602083018480518252602090810151910152565b6001600160a01b038116811461109957600080fd5b8051611431816114a0565b6000602082840312156114d257600080fd5b8151610f90816114a0565b6000604082840312156114ef57600080fd5b6114f76110b2565b9050815181526020820151602082015292915050565b6000610160828403121561152057600080fd5b6115286110db565b61153183611451565b815261153f602084016114b5565b60208201526040830151604082015261155b84606085016114dd565b606082015261156d8460a085016114dd565b608082015261157f8460e085016114dd565b60a08201526115916101208401611421565b60c08201526115a361014084016114b5565b60e08201529392505050565b6001600160a01b03861681526115d2602082018680518252602090810151910152565b83606082015282608082015260c060a082015260006115f460c0830184610f97565b979650505050505050565b600181811c9082168061161357607f821691505b60208210810361163357634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220c9a07cdfe9b13b52fccff60dbf387559ccf9d06b81fc0eb4b30f507a3cd1fbeb64736f6c63430008140033",
737
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101365760003560e01c8063644c45e0116100b8578063a69df4b51161007c578063a69df4b5146102b1578063c200b809146102b9578063d7f5e609146102ce578063dab12325146102e1578063de7b5d14146102f7578063f83d08ba1461030857600080fd5b8063644c45e01461026057806365effc1a14610278578063826787661461028b57806387ef9ba01461029e578063893d20e8146102a957600080fd5b80631eff4b22116100ff5780631eff4b22146101ee57806321df0da71461022357806354afef63146102345780635ab1bd531461023c578063636450f51461024d57600080fd5b806251884a1461013b57806301ffc9a71461016c5780630fec111c146101a957806313299604146101bf578063138461e0146101e4575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61019961017a366004610f66565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610163565b6101b1610310565b604051610163929190610fdd565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610163565b6101ec610431565b005b6102157f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610163565b6006546001600160a01b03166101cc565b600954610215565b6001546001600160a01b03166101cc565b6101ec61025b36600461112f565b610653565b600154600160a01b90046001600160601b031661014f565b6101ec6102863660046111f2565b6106bb565b6101ec610299366004611270565b610731565b60085460ff16610199565b6101cc61080c565b6101ec61092a565b6102c16109d8565b60405161016391906112b6565b61014f6102dc36600461135b565b610c8b565b6101996102ef3660046113bd565b600192915050565b6007546001600160a01b03166101cc565b6101ec610d15565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c08201819052909180610354610d92565b915091508160405180610100016040528061037f6007546001600160601b03600160a01b9091041690565b6001600160601b03168152600060208083019190915260095460408084019190915280518082018252600a548152600b5481840152606084015280518082018252600c548152600d5481840152608084015280518082018252600e548152600f548184015260a084015260085460ff16151560c08401526005546001600160a01b031660e09093019290925290516104189291016112b6565b6040516020818303038152906040529350935050509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b79190611436565b156104fe576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105275760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610570573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105949190611436565b6105bc576040516372657a5160e01b81526001600160a01b03821660048201526024016104f5565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610606573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061062a919061145c565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60105460405163636450f560e01b81526001600160a01b039091169063636450f5906106859085908590600401611479565b600060405180830381600087803b15801561069f57600080fd5b505af11580156106b3573d6000803e3d6000fd5b505050505050565b6011546001600160a01b0316331461071f5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104f5565b61072b84848484610f18565b50505050565b600061073b61080c565b90506001600160a01b0381161580159061075e5750336001600160a01b03821614155b1561077e5760405163700dd81160e01b81523360048201526024016104f5565b601054604051634133c3b360e11b8152855160048201526020808701516024830152855160448301528086015160648301528451608483015284015160a48201526001600160a01b039091169063826787669060c401600060405180830381600087803b1580156107ee57600080fd5b505af1158015610802573d6000803e3d6000fd5b5050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610871573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108959190611436565b1561091a57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa1580156108f1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091591906114c0565b905090565b506002546001600160a01b031690565b600061093461080c565b90506001600160a01b038116158015906109575750336001600160a01b03821614155b156109775760405163700dd81160e01b81523360048201526024016104f5565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109bd57600080fd5b505af11580156109d1573d6000803e3d6000fd5b5050505050565b610a4b60408051610100810182526000808252602080830182905282840182905283518085018552828152808201839052606084015283518085018552828152808201839052608084015283518085019094528184528301529060a0820190815260006020820181905260409091015290565b6001546040805163c4cade9d60e01b8152600160a01b9092046001600160601b03166004830152600060248301525173__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9163c4cade9d9160448083019260209291908290030181865af4158015610aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ade9190611436565b15610b8357506040805161010081018252600754600160a01b90046001600160601b0316815260006020808301919091526009548284015282518084018452600a548152600b5481830152606083015282518084018452600c548152600d548183015260808301528251808401909352600e548352600f549083015260a081019190915260085460ff16151560c08201526005546001600160a01b031660e082015290565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610bcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf191906114c0565b9050806001600160a01b03166355e343a9610c1c6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161016060405180830381865afa158015610c61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c85919061150d565b91505090565b60105460405163e3458d5360e01b815260009133916001600160a01b039091169063e3458d5390610cc89084908a908a908a908a906004016115af565b6020604051808303816000875af1158015610ce7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0b919061145c565b9695505050505050565b6000610d1f61080c565b90506001600160a01b03811615801590610d425750336001600160a01b03821614155b15610d625760405163700dd81160e01b81523360048201526024016104f5565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109a3565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610e196001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610e6161080c565b6001600160a01b03168152602001826001018054610e7e906115ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610eaa906115ff565b8015610ef75780601f10610ecc57610100808354040283529160200191610ef7565b820191906000526020600020905b815481529060010190602001808311610eda57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160601b038616815260208101839052308183015290517ffa749b7f8c958183586325608c5d122eb3a8beb56a4d6ac2c88b78193e9facb99181900360600190a150505050565b600060208284031215610f7857600080fd5b81356001600160e01b031981168114610f9057600080fd5b9392505050565b6000815180845260005b81811015610fbd57602081850181015186830182015201610fa1565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161102160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152611067610120840182610f97565b9050828103602084015261107b8185610f97565b95945050505050565b6001600160601b038116811461109957600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156110d5576110d561109c565b60405290565b604051610100810167ffffffffffffffff811182821017156110d5576110d561109c565b60006040828403121561111157600080fd5b6111196110b2565b9050813581526020820135602082015292915050565b6000806060838503121561114257600080fd5b823561114d81611084565b915061115c84602085016110ff565b90509250929050565b600082601f83011261117657600080fd5b813567ffffffffffffffff808211156111915761119161109c565b604051601f8301601f19908116603f011681019082821181831017156111b9576111b961109c565b816040528381528660208588010111156111d257600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000806080858703121561120857600080fd5b843561121381611084565b9350602085013567ffffffffffffffff8082111561123057600080fd5b61123c88838901611165565b9450604087013591508082111561125257600080fd5b5061125f87828801611165565b949793965093946060013593505050565b600080600060c0848603121561128557600080fd5b61128f85856110ff565b925061129e85604086016110ff565b91506112ad85608086016110ff565b90509250925092565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916113029084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b0381166101408401525092915050565b60008060008060a0858703121561137157600080fd5b61137b86866110ff565b93506040850135925060608501359150608085013567ffffffffffffffff8111156113a557600080fd5b6113b187828801611165565b91505092959194509250565b600080604083850312156113d057600080fd5b823567ffffffffffffffff808211156113e857600080fd5b6113f486838701611165565b9350602085013591508082111561140a57600080fd5b5061141785828601611165565b9150509250929050565b8051801515811461143157600080fd5b919050565b60006020828403121561144857600080fd5b610f9082611421565b805161143181611084565b60006020828403121561146e57600080fd5b8151610f9081611084565b6001600160601b038316815260608101610f90602083018480518252602090810151910152565b6001600160a01b038116811461109957600080fd5b8051611431816114a0565b6000602082840312156114d257600080fd5b8151610f90816114a0565b6000604082840312156114ef57600080fd5b6114f76110b2565b9050815181526020820151602082015292915050565b6000610160828403121561152057600080fd5b6115286110db565b61153183611451565b815261153f602084016114b5565b60208201526040830151604082015261155b84606085016114dd565b606082015261156d8460a085016114dd565b608082015261157f8460e085016114dd565b60a08201526115916101208401611421565b60c08201526115a361014084016114b5565b60e08201529392505050565b6001600160a01b03861681526115d2602082018680518252602090810151910152565b83606082015282608082015260c060a082015260006115f460c0830184610f97565b979650505050505050565b600181811c9082168061161357607f821691505b60208210810361163357634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220c9a07cdfe9b13b52fccff60dbf387559ccf9d06b81fc0eb4b30f507a3cd1fbeb64736f6c63430008140033",
738
- "linkReferences": {
739
- "contracts/types/NftId.sol": {
740
- "NftIdLib": [
741
- {
742
- "length": 20,
743
- "start": 3953
744
- },
745
- {
746
- "length": 20,
747
- "start": 4943
748
- },
749
- {
750
- "length": 20,
751
- "start": 5524
752
- }
753
- ]
754
- }
755
- },
756
- "deployedLinkReferences": {
757
- "contracts/types/NftId.sol": {
758
- "NftIdLib": [
759
- {
760
- "length": 20,
761
- "start": 1113
762
- },
763
- {
764
- "length": 20,
765
- "start": 2103
766
- },
823
+ },
824
+ {
825
+ "inputs": [
767
826
  {
768
- "length": 20,
769
- "start": 2684
827
+ "internalType": "NftId",
828
+ "name": "bundleNftId",
829
+ "type": "uint96"
770
830
  }
771
- ]
831
+ ],
832
+ "name": "unlockBundle",
833
+ "outputs": [],
834
+ "stateMutability": "nonpayable",
835
+ "type": "function"
772
836
  }
773
- }
837
+ ],
838
+ "bytecode": "0x",
839
+ "deployedBytecode": "0x",
840
+ "linkReferences": {},
841
+ "deployedLinkReferences": {}
774
842
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/c520e33bf963a0266cb4c3e3da195de4.json"
3
+ "buildInfo": "../../../build-info/e5530b5c57be84d76caaa584abf46dd1.json"
4
4
  }