@etherisc/gif-next 0.0.2-cc4a5cb-898 → 0.0.2-cd89a0b-062

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. package/README.md +40 -25
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +80 -41
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +101 -61
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +43 -40
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +55 -52
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +100 -113
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +50 -47
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +150 -126
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +110 -52
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  35. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  36. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +256 -91
  37. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  38. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/Instance.sol/Instance.json +364 -170
  40. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +139 -46
  42. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +1 -1
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/IService.sol/IService.json +99 -55
  48. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +139 -59
  50. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
  53. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  54. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +135 -55
  55. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +2 -2
  66. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -9
  74. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  75. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -8
  76. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +2 -2
  80. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +138 -11
  83. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  85. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +138 -11
  87. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +245 -86
  89. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +167 -61
  91. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +99 -74
  93. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +99 -55
  95. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +104 -60
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +104 -60
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +169 -63
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +197 -91
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
  105. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +293 -40
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  110. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +668 -0
  111. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  112. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  113. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/Registry.sol/Registry.json +483 -120
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +885 -0
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +460 -0
  119. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  123. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +43 -40
  126. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  128. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +132 -0
  130. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +344 -0
  132. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  133. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +76 -37
  134. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  135. package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
  136. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  138. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +1 -1
  139. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +101 -61
  140. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  141. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestPool.sol/TestPool.json +150 -126
  143. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +115 -58
  145. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +93 -39
  147. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestService.sol/TestService.json +161 -68
  150. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  153. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +89 -25
  155. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  156. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  157. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  158. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  159. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  160. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  161. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  163. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  172. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  174. package/contracts/components/BaseComponent.sol +12 -27
  175. package/contracts/components/Distribution.sol +29 -6
  176. package/contracts/components/IBaseComponent.sol +2 -2
  177. package/contracts/components/IPoolComponent.sol +2 -8
  178. package/contracts/components/IProductComponent.sol +2 -1
  179. package/contracts/components/Pool.sol +84 -73
  180. package/contracts/components/Product.sol +85 -13
  181. package/contracts/instance/IInstance.sol +4 -3
  182. package/contracts/instance/Instance.sol +14 -3
  183. package/contracts/instance/base/ComponentServiceBase.sol +13 -6
  184. package/contracts/instance/base/IInstanceBase.sol +3 -2
  185. package/contracts/instance/base/InstanceBase.sol +6 -8
  186. package/contracts/instance/base/ServiceBase.sol +19 -13
  187. package/contracts/instance/module/component/ComponentModule.sol +5 -4
  188. package/contracts/instance/module/component/IComponent.sol +2 -2
  189. package/contracts/instance/module/pool/IPoolModule.sol +4 -3
  190. package/contracts/instance/module/pool/PoolModule.sol +12 -7
  191. package/contracts/instance/module/treasury/ITreasury.sol +7 -5
  192. package/contracts/instance/module/treasury/TokenHandler.sol +2 -2
  193. package/contracts/instance/module/treasury/TreasuryModule.sol +21 -28
  194. package/contracts/instance/service/ComponentOwnerService.sol +181 -66
  195. package/contracts/instance/service/DistributionService.sol +6 -11
  196. package/contracts/instance/service/IComponentOwnerService.sol +0 -2
  197. package/contracts/instance/service/PoolService.sol +19 -19
  198. package/contracts/instance/service/ProductService.sol +20 -20
  199. package/contracts/registry/ChainNft.sol +43 -15
  200. package/contracts/registry/IChainNft.sol +3 -2
  201. package/contracts/registry/IRegistry.sol +44 -28
  202. package/contracts/registry/IRegistryService.sol +29 -0
  203. package/contracts/registry/ITransferInterceptor.sol +6 -0
  204. package/contracts/registry/Registry.sol +382 -273
  205. package/contracts/registry/RegistryService.sol +375 -0
  206. package/contracts/registry/RegistryServiceManager.sol +52 -0
  207. package/contracts/shared/ContractDeployerLib.sol +72 -0
  208. package/contracts/shared/ERC165.sol +1 -1
  209. package/contracts/shared/IRegisterable.sol +7 -9
  210. package/contracts/shared/IVersionable.sol +55 -11
  211. package/contracts/shared/NftOwnable.sol +87 -0
  212. package/contracts/shared/ProxyManager.sol +103 -0
  213. package/contracts/shared/Registerable.sol +74 -43
  214. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  215. package/contracts/shared/Versionable.sol +112 -54
  216. package/contracts/test/TestDistribution.sol +3 -2
  217. package/contracts/test/TestPool.sol +4 -2
  218. package/contracts/test/TestProduct.sol +4 -2
  219. package/contracts/test/TestRegisterable.sol +5 -6
  220. package/contracts/test/TestService.sol +5 -11
  221. package/contracts/types/Version.sol +9 -0
  222. package/package.json +1 -1
  223. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  224. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  225. package/artifacts/contracts/shared/Proxy.sol/Proxy.dbg.json +0 -4
  226. package/artifacts/contracts/shared/Proxy.sol/Proxy.json +0 -178
  227. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
  228. package/contracts/experiment/statemachine/README.md +0 -112
  229. package/contracts/registry/IRegistryLinked.sol +0 -8
  230. package/contracts/shared/Proxy.sol +0 -83
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/1a42edd98eb9f337c509f79259ca2d18.json"
3
+ "buildInfo": "../../../build-info/fb3a98c31eed59ef653e03c45b04f993.json"
4
4
  }
@@ -51,19 +51,6 @@
51
51
  "stateMutability": "view",
52
52
  "type": "function"
53
53
  },
54
- {
55
- "inputs": [],
56
- "name": "getData",
57
- "outputs": [
58
- {
59
- "internalType": "bytes",
60
- "name": "data",
61
- "type": "bytes"
62
- }
63
- ],
64
- "stateMutability": "view",
65
- "type": "function"
66
- },
67
54
  {
68
55
  "inputs": [],
69
56
  "name": "getDistributionFee",
@@ -89,6 +76,61 @@
89
76
  "stateMutability": "view",
90
77
  "type": "function"
91
78
  },
79
+ {
80
+ "inputs": [],
81
+ "name": "getInitialInfo",
82
+ "outputs": [
83
+ {
84
+ "components": [
85
+ {
86
+ "internalType": "NftId",
87
+ "name": "nftId",
88
+ "type": "uint96"
89
+ },
90
+ {
91
+ "internalType": "NftId",
92
+ "name": "parentNftId",
93
+ "type": "uint96"
94
+ },
95
+ {
96
+ "internalType": "ObjectType",
97
+ "name": "objectType",
98
+ "type": "uint8"
99
+ },
100
+ {
101
+ "internalType": "bool",
102
+ "name": "isInterceptor",
103
+ "type": "bool"
104
+ },
105
+ {
106
+ "internalType": "address",
107
+ "name": "objectAddress",
108
+ "type": "address"
109
+ },
110
+ {
111
+ "internalType": "address",
112
+ "name": "initialOwner",
113
+ "type": "address"
114
+ },
115
+ {
116
+ "internalType": "bytes",
117
+ "name": "data",
118
+ "type": "bytes"
119
+ }
120
+ ],
121
+ "internalType": "struct IRegistry.ObjectInfo",
122
+ "name": "",
123
+ "type": "tuple"
124
+ },
125
+ {
126
+ "internalType": "bytes",
127
+ "name": "data",
128
+ "type": "bytes"
129
+ }
130
+ ],
131
+ "stateMutability": "view",
132
+ "type": "function"
133
+ },
92
134
  {
93
135
  "inputs": [],
94
136
  "name": "getInstance",
@@ -128,19 +170,6 @@
128
170
  "stateMutability": "view",
129
171
  "type": "function"
130
172
  },
131
- {
132
- "inputs": [],
133
- "name": "getParentNftId",
134
- "outputs": [
135
- {
136
- "internalType": "NftId",
137
- "name": "nftId",
138
- "type": "uint96"
139
- }
140
- ],
141
- "stateMutability": "view",
142
- "type": "function"
143
- },
144
173
  {
145
174
  "inputs": [],
146
175
  "name": "getRegistry",
@@ -167,19 +196,6 @@
167
196
  "stateMutability": "view",
168
197
  "type": "function"
169
198
  },
170
- {
171
- "inputs": [],
172
- "name": "getType",
173
- "outputs": [
174
- {
175
- "internalType": "ObjectType",
176
- "name": "objectType",
177
- "type": "uint8"
178
- }
179
- ],
180
- "stateMutability": "pure",
181
- "type": "function"
182
- },
183
199
  {
184
200
  "inputs": [],
185
201
  "name": "getWallet",
@@ -268,19 +284,6 @@
268
284
  "stateMutability": "view",
269
285
  "type": "function"
270
286
  },
271
- {
272
- "inputs": [],
273
- "name": "register",
274
- "outputs": [
275
- {
276
- "internalType": "NftId",
277
- "name": "nftId",
278
- "type": "uint96"
279
- }
280
- ],
281
- "stateMutability": "nonpayable",
282
- "type": "function"
283
- },
284
287
  {
285
288
  "inputs": [
286
289
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/1a42edd98eb9f337c509f79259ca2d18.json"
3
+ "buildInfo": "../../../build-info/fb3a98c31eed59ef653e03c45b04f993.json"
4
4
  }
@@ -89,73 +89,42 @@
89
89
  },
90
90
  {
91
91
  "inputs": [],
92
- "name": "getData",
92
+ "name": "getFees",
93
93
  "outputs": [
94
94
  {
95
- "internalType": "bytes",
96
- "name": "data",
97
- "type": "bytes"
98
- }
99
- ],
100
- "stateMutability": "view",
101
- "type": "function"
102
- },
103
- {
104
- "inputs": [],
105
- "name": "getInstance",
106
- "outputs": [
107
- {
108
- "internalType": "contract IInstance",
109
- "name": "instance",
110
- "type": "address"
111
- }
112
- ],
113
- "stateMutability": "view",
114
- "type": "function"
115
- },
116
- {
117
- "inputs": [],
118
- "name": "getNftId",
119
- "outputs": [
120
- {
121
- "internalType": "NftId",
122
- "name": "nftId",
123
- "type": "uint96"
124
- }
125
- ],
126
- "stateMutability": "view",
127
- "type": "function"
128
- },
129
- {
130
- "inputs": [],
131
- "name": "getOwner",
132
- "outputs": [
133
- {
134
- "internalType": "address",
135
- "name": "owner",
136
- "type": "address"
137
- }
138
- ],
139
- "stateMutability": "view",
140
- "type": "function"
141
- },
142
- {
143
- "inputs": [],
144
- "name": "getParentNftId",
145
- "outputs": [
95
+ "components": [
96
+ {
97
+ "internalType": "UFixed",
98
+ "name": "fractionalFee",
99
+ "type": "uint256"
100
+ },
101
+ {
102
+ "internalType": "uint256",
103
+ "name": "fixedFee",
104
+ "type": "uint256"
105
+ }
106
+ ],
107
+ "internalType": "struct Fee",
108
+ "name": "poolFee",
109
+ "type": "tuple"
110
+ },
146
111
  {
147
- "internalType": "NftId",
148
- "name": "nftId",
149
- "type": "uint96"
150
- }
151
- ],
152
- "stateMutability": "view",
153
- "type": "function"
154
- },
155
- {
156
- "inputs": [],
157
- "name": "getPerformanceFee",
158
- "outputs": [
112
+ "components": [
113
+ {
114
+ "internalType": "UFixed",
115
+ "name": "fractionalFee",
116
+ "type": "uint256"
117
+ },
118
+ {
119
+ "internalType": "uint256",
120
+ "name": "fixedFee",
121
+ "type": "uint256"
122
+ }
123
+ ],
124
+ "internalType": "struct Fee",
125
+ "name": "stakingFee",
126
+ "type": "tuple"
127
+ },
159
128
  {
160
129
  "components": [
161
130
  {
@@ -179,24 +148,54 @@
179
148
  },
180
149
  {
181
150
  "inputs": [],
182
- "name": "getPoolFee",
151
+ "name": "getInitialInfo",
183
152
  "outputs": [
184
153
  {
185
154
  "components": [
186
155
  {
187
- "internalType": "UFixed",
188
- "name": "fractionalFee",
189
- "type": "uint256"
156
+ "internalType": "NftId",
157
+ "name": "nftId",
158
+ "type": "uint96"
190
159
  },
191
160
  {
192
- "internalType": "uint256",
193
- "name": "fixedFee",
194
- "type": "uint256"
161
+ "internalType": "NftId",
162
+ "name": "parentNftId",
163
+ "type": "uint96"
164
+ },
165
+ {
166
+ "internalType": "ObjectType",
167
+ "name": "objectType",
168
+ "type": "uint8"
169
+ },
170
+ {
171
+ "internalType": "bool",
172
+ "name": "isInterceptor",
173
+ "type": "bool"
174
+ },
175
+ {
176
+ "internalType": "address",
177
+ "name": "objectAddress",
178
+ "type": "address"
179
+ },
180
+ {
181
+ "internalType": "address",
182
+ "name": "initialOwner",
183
+ "type": "address"
184
+ },
185
+ {
186
+ "internalType": "bytes",
187
+ "name": "data",
188
+ "type": "bytes"
195
189
  }
196
190
  ],
197
- "internalType": "struct Fee",
198
- "name": "poolFee",
191
+ "internalType": "struct IRegistry.ObjectInfo",
192
+ "name": "",
199
193
  "type": "tuple"
194
+ },
195
+ {
196
+ "internalType": "bytes",
197
+ "name": "data",
198
+ "type": "bytes"
200
199
  }
201
200
  ],
202
201
  "stateMutability": "view",
@@ -204,11 +203,11 @@
204
203
  },
205
204
  {
206
205
  "inputs": [],
207
- "name": "getRegistry",
206
+ "name": "getInstance",
208
207
  "outputs": [
209
208
  {
210
- "internalType": "contract IRegistry",
211
- "name": "registry",
209
+ "internalType": "contract IInstance",
210
+ "name": "instance",
212
211
  "type": "address"
213
212
  }
214
213
  ],
@@ -217,24 +216,12 @@
217
216
  },
218
217
  {
219
218
  "inputs": [],
220
- "name": "getStakingFee",
219
+ "name": "getNftId",
221
220
  "outputs": [
222
221
  {
223
- "components": [
224
- {
225
- "internalType": "UFixed",
226
- "name": "fractionalFee",
227
- "type": "uint256"
228
- },
229
- {
230
- "internalType": "uint256",
231
- "name": "fixedFee",
232
- "type": "uint256"
233
- }
234
- ],
235
- "internalType": "struct Fee",
236
- "name": "stakingFee",
237
- "type": "tuple"
222
+ "internalType": "NftId",
223
+ "name": "nftId",
224
+ "type": "uint96"
238
225
  }
239
226
  ],
240
227
  "stateMutability": "view",
@@ -242,11 +229,24 @@
242
229
  },
243
230
  {
244
231
  "inputs": [],
245
- "name": "getToken",
232
+ "name": "getOwner",
246
233
  "outputs": [
247
234
  {
248
- "internalType": "contract IERC20Metadata",
249
- "name": "token",
235
+ "internalType": "address",
236
+ "name": "owner",
237
+ "type": "address"
238
+ }
239
+ ],
240
+ "stateMutability": "view",
241
+ "type": "function"
242
+ },
243
+ {
244
+ "inputs": [],
245
+ "name": "getRegistry",
246
+ "outputs": [
247
+ {
248
+ "internalType": "contract IRegistry",
249
+ "name": "registry",
250
250
  "type": "address"
251
251
  }
252
252
  ],
@@ -255,15 +255,15 @@
255
255
  },
256
256
  {
257
257
  "inputs": [],
258
- "name": "getType",
258
+ "name": "getToken",
259
259
  "outputs": [
260
260
  {
261
- "internalType": "ObjectType",
262
- "name": "objectType",
263
- "type": "uint8"
261
+ "internalType": "contract IERC20Metadata",
262
+ "name": "token",
263
+ "type": "address"
264
264
  }
265
265
  ],
266
- "stateMutability": "pure",
266
+ "stateMutability": "view",
267
267
  "type": "function"
268
268
  },
269
269
  {
@@ -323,19 +323,6 @@
323
323
  "stateMutability": "view",
324
324
  "type": "function"
325
325
  },
326
- {
327
- "inputs": [],
328
- "name": "register",
329
- "outputs": [
330
- {
331
- "internalType": "NftId",
332
- "name": "nftId",
333
- "type": "uint96"
334
- }
335
- ],
336
- "stateMutability": "nonpayable",
337
- "type": "function"
338
- },
339
326
  {
340
327
  "inputs": [
341
328
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/1a42edd98eb9f337c509f79259ca2d18.json"
3
+ "buildInfo": "../../../build-info/fb3a98c31eed59ef653e03c45b04f993.json"
4
4
  }
@@ -83,12 +83,12 @@
83
83
  },
84
84
  {
85
85
  "inputs": [],
86
- "name": "getData",
86
+ "name": "getDistributionNftId",
87
87
  "outputs": [
88
88
  {
89
- "internalType": "bytes",
90
- "name": "data",
91
- "type": "bytes"
89
+ "internalType": "NftId",
90
+ "name": "distributionNftId",
91
+ "type": "uint96"
92
92
  }
93
93
  ],
94
94
  "stateMutability": "view",
@@ -96,12 +96,54 @@
96
96
  },
97
97
  {
98
98
  "inputs": [],
99
- "name": "getDistributionNftId",
99
+ "name": "getInitialInfo",
100
100
  "outputs": [
101
101
  {
102
- "internalType": "NftId",
103
- "name": "distributionNftId",
104
- "type": "uint96"
102
+ "components": [
103
+ {
104
+ "internalType": "NftId",
105
+ "name": "nftId",
106
+ "type": "uint96"
107
+ },
108
+ {
109
+ "internalType": "NftId",
110
+ "name": "parentNftId",
111
+ "type": "uint96"
112
+ },
113
+ {
114
+ "internalType": "ObjectType",
115
+ "name": "objectType",
116
+ "type": "uint8"
117
+ },
118
+ {
119
+ "internalType": "bool",
120
+ "name": "isInterceptor",
121
+ "type": "bool"
122
+ },
123
+ {
124
+ "internalType": "address",
125
+ "name": "objectAddress",
126
+ "type": "address"
127
+ },
128
+ {
129
+ "internalType": "address",
130
+ "name": "initialOwner",
131
+ "type": "address"
132
+ },
133
+ {
134
+ "internalType": "bytes",
135
+ "name": "data",
136
+ "type": "bytes"
137
+ }
138
+ ],
139
+ "internalType": "struct IRegistry.ObjectInfo",
140
+ "name": "",
141
+ "type": "tuple"
142
+ },
143
+ {
144
+ "internalType": "bytes",
145
+ "name": "data",
146
+ "type": "bytes"
105
147
  }
106
148
  ],
107
149
  "stateMutability": "view",
@@ -146,19 +188,6 @@
146
188
  "stateMutability": "view",
147
189
  "type": "function"
148
190
  },
149
- {
150
- "inputs": [],
151
- "name": "getParentNftId",
152
- "outputs": [
153
- {
154
- "internalType": "NftId",
155
- "name": "nftId",
156
- "type": "uint96"
157
- }
158
- ],
159
- "stateMutability": "view",
160
- "type": "function"
161
- },
162
191
  {
163
192
  "inputs": [],
164
193
  "name": "getPoolNftId",
@@ -248,19 +277,6 @@
248
277
  "stateMutability": "view",
249
278
  "type": "function"
250
279
  },
251
- {
252
- "inputs": [],
253
- "name": "getType",
254
- "outputs": [
255
- {
256
- "internalType": "ObjectType",
257
- "name": "objectType",
258
- "type": "uint8"
259
- }
260
- ],
261
- "stateMutability": "pure",
262
- "type": "function"
263
- },
264
280
  {
265
281
  "inputs": [],
266
282
  "name": "getWallet",
@@ -281,19 +297,6 @@
281
297
  "stateMutability": "nonpayable",
282
298
  "type": "function"
283
299
  },
284
- {
285
- "inputs": [],
286
- "name": "register",
287
- "outputs": [
288
- {
289
- "internalType": "NftId",
290
- "name": "nftId",
291
- "type": "uint96"
292
- }
293
- ],
294
- "stateMutability": "nonpayable",
295
- "type": "function"
296
- },
297
300
  {
298
301
  "inputs": [
299
302
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/1a42edd98eb9f337c509f79259ca2d18.json"
3
+ "buildInfo": "../../../build-info/fb3a98c31eed59ef653e03c45b04f993.json"
4
4
  }