@etherisc/gif-next 0.0.2-2a0a7d0-893 → 0.0.2-2a59cd5-352
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/README.md +73 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
- package/artifacts/contracts/components/Component.sol/Component.json +405 -6
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +883 -141
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IComponent.sol/IComponent.json +113 -6
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +798 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +662 -43
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +656 -0
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +583 -75
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +504 -5
- 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/Dummy.sol/LifeCycleModule.json +2 -2
- 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 +2 -2
- 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 +450 -35
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +111 -7
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +589 -223
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +39 -89
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +58 -53
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +400 -96
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +175 -25
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +2 -2
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +166 -7
- 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/KeyValueStore.sol/KeyValueStore.json +2 -2
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +13 -13
- 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/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1117 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +290 -66
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +169 -19
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +439 -27
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +194 -16
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +638 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +118 -40
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +217 -7
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +33 -20
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +20 -7
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +20 -7
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +223 -64
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +182 -32
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +186 -27
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +166 -16
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +186 -27
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +166 -16
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +15 -2
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +100 -26
- 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 +28 -15
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +260 -40
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +166 -16
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +11 -11
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +160 -10
- 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/ERC165.sol/ERC165.json +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +37 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +18 -5
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +69 -0
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +20 -7
- 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 +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +156 -11
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +269 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +156 -6
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +152 -11
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +105 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +166 -7
- 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/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -2
- 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 +152 -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 +184 -25
- 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/TestVersionable.sol/TestVersionable.json +8 -8
- 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/DistributorType.sol/DistributorTypeLib.json +2 -2
- 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/Key32.sol/Key32Lib.json +2 -2
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- 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/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- 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 +121 -62
- package/contracts/components/Distribution.sol +207 -53
- package/contracts/components/IComponent.sol +16 -3
- package/contracts/components/IDistributionComponent.sol +59 -3
- package/contracts/components/IPoolComponent.sol +50 -29
- package/contracts/components/IProductComponent.sol +5 -1
- package/contracts/components/Pool.sol +133 -137
- package/contracts/components/Product.sol +90 -107
- package/contracts/instance/IInstance.sol +26 -6
- package/contracts/instance/IInstanceService.sol +19 -0
- package/contracts/instance/Instance.sol +58 -30
- package/contracts/instance/InstanceAccessManager.sol +12 -13
- package/contracts/instance/InstanceService.sol +119 -39
- package/contracts/instance/base/ComponentService.sol +3 -2
- package/contracts/instance/module/IAccess.sol +3 -4
- package/contracts/instance/module/ISetup.sol +5 -4
- package/contracts/instance/service/ApplicationService.sol +268 -0
- package/contracts/instance/service/BundleService.sol +11 -6
- package/contracts/instance/service/DistributionService.sol +197 -30
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +11 -1
- package/contracts/instance/service/IDistributionService.sol +53 -0
- package/contracts/instance/service/IPolicyService.sol +10 -16
- package/contracts/instance/service/PolicyService.sol +84 -98
- package/contracts/instance/service/PoolService.sol +9 -42
- package/contracts/instance/service/ProductService.sol +20 -28
- package/contracts/registry/IRegistry.sol +3 -2
- package/contracts/registry/IRegistryService.sol +16 -6
- package/contracts/registry/Registry.sol +20 -8
- package/contracts/registry/RegistryService.sol +50 -85
- package/contracts/registry/ReleaseManager.sol +19 -40
- package/contracts/registry/TokenRegistry.sol +4 -3
- package/contracts/shared/ERC165.sol +12 -11
- package/contracts/shared/INftOwnable.sol +12 -6
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -4
- package/contracts/shared/IRegistryLinked.sol +15 -0
- package/contracts/shared/IVersionable.sol +2 -2
- package/contracts/shared/NftOwnable.sol +113 -59
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +5 -4
- package/contracts/shared/Registerable.sol +15 -24
- package/contracts/shared/RegistryLinked.sol +64 -0
- package/contracts/shared/Service.sol +5 -5
- package/contracts/shared/Versionable.sol +3 -2
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +1 -1
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/ObjectType.sol +6 -2
- package/package.json +3 -3
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -100
- package/contracts/instance/base/IInstanceBase.sol +0 -21
|
@@ -3,6 +3,44 @@
|
|
|
3
3
|
"contractName": "Product",
|
|
4
4
|
"sourceName": "contracts/components/Product.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
|
+
},
|
|
6
44
|
{
|
|
7
45
|
"inputs": [
|
|
8
46
|
{
|
|
@@ -41,6 +79,33 @@
|
|
|
41
79
|
"name": "ErrorAlreadyLinked",
|
|
42
80
|
"type": "error"
|
|
43
81
|
},
|
|
82
|
+
{
|
|
83
|
+
"inputs": [
|
|
84
|
+
{
|
|
85
|
+
"internalType": "address",
|
|
86
|
+
"name": "caller",
|
|
87
|
+
"type": "address"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"name": "ErrorComponentNotChainNft",
|
|
91
|
+
"type": "error"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"inputs": [
|
|
95
|
+
{
|
|
96
|
+
"internalType": "NftId",
|
|
97
|
+
"name": "instanceNftId",
|
|
98
|
+
"type": "uint96"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"internalType": "address",
|
|
102
|
+
"name": "instance",
|
|
103
|
+
"type": "address"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"name": "ErrorComponentNotInstance",
|
|
107
|
+
"type": "error"
|
|
108
|
+
},
|
|
44
109
|
{
|
|
45
110
|
"inputs": [
|
|
46
111
|
{
|
|
@@ -84,6 +149,11 @@
|
|
|
84
149
|
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
|
85
150
|
"type": "error"
|
|
86
151
|
},
|
|
152
|
+
{
|
|
153
|
+
"inputs": [],
|
|
154
|
+
"name": "ErrorComponentWalletAddressZero",
|
|
155
|
+
"type": "error"
|
|
156
|
+
},
|
|
87
157
|
{
|
|
88
158
|
"inputs": [
|
|
89
159
|
{
|
|
@@ -121,6 +191,11 @@
|
|
|
121
191
|
"name": "ErrorContractNotRegistered",
|
|
122
192
|
"type": "error"
|
|
123
193
|
},
|
|
194
|
+
{
|
|
195
|
+
"inputs": [],
|
|
196
|
+
"name": "ErrorInitialOwnerZero",
|
|
197
|
+
"type": "error"
|
|
198
|
+
},
|
|
124
199
|
{
|
|
125
200
|
"inputs": [
|
|
126
201
|
{
|
|
@@ -201,6 +276,19 @@
|
|
|
201
276
|
"name": "SafeERC20FailedOperation",
|
|
202
277
|
"type": "error"
|
|
203
278
|
},
|
|
279
|
+
{
|
|
280
|
+
"anonymous": false,
|
|
281
|
+
"inputs": [
|
|
282
|
+
{
|
|
283
|
+
"indexed": false,
|
|
284
|
+
"internalType": "address",
|
|
285
|
+
"name": "authority",
|
|
286
|
+
"type": "address"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"name": "AuthorityUpdated",
|
|
290
|
+
"type": "event"
|
|
291
|
+
},
|
|
204
292
|
{
|
|
205
293
|
"anonymous": false,
|
|
206
294
|
"inputs": [
|
|
@@ -252,6 +340,45 @@
|
|
|
252
340
|
"name": "LogComponentWalletTokensTransferred",
|
|
253
341
|
"type": "event"
|
|
254
342
|
},
|
|
343
|
+
{
|
|
344
|
+
"inputs": [],
|
|
345
|
+
"name": "CONTRACT_LOCATION_V1",
|
|
346
|
+
"outputs": [
|
|
347
|
+
{
|
|
348
|
+
"internalType": "bytes32",
|
|
349
|
+
"name": "",
|
|
350
|
+
"type": "bytes32"
|
|
351
|
+
}
|
|
352
|
+
],
|
|
353
|
+
"stateMutability": "view",
|
|
354
|
+
"type": "function"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"inputs": [],
|
|
358
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
|
359
|
+
"outputs": [
|
|
360
|
+
{
|
|
361
|
+
"internalType": "bytes32",
|
|
362
|
+
"name": "",
|
|
363
|
+
"type": "bytes32"
|
|
364
|
+
}
|
|
365
|
+
],
|
|
366
|
+
"stateMutability": "view",
|
|
367
|
+
"type": "function"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"inputs": [],
|
|
371
|
+
"name": "PRODUCT_STORAGE_LOCATION_V1",
|
|
372
|
+
"outputs": [
|
|
373
|
+
{
|
|
374
|
+
"internalType": "bytes32",
|
|
375
|
+
"name": "",
|
|
376
|
+
"type": "bytes32"
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
"stateMutability": "view",
|
|
380
|
+
"type": "function"
|
|
381
|
+
},
|
|
255
382
|
{
|
|
256
383
|
"inputs": [],
|
|
257
384
|
"name": "REGISTERABLE_LOCATION_V1",
|
|
@@ -265,6 +392,19 @@
|
|
|
265
392
|
"stateMutability": "view",
|
|
266
393
|
"type": "function"
|
|
267
394
|
},
|
|
395
|
+
{
|
|
396
|
+
"inputs": [],
|
|
397
|
+
"name": "authority",
|
|
398
|
+
"outputs": [
|
|
399
|
+
{
|
|
400
|
+
"internalType": "address",
|
|
401
|
+
"name": "",
|
|
402
|
+
"type": "address"
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"stateMutability": "view",
|
|
406
|
+
"type": "function"
|
|
407
|
+
},
|
|
268
408
|
{
|
|
269
409
|
"inputs": [
|
|
270
410
|
{
|
|
@@ -399,13 +539,21 @@
|
|
|
399
539
|
}
|
|
400
540
|
],
|
|
401
541
|
"internalType": "struct IRegistry.ObjectInfo",
|
|
402
|
-
"name": "",
|
|
542
|
+
"name": "info",
|
|
403
543
|
"type": "tuple"
|
|
404
|
-
}
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"stateMutability": "view",
|
|
547
|
+
"type": "function"
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
"inputs": [],
|
|
551
|
+
"name": "getInitialOwner",
|
|
552
|
+
"outputs": [
|
|
405
553
|
{
|
|
406
|
-
"internalType": "
|
|
554
|
+
"internalType": "address",
|
|
407
555
|
"name": "",
|
|
408
|
-
"type": "
|
|
556
|
+
"type": "address"
|
|
409
557
|
}
|
|
410
558
|
],
|
|
411
559
|
"stateMutability": "view",
|
|
@@ -424,6 +572,32 @@
|
|
|
424
572
|
"stateMutability": "view",
|
|
425
573
|
"type": "function"
|
|
426
574
|
},
|
|
575
|
+
{
|
|
576
|
+
"inputs": [],
|
|
577
|
+
"name": "getInstanceReader",
|
|
578
|
+
"outputs": [
|
|
579
|
+
{
|
|
580
|
+
"internalType": "contract InstanceReader",
|
|
581
|
+
"name": "reader",
|
|
582
|
+
"type": "address"
|
|
583
|
+
}
|
|
584
|
+
],
|
|
585
|
+
"stateMutability": "view",
|
|
586
|
+
"type": "function"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"inputs": [],
|
|
590
|
+
"name": "getInstanceService",
|
|
591
|
+
"outputs": [
|
|
592
|
+
{
|
|
593
|
+
"internalType": "contract IInstanceService",
|
|
594
|
+
"name": "",
|
|
595
|
+
"type": "address"
|
|
596
|
+
}
|
|
597
|
+
],
|
|
598
|
+
"stateMutability": "view",
|
|
599
|
+
"type": "function"
|
|
600
|
+
},
|
|
427
601
|
{
|
|
428
602
|
"inputs": [],
|
|
429
603
|
"name": "getName",
|
|
@@ -434,7 +608,7 @@
|
|
|
434
608
|
"type": "string"
|
|
435
609
|
}
|
|
436
610
|
],
|
|
437
|
-
"stateMutability": "
|
|
611
|
+
"stateMutability": "view",
|
|
438
612
|
"type": "function"
|
|
439
613
|
},
|
|
440
614
|
{
|
|
@@ -489,6 +663,19 @@
|
|
|
489
663
|
"stateMutability": "view",
|
|
490
664
|
"type": "function"
|
|
491
665
|
},
|
|
666
|
+
{
|
|
667
|
+
"inputs": [],
|
|
668
|
+
"name": "getProductService",
|
|
669
|
+
"outputs": [
|
|
670
|
+
{
|
|
671
|
+
"internalType": "contract IProductService",
|
|
672
|
+
"name": "",
|
|
673
|
+
"type": "address"
|
|
674
|
+
}
|
|
675
|
+
],
|
|
676
|
+
"stateMutability": "view",
|
|
677
|
+
"type": "function"
|
|
678
|
+
},
|
|
492
679
|
{
|
|
493
680
|
"inputs": [],
|
|
494
681
|
"name": "getRegistry",
|
|
@@ -502,6 +689,19 @@
|
|
|
502
689
|
"stateMutability": "view",
|
|
503
690
|
"type": "function"
|
|
504
691
|
},
|
|
692
|
+
{
|
|
693
|
+
"inputs": [],
|
|
694
|
+
"name": "getRegistryAddress",
|
|
695
|
+
"outputs": [
|
|
696
|
+
{
|
|
697
|
+
"internalType": "address",
|
|
698
|
+
"name": "",
|
|
699
|
+
"type": "address"
|
|
700
|
+
}
|
|
701
|
+
],
|
|
702
|
+
"stateMutability": "view",
|
|
703
|
+
"type": "function"
|
|
704
|
+
},
|
|
505
705
|
{
|
|
506
706
|
"inputs": [],
|
|
507
707
|
"name": "getSetupInfo",
|
|
@@ -675,6 +875,256 @@
|
|
|
675
875
|
"stateMutability": "view",
|
|
676
876
|
"type": "function"
|
|
677
877
|
},
|
|
878
|
+
{
|
|
879
|
+
"inputs": [
|
|
880
|
+
{
|
|
881
|
+
"internalType": "address",
|
|
882
|
+
"name": "registry",
|
|
883
|
+
"type": "address"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"internalType": "NftId",
|
|
887
|
+
"name": "instanceNftId",
|
|
888
|
+
"type": "uint96"
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"internalType": "string",
|
|
892
|
+
"name": "name",
|
|
893
|
+
"type": "string"
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"internalType": "address",
|
|
897
|
+
"name": "token",
|
|
898
|
+
"type": "address"
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"internalType": "ObjectType",
|
|
902
|
+
"name": "componentType",
|
|
903
|
+
"type": "uint8"
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"internalType": "bool",
|
|
907
|
+
"name": "isInterceptor",
|
|
908
|
+
"type": "bool"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"internalType": "address",
|
|
912
|
+
"name": "initialOwner",
|
|
913
|
+
"type": "address"
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"internalType": "bytes",
|
|
917
|
+
"name": "data",
|
|
918
|
+
"type": "bytes"
|
|
919
|
+
}
|
|
920
|
+
],
|
|
921
|
+
"name": "initializeComponent",
|
|
922
|
+
"outputs": [],
|
|
923
|
+
"stateMutability": "nonpayable",
|
|
924
|
+
"type": "function"
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"inputs": [],
|
|
928
|
+
"name": "initializeERC165",
|
|
929
|
+
"outputs": [],
|
|
930
|
+
"stateMutability": "nonpayable",
|
|
931
|
+
"type": "function"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
"inputs": [
|
|
935
|
+
{
|
|
936
|
+
"internalType": "address",
|
|
937
|
+
"name": "initialOwner",
|
|
938
|
+
"type": "address"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"internalType": "address",
|
|
942
|
+
"name": "registryAddress",
|
|
943
|
+
"type": "address"
|
|
944
|
+
}
|
|
945
|
+
],
|
|
946
|
+
"name": "initializeNftOwnable",
|
|
947
|
+
"outputs": [],
|
|
948
|
+
"stateMutability": "nonpayable",
|
|
949
|
+
"type": "function"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"inputs": [
|
|
953
|
+
{
|
|
954
|
+
"internalType": "address",
|
|
955
|
+
"name": "initialOwner",
|
|
956
|
+
"type": "address"
|
|
957
|
+
}
|
|
958
|
+
],
|
|
959
|
+
"name": "initializeOwner",
|
|
960
|
+
"outputs": [],
|
|
961
|
+
"stateMutability": "nonpayable",
|
|
962
|
+
"type": "function"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"inputs": [
|
|
966
|
+
{
|
|
967
|
+
"internalType": "address",
|
|
968
|
+
"name": "registry",
|
|
969
|
+
"type": "address"
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"internalType": "NftId",
|
|
973
|
+
"name": "instanceNftId",
|
|
974
|
+
"type": "uint96"
|
|
975
|
+
},
|
|
976
|
+
{
|
|
977
|
+
"internalType": "string",
|
|
978
|
+
"name": "name",
|
|
979
|
+
"type": "string"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"internalType": "address",
|
|
983
|
+
"name": "token",
|
|
984
|
+
"type": "address"
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"internalType": "bool",
|
|
988
|
+
"name": "isInterceptor",
|
|
989
|
+
"type": "bool"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"internalType": "address",
|
|
993
|
+
"name": "pool",
|
|
994
|
+
"type": "address"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"internalType": "address",
|
|
998
|
+
"name": "distribution",
|
|
999
|
+
"type": "address"
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"components": [
|
|
1003
|
+
{
|
|
1004
|
+
"internalType": "UFixed",
|
|
1005
|
+
"name": "fractionalFee",
|
|
1006
|
+
"type": "uint256"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"internalType": "uint256",
|
|
1010
|
+
"name": "fixedFee",
|
|
1011
|
+
"type": "uint256"
|
|
1012
|
+
}
|
|
1013
|
+
],
|
|
1014
|
+
"internalType": "struct Fee",
|
|
1015
|
+
"name": "productFee",
|
|
1016
|
+
"type": "tuple"
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"components": [
|
|
1020
|
+
{
|
|
1021
|
+
"internalType": "UFixed",
|
|
1022
|
+
"name": "fractionalFee",
|
|
1023
|
+
"type": "uint256"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"internalType": "uint256",
|
|
1027
|
+
"name": "fixedFee",
|
|
1028
|
+
"type": "uint256"
|
|
1029
|
+
}
|
|
1030
|
+
],
|
|
1031
|
+
"internalType": "struct Fee",
|
|
1032
|
+
"name": "processingFee",
|
|
1033
|
+
"type": "tuple"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"internalType": "address",
|
|
1037
|
+
"name": "initialOwner",
|
|
1038
|
+
"type": "address"
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"internalType": "bytes",
|
|
1042
|
+
"name": "data",
|
|
1043
|
+
"type": "bytes"
|
|
1044
|
+
}
|
|
1045
|
+
],
|
|
1046
|
+
"name": "initializeProduct",
|
|
1047
|
+
"outputs": [],
|
|
1048
|
+
"stateMutability": "nonpayable",
|
|
1049
|
+
"type": "function"
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"inputs": [
|
|
1053
|
+
{
|
|
1054
|
+
"internalType": "address",
|
|
1055
|
+
"name": "registryAddress",
|
|
1056
|
+
"type": "address"
|
|
1057
|
+
},
|
|
1058
|
+
{
|
|
1059
|
+
"internalType": "NftId",
|
|
1060
|
+
"name": "parentNftId",
|
|
1061
|
+
"type": "uint96"
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"internalType": "ObjectType",
|
|
1065
|
+
"name": "objectType",
|
|
1066
|
+
"type": "uint8"
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"internalType": "bool",
|
|
1070
|
+
"name": "isInterceptor",
|
|
1071
|
+
"type": "bool"
|
|
1072
|
+
},
|
|
1073
|
+
{
|
|
1074
|
+
"internalType": "address",
|
|
1075
|
+
"name": "initialOwner",
|
|
1076
|
+
"type": "address"
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"internalType": "bytes",
|
|
1080
|
+
"name": "data",
|
|
1081
|
+
"type": "bytes"
|
|
1082
|
+
}
|
|
1083
|
+
],
|
|
1084
|
+
"name": "initializeRegisterable",
|
|
1085
|
+
"outputs": [],
|
|
1086
|
+
"stateMutability": "nonpayable",
|
|
1087
|
+
"type": "function"
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
"inputs": [
|
|
1091
|
+
{
|
|
1092
|
+
"internalType": "address",
|
|
1093
|
+
"name": "registryAddress",
|
|
1094
|
+
"type": "address"
|
|
1095
|
+
}
|
|
1096
|
+
],
|
|
1097
|
+
"name": "initializeRegistryLinked",
|
|
1098
|
+
"outputs": [],
|
|
1099
|
+
"stateMutability": "nonpayable",
|
|
1100
|
+
"type": "function"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"inputs": [],
|
|
1104
|
+
"name": "isConsumingScheduledOp",
|
|
1105
|
+
"outputs": [
|
|
1106
|
+
{
|
|
1107
|
+
"internalType": "bytes4",
|
|
1108
|
+
"name": "",
|
|
1109
|
+
"type": "bytes4"
|
|
1110
|
+
}
|
|
1111
|
+
],
|
|
1112
|
+
"stateMutability": "view",
|
|
1113
|
+
"type": "function"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"inputs": [],
|
|
1117
|
+
"name": "isNftInterceptor",
|
|
1118
|
+
"outputs": [
|
|
1119
|
+
{
|
|
1120
|
+
"internalType": "bool",
|
|
1121
|
+
"name": "isInterceptor",
|
|
1122
|
+
"type": "bool"
|
|
1123
|
+
}
|
|
1124
|
+
],
|
|
1125
|
+
"stateMutability": "view",
|
|
1126
|
+
"type": "function"
|
|
1127
|
+
},
|
|
678
1128
|
{
|
|
679
1129
|
"inputs": [],
|
|
680
1130
|
"name": "linkToRegisteredNftId",
|
|
@@ -689,6 +1139,55 @@
|
|
|
689
1139
|
"stateMutability": "nonpayable",
|
|
690
1140
|
"type": "function"
|
|
691
1141
|
},
|
|
1142
|
+
{
|
|
1143
|
+
"inputs": [
|
|
1144
|
+
{
|
|
1145
|
+
"internalType": "address",
|
|
1146
|
+
"name": "from",
|
|
1147
|
+
"type": "address"
|
|
1148
|
+
},
|
|
1149
|
+
{
|
|
1150
|
+
"internalType": "address",
|
|
1151
|
+
"name": "to",
|
|
1152
|
+
"type": "address"
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
"internalType": "uint256",
|
|
1156
|
+
"name": "tokenId",
|
|
1157
|
+
"type": "uint256"
|
|
1158
|
+
}
|
|
1159
|
+
],
|
|
1160
|
+
"name": "nftTransferFrom",
|
|
1161
|
+
"outputs": [],
|
|
1162
|
+
"stateMutability": "nonpayable",
|
|
1163
|
+
"type": "function"
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"inputs": [
|
|
1167
|
+
{
|
|
1168
|
+
"internalType": "bytes4",
|
|
1169
|
+
"name": "interfaceId",
|
|
1170
|
+
"type": "bytes4"
|
|
1171
|
+
}
|
|
1172
|
+
],
|
|
1173
|
+
"name": "registerInterface",
|
|
1174
|
+
"outputs": [],
|
|
1175
|
+
"stateMutability": "nonpayable",
|
|
1176
|
+
"type": "function"
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"inputs": [
|
|
1180
|
+
{
|
|
1181
|
+
"internalType": "address",
|
|
1182
|
+
"name": "newAuthority",
|
|
1183
|
+
"type": "address"
|
|
1184
|
+
}
|
|
1185
|
+
],
|
|
1186
|
+
"name": "setAuthority",
|
|
1187
|
+
"outputs": [],
|
|
1188
|
+
"stateMutability": "nonpayable",
|
|
1189
|
+
"type": "function"
|
|
1190
|
+
},
|
|
692
1191
|
{
|
|
693
1192
|
"inputs": [
|
|
694
1193
|
{
|