@etherisc/gif-next 0.0.2-de0a1d3-009 → 0.0.2-e37834a-021
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 +0 -163
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +6 -185
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -163
- 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 +198 -74
- 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 +285 -178
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +59 -53
- 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 +45 -42
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +62 -69
- 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 +55 -62
- 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 +165 -93
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +87 -68
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +45 -61
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +45 -42
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +45 -42
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +45 -42
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +89 -70
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +117 -98
- 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 +2 -2
- 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 +4 -27
- 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 +81 -75
- 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 +15 -38
- 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 +2 -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/IDistributionComponent.sol +1 -2
- package/contracts/components/IPoolComponent.sol +3 -10
- package/contracts/components/IProductComponent.sol +2 -3
- 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 +25 -24
- 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 +40 -9
- 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 +108 -60
- 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 +1 -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/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +0 -724
- package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +0 -4
- package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +0 -248
- package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
- package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +0 -4
- package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +0 -228
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/registry/RegistryUpgradeable.sol +0 -473
- package/contracts/shared/Proxy.sol +0 -94
- package/contracts/shared/VersionableUpgradeable.sol +0 -133
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,110 +76,6 @@
|
|
89
76
|
"stateMutability": "view",
|
90
77
|
"type": "function"
|
91
78
|
},
|
92
|
-
{
|
93
|
-
"inputs": [],
|
94
|
-
"name": "getInstance",
|
95
|
-
"outputs": [
|
96
|
-
{
|
97
|
-
"internalType": "contract IInstance",
|
98
|
-
"name": "instance",
|
99
|
-
"type": "address"
|
100
|
-
}
|
101
|
-
],
|
102
|
-
"stateMutability": "view",
|
103
|
-
"type": "function"
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"inputs": [],
|
107
|
-
"name": "getNftId",
|
108
|
-
"outputs": [
|
109
|
-
{
|
110
|
-
"internalType": "NftId",
|
111
|
-
"name": "nftId",
|
112
|
-
"type": "uint96"
|
113
|
-
}
|
114
|
-
],
|
115
|
-
"stateMutability": "view",
|
116
|
-
"type": "function"
|
117
|
-
},
|
118
|
-
{
|
119
|
-
"inputs": [],
|
120
|
-
"name": "getOwner",
|
121
|
-
"outputs": [
|
122
|
-
{
|
123
|
-
"internalType": "address",
|
124
|
-
"name": "owner",
|
125
|
-
"type": "address"
|
126
|
-
}
|
127
|
-
],
|
128
|
-
"stateMutability": "view",
|
129
|
-
"type": "function"
|
130
|
-
},
|
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
|
-
{
|
145
|
-
"inputs": [],
|
146
|
-
"name": "getRegistry",
|
147
|
-
"outputs": [
|
148
|
-
{
|
149
|
-
"internalType": "contract IRegistry",
|
150
|
-
"name": "registry",
|
151
|
-
"type": "address"
|
152
|
-
}
|
153
|
-
],
|
154
|
-
"stateMutability": "view",
|
155
|
-
"type": "function"
|
156
|
-
},
|
157
|
-
{
|
158
|
-
"inputs": [],
|
159
|
-
"name": "getToken",
|
160
|
-
"outputs": [
|
161
|
-
{
|
162
|
-
"internalType": "contract IERC20Metadata",
|
163
|
-
"name": "token",
|
164
|
-
"type": "address"
|
165
|
-
}
|
166
|
-
],
|
167
|
-
"stateMutability": "view",
|
168
|
-
"type": "function"
|
169
|
-
},
|
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
|
-
{
|
184
|
-
"inputs": [],
|
185
|
-
"name": "getWallet",
|
186
|
-
"outputs": [
|
187
|
-
{
|
188
|
-
"internalType": "address",
|
189
|
-
"name": "walletAddress",
|
190
|
-
"type": "address"
|
191
|
-
}
|
192
|
-
],
|
193
|
-
"stateMutability": "view",
|
194
|
-
"type": "function"
|
195
|
-
},
|
196
79
|
{
|
197
80
|
"inputs": [],
|
198
81
|
"name": "isVerifying",
|
@@ -206,13 +89,6 @@
|
|
206
89
|
"stateMutability": "view",
|
207
90
|
"type": "function"
|
208
91
|
},
|
209
|
-
{
|
210
|
-
"inputs": [],
|
211
|
-
"name": "lock",
|
212
|
-
"outputs": [],
|
213
|
-
"stateMutability": "nonpayable",
|
214
|
-
"type": "function"
|
215
|
-
},
|
216
92
|
{
|
217
93
|
"inputs": [
|
218
94
|
{
|
@@ -268,19 +144,6 @@
|
|
268
144
|
"stateMutability": "view",
|
269
145
|
"type": "function"
|
270
146
|
},
|
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
147
|
{
|
285
148
|
"inputs": [
|
286
149
|
{
|
@@ -305,32 +168,6 @@
|
|
305
168
|
"outputs": [],
|
306
169
|
"stateMutability": "nonpayable",
|
307
170
|
"type": "function"
|
308
|
-
},
|
309
|
-
{
|
310
|
-
"inputs": [
|
311
|
-
{
|
312
|
-
"internalType": "bytes4",
|
313
|
-
"name": "interfaceId",
|
314
|
-
"type": "bytes4"
|
315
|
-
}
|
316
|
-
],
|
317
|
-
"name": "supportsInterface",
|
318
|
-
"outputs": [
|
319
|
-
{
|
320
|
-
"internalType": "bool",
|
321
|
-
"name": "",
|
322
|
-
"type": "bool"
|
323
|
-
}
|
324
|
-
],
|
325
|
-
"stateMutability": "view",
|
326
|
-
"type": "function"
|
327
|
-
},
|
328
|
-
{
|
329
|
-
"inputs": [],
|
330
|
-
"name": "unlock",
|
331
|
-
"outputs": [],
|
332
|
-
"stateMutability": "nonpayable",
|
333
|
-
"type": "function"
|
334
171
|
}
|
335
172
|
],
|
336
173
|
"bytecode": "0x",
|
@@ -89,72 +89,7 @@
|
|
89
89
|
},
|
90
90
|
{
|
91
91
|
"inputs": [],
|
92
|
-
"name": "
|
93
|
-
"outputs": [
|
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": [
|
146
|
-
{
|
147
|
-
"internalType": "NftId",
|
148
|
-
"name": "nftId",
|
149
|
-
"type": "uint96"
|
150
|
-
}
|
151
|
-
],
|
152
|
-
"stateMutability": "view",
|
153
|
-
"type": "function"
|
154
|
-
},
|
155
|
-
{
|
156
|
-
"inputs": [],
|
157
|
-
"name": "getPerformanceFee",
|
92
|
+
"name": "getFees",
|
158
93
|
"outputs": [
|
159
94
|
{
|
160
95
|
"components": [
|
@@ -170,17 +105,9 @@
|
|
170
105
|
}
|
171
106
|
],
|
172
107
|
"internalType": "struct Fee",
|
173
|
-
"name": "
|
108
|
+
"name": "poolFee",
|
174
109
|
"type": "tuple"
|
175
|
-
}
|
176
|
-
],
|
177
|
-
"stateMutability": "view",
|
178
|
-
"type": "function"
|
179
|
-
},
|
180
|
-
{
|
181
|
-
"inputs": [],
|
182
|
-
"name": "getPoolFee",
|
183
|
-
"outputs": [
|
110
|
+
},
|
184
111
|
{
|
185
112
|
"components": [
|
186
113
|
{
|
@@ -195,30 +122,9 @@
|
|
195
122
|
}
|
196
123
|
],
|
197
124
|
"internalType": "struct Fee",
|
198
|
-
"name": "
|
125
|
+
"name": "stakingFee",
|
199
126
|
"type": "tuple"
|
200
|
-
}
|
201
|
-
],
|
202
|
-
"stateMutability": "view",
|
203
|
-
"type": "function"
|
204
|
-
},
|
205
|
-
{
|
206
|
-
"inputs": [],
|
207
|
-
"name": "getRegistry",
|
208
|
-
"outputs": [
|
209
|
-
{
|
210
|
-
"internalType": "contract IRegistry",
|
211
|
-
"name": "registry",
|
212
|
-
"type": "address"
|
213
|
-
}
|
214
|
-
],
|
215
|
-
"stateMutability": "view",
|
216
|
-
"type": "function"
|
217
|
-
},
|
218
|
-
{
|
219
|
-
"inputs": [],
|
220
|
-
"name": "getStakingFee",
|
221
|
-
"outputs": [
|
127
|
+
},
|
222
128
|
{
|
223
129
|
"components": [
|
224
130
|
{
|
@@ -233,52 +139,13 @@
|
|
233
139
|
}
|
234
140
|
],
|
235
141
|
"internalType": "struct Fee",
|
236
|
-
"name": "
|
142
|
+
"name": "performanceFee",
|
237
143
|
"type": "tuple"
|
238
144
|
}
|
239
145
|
],
|
240
146
|
"stateMutability": "view",
|
241
147
|
"type": "function"
|
242
148
|
},
|
243
|
-
{
|
244
|
-
"inputs": [],
|
245
|
-
"name": "getToken",
|
246
|
-
"outputs": [
|
247
|
-
{
|
248
|
-
"internalType": "contract IERC20Metadata",
|
249
|
-
"name": "token",
|
250
|
-
"type": "address"
|
251
|
-
}
|
252
|
-
],
|
253
|
-
"stateMutability": "view",
|
254
|
-
"type": "function"
|
255
|
-
},
|
256
|
-
{
|
257
|
-
"inputs": [],
|
258
|
-
"name": "getType",
|
259
|
-
"outputs": [
|
260
|
-
{
|
261
|
-
"internalType": "ObjectType",
|
262
|
-
"name": "objectType",
|
263
|
-
"type": "uint8"
|
264
|
-
}
|
265
|
-
],
|
266
|
-
"stateMutability": "pure",
|
267
|
-
"type": "function"
|
268
|
-
},
|
269
|
-
{
|
270
|
-
"inputs": [],
|
271
|
-
"name": "getWallet",
|
272
|
-
"outputs": [
|
273
|
-
{
|
274
|
-
"internalType": "address",
|
275
|
-
"name": "walletAddress",
|
276
|
-
"type": "address"
|
277
|
-
}
|
278
|
-
],
|
279
|
-
"stateMutability": "view",
|
280
|
-
"type": "function"
|
281
|
-
},
|
282
149
|
{
|
283
150
|
"inputs": [],
|
284
151
|
"name": "isVerifying",
|
@@ -292,13 +159,6 @@
|
|
292
159
|
"stateMutability": "view",
|
293
160
|
"type": "function"
|
294
161
|
},
|
295
|
-
{
|
296
|
-
"inputs": [],
|
297
|
-
"name": "lock",
|
298
|
-
"outputs": [],
|
299
|
-
"stateMutability": "nonpayable",
|
300
|
-
"type": "function"
|
301
|
-
},
|
302
162
|
{
|
303
163
|
"inputs": [
|
304
164
|
{
|
@@ -323,19 +183,6 @@
|
|
323
183
|
"stateMutability": "view",
|
324
184
|
"type": "function"
|
325
185
|
},
|
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
186
|
{
|
340
187
|
"inputs": [
|
341
188
|
{
|
@@ -425,25 +272,6 @@
|
|
425
272
|
"stateMutability": "nonpayable",
|
426
273
|
"type": "function"
|
427
274
|
},
|
428
|
-
{
|
429
|
-
"inputs": [
|
430
|
-
{
|
431
|
-
"internalType": "bytes4",
|
432
|
-
"name": "interfaceId",
|
433
|
-
"type": "bytes4"
|
434
|
-
}
|
435
|
-
],
|
436
|
-
"name": "supportsInterface",
|
437
|
-
"outputs": [
|
438
|
-
{
|
439
|
-
"internalType": "bool",
|
440
|
-
"name": "",
|
441
|
-
"type": "bool"
|
442
|
-
}
|
443
|
-
],
|
444
|
-
"stateMutability": "view",
|
445
|
-
"type": "function"
|
446
|
-
},
|
447
275
|
{
|
448
276
|
"inputs": [
|
449
277
|
{
|
@@ -471,13 +299,6 @@
|
|
471
299
|
"outputs": [],
|
472
300
|
"stateMutability": "nonpayable",
|
473
301
|
"type": "function"
|
474
|
-
},
|
475
|
-
{
|
476
|
-
"inputs": [],
|
477
|
-
"name": "unlock",
|
478
|
-
"outputs": [],
|
479
|
-
"stateMutability": "nonpayable",
|
480
|
-
"type": "function"
|
481
302
|
}
|
482
303
|
],
|
483
304
|
"bytecode": "0x",
|
@@ -81,19 +81,6 @@
|
|
81
81
|
"stateMutability": "view",
|
82
82
|
"type": "function"
|
83
83
|
},
|
84
|
-
{
|
85
|
-
"inputs": [],
|
86
|
-
"name": "getData",
|
87
|
-
"outputs": [
|
88
|
-
{
|
89
|
-
"internalType": "bytes",
|
90
|
-
"name": "data",
|
91
|
-
"type": "bytes"
|
92
|
-
}
|
93
|
-
],
|
94
|
-
"stateMutability": "view",
|
95
|
-
"type": "function"
|
96
|
-
},
|
97
84
|
{
|
98
85
|
"inputs": [],
|
99
86
|
"name": "getDistributionNftId",
|
@@ -107,58 +94,6 @@
|
|
107
94
|
"stateMutability": "view",
|
108
95
|
"type": "function"
|
109
96
|
},
|
110
|
-
{
|
111
|
-
"inputs": [],
|
112
|
-
"name": "getInstance",
|
113
|
-
"outputs": [
|
114
|
-
{
|
115
|
-
"internalType": "contract IInstance",
|
116
|
-
"name": "instance",
|
117
|
-
"type": "address"
|
118
|
-
}
|
119
|
-
],
|
120
|
-
"stateMutability": "view",
|
121
|
-
"type": "function"
|
122
|
-
},
|
123
|
-
{
|
124
|
-
"inputs": [],
|
125
|
-
"name": "getNftId",
|
126
|
-
"outputs": [
|
127
|
-
{
|
128
|
-
"internalType": "NftId",
|
129
|
-
"name": "nftId",
|
130
|
-
"type": "uint96"
|
131
|
-
}
|
132
|
-
],
|
133
|
-
"stateMutability": "view",
|
134
|
-
"type": "function"
|
135
|
-
},
|
136
|
-
{
|
137
|
-
"inputs": [],
|
138
|
-
"name": "getOwner",
|
139
|
-
"outputs": [
|
140
|
-
{
|
141
|
-
"internalType": "address",
|
142
|
-
"name": "owner",
|
143
|
-
"type": "address"
|
144
|
-
}
|
145
|
-
],
|
146
|
-
"stateMutability": "view",
|
147
|
-
"type": "function"
|
148
|
-
},
|
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
97
|
{
|
163
98
|
"inputs": [],
|
164
99
|
"name": "getPoolNftId",
|
@@ -222,78 +157,6 @@
|
|
222
157
|
"stateMutability": "view",
|
223
158
|
"type": "function"
|
224
159
|
},
|
225
|
-
{
|
226
|
-
"inputs": [],
|
227
|
-
"name": "getRegistry",
|
228
|
-
"outputs": [
|
229
|
-
{
|
230
|
-
"internalType": "contract IRegistry",
|
231
|
-
"name": "registry",
|
232
|
-
"type": "address"
|
233
|
-
}
|
234
|
-
],
|
235
|
-
"stateMutability": "view",
|
236
|
-
"type": "function"
|
237
|
-
},
|
238
|
-
{
|
239
|
-
"inputs": [],
|
240
|
-
"name": "getToken",
|
241
|
-
"outputs": [
|
242
|
-
{
|
243
|
-
"internalType": "contract IERC20Metadata",
|
244
|
-
"name": "token",
|
245
|
-
"type": "address"
|
246
|
-
}
|
247
|
-
],
|
248
|
-
"stateMutability": "view",
|
249
|
-
"type": "function"
|
250
|
-
},
|
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
|
-
{
|
265
|
-
"inputs": [],
|
266
|
-
"name": "getWallet",
|
267
|
-
"outputs": [
|
268
|
-
{
|
269
|
-
"internalType": "address",
|
270
|
-
"name": "walletAddress",
|
271
|
-
"type": "address"
|
272
|
-
}
|
273
|
-
],
|
274
|
-
"stateMutability": "view",
|
275
|
-
"type": "function"
|
276
|
-
},
|
277
|
-
{
|
278
|
-
"inputs": [],
|
279
|
-
"name": "lock",
|
280
|
-
"outputs": [],
|
281
|
-
"stateMutability": "nonpayable",
|
282
|
-
"type": "function"
|
283
|
-
},
|
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
160
|
{
|
298
161
|
"inputs": [
|
299
162
|
{
|
@@ -335,32 +198,6 @@
|
|
335
198
|
"outputs": [],
|
336
199
|
"stateMutability": "nonpayable",
|
337
200
|
"type": "function"
|
338
|
-
},
|
339
|
-
{
|
340
|
-
"inputs": [
|
341
|
-
{
|
342
|
-
"internalType": "bytes4",
|
343
|
-
"name": "interfaceId",
|
344
|
-
"type": "bytes4"
|
345
|
-
}
|
346
|
-
],
|
347
|
-
"name": "supportsInterface",
|
348
|
-
"outputs": [
|
349
|
-
{
|
350
|
-
"internalType": "bool",
|
351
|
-
"name": "",
|
352
|
-
"type": "bool"
|
353
|
-
}
|
354
|
-
],
|
355
|
-
"stateMutability": "view",
|
356
|
-
"type": "function"
|
357
|
-
},
|
358
|
-
{
|
359
|
-
"inputs": [],
|
360
|
-
"name": "unlock",
|
361
|
-
"outputs": [],
|
362
|
-
"stateMutability": "nonpayable",
|
363
|
-
"type": "function"
|
364
201
|
}
|
365
202
|
],
|
366
203
|
"bytecode": "0x",
|