@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
package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json
CHANGED
@@ -25,13 +25,55 @@
|
|
25
25
|
"type": "address"
|
26
26
|
}
|
27
27
|
],
|
28
|
-
"name": "
|
28
|
+
"name": "LogVersionableInitialized",
|
29
29
|
"type": "event"
|
30
30
|
},
|
31
31
|
{
|
32
32
|
"inputs": [],
|
33
|
-
"name": "
|
33
|
+
"name": "getInitialInfo",
|
34
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
|
+
},
|
35
77
|
{
|
36
78
|
"internalType": "bytes",
|
37
79
|
"name": "data",
|
@@ -106,19 +148,6 @@
|
|
106
148
|
"stateMutability": "view",
|
107
149
|
"type": "function"
|
108
150
|
},
|
109
|
-
{
|
110
|
-
"inputs": [],
|
111
|
-
"name": "getParentNftId",
|
112
|
-
"outputs": [
|
113
|
-
{
|
114
|
-
"internalType": "NftId",
|
115
|
-
"name": "nftId",
|
116
|
-
"type": "uint96"
|
117
|
-
}
|
118
|
-
],
|
119
|
-
"stateMutability": "view",
|
120
|
-
"type": "function"
|
121
|
-
},
|
122
151
|
{
|
123
152
|
"inputs": [],
|
124
153
|
"name": "getRegistry",
|
@@ -132,19 +161,6 @@
|
|
132
161
|
"stateMutability": "view",
|
133
162
|
"type": "function"
|
134
163
|
},
|
135
|
-
{
|
136
|
-
"inputs": [],
|
137
|
-
"name": "getType",
|
138
|
-
"outputs": [
|
139
|
-
{
|
140
|
-
"internalType": "ObjectType",
|
141
|
-
"name": "objectType",
|
142
|
-
"type": "uint8"
|
143
|
-
}
|
144
|
-
],
|
145
|
-
"stateMutability": "pure",
|
146
|
-
"type": "function"
|
147
|
-
},
|
148
164
|
{
|
149
165
|
"inputs": [],
|
150
166
|
"name": "getVersion",
|
@@ -267,7 +283,7 @@
|
|
267
283
|
"type": "uint24"
|
268
284
|
}
|
269
285
|
],
|
270
|
-
"name": "
|
286
|
+
"name": "isInitialized",
|
271
287
|
"outputs": [
|
272
288
|
{
|
273
289
|
"internalType": "bool",
|
@@ -278,19 +294,6 @@
|
|
278
294
|
"stateMutability": "view",
|
279
295
|
"type": "function"
|
280
296
|
},
|
281
|
-
{
|
282
|
-
"inputs": [],
|
283
|
-
"name": "register",
|
284
|
-
"outputs": [
|
285
|
-
{
|
286
|
-
"internalType": "NftId",
|
287
|
-
"name": "nftId",
|
288
|
-
"type": "uint96"
|
289
|
-
}
|
290
|
-
],
|
291
|
-
"stateMutability": "nonpayable",
|
292
|
-
"type": "function"
|
293
|
-
},
|
294
297
|
{
|
295
298
|
"inputs": [
|
296
299
|
{
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"type": "address"
|
26
26
|
}
|
27
27
|
],
|
28
|
-
"name": "
|
28
|
+
"name": "LogVersionableInitialized",
|
29
29
|
"type": "event"
|
30
30
|
},
|
31
31
|
{
|
@@ -81,8 +81,50 @@
|
|
81
81
|
},
|
82
82
|
{
|
83
83
|
"inputs": [],
|
84
|
-
"name": "
|
84
|
+
"name": "getInitialInfo",
|
85
85
|
"outputs": [
|
86
|
+
{
|
87
|
+
"components": [
|
88
|
+
{
|
89
|
+
"internalType": "NftId",
|
90
|
+
"name": "nftId",
|
91
|
+
"type": "uint96"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"internalType": "NftId",
|
95
|
+
"name": "parentNftId",
|
96
|
+
"type": "uint96"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"internalType": "ObjectType",
|
100
|
+
"name": "objectType",
|
101
|
+
"type": "uint8"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"internalType": "bool",
|
105
|
+
"name": "isInterceptor",
|
106
|
+
"type": "bool"
|
107
|
+
},
|
108
|
+
{
|
109
|
+
"internalType": "address",
|
110
|
+
"name": "objectAddress",
|
111
|
+
"type": "address"
|
112
|
+
},
|
113
|
+
{
|
114
|
+
"internalType": "address",
|
115
|
+
"name": "initialOwner",
|
116
|
+
"type": "address"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"internalType": "bytes",
|
120
|
+
"name": "data",
|
121
|
+
"type": "bytes"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
125
|
+
"name": "",
|
126
|
+
"type": "tuple"
|
127
|
+
},
|
86
128
|
{
|
87
129
|
"internalType": "bytes",
|
88
130
|
"name": "data",
|
@@ -157,19 +199,6 @@
|
|
157
199
|
"stateMutability": "view",
|
158
200
|
"type": "function"
|
159
201
|
},
|
160
|
-
{
|
161
|
-
"inputs": [],
|
162
|
-
"name": "getParentNftId",
|
163
|
-
"outputs": [
|
164
|
-
{
|
165
|
-
"internalType": "NftId",
|
166
|
-
"name": "nftId",
|
167
|
-
"type": "uint96"
|
168
|
-
}
|
169
|
-
],
|
170
|
-
"stateMutability": "view",
|
171
|
-
"type": "function"
|
172
|
-
},
|
173
202
|
{
|
174
203
|
"inputs": [],
|
175
204
|
"name": "getRegistry",
|
@@ -183,19 +212,6 @@
|
|
183
212
|
"stateMutability": "view",
|
184
213
|
"type": "function"
|
185
214
|
},
|
186
|
-
{
|
187
|
-
"inputs": [],
|
188
|
-
"name": "getType",
|
189
|
-
"outputs": [
|
190
|
-
{
|
191
|
-
"internalType": "ObjectType",
|
192
|
-
"name": "objectType",
|
193
|
-
"type": "uint8"
|
194
|
-
}
|
195
|
-
],
|
196
|
-
"stateMutability": "pure",
|
197
|
-
"type": "function"
|
198
|
-
},
|
199
215
|
{
|
200
216
|
"inputs": [],
|
201
217
|
"name": "getVersion",
|
@@ -318,7 +334,7 @@
|
|
318
334
|
"type": "uint24"
|
319
335
|
}
|
320
336
|
],
|
321
|
-
"name": "
|
337
|
+
"name": "isInitialized",
|
322
338
|
"outputs": [
|
323
339
|
{
|
324
340
|
"internalType": "bool",
|
@@ -329,19 +345,6 @@
|
|
329
345
|
"stateMutability": "view",
|
330
346
|
"type": "function"
|
331
347
|
},
|
332
|
-
{
|
333
|
-
"inputs": [],
|
334
|
-
"name": "register",
|
335
|
-
"outputs": [
|
336
|
-
{
|
337
|
-
"internalType": "NftId",
|
338
|
-
"name": "nftId",
|
339
|
-
"type": "uint96"
|
340
|
-
}
|
341
|
-
],
|
342
|
-
"stateMutability": "nonpayable",
|
343
|
-
"type": "function"
|
344
|
-
},
|
345
348
|
{
|
346
349
|
"inputs": [
|
347
350
|
{
|
@@ -25,7 +25,7 @@
|
|
25
25
|
"type": "address"
|
26
26
|
}
|
27
27
|
],
|
28
|
-
"name": "
|
28
|
+
"name": "LogVersionableInitialized",
|
29
29
|
"type": "event"
|
30
30
|
},
|
31
31
|
{
|
@@ -234,8 +234,50 @@
|
|
234
234
|
},
|
235
235
|
{
|
236
236
|
"inputs": [],
|
237
|
-
"name": "
|
237
|
+
"name": "getInitialInfo",
|
238
238
|
"outputs": [
|
239
|
+
{
|
240
|
+
"components": [
|
241
|
+
{
|
242
|
+
"internalType": "NftId",
|
243
|
+
"name": "nftId",
|
244
|
+
"type": "uint96"
|
245
|
+
},
|
246
|
+
{
|
247
|
+
"internalType": "NftId",
|
248
|
+
"name": "parentNftId",
|
249
|
+
"type": "uint96"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"internalType": "ObjectType",
|
253
|
+
"name": "objectType",
|
254
|
+
"type": "uint8"
|
255
|
+
},
|
256
|
+
{
|
257
|
+
"internalType": "bool",
|
258
|
+
"name": "isInterceptor",
|
259
|
+
"type": "bool"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"internalType": "address",
|
263
|
+
"name": "objectAddress",
|
264
|
+
"type": "address"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"internalType": "address",
|
268
|
+
"name": "initialOwner",
|
269
|
+
"type": "address"
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"internalType": "bytes",
|
273
|
+
"name": "data",
|
274
|
+
"type": "bytes"
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
278
|
+
"name": "",
|
279
|
+
"type": "tuple"
|
280
|
+
},
|
239
281
|
{
|
240
282
|
"internalType": "bytes",
|
241
283
|
"name": "data",
|
@@ -310,19 +352,6 @@
|
|
310
352
|
"stateMutability": "view",
|
311
353
|
"type": "function"
|
312
354
|
},
|
313
|
-
{
|
314
|
-
"inputs": [],
|
315
|
-
"name": "getParentNftId",
|
316
|
-
"outputs": [
|
317
|
-
{
|
318
|
-
"internalType": "NftId",
|
319
|
-
"name": "nftId",
|
320
|
-
"type": "uint96"
|
321
|
-
}
|
322
|
-
],
|
323
|
-
"stateMutability": "view",
|
324
|
-
"type": "function"
|
325
|
-
},
|
326
355
|
{
|
327
356
|
"inputs": [],
|
328
357
|
"name": "getRegistry",
|
@@ -336,19 +365,6 @@
|
|
336
365
|
"stateMutability": "view",
|
337
366
|
"type": "function"
|
338
367
|
},
|
339
|
-
{
|
340
|
-
"inputs": [],
|
341
|
-
"name": "getType",
|
342
|
-
"outputs": [
|
343
|
-
{
|
344
|
-
"internalType": "ObjectType",
|
345
|
-
"name": "objectType",
|
346
|
-
"type": "uint8"
|
347
|
-
}
|
348
|
-
],
|
349
|
-
"stateMutability": "pure",
|
350
|
-
"type": "function"
|
351
|
-
},
|
352
368
|
{
|
353
369
|
"inputs": [],
|
354
370
|
"name": "getVersion",
|
@@ -471,7 +487,7 @@
|
|
471
487
|
"type": "uint24"
|
472
488
|
}
|
473
489
|
],
|
474
|
-
"name": "
|
490
|
+
"name": "isInitialized",
|
475
491
|
"outputs": [
|
476
492
|
{
|
477
493
|
"internalType": "bool",
|
@@ -482,19 +498,6 @@
|
|
482
498
|
"stateMutability": "view",
|
483
499
|
"type": "function"
|
484
500
|
},
|
485
|
-
{
|
486
|
-
"inputs": [],
|
487
|
-
"name": "register",
|
488
|
-
"outputs": [
|
489
|
-
{
|
490
|
-
"internalType": "NftId",
|
491
|
-
"name": "nftId",
|
492
|
-
"type": "uint96"
|
493
|
-
}
|
494
|
-
],
|
495
|
-
"stateMutability": "nonpayable",
|
496
|
-
"type": "function"
|
497
|
-
},
|
498
501
|
{
|
499
502
|
"inputs": [
|
500
503
|
{
|