@etherisc/gif-next 0.0.2-979c9aa-391 → 0.0.2-984cc08-642
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → Component.sol/Component.json} +36 -7
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +38 -119
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{IBaseComponent.sol/IBaseComponent.json → IComponent.sol/IComponent.json} +36 -7
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +5 -5
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +38 -147
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +43 -135
- 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/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.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 +261 -26
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +171 -0
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +42 -13
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +56 -82
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +101 -111
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +11 -11
- 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 +116 -183
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +26 -90
- 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} +111 -37
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -13
- 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 +11 -0
- 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 +232 -61
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +20 -24
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +140 -60
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +17 -21
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +64 -13
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -13
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +120 -13
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +13 -13
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +13 -13
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +321 -86
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +51 -23
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +140 -60
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +17 -21
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +146 -66
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +17 -13
- 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 +132 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +102 -68
- 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 +145 -227
- 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 +37 -143
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +38 -104
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +530 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +14 -27
- 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/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +13 -13
- 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 +2 -2
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +13 -13
- 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 +2 -2
- 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 +31 -31
- 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/{BaseComponent.sol → Component.sol} +69 -40
- package/contracts/components/Distribution.sol +5 -14
- package/contracts/components/{IBaseComponent.sol → IComponent.sol} +12 -7
- package/contracts/components/IProductComponent.sol +2 -2
- package/contracts/components/Pool.sol +7 -20
- package/contracts/components/Product.sol +21 -18
- package/contracts/instance/BundleManager.sol +7 -11
- package/contracts/instance/IInstance.sol +4 -4
- package/contracts/instance/IInstanceBase.sol +3 -2
- package/contracts/instance/IInstanceService.sol +4 -2
- package/contracts/instance/Instance.sol +11 -28
- package/contracts/instance/InstanceAccessManager.sol +15 -16
- package/contracts/instance/InstanceBase.sol +0 -3
- package/contracts/instance/InstanceReader.sol +3 -25
- package/contracts/instance/InstanceService.sol +115 -47
- package/contracts/instance/InstanceServiceManager.sol +5 -8
- package/contracts/instance/ObjectManager.sol +7 -24
- package/contracts/instance/base/ComponentService.sol +133 -0
- package/contracts/instance/base/IInstanceBase.sol +0 -2
- package/contracts/instance/module/IAccess.sol +1 -1
- package/contracts/instance/service/BundleService.sol +41 -8
- package/contracts/instance/service/BundleServiceManager.sol +5 -8
- package/contracts/instance/service/DistributionService.sol +36 -39
- 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 +49 -31
- package/contracts/instance/service/PoolServiceManager.sol +5 -8
- package/contracts/instance/service/ProductService.sol +106 -38
- package/contracts/registry/ChainNft.sol +1 -1
- package/contracts/registry/IRegistry.sol +26 -16
- package/contracts/registry/IRegistryService.sol +17 -10
- package/contracts/registry/Registry.sol +149 -201
- package/contracts/registry/RegistryAccessManager.sol +210 -0
- package/contracts/registry/RegistryService.sol +55 -96
- package/contracts/registry/RegistryServiceManager.sol +18 -36
- package/contracts/registry/ReleaseManager.sol +342 -0
- package/contracts/registry/TokenRegistry.sol +5 -6
- package/contracts/shared/IRegisterable.sol +0 -2
- package/contracts/shared/IService.sol +2 -1
- package/contracts/shared/NftOwnable.sol +2 -0
- package/contracts/shared/ProxyManager.sol +1 -1
- package/contracts/shared/Service.sol +13 -8
- package/contracts/test/TestService.sol +3 -2
- package/contracts/types/RoleId.sol +4 -5
- 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/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- 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/instance/base/ComponentServiceBase.sol +0 -72
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -3,6 +3,71 @@
|
|
3
3
|
"contractName": "IInstance",
|
4
4
|
"sourceName": "contracts/instance/IInstance.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "registry",
|
49
|
+
"type": "address"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"internalType": "NftId",
|
53
|
+
"name": "nftId",
|
54
|
+
"type": "uint96"
|
55
|
+
}
|
56
|
+
],
|
57
|
+
"name": "ErrorAlreadyLinked",
|
58
|
+
"type": "error"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"inputs": [
|
62
|
+
{
|
63
|
+
"internalType": "address",
|
64
|
+
"name": "contractAddress",
|
65
|
+
"type": "address"
|
66
|
+
}
|
67
|
+
],
|
68
|
+
"name": "ErrorContractNotRegistered",
|
69
|
+
"type": "error"
|
70
|
+
},
|
6
71
|
{
|
7
72
|
"inputs": [
|
8
73
|
{
|
@@ -40,6 +105,62 @@
|
|
40
105
|
"name": "ErrorNoLifecycle",
|
41
106
|
"type": "error"
|
42
107
|
},
|
108
|
+
{
|
109
|
+
"inputs": [
|
110
|
+
{
|
111
|
+
"internalType": "address",
|
112
|
+
"name": "account",
|
113
|
+
"type": "address"
|
114
|
+
}
|
115
|
+
],
|
116
|
+
"name": "ErrorNotOwner",
|
117
|
+
"type": "error"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"inputs": [
|
121
|
+
{
|
122
|
+
"internalType": "address",
|
123
|
+
"name": "registryAddress",
|
124
|
+
"type": "address"
|
125
|
+
}
|
126
|
+
],
|
127
|
+
"name": "ErrorNotRegistry",
|
128
|
+
"type": "error"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"inputs": [],
|
132
|
+
"name": "ErrorRegistryAddressZero",
|
133
|
+
"type": "error"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"inputs": [
|
137
|
+
{
|
138
|
+
"internalType": "address",
|
139
|
+
"name": "registry",
|
140
|
+
"type": "address"
|
141
|
+
}
|
142
|
+
],
|
143
|
+
"name": "ErrorRegistryAlreadyInitialized",
|
144
|
+
"type": "error"
|
145
|
+
},
|
146
|
+
{
|
147
|
+
"inputs": [],
|
148
|
+
"name": "ErrorRegistryNotInitialized",
|
149
|
+
"type": "error"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"anonymous": false,
|
153
|
+
"inputs": [
|
154
|
+
{
|
155
|
+
"indexed": false,
|
156
|
+
"internalType": "address",
|
157
|
+
"name": "authority",
|
158
|
+
"type": "address"
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"name": "AuthorityUpdated",
|
162
|
+
"type": "event"
|
163
|
+
},
|
43
164
|
{
|
44
165
|
"anonymous": false,
|
45
166
|
"inputs": [
|
@@ -169,6 +290,19 @@
|
|
169
290
|
"name": "LogStateUpdated",
|
170
291
|
"type": "event"
|
171
292
|
},
|
293
|
+
{
|
294
|
+
"inputs": [],
|
295
|
+
"name": "authority",
|
296
|
+
"outputs": [
|
297
|
+
{
|
298
|
+
"internalType": "address",
|
299
|
+
"name": "",
|
300
|
+
"type": "address"
|
301
|
+
}
|
302
|
+
],
|
303
|
+
"stateMutability": "view",
|
304
|
+
"type": "function"
|
305
|
+
},
|
172
306
|
{
|
173
307
|
"inputs": [
|
174
308
|
{
|
@@ -789,19 +923,6 @@
|
|
789
923
|
"stateMutability": "view",
|
790
924
|
"type": "function"
|
791
925
|
},
|
792
|
-
{
|
793
|
-
"inputs": [],
|
794
|
-
"name": "getComponentOwnerService",
|
795
|
-
"outputs": [
|
796
|
-
{
|
797
|
-
"internalType": "contract IComponentOwnerService",
|
798
|
-
"name": "",
|
799
|
-
"type": "address"
|
800
|
-
}
|
801
|
-
],
|
802
|
-
"stateMutability": "view",
|
803
|
-
"type": "function"
|
804
|
-
},
|
805
926
|
{
|
806
927
|
"inputs": [
|
807
928
|
{
|
@@ -834,6 +955,61 @@
|
|
834
955
|
"stateMutability": "view",
|
835
956
|
"type": "function"
|
836
957
|
},
|
958
|
+
{
|
959
|
+
"inputs": [],
|
960
|
+
"name": "getInitialInfo",
|
961
|
+
"outputs": [
|
962
|
+
{
|
963
|
+
"components": [
|
964
|
+
{
|
965
|
+
"internalType": "NftId",
|
966
|
+
"name": "nftId",
|
967
|
+
"type": "uint96"
|
968
|
+
},
|
969
|
+
{
|
970
|
+
"internalType": "NftId",
|
971
|
+
"name": "parentNftId",
|
972
|
+
"type": "uint96"
|
973
|
+
},
|
974
|
+
{
|
975
|
+
"internalType": "ObjectType",
|
976
|
+
"name": "objectType",
|
977
|
+
"type": "uint8"
|
978
|
+
},
|
979
|
+
{
|
980
|
+
"internalType": "bool",
|
981
|
+
"name": "isInterceptor",
|
982
|
+
"type": "bool"
|
983
|
+
},
|
984
|
+
{
|
985
|
+
"internalType": "address",
|
986
|
+
"name": "objectAddress",
|
987
|
+
"type": "address"
|
988
|
+
},
|
989
|
+
{
|
990
|
+
"internalType": "address",
|
991
|
+
"name": "initialOwner",
|
992
|
+
"type": "address"
|
993
|
+
},
|
994
|
+
{
|
995
|
+
"internalType": "bytes",
|
996
|
+
"name": "data",
|
997
|
+
"type": "bytes"
|
998
|
+
}
|
999
|
+
],
|
1000
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
1001
|
+
"name": "",
|
1002
|
+
"type": "tuple"
|
1003
|
+
},
|
1004
|
+
{
|
1005
|
+
"internalType": "bytes",
|
1006
|
+
"name": "data",
|
1007
|
+
"type": "bytes"
|
1008
|
+
}
|
1009
|
+
],
|
1010
|
+
"stateMutability": "view",
|
1011
|
+
"type": "function"
|
1012
|
+
},
|
837
1013
|
{
|
838
1014
|
"inputs": [
|
839
1015
|
{
|
@@ -853,19 +1029,6 @@
|
|
853
1029
|
"stateMutability": "view",
|
854
1030
|
"type": "function"
|
855
1031
|
},
|
856
|
-
{
|
857
|
-
"inputs": [],
|
858
|
-
"name": "getInstanceAccessManager",
|
859
|
-
"outputs": [
|
860
|
-
{
|
861
|
-
"internalType": "contract InstanceAccessManager",
|
862
|
-
"name": "",
|
863
|
-
"type": "address"
|
864
|
-
}
|
865
|
-
],
|
866
|
-
"stateMutability": "view",
|
867
|
-
"type": "function"
|
868
|
-
},
|
869
1032
|
{
|
870
1033
|
"inputs": [],
|
871
1034
|
"name": "getInstanceReader",
|
@@ -925,6 +1088,32 @@
|
|
925
1088
|
"stateMutability": "view",
|
926
1089
|
"type": "function"
|
927
1090
|
},
|
1091
|
+
{
|
1092
|
+
"inputs": [],
|
1093
|
+
"name": "getNftId",
|
1094
|
+
"outputs": [
|
1095
|
+
{
|
1096
|
+
"internalType": "NftId",
|
1097
|
+
"name": "",
|
1098
|
+
"type": "uint96"
|
1099
|
+
}
|
1100
|
+
],
|
1101
|
+
"stateMutability": "view",
|
1102
|
+
"type": "function"
|
1103
|
+
},
|
1104
|
+
{
|
1105
|
+
"inputs": [],
|
1106
|
+
"name": "getOwner",
|
1107
|
+
"outputs": [
|
1108
|
+
{
|
1109
|
+
"internalType": "address",
|
1110
|
+
"name": "",
|
1111
|
+
"type": "address"
|
1112
|
+
}
|
1113
|
+
],
|
1114
|
+
"stateMutability": "view",
|
1115
|
+
"type": "function"
|
1116
|
+
},
|
928
1117
|
{
|
929
1118
|
"inputs": [],
|
930
1119
|
"name": "getPolicyService",
|
@@ -964,6 +1153,19 @@
|
|
964
1153
|
"stateMutability": "view",
|
965
1154
|
"type": "function"
|
966
1155
|
},
|
1156
|
+
{
|
1157
|
+
"inputs": [],
|
1158
|
+
"name": "getRegistry",
|
1159
|
+
"outputs": [
|
1160
|
+
{
|
1161
|
+
"internalType": "contract IRegistry",
|
1162
|
+
"name": "",
|
1163
|
+
"type": "address"
|
1164
|
+
}
|
1165
|
+
],
|
1166
|
+
"stateMutability": "view",
|
1167
|
+
"type": "function"
|
1168
|
+
},
|
967
1169
|
{
|
968
1170
|
"inputs": [
|
969
1171
|
{
|
@@ -1002,6 +1204,19 @@
|
|
1002
1204
|
"stateMutability": "view",
|
1003
1205
|
"type": "function"
|
1004
1206
|
},
|
1207
|
+
{
|
1208
|
+
"inputs": [],
|
1209
|
+
"name": "isConsumingScheduledOp",
|
1210
|
+
"outputs": [
|
1211
|
+
{
|
1212
|
+
"internalType": "bytes4",
|
1213
|
+
"name": "",
|
1214
|
+
"type": "bytes4"
|
1215
|
+
}
|
1216
|
+
],
|
1217
|
+
"stateMutability": "view",
|
1218
|
+
"type": "function"
|
1219
|
+
},
|
1005
1220
|
{
|
1006
1221
|
"inputs": [
|
1007
1222
|
{
|
@@ -1031,6 +1246,26 @@
|
|
1031
1246
|
"stateMutability": "view",
|
1032
1247
|
"type": "function"
|
1033
1248
|
},
|
1249
|
+
{
|
1250
|
+
"inputs": [],
|
1251
|
+
"name": "linkToRegisteredNftId",
|
1252
|
+
"outputs": [],
|
1253
|
+
"stateMutability": "nonpayable",
|
1254
|
+
"type": "function"
|
1255
|
+
},
|
1256
|
+
{
|
1257
|
+
"inputs": [
|
1258
|
+
{
|
1259
|
+
"internalType": "address",
|
1260
|
+
"name": "",
|
1261
|
+
"type": "address"
|
1262
|
+
}
|
1263
|
+
],
|
1264
|
+
"name": "setAuthority",
|
1265
|
+
"outputs": [],
|
1266
|
+
"stateMutability": "nonpayable",
|
1267
|
+
"type": "function"
|
1268
|
+
},
|
1034
1269
|
{
|
1035
1270
|
"inputs": [
|
1036
1271
|
{
|
@@ -3,6 +3,33 @@
|
|
3
3
|
"contractName": "IInstanceBase",
|
4
4
|
"sourceName": "contracts/instance/IInstanceBase.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "nftId",
|
16
|
+
"type": "uint96"
|
17
|
+
}
|
18
|
+
],
|
19
|
+
"name": "ErrorAlreadyLinked",
|
20
|
+
"type": "error"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"inputs": [
|
24
|
+
{
|
25
|
+
"internalType": "address",
|
26
|
+
"name": "contractAddress",
|
27
|
+
"type": "address"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "ErrorContractNotRegistered",
|
31
|
+
"type": "error"
|
32
|
+
},
|
6
33
|
{
|
7
34
|
"inputs": [
|
8
35
|
{
|
@@ -40,6 +67,49 @@
|
|
40
67
|
"name": "ErrorNoLifecycle",
|
41
68
|
"type": "error"
|
42
69
|
},
|
70
|
+
{
|
71
|
+
"inputs": [
|
72
|
+
{
|
73
|
+
"internalType": "address",
|
74
|
+
"name": "account",
|
75
|
+
"type": "address"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "ErrorNotOwner",
|
79
|
+
"type": "error"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "address",
|
85
|
+
"name": "registryAddress",
|
86
|
+
"type": "address"
|
87
|
+
}
|
88
|
+
],
|
89
|
+
"name": "ErrorNotRegistry",
|
90
|
+
"type": "error"
|
91
|
+
},
|
92
|
+
{
|
93
|
+
"inputs": [],
|
94
|
+
"name": "ErrorRegistryAddressZero",
|
95
|
+
"type": "error"
|
96
|
+
},
|
97
|
+
{
|
98
|
+
"inputs": [
|
99
|
+
{
|
100
|
+
"internalType": "address",
|
101
|
+
"name": "registry",
|
102
|
+
"type": "address"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"name": "ErrorRegistryAlreadyInitialized",
|
106
|
+
"type": "error"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"inputs": [],
|
110
|
+
"name": "ErrorRegistryNotInitialized",
|
111
|
+
"type": "error"
|
112
|
+
},
|
43
113
|
{
|
44
114
|
"anonymous": false,
|
45
115
|
"inputs": [
|
@@ -265,6 +335,61 @@
|
|
265
335
|
"stateMutability": "view",
|
266
336
|
"type": "function"
|
267
337
|
},
|
338
|
+
{
|
339
|
+
"inputs": [],
|
340
|
+
"name": "getInitialInfo",
|
341
|
+
"outputs": [
|
342
|
+
{
|
343
|
+
"components": [
|
344
|
+
{
|
345
|
+
"internalType": "NftId",
|
346
|
+
"name": "nftId",
|
347
|
+
"type": "uint96"
|
348
|
+
},
|
349
|
+
{
|
350
|
+
"internalType": "NftId",
|
351
|
+
"name": "parentNftId",
|
352
|
+
"type": "uint96"
|
353
|
+
},
|
354
|
+
{
|
355
|
+
"internalType": "ObjectType",
|
356
|
+
"name": "objectType",
|
357
|
+
"type": "uint8"
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"internalType": "bool",
|
361
|
+
"name": "isInterceptor",
|
362
|
+
"type": "bool"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"internalType": "address",
|
366
|
+
"name": "objectAddress",
|
367
|
+
"type": "address"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"internalType": "address",
|
371
|
+
"name": "initialOwner",
|
372
|
+
"type": "address"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"internalType": "bytes",
|
376
|
+
"name": "data",
|
377
|
+
"type": "bytes"
|
378
|
+
}
|
379
|
+
],
|
380
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
381
|
+
"name": "",
|
382
|
+
"type": "tuple"
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"internalType": "bytes",
|
386
|
+
"name": "data",
|
387
|
+
"type": "bytes"
|
388
|
+
}
|
389
|
+
],
|
390
|
+
"stateMutability": "view",
|
391
|
+
"type": "function"
|
392
|
+
},
|
268
393
|
{
|
269
394
|
"inputs": [
|
270
395
|
{
|
@@ -330,6 +455,45 @@
|
|
330
455
|
"stateMutability": "view",
|
331
456
|
"type": "function"
|
332
457
|
},
|
458
|
+
{
|
459
|
+
"inputs": [],
|
460
|
+
"name": "getNftId",
|
461
|
+
"outputs": [
|
462
|
+
{
|
463
|
+
"internalType": "NftId",
|
464
|
+
"name": "",
|
465
|
+
"type": "uint96"
|
466
|
+
}
|
467
|
+
],
|
468
|
+
"stateMutability": "view",
|
469
|
+
"type": "function"
|
470
|
+
},
|
471
|
+
{
|
472
|
+
"inputs": [],
|
473
|
+
"name": "getOwner",
|
474
|
+
"outputs": [
|
475
|
+
{
|
476
|
+
"internalType": "address",
|
477
|
+
"name": "",
|
478
|
+
"type": "address"
|
479
|
+
}
|
480
|
+
],
|
481
|
+
"stateMutability": "view",
|
482
|
+
"type": "function"
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"inputs": [],
|
486
|
+
"name": "getRegistry",
|
487
|
+
"outputs": [
|
488
|
+
{
|
489
|
+
"internalType": "contract IRegistry",
|
490
|
+
"name": "",
|
491
|
+
"type": "address"
|
492
|
+
}
|
493
|
+
],
|
494
|
+
"stateMutability": "view",
|
495
|
+
"type": "function"
|
496
|
+
},
|
333
497
|
{
|
334
498
|
"inputs": [
|
335
499
|
{
|
@@ -397,6 +561,13 @@
|
|
397
561
|
"stateMutability": "view",
|
398
562
|
"type": "function"
|
399
563
|
},
|
564
|
+
{
|
565
|
+
"inputs": [],
|
566
|
+
"name": "linkToRegisteredNftId",
|
567
|
+
"outputs": [],
|
568
|
+
"stateMutability": "nonpayable",
|
569
|
+
"type": "function"
|
570
|
+
},
|
400
571
|
{
|
401
572
|
"inputs": [
|
402
573
|
{
|
@@ -30,6 +30,17 @@
|
|
30
30
|
"name": "ErrorContractNotRegistered",
|
31
31
|
"type": "error"
|
32
32
|
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "componentAddress",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "ErrorInstanceServiceComponentNotRegistered",
|
42
|
+
"type": "error"
|
43
|
+
},
|
33
44
|
{
|
34
45
|
"inputs": [
|
35
46
|
{
|
@@ -189,6 +200,19 @@
|
|
189
200
|
"stateMutability": "nonpayable",
|
190
201
|
"type": "function"
|
191
202
|
},
|
203
|
+
{
|
204
|
+
"inputs": [],
|
205
|
+
"name": "getDomain",
|
206
|
+
"outputs": [
|
207
|
+
{
|
208
|
+
"internalType": "ObjectType",
|
209
|
+
"name": "serviceDomain",
|
210
|
+
"type": "uint8"
|
211
|
+
}
|
212
|
+
],
|
213
|
+
"stateMutability": "pure",
|
214
|
+
"type": "function"
|
215
|
+
},
|
192
216
|
{
|
193
217
|
"inputs": [],
|
194
218
|
"name": "getInitialInfo",
|
@@ -270,19 +294,6 @@
|
|
270
294
|
"stateMutability": "view",
|
271
295
|
"type": "function"
|
272
296
|
},
|
273
|
-
{
|
274
|
-
"inputs": [],
|
275
|
-
"name": "getName",
|
276
|
-
"outputs": [
|
277
|
-
{
|
278
|
-
"internalType": "string",
|
279
|
-
"name": "name",
|
280
|
-
"type": "string"
|
281
|
-
}
|
282
|
-
],
|
283
|
-
"stateMutability": "pure",
|
284
|
-
"type": "function"
|
285
|
-
},
|
286
297
|
{
|
287
298
|
"inputs": [],
|
288
299
|
"name": "getNftId",
|
@@ -491,6 +502,24 @@
|
|
491
502
|
"stateMutability": "nonpayable",
|
492
503
|
"type": "function"
|
493
504
|
},
|
505
|
+
{
|
506
|
+
"inputs": [
|
507
|
+
{
|
508
|
+
"internalType": "string",
|
509
|
+
"name": "targetName",
|
510
|
+
"type": "string"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"internalType": "bool",
|
514
|
+
"name": "locked",
|
515
|
+
"type": "bool"
|
516
|
+
}
|
517
|
+
],
|
518
|
+
"name": "setTargetLocked",
|
519
|
+
"outputs": [],
|
520
|
+
"stateMutability": "nonpayable",
|
521
|
+
"type": "function"
|
522
|
+
},
|
494
523
|
{
|
495
524
|
"inputs": [
|
496
525
|
{
|