@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.
- package/README.md +40 -25
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +80 -41
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +101 -61
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +43 -40
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +55 -52
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +100 -113
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +50 -47
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +150 -126
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +110 -52
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +256 -91
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +364 -170
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +139 -46
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IService.sol/IService.json +99 -55
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +139 -59
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +135 -55
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +2 -2
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -9
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -8
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +2 -2
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +138 -11
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +138 -11
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +245 -86
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +167 -61
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +99 -74
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +99 -55
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +104 -60
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +104 -60
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +169 -63
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +197 -91
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +293 -40
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +668 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +483 -120
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +885 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +460 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +43 -40
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +132 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +344 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +76 -37
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +1 -1
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +101 -61
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +150 -126
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +115 -58
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +93 -39
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +161 -68
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +89 -25
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/BaseComponent.sol +12 -27
- package/contracts/components/Distribution.sol +29 -6
- package/contracts/components/IBaseComponent.sol +2 -2
- package/contracts/components/IPoolComponent.sol +2 -8
- package/contracts/components/IProductComponent.sol +2 -1
- package/contracts/components/Pool.sol +84 -73
- package/contracts/components/Product.sol +85 -13
- package/contracts/instance/IInstance.sol +4 -3
- package/contracts/instance/Instance.sol +14 -3
- package/contracts/instance/base/ComponentServiceBase.sol +13 -6
- package/contracts/instance/base/IInstanceBase.sol +3 -2
- package/contracts/instance/base/InstanceBase.sol +6 -8
- package/contracts/instance/base/ServiceBase.sol +19 -13
- package/contracts/instance/module/component/ComponentModule.sol +5 -4
- package/contracts/instance/module/component/IComponent.sol +2 -2
- package/contracts/instance/module/pool/IPoolModule.sol +4 -3
- package/contracts/instance/module/pool/PoolModule.sol +12 -7
- package/contracts/instance/module/treasury/ITreasury.sol +7 -5
- package/contracts/instance/module/treasury/TokenHandler.sol +2 -2
- package/contracts/instance/module/treasury/TreasuryModule.sol +21 -28
- package/contracts/instance/service/ComponentOwnerService.sol +181 -66
- package/contracts/instance/service/DistributionService.sol +6 -11
- package/contracts/instance/service/IComponentOwnerService.sol +0 -2
- package/contracts/instance/service/PoolService.sol +19 -19
- package/contracts/instance/service/ProductService.sol +20 -20
- package/contracts/registry/ChainNft.sol +43 -15
- package/contracts/registry/IChainNft.sol +3 -2
- package/contracts/registry/IRegistry.sol +44 -28
- package/contracts/registry/IRegistryService.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +382 -273
- package/contracts/registry/RegistryService.sol +375 -0
- package/contracts/registry/RegistryServiceManager.sol +52 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +1 -1
- package/contracts/shared/IRegisterable.sol +7 -9
- package/contracts/shared/IVersionable.sol +55 -11
- package/contracts/shared/NftOwnable.sol +87 -0
- package/contracts/shared/ProxyManager.sol +103 -0
- package/contracts/shared/Registerable.sol +74 -43
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +112 -54
- package/contracts/test/TestDistribution.sol +3 -2
- package/contracts/test/TestPool.sol +4 -2
- package/contracts/test/TestProduct.sol +4 -2
- package/contracts/test/TestRegisterable.sol +5 -6
- package/contracts/test/TestService.sol +5 -11
- package/contracts/types/Version.sol +9 -0
- package/package.json +1 -1
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
- package/artifacts/contracts/shared/Proxy.sol/Proxy.dbg.json +0 -4
- package/artifacts/contracts/shared/Proxy.sol/Proxy.json +0 -178
- package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/shared/Proxy.sol +0 -83
package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json
CHANGED
@@ -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
|
{
|
@@ -89,73 +89,42 @@
|
|
89
89
|
},
|
90
90
|
{
|
91
91
|
"inputs": [],
|
92
|
-
"name": "
|
92
|
+
"name": "getFees",
|
93
93
|
"outputs": [
|
94
94
|
{
|
95
|
-
"
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
"
|
109
|
-
"
|
110
|
-
|
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
|
-
"
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
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": "
|
151
|
+
"name": "getInitialInfo",
|
183
152
|
"outputs": [
|
184
153
|
{
|
185
154
|
"components": [
|
186
155
|
{
|
187
|
-
"internalType": "
|
188
|
-
"name": "
|
189
|
-
"type": "
|
156
|
+
"internalType": "NftId",
|
157
|
+
"name": "nftId",
|
158
|
+
"type": "uint96"
|
190
159
|
},
|
191
160
|
{
|
192
|
-
"internalType": "
|
193
|
-
"name": "
|
194
|
-
"type": "
|
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
|
198
|
-
"name": "
|
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": "
|
206
|
+
"name": "getInstance",
|
208
207
|
"outputs": [
|
209
208
|
{
|
210
|
-
"internalType": "contract
|
211
|
-
"name": "
|
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": "
|
219
|
+
"name": "getNftId",
|
221
220
|
"outputs": [
|
222
221
|
{
|
223
|
-
"
|
224
|
-
|
225
|
-
|
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": "
|
232
|
+
"name": "getOwner",
|
246
233
|
"outputs": [
|
247
234
|
{
|
248
|
-
"internalType": "
|
249
|
-
"name": "
|
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": "
|
258
|
+
"name": "getToken",
|
259
259
|
"outputs": [
|
260
260
|
{
|
261
|
-
"internalType": "
|
262
|
-
"name": "
|
263
|
-
"type": "
|
261
|
+
"internalType": "contract IERC20Metadata",
|
262
|
+
"name": "token",
|
263
|
+
"type": "address"
|
264
264
|
}
|
265
265
|
],
|
266
|
-
"stateMutability": "
|
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
|
{
|
@@ -83,12 +83,12 @@
|
|
83
83
|
},
|
84
84
|
{
|
85
85
|
"inputs": [],
|
86
|
-
"name": "
|
86
|
+
"name": "getDistributionNftId",
|
87
87
|
"outputs": [
|
88
88
|
{
|
89
|
-
"internalType": "
|
90
|
-
"name": "
|
91
|
-
"type": "
|
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": "
|
99
|
+
"name": "getInitialInfo",
|
100
100
|
"outputs": [
|
101
101
|
{
|
102
|
-
"
|
103
|
-
|
104
|
-
|
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
|
{
|