@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
@@ -4,45 +4,135 @@
|
|
4
4
|
"sourceName": "contracts/registry/IRegistry.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
|
-
"
|
8
|
-
"
|
9
|
-
"outputs": [
|
7
|
+
"anonymous": false,
|
8
|
+
"inputs": [
|
10
9
|
{
|
11
|
-
"
|
12
|
-
"
|
13
|
-
"
|
10
|
+
"indexed": true,
|
11
|
+
"internalType": "NftId",
|
12
|
+
"name": "nftId",
|
13
|
+
"type": "uint96"
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"indexed": false,
|
17
|
+
"internalType": "ObjectType",
|
18
|
+
"name": "objectType",
|
19
|
+
"type": "uint8"
|
14
20
|
}
|
15
21
|
],
|
16
|
-
"
|
17
|
-
"type": "
|
22
|
+
"name": "LogApproval",
|
23
|
+
"type": "event"
|
18
24
|
},
|
19
25
|
{
|
26
|
+
"anonymous": false,
|
20
27
|
"inputs": [
|
21
28
|
{
|
29
|
+
"indexed": true,
|
22
30
|
"internalType": "NftId",
|
23
31
|
"name": "nftId",
|
24
32
|
"type": "uint96"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"indexed": false,
|
36
|
+
"internalType": "NftId",
|
37
|
+
"name": "parentNftId",
|
38
|
+
"type": "uint96"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"indexed": false,
|
42
|
+
"internalType": "ObjectType",
|
43
|
+
"name": "objectType",
|
44
|
+
"type": "uint8"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"indexed": false,
|
48
|
+
"internalType": "address",
|
49
|
+
"name": "objectAddress",
|
50
|
+
"type": "address"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"indexed": false,
|
54
|
+
"internalType": "address",
|
55
|
+
"name": "initialOwner",
|
56
|
+
"type": "address"
|
25
57
|
}
|
26
58
|
],
|
27
|
-
"name": "
|
28
|
-
"
|
59
|
+
"name": "LogRegistration",
|
60
|
+
"type": "event"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"anonymous": false,
|
64
|
+
"inputs": [
|
29
65
|
{
|
66
|
+
"indexed": false,
|
30
67
|
"internalType": "string",
|
31
|
-
"name": "
|
68
|
+
"name": "serviceName",
|
32
69
|
"type": "string"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"indexed": false,
|
73
|
+
"internalType": "VersionPart",
|
74
|
+
"name": "majorVersion",
|
75
|
+
"type": "uint8"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "LogServiceNameRegistration",
|
79
|
+
"type": "event"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [
|
83
|
+
{
|
84
|
+
"internalType": "NftId",
|
85
|
+
"name": "registrar",
|
86
|
+
"type": "uint96"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"internalType": "ObjectType",
|
90
|
+
"name": "object",
|
91
|
+
"type": "uint8"
|
92
|
+
}
|
93
|
+
],
|
94
|
+
"name": "allowance",
|
95
|
+
"outputs": [
|
96
|
+
{
|
97
|
+
"internalType": "bool",
|
98
|
+
"name": "",
|
99
|
+
"type": "bool"
|
33
100
|
}
|
34
101
|
],
|
35
102
|
"stateMutability": "view",
|
36
103
|
"type": "function"
|
37
104
|
},
|
38
105
|
{
|
39
|
-
"inputs": [
|
40
|
-
"name": "getNftId",
|
41
|
-
"outputs": [
|
106
|
+
"inputs": [
|
42
107
|
{
|
43
108
|
"internalType": "NftId",
|
44
|
-
"name": "
|
109
|
+
"name": "registrar",
|
45
110
|
"type": "uint96"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"internalType": "ObjectType",
|
114
|
+
"name": "object",
|
115
|
+
"type": "uint8"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"internalType": "ObjectType",
|
119
|
+
"name": "parent",
|
120
|
+
"type": "uint8"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"name": "approve",
|
124
|
+
"outputs": [],
|
125
|
+
"stateMutability": "nonpayable",
|
126
|
+
"type": "function"
|
127
|
+
},
|
128
|
+
{
|
129
|
+
"inputs": [],
|
130
|
+
"name": "getChainNft",
|
131
|
+
"outputs": [
|
132
|
+
{
|
133
|
+
"internalType": "contract IChainNft",
|
134
|
+
"name": "",
|
135
|
+
"type": "address"
|
46
136
|
}
|
47
137
|
],
|
48
138
|
"stateMutability": "view",
|
@@ -83,9 +173,9 @@
|
|
83
173
|
{
|
84
174
|
"inputs": [
|
85
175
|
{
|
86
|
-
"internalType": "
|
87
|
-
"name": "
|
88
|
-
"type": "
|
176
|
+
"internalType": "address",
|
177
|
+
"name": "object",
|
178
|
+
"type": "address"
|
89
179
|
}
|
90
180
|
],
|
91
181
|
"name": "getObjectInfo",
|
@@ -107,6 +197,11 @@
|
|
107
197
|
"name": "objectType",
|
108
198
|
"type": "uint8"
|
109
199
|
},
|
200
|
+
{
|
201
|
+
"internalType": "bool",
|
202
|
+
"name": "isInterceptor",
|
203
|
+
"type": "bool"
|
204
|
+
},
|
110
205
|
{
|
111
206
|
"internalType": "address",
|
112
207
|
"name": "objectAddress",
|
@@ -139,12 +234,49 @@
|
|
139
234
|
"type": "uint96"
|
140
235
|
}
|
141
236
|
],
|
142
|
-
"name": "
|
237
|
+
"name": "getObjectInfo",
|
143
238
|
"outputs": [
|
144
239
|
{
|
145
|
-
"
|
146
|
-
|
147
|
-
|
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": "info",
|
279
|
+
"type": "tuple"
|
148
280
|
}
|
149
281
|
],
|
150
282
|
"stateMutability": "view",
|
@@ -152,11 +284,11 @@
|
|
152
284
|
},
|
153
285
|
{
|
154
286
|
"inputs": [],
|
155
|
-
"name": "
|
287
|
+
"name": "getOwner",
|
156
288
|
"outputs": [
|
157
289
|
{
|
158
290
|
"internalType": "address",
|
159
|
-
"name": "",
|
291
|
+
"name": "owner",
|
160
292
|
"type": "address"
|
161
293
|
}
|
162
294
|
],
|
@@ -187,11 +319,30 @@
|
|
187
319
|
"stateMutability": "view",
|
188
320
|
"type": "function"
|
189
321
|
},
|
322
|
+
{
|
323
|
+
"inputs": [
|
324
|
+
{
|
325
|
+
"internalType": "NftId",
|
326
|
+
"name": "nftId",
|
327
|
+
"type": "uint96"
|
328
|
+
}
|
329
|
+
],
|
330
|
+
"name": "getServiceName",
|
331
|
+
"outputs": [
|
332
|
+
{
|
333
|
+
"internalType": "string",
|
334
|
+
"name": "name",
|
335
|
+
"type": "string"
|
336
|
+
}
|
337
|
+
],
|
338
|
+
"stateMutability": "view",
|
339
|
+
"type": "function"
|
340
|
+
},
|
190
341
|
{
|
191
342
|
"inputs": [
|
192
343
|
{
|
193
344
|
"internalType": "address",
|
194
|
-
"name": "
|
345
|
+
"name": "contractAddress",
|
195
346
|
"type": "address"
|
196
347
|
}
|
197
348
|
],
|
@@ -229,45 +380,147 @@
|
|
229
380
|
"inputs": [
|
230
381
|
{
|
231
382
|
"internalType": "address",
|
232
|
-
"name": "
|
383
|
+
"name": "contractAddress",
|
233
384
|
"type": "address"
|
234
385
|
}
|
235
386
|
],
|
236
|
-
"name": "
|
387
|
+
"name": "ownerOf",
|
237
388
|
"outputs": [
|
389
|
+
{
|
390
|
+
"internalType": "address",
|
391
|
+
"name": "",
|
392
|
+
"type": "address"
|
393
|
+
}
|
394
|
+
],
|
395
|
+
"stateMutability": "view",
|
396
|
+
"type": "function"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
"inputs": [
|
238
400
|
{
|
239
401
|
"internalType": "NftId",
|
240
402
|
"name": "nftId",
|
241
403
|
"type": "uint96"
|
242
404
|
}
|
243
405
|
],
|
244
|
-
"
|
406
|
+
"name": "ownerOf",
|
407
|
+
"outputs": [
|
408
|
+
{
|
409
|
+
"internalType": "address",
|
410
|
+
"name": "",
|
411
|
+
"type": "address"
|
412
|
+
}
|
413
|
+
],
|
414
|
+
"stateMutability": "view",
|
245
415
|
"type": "function"
|
246
416
|
},
|
247
417
|
{
|
248
418
|
"inputs": [
|
419
|
+
{
|
420
|
+
"components": [
|
421
|
+
{
|
422
|
+
"internalType": "NftId",
|
423
|
+
"name": "nftId",
|
424
|
+
"type": "uint96"
|
425
|
+
},
|
426
|
+
{
|
427
|
+
"internalType": "NftId",
|
428
|
+
"name": "parentNftId",
|
429
|
+
"type": "uint96"
|
430
|
+
},
|
431
|
+
{
|
432
|
+
"internalType": "ObjectType",
|
433
|
+
"name": "objectType",
|
434
|
+
"type": "uint8"
|
435
|
+
},
|
436
|
+
{
|
437
|
+
"internalType": "bool",
|
438
|
+
"name": "isInterceptor",
|
439
|
+
"type": "bool"
|
440
|
+
},
|
441
|
+
{
|
442
|
+
"internalType": "address",
|
443
|
+
"name": "objectAddress",
|
444
|
+
"type": "address"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"internalType": "address",
|
448
|
+
"name": "initialOwner",
|
449
|
+
"type": "address"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"internalType": "bytes",
|
453
|
+
"name": "data",
|
454
|
+
"type": "bytes"
|
455
|
+
}
|
456
|
+
],
|
457
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
458
|
+
"name": "info",
|
459
|
+
"type": "tuple"
|
460
|
+
}
|
461
|
+
],
|
462
|
+
"name": "register",
|
463
|
+
"outputs": [
|
249
464
|
{
|
250
465
|
"internalType": "NftId",
|
251
|
-
"name": "
|
466
|
+
"name": "nftId",
|
252
467
|
"type": "uint96"
|
253
|
-
}
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
468
|
+
}
|
469
|
+
],
|
470
|
+
"stateMutability": "nonpayable",
|
471
|
+
"type": "function"
|
472
|
+
},
|
473
|
+
{
|
474
|
+
"inputs": [
|
259
475
|
{
|
260
476
|
"internalType": "address",
|
261
|
-
"name": "
|
477
|
+
"name": "from",
|
262
478
|
"type": "address"
|
263
479
|
},
|
264
480
|
{
|
265
|
-
"
|
266
|
-
|
267
|
-
|
481
|
+
"components": [
|
482
|
+
{
|
483
|
+
"internalType": "NftId",
|
484
|
+
"name": "nftId",
|
485
|
+
"type": "uint96"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"internalType": "NftId",
|
489
|
+
"name": "parentNftId",
|
490
|
+
"type": "uint96"
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"internalType": "ObjectType",
|
494
|
+
"name": "objectType",
|
495
|
+
"type": "uint8"
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"internalType": "bool",
|
499
|
+
"name": "isInterceptor",
|
500
|
+
"type": "bool"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"internalType": "address",
|
504
|
+
"name": "objectAddress",
|
505
|
+
"type": "address"
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"internalType": "address",
|
509
|
+
"name": "initialOwner",
|
510
|
+
"type": "address"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"internalType": "bytes",
|
514
|
+
"name": "data",
|
515
|
+
"type": "bytes"
|
516
|
+
}
|
517
|
+
],
|
518
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
519
|
+
"name": "info",
|
520
|
+
"type": "tuple"
|
268
521
|
}
|
269
522
|
],
|
270
|
-
"name": "
|
523
|
+
"name": "registerFrom",
|
271
524
|
"outputs": [
|
272
525
|
{
|
273
526
|
"internalType": "NftId",
|