@etherisc/gif-next 0.0.2-de0a1d3-009 → 0.0.2-e37834a-021
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +40 -25
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +80 -41
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +101 -61
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +43 -40
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -163
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +6 -185
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -163
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +150 -126
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +110 -52
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +198 -74
- package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +285 -178
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +59 -53
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +1 -1
- package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/instance/base/IService.sol/IService.json +45 -42
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +62 -69
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +55 -62
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
- package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +2 -2
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -9
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -8
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +2 -2
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +138 -11
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +138 -11
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +165 -93
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +87 -68
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +45 -61
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +45 -42
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +45 -42
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +45 -42
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +89 -70
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +117 -98
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +293 -40
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +668 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +483 -120
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +885 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +460 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +43 -40
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +132 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +344 -0
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +76 -37
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
- package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/shared/Versionable.sol/Versionable.json +4 -27
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +1 -1
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +101 -61
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +150 -126
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +115 -58
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +93 -39
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +81 -75
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +15 -38
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/BaseComponent.sol +12 -27
- package/contracts/components/Distribution.sol +29 -6
- package/contracts/components/IBaseComponent.sol +2 -2
- package/contracts/components/IDistributionComponent.sol +1 -2
- package/contracts/components/IPoolComponent.sol +3 -10
- package/contracts/components/IProductComponent.sol +2 -3
- package/contracts/components/Pool.sol +84 -73
- package/contracts/components/Product.sol +85 -13
- package/contracts/instance/IInstance.sol +4 -3
- package/contracts/instance/Instance.sol +14 -3
- package/contracts/instance/base/ComponentServiceBase.sol +13 -6
- package/contracts/instance/base/IInstanceBase.sol +3 -2
- package/contracts/instance/base/InstanceBase.sol +6 -8
- package/contracts/instance/base/ServiceBase.sol +19 -13
- package/contracts/instance/module/component/ComponentModule.sol +5 -4
- package/contracts/instance/module/component/IComponent.sol +2 -2
- package/contracts/instance/module/pool/IPoolModule.sol +4 -3
- package/contracts/instance/module/pool/PoolModule.sol +12 -7
- package/contracts/instance/module/treasury/ITreasury.sol +7 -5
- package/contracts/instance/module/treasury/TokenHandler.sol +2 -2
- package/contracts/instance/module/treasury/TreasuryModule.sol +21 -28
- package/contracts/instance/service/ComponentOwnerService.sol +181 -66
- package/contracts/instance/service/DistributionService.sol +6 -11
- package/contracts/instance/service/IComponentOwnerService.sol +0 -2
- package/contracts/instance/service/PoolService.sol +19 -19
- package/contracts/instance/service/ProductService.sol +25 -24
- package/contracts/registry/ChainNft.sol +43 -15
- package/contracts/registry/IChainNft.sol +3 -2
- package/contracts/registry/IRegistry.sol +44 -28
- package/contracts/registry/IRegistryService.sol +29 -0
- package/contracts/registry/ITransferInterceptor.sol +6 -0
- package/contracts/registry/Registry.sol +382 -273
- package/contracts/registry/RegistryService.sol +375 -0
- package/contracts/registry/RegistryServiceManager.sol +52 -0
- package/contracts/shared/ContractDeployerLib.sol +72 -0
- package/contracts/shared/ERC165.sol +1 -1
- package/contracts/shared/IRegisterable.sol +7 -9
- package/contracts/shared/IVersionable.sol +40 -9
- package/contracts/shared/NftOwnable.sol +87 -0
- package/contracts/shared/ProxyManager.sol +103 -0
- package/contracts/shared/Registerable.sol +74 -43
- package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
- package/contracts/shared/Versionable.sol +108 -60
- package/contracts/test/TestDistribution.sol +3 -2
- package/contracts/test/TestPool.sol +4 -2
- package/contracts/test/TestProduct.sol +4 -2
- package/contracts/test/TestRegisterable.sol +5 -6
- package/contracts/test/TestService.sol +5 -11
- package/contracts/types/Version.sol +1 -0
- package/package.json +1 -1
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
- package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
- package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +0 -4
- package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +0 -724
- package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +0 -4
- package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +0 -248
- package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
- package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +0 -4
- package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +0 -228
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/registry/RegistryUpgradeable.sol +0 -473
- package/contracts/shared/Proxy.sol +0 -94
- package/contracts/shared/VersionableUpgradeable.sol +0 -133
@@ -0,0 +1,668 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "IRegistryService",
|
4
|
+
"sourceName": "contracts/registry/IRegistryService.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"anonymous": false,
|
8
|
+
"inputs": [
|
9
|
+
{
|
10
|
+
"indexed": false,
|
11
|
+
"internalType": "Version",
|
12
|
+
"name": "version",
|
13
|
+
"type": "uint24"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"indexed": false,
|
17
|
+
"internalType": "address",
|
18
|
+
"name": "implementation",
|
19
|
+
"type": "address"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"indexed": false,
|
23
|
+
"internalType": "address",
|
24
|
+
"name": "activatedBy",
|
25
|
+
"type": "address"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"name": "LogVersionableInitialized",
|
29
|
+
"type": "event"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"inputs": [],
|
33
|
+
"name": "getInitialInfo",
|
34
|
+
"outputs": [
|
35
|
+
{
|
36
|
+
"components": [
|
37
|
+
{
|
38
|
+
"internalType": "NftId",
|
39
|
+
"name": "nftId",
|
40
|
+
"type": "uint96"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"internalType": "NftId",
|
44
|
+
"name": "parentNftId",
|
45
|
+
"type": "uint96"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"internalType": "ObjectType",
|
49
|
+
"name": "objectType",
|
50
|
+
"type": "uint8"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"internalType": "bool",
|
54
|
+
"name": "isInterceptor",
|
55
|
+
"type": "bool"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "objectAddress",
|
60
|
+
"type": "address"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"internalType": "address",
|
64
|
+
"name": "initialOwner",
|
65
|
+
"type": "address"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"internalType": "bytes",
|
69
|
+
"name": "data",
|
70
|
+
"type": "bytes"
|
71
|
+
}
|
72
|
+
],
|
73
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
74
|
+
"name": "",
|
75
|
+
"type": "tuple"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"internalType": "bytes",
|
79
|
+
"name": "data",
|
80
|
+
"type": "bytes"
|
81
|
+
}
|
82
|
+
],
|
83
|
+
"stateMutability": "view",
|
84
|
+
"type": "function"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"inputs": [],
|
88
|
+
"name": "getInitializedVersion",
|
89
|
+
"outputs": [
|
90
|
+
{
|
91
|
+
"internalType": "uint64",
|
92
|
+
"name": "",
|
93
|
+
"type": "uint64"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"stateMutability": "view",
|
97
|
+
"type": "function"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [],
|
101
|
+
"name": "getMajorVersion",
|
102
|
+
"outputs": [
|
103
|
+
{
|
104
|
+
"internalType": "VersionPart",
|
105
|
+
"name": "majorVersion",
|
106
|
+
"type": "uint8"
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"stateMutability": "view",
|
110
|
+
"type": "function"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"inputs": [],
|
114
|
+
"name": "getName",
|
115
|
+
"outputs": [
|
116
|
+
{
|
117
|
+
"internalType": "string",
|
118
|
+
"name": "name",
|
119
|
+
"type": "string"
|
120
|
+
}
|
121
|
+
],
|
122
|
+
"stateMutability": "pure",
|
123
|
+
"type": "function"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"inputs": [],
|
127
|
+
"name": "getNftId",
|
128
|
+
"outputs": [
|
129
|
+
{
|
130
|
+
"internalType": "NftId",
|
131
|
+
"name": "nftId",
|
132
|
+
"type": "uint96"
|
133
|
+
}
|
134
|
+
],
|
135
|
+
"stateMutability": "view",
|
136
|
+
"type": "function"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"inputs": [],
|
140
|
+
"name": "getOwner",
|
141
|
+
"outputs": [
|
142
|
+
{
|
143
|
+
"internalType": "address",
|
144
|
+
"name": "owner",
|
145
|
+
"type": "address"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"stateMutability": "view",
|
149
|
+
"type": "function"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"inputs": [],
|
153
|
+
"name": "getRegistry",
|
154
|
+
"outputs": [
|
155
|
+
{
|
156
|
+
"internalType": "contract IRegistry",
|
157
|
+
"name": "registry",
|
158
|
+
"type": "address"
|
159
|
+
}
|
160
|
+
],
|
161
|
+
"stateMutability": "view",
|
162
|
+
"type": "function"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"inputs": [],
|
166
|
+
"name": "getVersion",
|
167
|
+
"outputs": [
|
168
|
+
{
|
169
|
+
"internalType": "Version",
|
170
|
+
"name": "",
|
171
|
+
"type": "uint24"
|
172
|
+
}
|
173
|
+
],
|
174
|
+
"stateMutability": "pure",
|
175
|
+
"type": "function"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"inputs": [
|
179
|
+
{
|
180
|
+
"internalType": "uint256",
|
181
|
+
"name": "index",
|
182
|
+
"type": "uint256"
|
183
|
+
}
|
184
|
+
],
|
185
|
+
"name": "getVersion",
|
186
|
+
"outputs": [
|
187
|
+
{
|
188
|
+
"internalType": "Version",
|
189
|
+
"name": "version",
|
190
|
+
"type": "uint24"
|
191
|
+
}
|
192
|
+
],
|
193
|
+
"stateMutability": "view",
|
194
|
+
"type": "function"
|
195
|
+
},
|
196
|
+
{
|
197
|
+
"inputs": [],
|
198
|
+
"name": "getVersionCount",
|
199
|
+
"outputs": [
|
200
|
+
{
|
201
|
+
"internalType": "uint256",
|
202
|
+
"name": "numberOfVersions",
|
203
|
+
"type": "uint256"
|
204
|
+
}
|
205
|
+
],
|
206
|
+
"stateMutability": "view",
|
207
|
+
"type": "function"
|
208
|
+
},
|
209
|
+
{
|
210
|
+
"inputs": [
|
211
|
+
{
|
212
|
+
"internalType": "Version",
|
213
|
+
"name": "version",
|
214
|
+
"type": "uint24"
|
215
|
+
}
|
216
|
+
],
|
217
|
+
"name": "getVersionInfo",
|
218
|
+
"outputs": [
|
219
|
+
{
|
220
|
+
"components": [
|
221
|
+
{
|
222
|
+
"internalType": "Version",
|
223
|
+
"name": "version",
|
224
|
+
"type": "uint24"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"internalType": "address",
|
228
|
+
"name": "implementation",
|
229
|
+
"type": "address"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"internalType": "address",
|
233
|
+
"name": "activatedBy",
|
234
|
+
"type": "address"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"internalType": "Timestamp",
|
238
|
+
"name": "activatedAt",
|
239
|
+
"type": "uint40"
|
240
|
+
},
|
241
|
+
{
|
242
|
+
"internalType": "Blocknumber",
|
243
|
+
"name": "activatedIn",
|
244
|
+
"type": "uint32"
|
245
|
+
}
|
246
|
+
],
|
247
|
+
"internalType": "struct IVersionable.VersionInfo",
|
248
|
+
"name": "versionInfo",
|
249
|
+
"type": "tuple"
|
250
|
+
}
|
251
|
+
],
|
252
|
+
"stateMutability": "view",
|
253
|
+
"type": "function"
|
254
|
+
},
|
255
|
+
{
|
256
|
+
"inputs": [
|
257
|
+
{
|
258
|
+
"internalType": "address",
|
259
|
+
"name": "implementation",
|
260
|
+
"type": "address"
|
261
|
+
},
|
262
|
+
{
|
263
|
+
"internalType": "address",
|
264
|
+
"name": "activatedBy",
|
265
|
+
"type": "address"
|
266
|
+
},
|
267
|
+
{
|
268
|
+
"internalType": "bytes",
|
269
|
+
"name": "activationData",
|
270
|
+
"type": "bytes"
|
271
|
+
}
|
272
|
+
],
|
273
|
+
"name": "initialize",
|
274
|
+
"outputs": [],
|
275
|
+
"stateMutability": "nonpayable",
|
276
|
+
"type": "function"
|
277
|
+
},
|
278
|
+
{
|
279
|
+
"inputs": [
|
280
|
+
{
|
281
|
+
"internalType": "Version",
|
282
|
+
"name": "version",
|
283
|
+
"type": "uint24"
|
284
|
+
}
|
285
|
+
],
|
286
|
+
"name": "isInitialized",
|
287
|
+
"outputs": [
|
288
|
+
{
|
289
|
+
"internalType": "bool",
|
290
|
+
"name": "",
|
291
|
+
"type": "bool"
|
292
|
+
}
|
293
|
+
],
|
294
|
+
"stateMutability": "view",
|
295
|
+
"type": "function"
|
296
|
+
},
|
297
|
+
{
|
298
|
+
"inputs": [
|
299
|
+
{
|
300
|
+
"components": [
|
301
|
+
{
|
302
|
+
"internalType": "NftId",
|
303
|
+
"name": "nftId",
|
304
|
+
"type": "uint96"
|
305
|
+
},
|
306
|
+
{
|
307
|
+
"internalType": "NftId",
|
308
|
+
"name": "parentNftId",
|
309
|
+
"type": "uint96"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"internalType": "ObjectType",
|
313
|
+
"name": "objectType",
|
314
|
+
"type": "uint8"
|
315
|
+
},
|
316
|
+
{
|
317
|
+
"internalType": "bool",
|
318
|
+
"name": "isInterceptor",
|
319
|
+
"type": "bool"
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"internalType": "address",
|
323
|
+
"name": "objectAddress",
|
324
|
+
"type": "address"
|
325
|
+
},
|
326
|
+
{
|
327
|
+
"internalType": "address",
|
328
|
+
"name": "initialOwner",
|
329
|
+
"type": "address"
|
330
|
+
},
|
331
|
+
{
|
332
|
+
"internalType": "bytes",
|
333
|
+
"name": "data",
|
334
|
+
"type": "bytes"
|
335
|
+
}
|
336
|
+
],
|
337
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
338
|
+
"name": "info",
|
339
|
+
"type": "tuple"
|
340
|
+
}
|
341
|
+
],
|
342
|
+
"name": "registerBundle",
|
343
|
+
"outputs": [
|
344
|
+
{
|
345
|
+
"internalType": "NftId",
|
346
|
+
"name": "nftId",
|
347
|
+
"type": "uint96"
|
348
|
+
}
|
349
|
+
],
|
350
|
+
"stateMutability": "nonpayable",
|
351
|
+
"type": "function"
|
352
|
+
},
|
353
|
+
{
|
354
|
+
"inputs": [
|
355
|
+
{
|
356
|
+
"internalType": "contract IBaseComponent",
|
357
|
+
"name": "component",
|
358
|
+
"type": "address"
|
359
|
+
},
|
360
|
+
{
|
361
|
+
"internalType": "ObjectType",
|
362
|
+
"name": "componentType",
|
363
|
+
"type": "uint8"
|
364
|
+
},
|
365
|
+
{
|
366
|
+
"internalType": "address",
|
367
|
+
"name": "owner",
|
368
|
+
"type": "address"
|
369
|
+
}
|
370
|
+
],
|
371
|
+
"name": "registerComponent",
|
372
|
+
"outputs": [
|
373
|
+
{
|
374
|
+
"components": [
|
375
|
+
{
|
376
|
+
"internalType": "NftId",
|
377
|
+
"name": "nftId",
|
378
|
+
"type": "uint96"
|
379
|
+
},
|
380
|
+
{
|
381
|
+
"internalType": "NftId",
|
382
|
+
"name": "parentNftId",
|
383
|
+
"type": "uint96"
|
384
|
+
},
|
385
|
+
{
|
386
|
+
"internalType": "ObjectType",
|
387
|
+
"name": "objectType",
|
388
|
+
"type": "uint8"
|
389
|
+
},
|
390
|
+
{
|
391
|
+
"internalType": "bool",
|
392
|
+
"name": "isInterceptor",
|
393
|
+
"type": "bool"
|
394
|
+
},
|
395
|
+
{
|
396
|
+
"internalType": "address",
|
397
|
+
"name": "objectAddress",
|
398
|
+
"type": "address"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"internalType": "address",
|
402
|
+
"name": "initialOwner",
|
403
|
+
"type": "address"
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"internalType": "bytes",
|
407
|
+
"name": "data",
|
408
|
+
"type": "bytes"
|
409
|
+
}
|
410
|
+
],
|
411
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
412
|
+
"name": "info",
|
413
|
+
"type": "tuple"
|
414
|
+
},
|
415
|
+
{
|
416
|
+
"internalType": "bytes",
|
417
|
+
"name": "data",
|
418
|
+
"type": "bytes"
|
419
|
+
}
|
420
|
+
],
|
421
|
+
"stateMutability": "nonpayable",
|
422
|
+
"type": "function"
|
423
|
+
},
|
424
|
+
{
|
425
|
+
"inputs": [
|
426
|
+
{
|
427
|
+
"internalType": "contract IRegisterable",
|
428
|
+
"name": "instance",
|
429
|
+
"type": "address"
|
430
|
+
}
|
431
|
+
],
|
432
|
+
"name": "registerInstance",
|
433
|
+
"outputs": [
|
434
|
+
{
|
435
|
+
"components": [
|
436
|
+
{
|
437
|
+
"internalType": "NftId",
|
438
|
+
"name": "nftId",
|
439
|
+
"type": "uint96"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"internalType": "NftId",
|
443
|
+
"name": "parentNftId",
|
444
|
+
"type": "uint96"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"internalType": "ObjectType",
|
448
|
+
"name": "objectType",
|
449
|
+
"type": "uint8"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"internalType": "bool",
|
453
|
+
"name": "isInterceptor",
|
454
|
+
"type": "bool"
|
455
|
+
},
|
456
|
+
{
|
457
|
+
"internalType": "address",
|
458
|
+
"name": "objectAddress",
|
459
|
+
"type": "address"
|
460
|
+
},
|
461
|
+
{
|
462
|
+
"internalType": "address",
|
463
|
+
"name": "initialOwner",
|
464
|
+
"type": "address"
|
465
|
+
},
|
466
|
+
{
|
467
|
+
"internalType": "bytes",
|
468
|
+
"name": "data",
|
469
|
+
"type": "bytes"
|
470
|
+
}
|
471
|
+
],
|
472
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
473
|
+
"name": "info",
|
474
|
+
"type": "tuple"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"internalType": "bytes",
|
478
|
+
"name": "data",
|
479
|
+
"type": "bytes"
|
480
|
+
}
|
481
|
+
],
|
482
|
+
"stateMutability": "nonpayable",
|
483
|
+
"type": "function"
|
484
|
+
},
|
485
|
+
{
|
486
|
+
"inputs": [
|
487
|
+
{
|
488
|
+
"components": [
|
489
|
+
{
|
490
|
+
"internalType": "NftId",
|
491
|
+
"name": "nftId",
|
492
|
+
"type": "uint96"
|
493
|
+
},
|
494
|
+
{
|
495
|
+
"internalType": "NftId",
|
496
|
+
"name": "parentNftId",
|
497
|
+
"type": "uint96"
|
498
|
+
},
|
499
|
+
{
|
500
|
+
"internalType": "ObjectType",
|
501
|
+
"name": "objectType",
|
502
|
+
"type": "uint8"
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"internalType": "bool",
|
506
|
+
"name": "isInterceptor",
|
507
|
+
"type": "bool"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"internalType": "address",
|
511
|
+
"name": "objectAddress",
|
512
|
+
"type": "address"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"internalType": "address",
|
516
|
+
"name": "initialOwner",
|
517
|
+
"type": "address"
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"internalType": "bytes",
|
521
|
+
"name": "data",
|
522
|
+
"type": "bytes"
|
523
|
+
}
|
524
|
+
],
|
525
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
526
|
+
"name": "info",
|
527
|
+
"type": "tuple"
|
528
|
+
}
|
529
|
+
],
|
530
|
+
"name": "registerPolicy",
|
531
|
+
"outputs": [
|
532
|
+
{
|
533
|
+
"internalType": "NftId",
|
534
|
+
"name": "nftId",
|
535
|
+
"type": "uint96"
|
536
|
+
}
|
537
|
+
],
|
538
|
+
"stateMutability": "nonpayable",
|
539
|
+
"type": "function"
|
540
|
+
},
|
541
|
+
{
|
542
|
+
"inputs": [
|
543
|
+
{
|
544
|
+
"internalType": "contract IService",
|
545
|
+
"name": "service",
|
546
|
+
"type": "address"
|
547
|
+
}
|
548
|
+
],
|
549
|
+
"name": "registerService",
|
550
|
+
"outputs": [
|
551
|
+
{
|
552
|
+
"components": [
|
553
|
+
{
|
554
|
+
"internalType": "NftId",
|
555
|
+
"name": "nftId",
|
556
|
+
"type": "uint96"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"internalType": "NftId",
|
560
|
+
"name": "parentNftId",
|
561
|
+
"type": "uint96"
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"internalType": "ObjectType",
|
565
|
+
"name": "objectType",
|
566
|
+
"type": "uint8"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"internalType": "bool",
|
570
|
+
"name": "isInterceptor",
|
571
|
+
"type": "bool"
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"internalType": "address",
|
575
|
+
"name": "objectAddress",
|
576
|
+
"type": "address"
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"internalType": "address",
|
580
|
+
"name": "initialOwner",
|
581
|
+
"type": "address"
|
582
|
+
},
|
583
|
+
{
|
584
|
+
"internalType": "bytes",
|
585
|
+
"name": "data",
|
586
|
+
"type": "bytes"
|
587
|
+
}
|
588
|
+
],
|
589
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
590
|
+
"name": "info",
|
591
|
+
"type": "tuple"
|
592
|
+
},
|
593
|
+
{
|
594
|
+
"internalType": "bytes",
|
595
|
+
"name": "data",
|
596
|
+
"type": "bytes"
|
597
|
+
}
|
598
|
+
],
|
599
|
+
"stateMutability": "nonpayable",
|
600
|
+
"type": "function"
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"inputs": [
|
604
|
+
{
|
605
|
+
"internalType": "address",
|
606
|
+
"name": "tokenAddress",
|
607
|
+
"type": "address"
|
608
|
+
}
|
609
|
+
],
|
610
|
+
"name": "registerToken",
|
611
|
+
"outputs": [
|
612
|
+
{
|
613
|
+
"internalType": "NftId",
|
614
|
+
"name": "nftId",
|
615
|
+
"type": "uint96"
|
616
|
+
}
|
617
|
+
],
|
618
|
+
"stateMutability": "nonpayable",
|
619
|
+
"type": "function"
|
620
|
+
},
|
621
|
+
{
|
622
|
+
"inputs": [
|
623
|
+
{
|
624
|
+
"internalType": "bytes4",
|
625
|
+
"name": "interfaceId",
|
626
|
+
"type": "bytes4"
|
627
|
+
}
|
628
|
+
],
|
629
|
+
"name": "supportsInterface",
|
630
|
+
"outputs": [
|
631
|
+
{
|
632
|
+
"internalType": "bool",
|
633
|
+
"name": "",
|
634
|
+
"type": "bool"
|
635
|
+
}
|
636
|
+
],
|
637
|
+
"stateMutability": "view",
|
638
|
+
"type": "function"
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"inputs": [
|
642
|
+
{
|
643
|
+
"internalType": "address",
|
644
|
+
"name": "implementation",
|
645
|
+
"type": "address"
|
646
|
+
},
|
647
|
+
{
|
648
|
+
"internalType": "address",
|
649
|
+
"name": "activatedBy",
|
650
|
+
"type": "address"
|
651
|
+
},
|
652
|
+
{
|
653
|
+
"internalType": "bytes",
|
654
|
+
"name": "upgradeData",
|
655
|
+
"type": "bytes"
|
656
|
+
}
|
657
|
+
],
|
658
|
+
"name": "upgrade",
|
659
|
+
"outputs": [],
|
660
|
+
"stateMutability": "nonpayable",
|
661
|
+
"type": "function"
|
662
|
+
}
|
663
|
+
],
|
664
|
+
"bytecode": "0x",
|
665
|
+
"deployedBytecode": "0x",
|
666
|
+
"linkReferences": {},
|
667
|
+
"deployedLinkReferences": {}
|
668
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"_format": "hh-sol-artifact-1",
|
3
|
+
"contractName": "ITransferInterceptor",
|
4
|
+
"sourceName": "contracts/registry/ITransferInterceptor.sol",
|
5
|
+
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "from",
|
11
|
+
"type": "address"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"internalType": "address",
|
15
|
+
"name": "to",
|
16
|
+
"type": "address"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"internalType": "uint256",
|
20
|
+
"name": "tokenId",
|
21
|
+
"type": "uint256"
|
22
|
+
}
|
23
|
+
],
|
24
|
+
"name": "nftTransferFrom",
|
25
|
+
"outputs": [],
|
26
|
+
"stateMutability": "nonpayable",
|
27
|
+
"type": "function"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"bytecode": "0x",
|
31
|
+
"deployedBytecode": "0x",
|
32
|
+
"linkReferences": {},
|
33
|
+
"deployedLinkReferences": {}
|
34
|
+
}
|