@etherisc/gif-next 0.0.2-fbe8e04-715 → 0.0.2-fca9315-260
Sign up to get free protection for your applications and to get access to all the features.
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/{IBaseComponent.sol/IBaseComponent.json → Component.sol/Component.json} +300 -12
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +199 -94
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +86 -84
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +496 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +522 -28
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +596 -5
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +190 -159
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +204 -110
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
- 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/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +38 -62
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +269 -13
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +120 -19
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +105 -615
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +208 -114
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +41 -82
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +250 -265
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +41 -120
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -32
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +124 -42
- 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/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +245 -66
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +35 -26
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +153 -65
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +32 -23
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +64 -18
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -18
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +120 -18
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +13 -18
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +13 -18
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +334 -91
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +66 -25
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +153 -65
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +32 -23
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +159 -71
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +32 -15
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +212 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +127 -93
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +224 -234
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +68 -161
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +51 -104
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +13 -29
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -5
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +13 -18
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -6
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +19 -6
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -11
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +26 -18
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +19 -11
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +44 -36
- 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/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- 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/DistributorType.sol/DistributorTypeLib.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/NumberId.sol/NumberIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.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/RoleId.sol/RoleIdLib.json +2 -2
- 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/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/Component.sol +216 -0
- package/contracts/components/Distribution.sol +38 -51
- package/contracts/components/IComponent.sol +43 -0
- package/contracts/components/IDistributionComponent.sol +5 -2
- package/contracts/components/IPoolComponent.sol +6 -12
- package/contracts/components/IProductComponent.sol +7 -3
- package/contracts/components/Pool.sol +42 -86
- package/contracts/components/Product.sol +58 -85
- package/contracts/instance/BundleManager.sol +7 -11
- package/contracts/instance/IInstance.sol +21 -9
- package/contracts/instance/IInstanceService.sol +12 -3
- package/contracts/instance/Instance.sol +37 -233
- package/contracts/instance/InstanceAccessManager.sol +88 -78
- package/contracts/instance/InstanceReader.sol +3 -25
- package/contracts/instance/InstanceService.sol +291 -120
- package/contracts/instance/InstanceServiceManager.sol +5 -8
- package/contracts/instance/ObjectManager.sol +7 -24
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/module/IAccess.sol +27 -17
- package/contracts/instance/service/BundleService.sol +41 -8
- package/contracts/instance/service/BundleServiceManager.sol +5 -8
- package/contracts/instance/service/DistributionService.sol +31 -43
- package/contracts/instance/service/DistributionServiceManager.sol +6 -9
- package/contracts/instance/service/IBundleService.sol +5 -6
- package/contracts/instance/service/IPolicyService.sol +7 -0
- package/contracts/instance/service/PolicyService.sol +67 -37
- package/contracts/instance/service/PoolService.sol +25 -39
- package/contracts/instance/service/PoolServiceManager.sol +5 -8
- package/contracts/instance/service/ProductService.sol +99 -38
- package/contracts/registry/ChainNft.sol +1 -1
- package/contracts/registry/IRegistry.sol +34 -17
- package/contracts/registry/IRegistryService.sol +28 -13
- package/contracts/registry/Registry.sol +214 -210
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +61 -157
- package/contracts/registry/RegistryServiceManager.sol +18 -36
- package/contracts/registry/ReleaseManager.sol +332 -0
- package/contracts/registry/TokenRegistry.sol +8 -7
- package/contracts/shared/IRegisterable.sol +1 -3
- package/contracts/shared/IService.sol +2 -1
- package/contracts/shared/NftOwnable.sol +5 -0
- package/contracts/shared/ProxyManager.sol +1 -1
- package/contracts/shared/Registerable.sol +10 -14
- package/contracts/shared/Service.sol +13 -8
- package/contracts/test/TestService.sol +3 -2
- package/contracts/types/RoleId.sol +10 -12
- package/package.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
- package/contracts/components/BaseComponent.sol +0 -132
- package/contracts/components/IBaseComponent.sol +0 -31
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/IInstanceBase.sol +0 -26
- package/contracts/instance/InstanceBase.sol +0 -41
- package/contracts/instance/base/ComponentServiceBase.sol +0 -72
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -3,11 +3,6 @@
|
|
3
3
|
"contractName": "ObjectManager",
|
4
4
|
"sourceName": "contracts/instance/ObjectManager.sol",
|
5
5
|
"abi": [
|
6
|
-
{
|
7
|
-
"inputs": [],
|
8
|
-
"stateMutability": "nonpayable",
|
9
|
-
"type": "constructor"
|
10
|
-
},
|
11
6
|
{
|
12
7
|
"inputs": [
|
13
8
|
{
|
@@ -142,16 +137,10 @@
|
|
142
137
|
{
|
143
138
|
"anonymous": false,
|
144
139
|
"inputs": [
|
145
|
-
{
|
146
|
-
"indexed": false,
|
147
|
-
"internalType": "NftId",
|
148
|
-
"name": "instanceNftId",
|
149
|
-
"type": "uint96"
|
150
|
-
},
|
151
140
|
{
|
152
141
|
"indexed": false,
|
153
142
|
"internalType": "address",
|
154
|
-
"name": "
|
143
|
+
"name": "instance",
|
155
144
|
"type": "address"
|
156
145
|
}
|
157
146
|
],
|
@@ -173,23 +162,10 @@
|
|
173
162
|
},
|
174
163
|
{
|
175
164
|
"inputs": [],
|
176
|
-
"name": "
|
165
|
+
"name": "getInstance",
|
177
166
|
"outputs": [
|
178
167
|
{
|
179
|
-
"internalType": "
|
180
|
-
"name": "",
|
181
|
-
"type": "uint96"
|
182
|
-
}
|
183
|
-
],
|
184
|
-
"stateMutability": "view",
|
185
|
-
"type": "function"
|
186
|
-
},
|
187
|
-
{
|
188
|
-
"inputs": [],
|
189
|
-
"name": "getInstanceReader",
|
190
|
-
"outputs": [
|
191
|
-
{
|
192
|
-
"internalType": "contract InstanceReader",
|
168
|
+
"internalType": "contract IInstance",
|
193
169
|
"name": "",
|
194
170
|
"type": "address"
|
195
171
|
}
|
@@ -241,9 +217,9 @@
|
|
241
217
|
"type": "address"
|
242
218
|
},
|
243
219
|
{
|
244
|
-
"internalType": "
|
245
|
-
"name": "
|
246
|
-
"type": "
|
220
|
+
"internalType": "address",
|
221
|
+
"name": "instance",
|
222
|
+
"type": "address"
|
247
223
|
}
|
248
224
|
],
|
249
225
|
"name": "initialize",
|
@@ -278,8 +254,8 @@
|
|
278
254
|
"type": "function"
|
279
255
|
}
|
280
256
|
],
|
281
|
-
"bytecode": "
|
282
|
-
"deployedBytecode": "
|
257
|
+
"bytecode": "0x608060405234801561001057600080fd5b50600080546001600160a01b03191690556105f0806100306000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638fb360371161005b5780638fb36037146100d4578063bf7e214f146100f5578063c0c53b8b14610113578063de7b5d141461012657600080fd5b8063485cc955146100825780635ab1bd53146100975780637a9e5e4b146100c1575b600080fd5b610095610090366004610502565b610137565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100956100cf366004610535565b6102de565b6100dc61037c565b6040516001600160e01b031990911681526020016100b8565b60008051602061059b833981519152546001600160a01b03166100a4565b610095610121366004610557565b6103b5565b6003546001600160a01b03166100a4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561017d5750825b905060008267ffffffffffffffff16600114801561019a5750303b155b9050811580156101a8575080155b156101c65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156101f057845460ff60401b1916600160401b1785555b6101f987610415565b856001600160a01b03163b6000036102345760405163071669cf60e21b81526001600160a01b03871660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a183156102d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b336102fe60008051602061059b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146103395760405162d1953b60e31b81526001600160a01b038216600482015260240161022b565b816001600160a01b03163b60000361036f576040516361798f2f60e11b81526001600160a01b038316600482015260240161022b565b61037882610429565b5050565b60008051602061059b833981519152805460009190600160a01b900460ff166103a65760006103af565b638fb3603760e01b5b91505090565b6103bf8383610137565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f9060200160405180910390a1505050565b61041d61048a565b610426816104d5565b50565b60008051602061059b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166104d357604051631afcd79f60e31b815260040160405180910390fd5b565b6104dd61048a565b61042681610429565b80356001600160a01b03811681146104fd57600080fd5b919050565b6000806040838503121561051557600080fd5b61051e836104e6565b915061052c602084016104e6565b90509250929050565b60006020828403121561054757600080fd5b610550826104e6565b9392505050565b60008060006060848603121561056c57600080fd5b610575846104e6565b9250610583602085016104e6565b9150610591604085016104e6565b9050925092509256fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202d51c1ac60d03584db37f77ee44b1224eba509de671a51f761159d8918720d5864736f6c63430008140033",
|
258
|
+
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638fb360371161005b5780638fb36037146100d4578063bf7e214f146100f5578063c0c53b8b14610113578063de7b5d141461012657600080fd5b8063485cc955146100825780635ab1bd53146100975780637a9e5e4b146100c1575b600080fd5b610095610090366004610502565b610137565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100956100cf366004610535565b6102de565b6100dc61037c565b6040516001600160e01b031990911681526020016100b8565b60008051602061059b833981519152546001600160a01b03166100a4565b610095610121366004610557565b6103b5565b6003546001600160a01b03166100a4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561017d5750825b905060008267ffffffffffffffff16600114801561019a5750303b155b9050811580156101a8575080155b156101c65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156101f057845460ff60401b1916600160401b1785555b6101f987610415565b856001600160a01b03163b6000036102345760405163071669cf60e21b81526001600160a01b03871660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a183156102d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b336102fe60008051602061059b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146103395760405162d1953b60e31b81526001600160a01b038216600482015260240161022b565b816001600160a01b03163b60000361036f576040516361798f2f60e11b81526001600160a01b038316600482015260240161022b565b61037882610429565b5050565b60008051602061059b833981519152805460009190600160a01b900460ff166103a65760006103af565b638fb3603760e01b5b91505090565b6103bf8383610137565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f9060200160405180910390a1505050565b61041d61048a565b610426816104d5565b50565b60008051602061059b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166104d357604051631afcd79f60e31b815260040160405180910390fd5b565b6104dd61048a565b61042681610429565b80356001600160a01b03811681146104fd57600080fd5b919050565b6000806040838503121561051557600080fd5b61051e836104e6565b915061052c602084016104e6565b90509250929050565b60006020828403121561054757600080fd5b610550826104e6565b9392505050565b60008060006060848603121561056c57600080fd5b610575846104e6565b9250610583602085016104e6565b9150610591604085016104e6565b9050925092509256fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202d51c1ac60d03584db37f77ee44b1224eba509de671a51f761159d8918720d5864736f6c63430008140033",
|
283
259
|
"linkReferences": {},
|
284
260
|
"deployedLinkReferences": {}
|
285
261
|
}
|
@@ -1,24 +1,29 @@
|
|
1
1
|
{
|
2
2
|
"_format": "hh-sol-artifact-1",
|
3
|
-
"contractName": "
|
4
|
-
"sourceName": "contracts/instance/base/
|
3
|
+
"contractName": "ComponentService",
|
4
|
+
"sourceName": "contracts/instance/base/ComponentService.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
|
-
"internalType": "
|
10
|
-
"name": "
|
11
|
-
"type": "
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "nftId",
|
16
|
+
"type": "uint96"
|
12
17
|
}
|
13
18
|
],
|
14
|
-
"name": "
|
19
|
+
"name": "ErrorAlreadyLinked",
|
15
20
|
"type": "error"
|
16
21
|
},
|
17
22
|
{
|
18
23
|
"inputs": [
|
19
24
|
{
|
20
25
|
"internalType": "address",
|
21
|
-
"name": "
|
26
|
+
"name": "component",
|
22
27
|
"type": "address"
|
23
28
|
},
|
24
29
|
{
|
@@ -27,7 +32,92 @@
|
|
27
32
|
"type": "uint96"
|
28
33
|
}
|
29
34
|
],
|
30
|
-
"name": "
|
35
|
+
"name": "ErrorComponentServiceAlreadyRegistered",
|
36
|
+
"type": "error"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"inputs": [
|
40
|
+
{
|
41
|
+
"internalType": "address",
|
42
|
+
"name": "component",
|
43
|
+
"type": "address"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"name": "ErrorComponentServiceComponentLocked",
|
47
|
+
"type": "error"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [
|
51
|
+
{
|
52
|
+
"internalType": "NftId",
|
53
|
+
"name": "instanceNftId",
|
54
|
+
"type": "uint96"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"internalType": "RoleId",
|
58
|
+
"name": "requiredRole",
|
59
|
+
"type": "uint64"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"internalType": "address",
|
63
|
+
"name": "sender",
|
64
|
+
"type": "address"
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"name": "ErrorComponentServiceExpectedRoleMissing",
|
68
|
+
"type": "error"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"inputs": [
|
72
|
+
{
|
73
|
+
"internalType": "address",
|
74
|
+
"name": "component",
|
75
|
+
"type": "address"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"internalType": "ObjectType",
|
79
|
+
"name": "requiredType",
|
80
|
+
"type": "uint8"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"internalType": "ObjectType",
|
84
|
+
"name": "componentType",
|
85
|
+
"type": "uint8"
|
86
|
+
}
|
87
|
+
],
|
88
|
+
"name": "ErrorComponentServiceInvalidType",
|
89
|
+
"type": "error"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"inputs": [
|
93
|
+
{
|
94
|
+
"internalType": "address",
|
95
|
+
"name": "component",
|
96
|
+
"type": "address"
|
97
|
+
}
|
98
|
+
],
|
99
|
+
"name": "ErrorComponentServiceNotComponent",
|
100
|
+
"type": "error"
|
101
|
+
},
|
102
|
+
{
|
103
|
+
"inputs": [
|
104
|
+
{
|
105
|
+
"internalType": "address",
|
106
|
+
"name": "component",
|
107
|
+
"type": "address"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"internalType": "address",
|
111
|
+
"name": "initialOwner",
|
112
|
+
"type": "address"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"internalType": "address",
|
116
|
+
"name": "sender",
|
117
|
+
"type": "address"
|
118
|
+
}
|
119
|
+
],
|
120
|
+
"name": "ErrorComponentServiceSenderNotOwner",
|
31
121
|
"type": "error"
|
32
122
|
},
|
33
123
|
{
|
@@ -95,22 +185,6 @@
|
|
95
185
|
"name": "ErrorRegistryNotInitialized",
|
96
186
|
"type": "error"
|
97
187
|
},
|
98
|
-
{
|
99
|
-
"inputs": [
|
100
|
-
{
|
101
|
-
"internalType": "RoleId",
|
102
|
-
"name": "expected",
|
103
|
-
"type": "uint64"
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"internalType": "address",
|
107
|
-
"name": "caller",
|
108
|
-
"type": "address"
|
109
|
-
}
|
110
|
-
],
|
111
|
-
"name": "ExpectedRoleMissing",
|
112
|
-
"type": "error"
|
113
|
-
},
|
114
188
|
{
|
115
189
|
"inputs": [],
|
116
190
|
"name": "InvalidInitialization",
|
@@ -172,6 +246,19 @@
|
|
172
246
|
"stateMutability": "view",
|
173
247
|
"type": "function"
|
174
248
|
},
|
249
|
+
{
|
250
|
+
"inputs": [],
|
251
|
+
"name": "getDomain",
|
252
|
+
"outputs": [
|
253
|
+
{
|
254
|
+
"internalType": "ObjectType",
|
255
|
+
"name": "",
|
256
|
+
"type": "uint8"
|
257
|
+
}
|
258
|
+
],
|
259
|
+
"stateMutability": "pure",
|
260
|
+
"type": "function"
|
261
|
+
},
|
175
262
|
{
|
176
263
|
"inputs": [],
|
177
264
|
"name": "getInitialInfo",
|
@@ -215,13 +302,21 @@
|
|
215
302
|
}
|
216
303
|
],
|
217
304
|
"internalType": "struct IRegistry.ObjectInfo",
|
218
|
-
"name": "",
|
305
|
+
"name": "info",
|
219
306
|
"type": "tuple"
|
220
|
-
}
|
307
|
+
}
|
308
|
+
],
|
309
|
+
"stateMutability": "view",
|
310
|
+
"type": "function"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"inputs": [],
|
314
|
+
"name": "getInitialOwner",
|
315
|
+
"outputs": [
|
221
316
|
{
|
222
|
-
"internalType": "
|
223
|
-
"name": "
|
224
|
-
"type": "
|
317
|
+
"internalType": "address",
|
318
|
+
"name": "",
|
319
|
+
"type": "address"
|
225
320
|
}
|
226
321
|
],
|
227
322
|
"stateMutability": "view",
|
@@ -266,19 +361,6 @@
|
|
266
361
|
"stateMutability": "view",
|
267
362
|
"type": "function"
|
268
363
|
},
|
269
|
-
{
|
270
|
-
"inputs": [],
|
271
|
-
"name": "getName",
|
272
|
-
"outputs": [
|
273
|
-
{
|
274
|
-
"internalType": "string",
|
275
|
-
"name": "name",
|
276
|
-
"type": "string"
|
277
|
-
}
|
278
|
-
],
|
279
|
-
"stateMutability": "pure",
|
280
|
-
"type": "function"
|
281
|
-
},
|
282
364
|
{
|
283
365
|
"inputs": [],
|
284
366
|
"name": "getNftId",
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"type": "uint64"
|
12
12
|
}
|
13
13
|
],
|
14
|
-
"name": "
|
14
|
+
"name": "ErrorIAccessGrantNonexstentRole",
|
15
15
|
"type": "error"
|
16
16
|
},
|
17
17
|
{
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"type": "uint64"
|
23
23
|
}
|
24
24
|
],
|
25
|
-
"name": "
|
25
|
+
"name": "ErrorIAccessRenounceNonexstentRole",
|
26
26
|
"type": "error"
|
27
27
|
},
|
28
28
|
{
|
@@ -33,7 +33,7 @@
|
|
33
33
|
"type": "uint64"
|
34
34
|
}
|
35
35
|
],
|
36
|
-
"name": "
|
36
|
+
"name": "ErrorIAccessRevokeNonexstentRole",
|
37
37
|
"type": "error"
|
38
38
|
},
|
39
39
|
{
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"type": "bytes32"
|
50
50
|
}
|
51
51
|
],
|
52
|
-
"name": "
|
52
|
+
"name": "ErrorIAccessRoleIdAlreadyExists",
|
53
53
|
"type": "error"
|
54
54
|
},
|
55
55
|
{
|
@@ -60,7 +60,7 @@
|
|
60
60
|
"type": "uint64"
|
61
61
|
}
|
62
62
|
],
|
63
|
-
"name": "
|
63
|
+
"name": "ErrorIAccessRoleIdInvalid",
|
64
64
|
"type": "error"
|
65
65
|
},
|
66
66
|
{
|
@@ -71,7 +71,7 @@
|
|
71
71
|
"type": "uint64"
|
72
72
|
}
|
73
73
|
],
|
74
|
-
"name": "
|
74
|
+
"name": "ErrorIAccessRoleIdNotActive",
|
75
75
|
"type": "error"
|
76
76
|
},
|
77
77
|
{
|
@@ -82,7 +82,7 @@
|
|
82
82
|
"type": "uint64"
|
83
83
|
}
|
84
84
|
],
|
85
|
-
"name": "
|
85
|
+
"name": "ErrorIAccessRoleIdTooBig",
|
86
86
|
"type": "error"
|
87
87
|
},
|
88
88
|
{
|
@@ -93,7 +93,7 @@
|
|
93
93
|
"type": "uint64"
|
94
94
|
}
|
95
95
|
],
|
96
|
-
"name": "
|
96
|
+
"name": "ErrorIAccessRoleIdTooSmall",
|
97
97
|
"type": "error"
|
98
98
|
},
|
99
99
|
{
|
@@ -109,7 +109,28 @@
|
|
109
109
|
"type": "bool"
|
110
110
|
}
|
111
111
|
],
|
112
|
-
"name": "
|
112
|
+
"name": "ErrorIAccessRoleInvalidUpdate",
|
113
|
+
"type": "error"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"inputs": [
|
117
|
+
{
|
118
|
+
"internalType": "RoleId",
|
119
|
+
"name": "roleId",
|
120
|
+
"type": "uint64"
|
121
|
+
},
|
122
|
+
{
|
123
|
+
"internalType": "bool",
|
124
|
+
"name": "isCustom",
|
125
|
+
"type": "bool"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"internalType": "bool",
|
129
|
+
"name": "isCustomExisting",
|
130
|
+
"type": "bool"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
"name": "ErrorIAccessRoleIsCustomIsImmutable",
|
113
134
|
"type": "error"
|
114
135
|
},
|
115
136
|
{
|
@@ -120,7 +141,7 @@
|
|
120
141
|
"type": "uint64"
|
121
142
|
}
|
122
143
|
],
|
123
|
-
"name": "
|
144
|
+
"name": "ErrorIAccessRoleNameEmpty",
|
124
145
|
"type": "error"
|
125
146
|
},
|
126
147
|
{
|
@@ -136,12 +157,34 @@
|
|
136
157
|
"type": "bytes32"
|
137
158
|
}
|
138
159
|
],
|
139
|
-
"name": "
|
160
|
+
"name": "ErrorIAccessRoleNameNotUnique",
|
161
|
+
"type": "error"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"inputs": [
|
165
|
+
{
|
166
|
+
"internalType": "RoleId",
|
167
|
+
"name": "roleId",
|
168
|
+
"type": "uint64"
|
169
|
+
}
|
170
|
+
],
|
171
|
+
"name": "ErrorIAccessSetLockedForNonexstentRole",
|
172
|
+
"type": "error"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"inputs": [
|
176
|
+
{
|
177
|
+
"internalType": "address",
|
178
|
+
"name": "target",
|
179
|
+
"type": "address"
|
180
|
+
}
|
181
|
+
],
|
182
|
+
"name": "ErrorIAccessSetLockedForNonexstentTarget",
|
140
183
|
"type": "error"
|
141
184
|
},
|
142
185
|
{
|
143
186
|
"inputs": [],
|
144
|
-
"name": "
|
187
|
+
"name": "ErrorIAccessTargetAddressZero",
|
145
188
|
"type": "error"
|
146
189
|
},
|
147
190
|
{
|
@@ -157,7 +200,7 @@
|
|
157
200
|
"type": "bytes32"
|
158
201
|
}
|
159
202
|
],
|
160
|
-
"name": "
|
203
|
+
"name": "ErrorIAccessTargetAlreadyExists",
|
161
204
|
"type": "error"
|
162
205
|
},
|
163
206
|
{
|
@@ -168,7 +211,7 @@
|
|
168
211
|
"type": "address"
|
169
212
|
}
|
170
213
|
],
|
171
|
-
"name": "
|
214
|
+
"name": "ErrorIAccessTargetLocked",
|
172
215
|
"type": "error"
|
173
216
|
},
|
174
217
|
{
|
@@ -179,7 +222,7 @@
|
|
179
222
|
"type": "address"
|
180
223
|
}
|
181
224
|
],
|
182
|
-
"name": "
|
225
|
+
"name": "ErrorIAccessTargetNameEmpty",
|
183
226
|
"type": "error"
|
184
227
|
},
|
185
228
|
{
|
@@ -200,7 +243,7 @@
|
|
200
243
|
"type": "bytes32"
|
201
244
|
}
|
202
245
|
],
|
203
|
-
"name": "
|
246
|
+
"name": "ErrorIAccessTargetNameExists",
|
204
247
|
"type": "error"
|
205
248
|
}
|
206
249
|
],
|