@etherisc/gif-next 0.0.2-e37834a-021 → 0.0.2-e46206a-486
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +104 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +90 -2
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +118 -6
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +80 -3
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +120 -6
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +118 -6
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
- 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 +54 -286
- 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 +171 -396
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +90 -2
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.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 +80 -3
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
- package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +90 -2
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +22 -14
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
- package/artifacts/contracts/instance/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 +90 -2
- 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/IPolicy.sol/IPolicyModule.json +0 -13
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
- package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -13
- 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/PoolModule.sol/PoolModule.dbg.json +1 -1
- 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/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/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +194 -41
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +136 -16
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +81 -4
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +80 -3
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +80 -3
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +80 -3
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +138 -18
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +154 -42
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +42 -156
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +214 -10
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +62 -184
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +410 -34
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +86 -42
- package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
- package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +80 -3
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +32 -6
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +21 -16
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +120 -6
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
- package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
- package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +1 -1
- package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +118 -6
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
- package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
- package/artifacts/contracts/test/TestPool.sol/TestPool.json +120 -6
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
- package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +120 -8
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +120 -6
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +142 -14
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +18 -2
- package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
- package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
- package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
- package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
- package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
- package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
- package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
- package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
- package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
- package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/contracts/components/BaseComponent.sol +1 -1
- package/contracts/components/Distribution.sol +1 -1
- package/contracts/components/IBaseComponent.sol +1 -1
- package/contracts/components/IDistributionComponent.sol +1 -1
- package/contracts/components/IProductComponent.sol +1 -1
- package/contracts/components/Product.sol +2 -2
- package/contracts/experiment/cloning/Cloner.sol +47 -0
- package/contracts/instance/IInstance.sol +4 -6
- package/contracts/instance/Instance.sol +4 -6
- package/contracts/instance/base/KeyValueStore.sol +3 -2
- package/contracts/instance/base/ModuleBase.sol +1 -1
- package/contracts/instance/base/ServiceBase.sol +1 -0
- package/contracts/instance/module/bundle/BundleModule.sol +2 -2
- package/contracts/instance/module/component/ComponentModule.sol +1 -1
- package/contracts/instance/module/component/IComponent.sol +1 -1
- package/contracts/instance/module/policy/IPolicy.sol +2 -2
- package/contracts/instance/module/policy/PolicyModule.sol +2 -2
- package/contracts/instance/module/treasury/ITreasury.sol +1 -1
- package/contracts/instance/module/treasury/TokenHandler.sol +1 -1
- package/contracts/instance/module/treasury/TreasuryModule.sol +4 -4
- package/contracts/instance/service/ComponentOwnerService.sol +73 -30
- package/contracts/instance/service/IProductService.sol +1 -1
- package/contracts/instance/service/ProductService.sol +3 -3
- package/contracts/registry/ChainNft.sol +40 -25
- package/contracts/registry/IRegistry.sol +9 -25
- package/contracts/registry/IRegistryService.sol +9 -3
- package/contracts/registry/Registry.sol +90 -157
- package/contracts/registry/RegistryService.sol +167 -101
- package/contracts/registry/RegistryServiceManager.sol +22 -10
- package/contracts/shared/ERC165.sol +1 -1
- package/contracts/shared/INftOwnable.sol +22 -0
- package/contracts/shared/IRegisterable.sol +3 -8
- package/contracts/shared/NftOwnable.sol +83 -34
- package/contracts/shared/ProxyManager.sol +3 -12
- package/contracts/shared/Registerable.sol +14 -42
- package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
- package/contracts/shared/Versionable.sol +3 -3
- package/contracts/test/TestFee.sol +2 -2
- package/contracts/test/TestProduct.sol +2 -2
- package/contracts/test/TestRoleId.sol +1 -1
- package/contracts/types/DistributorType.sol +55 -0
- package/contracts/types/Fee.sol +3 -3
- package/contracts/types/Key32.sol +8 -3
- package/contracts/types/NumberId.sol +52 -0
- package/contracts/types/ObjectType.sol +35 -14
- package/contracts/types/Referral.sol +85 -0
- package/contracts/types/RoleId.sol +53 -9
- package/contracts/types/StateId.sol +1 -1
- package/contracts/types/Timestamp.sol +7 -3
- package/contracts/types/UFixed.sol +128 -12
- package/package.json +4 -3
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
- package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
- package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
- package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +0 -4
- package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +0 -99
- package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
- package/contracts/instance/module/access/Access.sol +0 -149
- package/contracts/instance/module/access/IAccess.sol +0 -53
- package/contracts/registry/IChainNft.sol +0 -22
- package/contracts/shared/IOwnable.sol +0 -6
- package/contracts/types/ReferralId.sol +0 -48
@@ -4,67 +4,74 @@
|
|
4
4
|
"sourceName": "contracts/instance/IInstance.sol",
|
5
5
|
"abi": [
|
6
6
|
{
|
7
|
-
"anonymous": false,
|
8
7
|
"inputs": [
|
9
8
|
{
|
10
|
-
"
|
11
|
-
"
|
12
|
-
"
|
13
|
-
"type": "bytes8"
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "registry",
|
11
|
+
"type": "address"
|
14
12
|
},
|
15
13
|
{
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"
|
19
|
-
"type": "string"
|
14
|
+
"internalType": "NftId",
|
15
|
+
"name": "nftId",
|
16
|
+
"type": "uint96"
|
20
17
|
}
|
21
18
|
],
|
22
|
-
"name": "
|
23
|
-
"type": "
|
19
|
+
"name": "ErrorAlreadyLinked",
|
20
|
+
"type": "error"
|
24
21
|
},
|
25
22
|
{
|
26
|
-
"anonymous": false,
|
27
23
|
"inputs": [
|
28
24
|
{
|
29
|
-
"indexed": false,
|
30
|
-
"internalType": "RoleId",
|
31
|
-
"name": "role",
|
32
|
-
"type": "bytes8"
|
33
|
-
},
|
34
|
-
{
|
35
|
-
"indexed": false,
|
36
25
|
"internalType": "address",
|
37
|
-
"name": "
|
26
|
+
"name": "contractAddress",
|
38
27
|
"type": "address"
|
39
|
-
}
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "ErrorContractNotRegistered",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
40
35
|
{
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"type": "bool"
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "account",
|
38
|
+
"type": "address"
|
45
39
|
}
|
46
40
|
],
|
47
|
-
"name": "
|
48
|
-
"type": "
|
41
|
+
"name": "ErrorNotOwner",
|
42
|
+
"type": "error"
|
49
43
|
},
|
50
44
|
{
|
51
|
-
"anonymous": false,
|
52
45
|
"inputs": [
|
53
46
|
{
|
54
|
-
"
|
55
|
-
"
|
56
|
-
"
|
57
|
-
|
58
|
-
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "registryAddress",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ErrorNotRegistry",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [],
|
57
|
+
"name": "ErrorRegistryAddressZero",
|
58
|
+
"type": "error"
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"inputs": [
|
59
62
|
{
|
60
|
-
"
|
61
|
-
"
|
62
|
-
"
|
63
|
-
"type": "bool"
|
63
|
+
"internalType": "address",
|
64
|
+
"name": "registry",
|
65
|
+
"type": "address"
|
64
66
|
}
|
65
67
|
],
|
66
|
-
"name": "
|
67
|
-
"type": "
|
68
|
+
"name": "ErrorRegistryAlreadyInitialized",
|
69
|
+
"type": "error"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"inputs": [],
|
73
|
+
"name": "ErrorRegistryNotInitialized",
|
74
|
+
"type": "error"
|
68
75
|
},
|
69
76
|
{
|
70
77
|
"anonymous": false,
|
@@ -299,25 +306,6 @@
|
|
299
306
|
"stateMutability": "nonpayable",
|
300
307
|
"type": "function"
|
301
308
|
},
|
302
|
-
{
|
303
|
-
"inputs": [
|
304
|
-
{
|
305
|
-
"internalType": "string",
|
306
|
-
"name": "roleName",
|
307
|
-
"type": "string"
|
308
|
-
}
|
309
|
-
],
|
310
|
-
"name": "createRole",
|
311
|
-
"outputs": [
|
312
|
-
{
|
313
|
-
"internalType": "RoleId",
|
314
|
-
"name": "role",
|
315
|
-
"type": "bytes8"
|
316
|
-
}
|
317
|
-
],
|
318
|
-
"stateMutability": "nonpayable",
|
319
|
-
"type": "function"
|
320
|
-
},
|
321
309
|
{
|
322
310
|
"inputs": [
|
323
311
|
{
|
@@ -653,7 +641,7 @@
|
|
653
641
|
"outputs": [
|
654
642
|
{
|
655
643
|
"internalType": "NftId",
|
656
|
-
"name": "
|
644
|
+
"name": "",
|
657
645
|
"type": "uint96"
|
658
646
|
}
|
659
647
|
],
|
@@ -884,136 +872,6 @@
|
|
884
872
|
"stateMutability": "view",
|
885
873
|
"type": "function"
|
886
874
|
},
|
887
|
-
{
|
888
|
-
"inputs": [
|
889
|
-
{
|
890
|
-
"internalType": "uint256",
|
891
|
-
"name": "idx",
|
892
|
-
"type": "uint256"
|
893
|
-
}
|
894
|
-
],
|
895
|
-
"name": "getRole",
|
896
|
-
"outputs": [
|
897
|
-
{
|
898
|
-
"internalType": "RoleId",
|
899
|
-
"name": "role",
|
900
|
-
"type": "bytes8"
|
901
|
-
}
|
902
|
-
],
|
903
|
-
"stateMutability": "view",
|
904
|
-
"type": "function"
|
905
|
-
},
|
906
|
-
{
|
907
|
-
"inputs": [],
|
908
|
-
"name": "getRoleCount",
|
909
|
-
"outputs": [
|
910
|
-
{
|
911
|
-
"internalType": "uint256",
|
912
|
-
"name": "roles",
|
913
|
-
"type": "uint256"
|
914
|
-
}
|
915
|
-
],
|
916
|
-
"stateMutability": "view",
|
917
|
-
"type": "function"
|
918
|
-
},
|
919
|
-
{
|
920
|
-
"inputs": [
|
921
|
-
{
|
922
|
-
"internalType": "string",
|
923
|
-
"name": "roleName",
|
924
|
-
"type": "string"
|
925
|
-
}
|
926
|
-
],
|
927
|
-
"name": "getRoleId",
|
928
|
-
"outputs": [
|
929
|
-
{
|
930
|
-
"internalType": "RoleId",
|
931
|
-
"name": "role",
|
932
|
-
"type": "bytes8"
|
933
|
-
}
|
934
|
-
],
|
935
|
-
"stateMutability": "pure",
|
936
|
-
"type": "function"
|
937
|
-
},
|
938
|
-
{
|
939
|
-
"inputs": [
|
940
|
-
{
|
941
|
-
"internalType": "RoleId",
|
942
|
-
"name": "role",
|
943
|
-
"type": "bytes8"
|
944
|
-
}
|
945
|
-
],
|
946
|
-
"name": "getRoleInfo",
|
947
|
-
"outputs": [
|
948
|
-
{
|
949
|
-
"components": [
|
950
|
-
{
|
951
|
-
"internalType": "RoleId",
|
952
|
-
"name": "id",
|
953
|
-
"type": "bytes8"
|
954
|
-
},
|
955
|
-
{
|
956
|
-
"internalType": "string",
|
957
|
-
"name": "name",
|
958
|
-
"type": "string"
|
959
|
-
},
|
960
|
-
{
|
961
|
-
"internalType": "bool",
|
962
|
-
"name": "isActive",
|
963
|
-
"type": "bool"
|
964
|
-
}
|
965
|
-
],
|
966
|
-
"internalType": "struct IAccess.RoleInfo",
|
967
|
-
"name": "info",
|
968
|
-
"type": "tuple"
|
969
|
-
}
|
970
|
-
],
|
971
|
-
"stateMutability": "view",
|
972
|
-
"type": "function"
|
973
|
-
},
|
974
|
-
{
|
975
|
-
"inputs": [
|
976
|
-
{
|
977
|
-
"internalType": "RoleId",
|
978
|
-
"name": "role",
|
979
|
-
"type": "bytes8"
|
980
|
-
},
|
981
|
-
{
|
982
|
-
"internalType": "uint256",
|
983
|
-
"name": "idx",
|
984
|
-
"type": "uint256"
|
985
|
-
}
|
986
|
-
],
|
987
|
-
"name": "getRoleMember",
|
988
|
-
"outputs": [
|
989
|
-
{
|
990
|
-
"internalType": "address",
|
991
|
-
"name": "roleMember",
|
992
|
-
"type": "address"
|
993
|
-
}
|
994
|
-
],
|
995
|
-
"stateMutability": "view",
|
996
|
-
"type": "function"
|
997
|
-
},
|
998
|
-
{
|
999
|
-
"inputs": [
|
1000
|
-
{
|
1001
|
-
"internalType": "RoleId",
|
1002
|
-
"name": "role",
|
1003
|
-
"type": "bytes8"
|
1004
|
-
}
|
1005
|
-
],
|
1006
|
-
"name": "getRoleMemberCount",
|
1007
|
-
"outputs": [
|
1008
|
-
{
|
1009
|
-
"internalType": "uint256",
|
1010
|
-
"name": "roleMembers",
|
1011
|
-
"type": "uint256"
|
1012
|
-
}
|
1013
|
-
],
|
1014
|
-
"stateMutability": "view",
|
1015
|
-
"type": "function"
|
1016
|
-
},
|
1017
875
|
{
|
1018
876
|
"inputs": [
|
1019
877
|
{
|
@@ -1349,48 +1207,6 @@
|
|
1349
1207
|
"stateMutability": "view",
|
1350
1208
|
"type": "function"
|
1351
1209
|
},
|
1352
|
-
{
|
1353
|
-
"inputs": [
|
1354
|
-
{
|
1355
|
-
"internalType": "RoleId",
|
1356
|
-
"name": "role",
|
1357
|
-
"type": "bytes8"
|
1358
|
-
},
|
1359
|
-
{
|
1360
|
-
"internalType": "address",
|
1361
|
-
"name": "member",
|
1362
|
-
"type": "address"
|
1363
|
-
}
|
1364
|
-
],
|
1365
|
-
"name": "grantRole",
|
1366
|
-
"outputs": [],
|
1367
|
-
"stateMutability": "nonpayable",
|
1368
|
-
"type": "function"
|
1369
|
-
},
|
1370
|
-
{
|
1371
|
-
"inputs": [
|
1372
|
-
{
|
1373
|
-
"internalType": "RoleId",
|
1374
|
-
"name": "role",
|
1375
|
-
"type": "bytes8"
|
1376
|
-
},
|
1377
|
-
{
|
1378
|
-
"internalType": "address",
|
1379
|
-
"name": "member",
|
1380
|
-
"type": "address"
|
1381
|
-
}
|
1382
|
-
],
|
1383
|
-
"name": "hasRole",
|
1384
|
-
"outputs": [
|
1385
|
-
{
|
1386
|
-
"internalType": "bool",
|
1387
|
-
"name": "",
|
1388
|
-
"type": "bool"
|
1389
|
-
}
|
1390
|
-
],
|
1391
|
-
"stateMutability": "view",
|
1392
|
-
"type": "function"
|
1393
|
-
},
|
1394
1210
|
{
|
1395
1211
|
"inputs": [
|
1396
1212
|
{
|
@@ -1452,6 +1268,13 @@
|
|
1452
1268
|
"stateMutability": "view",
|
1453
1269
|
"type": "function"
|
1454
1270
|
},
|
1271
|
+
{
|
1272
|
+
"inputs": [],
|
1273
|
+
"name": "linkToRegisteredNftId",
|
1274
|
+
"outputs": [],
|
1275
|
+
"stateMutability": "nonpayable",
|
1276
|
+
"type": "function"
|
1277
|
+
},
|
1455
1278
|
{
|
1456
1279
|
"inputs": [
|
1457
1280
|
{
|
@@ -1666,43 +1489,6 @@
|
|
1666
1489
|
"stateMutability": "nonpayable",
|
1667
1490
|
"type": "function"
|
1668
1491
|
},
|
1669
|
-
{
|
1670
|
-
"inputs": [
|
1671
|
-
{
|
1672
|
-
"internalType": "RoleId",
|
1673
|
-
"name": "role",
|
1674
|
-
"type": "bytes8"
|
1675
|
-
},
|
1676
|
-
{
|
1677
|
-
"internalType": "address",
|
1678
|
-
"name": "member",
|
1679
|
-
"type": "address"
|
1680
|
-
}
|
1681
|
-
],
|
1682
|
-
"name": "revokeRole",
|
1683
|
-
"outputs": [],
|
1684
|
-
"stateMutability": "nonpayable",
|
1685
|
-
"type": "function"
|
1686
|
-
},
|
1687
|
-
{
|
1688
|
-
"inputs": [
|
1689
|
-
{
|
1690
|
-
"internalType": "RoleId",
|
1691
|
-
"name": "role",
|
1692
|
-
"type": "bytes8"
|
1693
|
-
}
|
1694
|
-
],
|
1695
|
-
"name": "roleExists",
|
1696
|
-
"outputs": [
|
1697
|
-
{
|
1698
|
-
"internalType": "bool",
|
1699
|
-
"name": "",
|
1700
|
-
"type": "bool"
|
1701
|
-
}
|
1702
|
-
],
|
1703
|
-
"stateMutability": "view",
|
1704
|
-
"type": "function"
|
1705
|
-
},
|
1706
1492
|
{
|
1707
1493
|
"inputs": [
|
1708
1494
|
{
|
@@ -1895,24 +1681,6 @@
|
|
1895
1681
|
"stateMutability": "nonpayable",
|
1896
1682
|
"type": "function"
|
1897
1683
|
},
|
1898
|
-
{
|
1899
|
-
"inputs": [
|
1900
|
-
{
|
1901
|
-
"internalType": "RoleId",
|
1902
|
-
"name": "role",
|
1903
|
-
"type": "bytes8"
|
1904
|
-
},
|
1905
|
-
{
|
1906
|
-
"internalType": "bool",
|
1907
|
-
"name": "active",
|
1908
|
-
"type": "bool"
|
1909
|
-
}
|
1910
|
-
],
|
1911
|
-
"name": "setRoleState",
|
1912
|
-
"outputs": [],
|
1913
|
-
"stateMutability": "nonpayable",
|
1914
|
-
"type": "function"
|
1915
|
-
},
|
1916
1684
|
{
|
1917
1685
|
"inputs": [
|
1918
1686
|
{
|