@etherisc/gif-next 0.0.2-cc4a5cb-898 → 0.0.2-cd89a0b-062
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 +55 -52
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +100 -113
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +50 -47
- 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 +256 -91
- 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 +364 -170
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +139 -46
- 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 +99 -55
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +139 -59
- 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 +135 -55
- 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 +245 -86
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +167 -61
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +99 -74
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +99 -55
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +104 -60
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +104 -60
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +169 -63
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +197 -91
- 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 +55 -14
- 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 +78 -14
- 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 +161 -68
- 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 +89 -25
- 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 +40 -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/IPoolComponent.sol +2 -8
- package/contracts/components/IProductComponent.sol +2 -1
- 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 +20 -20
- 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 +55 -11
- 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 +112 -54
- 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 +9 -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/shared/Proxy.sol/Proxy.dbg.json +0 -4
- package/artifacts/contracts/shared/Proxy.sol/Proxy.json +0 -178
- package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
- package/contracts/experiment/statemachine/README.md +0 -112
- package/contracts/registry/IRegistryLinked.sol +0 -8
- package/contracts/shared/Proxy.sol +0 -83
@@ -3,6 +3,29 @@
|
|
3
3
|
"contractName": "InstanceBase",
|
4
4
|
"sourceName": "contracts/instance/base/InstanceBase.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "InvalidInitialization",
|
9
|
+
"type": "error"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [],
|
13
|
+
"name": "NotInitializing",
|
14
|
+
"type": "error"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"anonymous": false,
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"indexed": false,
|
21
|
+
"internalType": "uint64",
|
22
|
+
"name": "version",
|
23
|
+
"type": "uint64"
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"name": "Initialized",
|
27
|
+
"type": "event"
|
28
|
+
},
|
6
29
|
{
|
7
30
|
"anonymous": false,
|
8
31
|
"inputs": [
|
@@ -25,25 +48,20 @@
|
|
25
48
|
"type": "address"
|
26
49
|
}
|
27
50
|
],
|
28
|
-
"name": "
|
51
|
+
"name": "LogVersionableInitialized",
|
29
52
|
"type": "event"
|
30
53
|
},
|
31
54
|
{
|
32
|
-
"inputs": [
|
33
|
-
|
34
|
-
|
35
|
-
"name": "implementation",
|
36
|
-
"type": "address"
|
37
|
-
},
|
55
|
+
"inputs": [],
|
56
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
57
|
+
"outputs": [
|
38
58
|
{
|
39
|
-
"internalType": "
|
40
|
-
"name": "
|
41
|
-
"type": "
|
59
|
+
"internalType": "bytes32",
|
60
|
+
"name": "",
|
61
|
+
"type": "bytes32"
|
42
62
|
}
|
43
63
|
],
|
44
|
-
"
|
45
|
-
"outputs": [],
|
46
|
-
"stateMutability": "nonpayable",
|
64
|
+
"stateMutability": "view",
|
47
65
|
"type": "function"
|
48
66
|
},
|
49
67
|
{
|
@@ -52,7 +70,7 @@
|
|
52
70
|
"outputs": [
|
53
71
|
{
|
54
72
|
"internalType": "contract IComponentOwnerService",
|
55
|
-
"name": "
|
73
|
+
"name": "",
|
56
74
|
"type": "address"
|
57
75
|
}
|
58
76
|
],
|
@@ -61,8 +79,63 @@
|
|
61
79
|
},
|
62
80
|
{
|
63
81
|
"inputs": [],
|
64
|
-
"name": "
|
82
|
+
"name": "getDistributionService",
|
65
83
|
"outputs": [
|
84
|
+
{
|
85
|
+
"internalType": "contract IDistributionService",
|
86
|
+
"name": "",
|
87
|
+
"type": "address"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"stateMutability": "view",
|
91
|
+
"type": "function"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"inputs": [],
|
95
|
+
"name": "getInitialInfo",
|
96
|
+
"outputs": [
|
97
|
+
{
|
98
|
+
"components": [
|
99
|
+
{
|
100
|
+
"internalType": "NftId",
|
101
|
+
"name": "nftId",
|
102
|
+
"type": "uint96"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"internalType": "NftId",
|
106
|
+
"name": "parentNftId",
|
107
|
+
"type": "uint96"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"internalType": "ObjectType",
|
111
|
+
"name": "objectType",
|
112
|
+
"type": "uint8"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"internalType": "bool",
|
116
|
+
"name": "isInterceptor",
|
117
|
+
"type": "bool"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"internalType": "address",
|
121
|
+
"name": "objectAddress",
|
122
|
+
"type": "address"
|
123
|
+
},
|
124
|
+
{
|
125
|
+
"internalType": "address",
|
126
|
+
"name": "initialOwner",
|
127
|
+
"type": "address"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"internalType": "bytes",
|
131
|
+
"name": "data",
|
132
|
+
"type": "bytes"
|
133
|
+
}
|
134
|
+
],
|
135
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
136
|
+
"name": "",
|
137
|
+
"type": "tuple"
|
138
|
+
},
|
66
139
|
{
|
67
140
|
"internalType": "bytes",
|
68
141
|
"name": "data",
|
@@ -74,12 +147,12 @@
|
|
74
147
|
},
|
75
148
|
{
|
76
149
|
"inputs": [],
|
77
|
-
"name": "
|
150
|
+
"name": "getInitializedVersion",
|
78
151
|
"outputs": [
|
79
152
|
{
|
80
|
-
"internalType": "
|
153
|
+
"internalType": "uint64",
|
81
154
|
"name": "",
|
82
|
-
"type": "
|
155
|
+
"type": "uint64"
|
83
156
|
}
|
84
157
|
],
|
85
158
|
"stateMutability": "view",
|
@@ -117,26 +190,13 @@
|
|
117
190
|
"outputs": [
|
118
191
|
{
|
119
192
|
"internalType": "address",
|
120
|
-
"name": "
|
193
|
+
"name": "",
|
121
194
|
"type": "address"
|
122
195
|
}
|
123
196
|
],
|
124
197
|
"stateMutability": "view",
|
125
198
|
"type": "function"
|
126
199
|
},
|
127
|
-
{
|
128
|
-
"inputs": [],
|
129
|
-
"name": "getParentNftId",
|
130
|
-
"outputs": [
|
131
|
-
{
|
132
|
-
"internalType": "NftId",
|
133
|
-
"name": "nftId",
|
134
|
-
"type": "uint96"
|
135
|
-
}
|
136
|
-
],
|
137
|
-
"stateMutability": "view",
|
138
|
-
"type": "function"
|
139
|
-
},
|
140
200
|
{
|
141
201
|
"inputs": [],
|
142
202
|
"name": "getPoolService",
|
@@ -195,19 +255,6 @@
|
|
195
255
|
"stateMutability": "view",
|
196
256
|
"type": "function"
|
197
257
|
},
|
198
|
-
{
|
199
|
-
"inputs": [],
|
200
|
-
"name": "getType",
|
201
|
-
"outputs": [
|
202
|
-
{
|
203
|
-
"internalType": "ObjectType",
|
204
|
-
"name": "objectType",
|
205
|
-
"type": "uint8"
|
206
|
-
}
|
207
|
-
],
|
208
|
-
"stateMutability": "pure",
|
209
|
-
"type": "function"
|
210
|
-
},
|
211
258
|
{
|
212
259
|
"inputs": [],
|
213
260
|
"name": "getVersion",
|
@@ -299,6 +346,29 @@
|
|
299
346
|
"stateMutability": "view",
|
300
347
|
"type": "function"
|
301
348
|
},
|
349
|
+
{
|
350
|
+
"inputs": [
|
351
|
+
{
|
352
|
+
"internalType": "address",
|
353
|
+
"name": "implementation",
|
354
|
+
"type": "address"
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"internalType": "address",
|
358
|
+
"name": "activatedBy",
|
359
|
+
"type": "address"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"internalType": "bytes",
|
363
|
+
"name": "data",
|
364
|
+
"type": "bytes"
|
365
|
+
}
|
366
|
+
],
|
367
|
+
"name": "initialize",
|
368
|
+
"outputs": [],
|
369
|
+
"stateMutability": "nonpayable",
|
370
|
+
"type": "function"
|
371
|
+
},
|
302
372
|
{
|
303
373
|
"inputs": [
|
304
374
|
{
|
@@ -307,7 +377,7 @@
|
|
307
377
|
"type": "uint24"
|
308
378
|
}
|
309
379
|
],
|
310
|
-
"name": "
|
380
|
+
"name": "isInitialized",
|
311
381
|
"outputs": [
|
312
382
|
{
|
313
383
|
"internalType": "bool",
|
@@ -318,19 +388,6 @@
|
|
318
388
|
"stateMutability": "view",
|
319
389
|
"type": "function"
|
320
390
|
},
|
321
|
-
{
|
322
|
-
"inputs": [],
|
323
|
-
"name": "register",
|
324
|
-
"outputs": [
|
325
|
-
{
|
326
|
-
"internalType": "NftId",
|
327
|
-
"name": "nftId",
|
328
|
-
"type": "uint96"
|
329
|
-
}
|
330
|
-
],
|
331
|
-
"stateMutability": "nonpayable",
|
332
|
-
"type": "function"
|
333
|
-
},
|
334
391
|
{
|
335
392
|
"inputs": [
|
336
393
|
{
|
@@ -367,6 +424,29 @@
|
|
367
424
|
"outputs": [],
|
368
425
|
"stateMutability": "nonpayable",
|
369
426
|
"type": "function"
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"inputs": [
|
430
|
+
{
|
431
|
+
"internalType": "address",
|
432
|
+
"name": "implementation",
|
433
|
+
"type": "address"
|
434
|
+
},
|
435
|
+
{
|
436
|
+
"internalType": "address",
|
437
|
+
"name": "activatedBy",
|
438
|
+
"type": "address"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"internalType": "bytes",
|
442
|
+
"name": "data",
|
443
|
+
"type": "bytes"
|
444
|
+
}
|
445
|
+
],
|
446
|
+
"name": "upgrade",
|
447
|
+
"outputs": [],
|
448
|
+
"stateMutability": "nonpayable",
|
449
|
+
"type": "function"
|
370
450
|
}
|
371
451
|
],
|
372
452
|
"bytecode": "0x",
|
@@ -3,6 +3,29 @@
|
|
3
3
|
"contractName": "ServiceBase",
|
4
4
|
"sourceName": "contracts/instance/base/ServiceBase.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [],
|
8
|
+
"name": "InvalidInitialization",
|
9
|
+
"type": "error"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"inputs": [],
|
13
|
+
"name": "NotInitializing",
|
14
|
+
"type": "error"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"anonymous": false,
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"indexed": false,
|
21
|
+
"internalType": "uint64",
|
22
|
+
"name": "version",
|
23
|
+
"type": "uint64"
|
24
|
+
}
|
25
|
+
],
|
26
|
+
"name": "Initialized",
|
27
|
+
"type": "event"
|
28
|
+
},
|
6
29
|
{
|
7
30
|
"anonymous": false,
|
8
31
|
"inputs": [
|
@@ -25,31 +48,68 @@
|
|
25
48
|
"type": "address"
|
26
49
|
}
|
27
50
|
],
|
28
|
-
"name": "
|
51
|
+
"name": "LogVersionableInitialized",
|
29
52
|
"type": "event"
|
30
53
|
},
|
31
54
|
{
|
32
|
-
"inputs": [
|
33
|
-
|
34
|
-
|
35
|
-
"name": "implementation",
|
36
|
-
"type": "address"
|
37
|
-
},
|
55
|
+
"inputs": [],
|
56
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
57
|
+
"outputs": [
|
38
58
|
{
|
39
|
-
"internalType": "
|
40
|
-
"name": "
|
41
|
-
"type": "
|
59
|
+
"internalType": "bytes32",
|
60
|
+
"name": "",
|
61
|
+
"type": "bytes32"
|
42
62
|
}
|
43
63
|
],
|
44
|
-
"
|
45
|
-
"outputs": [],
|
46
|
-
"stateMutability": "nonpayable",
|
64
|
+
"stateMutability": "view",
|
47
65
|
"type": "function"
|
48
66
|
},
|
49
67
|
{
|
50
68
|
"inputs": [],
|
51
|
-
"name": "
|
69
|
+
"name": "getInitialInfo",
|
52
70
|
"outputs": [
|
71
|
+
{
|
72
|
+
"components": [
|
73
|
+
{
|
74
|
+
"internalType": "NftId",
|
75
|
+
"name": "nftId",
|
76
|
+
"type": "uint96"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"internalType": "NftId",
|
80
|
+
"name": "parentNftId",
|
81
|
+
"type": "uint96"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"internalType": "ObjectType",
|
85
|
+
"name": "objectType",
|
86
|
+
"type": "uint8"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"internalType": "bool",
|
90
|
+
"name": "isInterceptor",
|
91
|
+
"type": "bool"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"internalType": "address",
|
95
|
+
"name": "objectAddress",
|
96
|
+
"type": "address"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"internalType": "address",
|
100
|
+
"name": "initialOwner",
|
101
|
+
"type": "address"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"internalType": "bytes",
|
105
|
+
"name": "data",
|
106
|
+
"type": "bytes"
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
110
|
+
"name": "",
|
111
|
+
"type": "tuple"
|
112
|
+
},
|
53
113
|
{
|
54
114
|
"internalType": "bytes",
|
55
115
|
"name": "data",
|
@@ -59,6 +119,19 @@
|
|
59
119
|
"stateMutability": "view",
|
60
120
|
"type": "function"
|
61
121
|
},
|
122
|
+
{
|
123
|
+
"inputs": [],
|
124
|
+
"name": "getInitializedVersion",
|
125
|
+
"outputs": [
|
126
|
+
{
|
127
|
+
"internalType": "uint64",
|
128
|
+
"name": "",
|
129
|
+
"type": "uint64"
|
130
|
+
}
|
131
|
+
],
|
132
|
+
"stateMutability": "view",
|
133
|
+
"type": "function"
|
134
|
+
},
|
62
135
|
{
|
63
136
|
"inputs": [],
|
64
137
|
"name": "getMajorVersion",
|
@@ -104,26 +177,13 @@
|
|
104
177
|
"outputs": [
|
105
178
|
{
|
106
179
|
"internalType": "address",
|
107
|
-
"name": "
|
180
|
+
"name": "",
|
108
181
|
"type": "address"
|
109
182
|
}
|
110
183
|
],
|
111
184
|
"stateMutability": "view",
|
112
185
|
"type": "function"
|
113
186
|
},
|
114
|
-
{
|
115
|
-
"inputs": [],
|
116
|
-
"name": "getParentNftId",
|
117
|
-
"outputs": [
|
118
|
-
{
|
119
|
-
"internalType": "NftId",
|
120
|
-
"name": "nftId",
|
121
|
-
"type": "uint96"
|
122
|
-
}
|
123
|
-
],
|
124
|
-
"stateMutability": "view",
|
125
|
-
"type": "function"
|
126
|
-
},
|
127
187
|
{
|
128
188
|
"inputs": [],
|
129
189
|
"name": "getRegistry",
|
@@ -137,19 +197,6 @@
|
|
137
197
|
"stateMutability": "view",
|
138
198
|
"type": "function"
|
139
199
|
},
|
140
|
-
{
|
141
|
-
"inputs": [],
|
142
|
-
"name": "getType",
|
143
|
-
"outputs": [
|
144
|
-
{
|
145
|
-
"internalType": "ObjectType",
|
146
|
-
"name": "",
|
147
|
-
"type": "uint8"
|
148
|
-
}
|
149
|
-
],
|
150
|
-
"stateMutability": "pure",
|
151
|
-
"type": "function"
|
152
|
-
},
|
153
200
|
{
|
154
201
|
"inputs": [],
|
155
202
|
"name": "getVersion",
|
@@ -241,6 +288,29 @@
|
|
241
288
|
"stateMutability": "view",
|
242
289
|
"type": "function"
|
243
290
|
},
|
291
|
+
{
|
292
|
+
"inputs": [
|
293
|
+
{
|
294
|
+
"internalType": "address",
|
295
|
+
"name": "implementation",
|
296
|
+
"type": "address"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"internalType": "address",
|
300
|
+
"name": "activatedBy",
|
301
|
+
"type": "address"
|
302
|
+
},
|
303
|
+
{
|
304
|
+
"internalType": "bytes",
|
305
|
+
"name": "data",
|
306
|
+
"type": "bytes"
|
307
|
+
}
|
308
|
+
],
|
309
|
+
"name": "initialize",
|
310
|
+
"outputs": [],
|
311
|
+
"stateMutability": "nonpayable",
|
312
|
+
"type": "function"
|
313
|
+
},
|
244
314
|
{
|
245
315
|
"inputs": [
|
246
316
|
{
|
@@ -249,7 +319,7 @@
|
|
249
319
|
"type": "uint24"
|
250
320
|
}
|
251
321
|
],
|
252
|
-
"name": "
|
322
|
+
"name": "isInitialized",
|
253
323
|
"outputs": [
|
254
324
|
{
|
255
325
|
"internalType": "bool",
|
@@ -260,19 +330,6 @@
|
|
260
330
|
"stateMutability": "view",
|
261
331
|
"type": "function"
|
262
332
|
},
|
263
|
-
{
|
264
|
-
"inputs": [],
|
265
|
-
"name": "register",
|
266
|
-
"outputs": [
|
267
|
-
{
|
268
|
-
"internalType": "NftId",
|
269
|
-
"name": "nftId",
|
270
|
-
"type": "uint96"
|
271
|
-
}
|
272
|
-
],
|
273
|
-
"stateMutability": "nonpayable",
|
274
|
-
"type": "function"
|
275
|
-
},
|
276
333
|
{
|
277
334
|
"inputs": [
|
278
335
|
{
|
@@ -291,6 +348,29 @@
|
|
291
348
|
],
|
292
349
|
"stateMutability": "view",
|
293
350
|
"type": "function"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"inputs": [
|
354
|
+
{
|
355
|
+
"internalType": "address",
|
356
|
+
"name": "implementation",
|
357
|
+
"type": "address"
|
358
|
+
},
|
359
|
+
{
|
360
|
+
"internalType": "address",
|
361
|
+
"name": "activatedBy",
|
362
|
+
"type": "address"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"internalType": "bytes",
|
366
|
+
"name": "data",
|
367
|
+
"type": "bytes"
|
368
|
+
}
|
369
|
+
],
|
370
|
+
"name": "upgrade",
|
371
|
+
"outputs": [],
|
372
|
+
"stateMutability": "nonpayable",
|
373
|
+
"type": "function"
|
294
374
|
}
|
295
375
|
],
|
296
376
|
"bytecode": "0x",
|
@@ -3,8 +3,8 @@
|
|
3
3
|
"contractName": "DistributionModule",
|
4
4
|
"sourceName": "contracts/instance/module/distribution/DistributionModule.sol",
|
5
5
|
"abi": [],
|
6
|
-
"bytecode": "
|
7
|
-
"deployedBytecode": "
|
6
|
+
"bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea264697066735822122007c1f3962c0b3a0fbdf314074ccf62935dc3bfef7bb940d41f467154cd4f114364736f6c63430008140033",
|
7
|
+
"deployedBytecode": "0x6080604052600080fdfea264697066735822122007c1f3962c0b3a0fbdf314074ccf62935dc3bfef7bb940d41f467154cd4f114364736f6c63430008140033",
|
8
8
|
"linkReferences": {},
|
9
9
|
"deployedLinkReferences": {}
|
10
10
|
}
|