@etherisc/gif-next 0.0.2-fb8d07b-779 → 0.0.2-fbe22f0-239
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +136 -2
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +858 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +588 -92
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +208 -143
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +543 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +663 -31
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +648 -5
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +818 -273
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +657 -181
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
- 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/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/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1371 -129
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +132 -21
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +293 -656
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +89 -91
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +395 -122
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +149 -57
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +243 -55
- 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/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
- package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +2 -2
- 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/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
- package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1091 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1292 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +560 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +272 -91
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +140 -40
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IApplicationService.sol/IApplicationService.json} +217 -58
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +785 -0
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +20 -20
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +22 -84
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +32 -247
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1352 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +616 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +256 -180
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +140 -52
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +981 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +548 -0
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +208 -224
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +228 -95
- 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 +222 -330
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
- package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +197 -109
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +162 -112
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +124 -29
- 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 +41 -3
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +24 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
- package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +5 -5
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +20 -20
- 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 +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +130 -11
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +172 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +130 -6
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +126 -11
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +153 -20
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- 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/shared/Versionable.sol/Versionable.json +2 -2
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +126 -11
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +171 -38
- 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/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -8
- 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/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
- package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
- 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/Key32.sol/Key32Lib.json +2 -2
- 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 +26 -3
- package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
- 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 +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
- 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 +2 -2
- 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/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- 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/Component.sol +230 -0
- package/contracts/components/Distribution.sol +53 -57
- package/contracts/components/IComponent.sol +50 -0
- package/contracts/components/IDistributionComponent.sol +5 -2
- package/contracts/components/IPoolComponent.sol +54 -29
- package/contracts/components/IProductComponent.sol +7 -3
- package/contracts/components/Pool.sol +153 -142
- package/contracts/components/Product.sol +109 -128
- package/contracts/instance/BundleManager.sol +125 -0
- package/contracts/instance/Cloneable.sol +46 -0
- package/contracts/instance/IInstance.sol +41 -8
- package/contracts/instance/IInstanceService.sol +15 -4
- package/contracts/instance/Instance.sol +65 -240
- package/contracts/instance/InstanceAccessManager.sol +87 -78
- package/contracts/instance/InstanceReader.sol +12 -25
- package/contracts/instance/InstanceService.sol +347 -95
- package/contracts/instance/InstanceServiceManager.sol +10 -12
- package/contracts/instance/ObjectManager.sol +84 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/module/IAccess.sol +27 -18
- package/contracts/instance/module/ISetup.sol +7 -4
- package/contracts/instance/service/ApplicationService.sol +268 -0
- package/contracts/instance/service/BundleService.sol +298 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/DistributionService.sol +45 -27
- package/contracts/instance/service/DistributionServiceManager.sol +10 -12
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +54 -0
- package/contracts/instance/service/IPolicyService.sol +88 -0
- package/contracts/instance/service/IPoolService.sol +6 -23
- package/contracts/instance/service/IProductService.sol +6 -73
- package/contracts/instance/service/PolicyService.sol +524 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +40 -124
- package/contracts/instance/service/PoolServiceManager.sol +10 -12
- package/contracts/instance/service/ProductService.sol +233 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +1 -1
- package/contracts/registry/IRegistry.sol +38 -33
- package/contracts/registry/IRegistryService.sol +45 -13
- package/contracts/registry/Registry.sol +223 -250
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +86 -224
- package/contracts/registry/RegistryServiceManager.sol +18 -36
- package/contracts/registry/ReleaseManager.sol +332 -0
- package/contracts/registry/TokenRegistry.sol +11 -9
- package/contracts/shared/ERC165.sol +12 -11
- package/contracts/shared/INftOwnable.sol +6 -1
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IService.sol +2 -1
- package/contracts/shared/IVersionable.sol +2 -2
- package/contracts/shared/NftOwnable.sol +93 -42
- package/contracts/shared/PolicyHolder.sol +52 -0
- package/contracts/shared/ProxyManager.sol +6 -5
- package/contracts/shared/Registerable.sol +15 -24
- package/contracts/shared/Service.sol +18 -13
- package/contracts/shared/Versionable.sol +3 -2
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +5 -1
- package/contracts/types/RoleId.sol +10 -9
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
- package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
- package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
- package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
- package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -91
- package/contracts/components/IBaseComponent.sol +0 -25
- package/contracts/instance/AccessManagedSimple.sol +0 -115
- package/contracts/instance/AccessManagerSimple.sol +0 -692
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -125
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -3,6 +3,66 @@
|
|
3
3
|
"contractName": "Distribution",
|
4
4
|
"sourceName": "contracts/components/Distribution.sol",
|
5
5
|
"abi": [
|
6
|
+
{
|
7
|
+
"inputs": [
|
8
|
+
{
|
9
|
+
"internalType": "address",
|
10
|
+
"name": "authority",
|
11
|
+
"type": "address"
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
19
|
+
{
|
20
|
+
"internalType": "address",
|
21
|
+
"name": "caller",
|
22
|
+
"type": "address"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
35
|
+
{
|
36
|
+
"internalType": "address",
|
37
|
+
"name": "caller",
|
38
|
+
"type": "address"
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
46
|
+
{
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "target",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "AddressEmptyCode",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
57
|
+
{
|
58
|
+
"internalType": "address",
|
59
|
+
"name": "account",
|
60
|
+
"type": "address"
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"name": "AddressInsufficientBalance",
|
64
|
+
"type": "error"
|
65
|
+
},
|
6
66
|
{
|
7
67
|
"inputs": [
|
8
68
|
{
|
@@ -10,6 +70,28 @@
|
|
10
70
|
"name": "registry",
|
11
71
|
"type": "address"
|
12
72
|
},
|
73
|
+
{
|
74
|
+
"internalType": "NftId",
|
75
|
+
"name": "nftId",
|
76
|
+
"type": "uint96"
|
77
|
+
}
|
78
|
+
],
|
79
|
+
"name": "ErrorAlreadyLinked",
|
80
|
+
"type": "error"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"internalType": "address",
|
86
|
+
"name": "caller",
|
87
|
+
"type": "address"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"name": "ErrorComponentNotChainNft",
|
91
|
+
"type": "error"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"inputs": [
|
13
95
|
{
|
14
96
|
"internalType": "NftId",
|
15
97
|
"name": "instanceNftId",
|
@@ -17,54 +99,85 @@
|
|
17
99
|
},
|
18
100
|
{
|
19
101
|
"internalType": "address",
|
20
|
-
"name": "
|
102
|
+
"name": "instance",
|
21
103
|
"type": "address"
|
22
|
-
}
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"name": "ErrorComponentNotInstance",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [
|
23
111
|
{
|
24
|
-
"internalType": "
|
25
|
-
"name": "
|
26
|
-
"type": "
|
27
|
-
}
|
112
|
+
"internalType": "address",
|
113
|
+
"name": "caller",
|
114
|
+
"type": "address"
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"name": "ErrorComponentNotProductService",
|
118
|
+
"type": "error"
|
119
|
+
},
|
120
|
+
{
|
121
|
+
"inputs": [],
|
122
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
123
|
+
"type": "error"
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"inputs": [
|
28
127
|
{
|
29
|
-
"
|
30
|
-
|
31
|
-
|
32
|
-
"name": "fractionalFee",
|
33
|
-
"type": "uint256"
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"internalType": "uint256",
|
37
|
-
"name": "fixedFee",
|
38
|
-
"type": "uint256"
|
39
|
-
}
|
40
|
-
],
|
41
|
-
"internalType": "struct Fee",
|
42
|
-
"name": "distributionFee",
|
43
|
-
"type": "tuple"
|
128
|
+
"internalType": "address",
|
129
|
+
"name": "caller",
|
130
|
+
"type": "address"
|
44
131
|
},
|
132
|
+
{
|
133
|
+
"internalType": "uint64",
|
134
|
+
"name": "requiredRoleIdNum",
|
135
|
+
"type": "uint64"
|
136
|
+
}
|
137
|
+
],
|
138
|
+
"name": "ErrorComponentUnauthorized",
|
139
|
+
"type": "error"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"inputs": [
|
45
143
|
{
|
46
144
|
"internalType": "address",
|
47
|
-
"name": "
|
145
|
+
"name": "newWallet",
|
48
146
|
"type": "address"
|
49
147
|
}
|
50
148
|
],
|
51
|
-
"
|
52
|
-
"type": "
|
149
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
150
|
+
"type": "error"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"inputs": [],
|
154
|
+
"name": "ErrorComponentWalletAddressZero",
|
155
|
+
"type": "error"
|
53
156
|
},
|
54
157
|
{
|
55
158
|
"inputs": [
|
56
159
|
{
|
57
160
|
"internalType": "address",
|
58
|
-
"name": "
|
161
|
+
"name": "oldWallet",
|
59
162
|
"type": "address"
|
60
163
|
},
|
61
164
|
{
|
62
|
-
"internalType": "
|
63
|
-
"name": "
|
64
|
-
"type": "
|
165
|
+
"internalType": "address",
|
166
|
+
"name": "newWallet",
|
167
|
+
"type": "address"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"internalType": "uint256",
|
171
|
+
"name": "allowance",
|
172
|
+
"type": "uint256"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"internalType": "uint256",
|
176
|
+
"name": "balance",
|
177
|
+
"type": "uint256"
|
65
178
|
}
|
66
179
|
],
|
67
|
-
"name": "
|
180
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
68
181
|
"type": "error"
|
69
182
|
},
|
70
183
|
{
|
@@ -78,6 +191,11 @@
|
|
78
191
|
"name": "ErrorContractNotRegistered",
|
79
192
|
"type": "error"
|
80
193
|
},
|
194
|
+
{
|
195
|
+
"inputs": [],
|
196
|
+
"name": "ErrorInitialOwnerZero",
|
197
|
+
"type": "error"
|
198
|
+
},
|
81
199
|
{
|
82
200
|
"inputs": [
|
83
201
|
{
|
@@ -132,6 +250,11 @@
|
|
132
250
|
"name": "ErrorRegistryNotInitialized",
|
133
251
|
"type": "error"
|
134
252
|
},
|
253
|
+
{
|
254
|
+
"inputs": [],
|
255
|
+
"name": "FailedInnerCall",
|
256
|
+
"type": "error"
|
257
|
+
},
|
135
258
|
{
|
136
259
|
"inputs": [],
|
137
260
|
"name": "InvalidInitialization",
|
@@ -142,6 +265,30 @@
|
|
142
265
|
"name": "NotInitializing",
|
143
266
|
"type": "error"
|
144
267
|
},
|
268
|
+
{
|
269
|
+
"inputs": [
|
270
|
+
{
|
271
|
+
"internalType": "address",
|
272
|
+
"name": "token",
|
273
|
+
"type": "address"
|
274
|
+
}
|
275
|
+
],
|
276
|
+
"name": "SafeERC20FailedOperation",
|
277
|
+
"type": "error"
|
278
|
+
},
|
279
|
+
{
|
280
|
+
"anonymous": false,
|
281
|
+
"inputs": [
|
282
|
+
{
|
283
|
+
"indexed": false,
|
284
|
+
"internalType": "address",
|
285
|
+
"name": "authority",
|
286
|
+
"type": "address"
|
287
|
+
}
|
288
|
+
],
|
289
|
+
"name": "AuthorityUpdated",
|
290
|
+
"type": "event"
|
291
|
+
},
|
145
292
|
{
|
146
293
|
"anonymous": false,
|
147
294
|
"inputs": [
|
@@ -155,6 +302,83 @@
|
|
155
302
|
"name": "Initialized",
|
156
303
|
"type": "event"
|
157
304
|
},
|
305
|
+
{
|
306
|
+
"anonymous": false,
|
307
|
+
"inputs": [
|
308
|
+
{
|
309
|
+
"indexed": false,
|
310
|
+
"internalType": "address",
|
311
|
+
"name": "newWallet",
|
312
|
+
"type": "address"
|
313
|
+
}
|
314
|
+
],
|
315
|
+
"name": "LogComponentWalletAddressChanged",
|
316
|
+
"type": "event"
|
317
|
+
},
|
318
|
+
{
|
319
|
+
"anonymous": false,
|
320
|
+
"inputs": [
|
321
|
+
{
|
322
|
+
"indexed": false,
|
323
|
+
"internalType": "address",
|
324
|
+
"name": "from",
|
325
|
+
"type": "address"
|
326
|
+
},
|
327
|
+
{
|
328
|
+
"indexed": false,
|
329
|
+
"internalType": "address",
|
330
|
+
"name": "to",
|
331
|
+
"type": "address"
|
332
|
+
},
|
333
|
+
{
|
334
|
+
"indexed": false,
|
335
|
+
"internalType": "uint256",
|
336
|
+
"name": "amount",
|
337
|
+
"type": "uint256"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"name": "LogComponentWalletTokensTransferred",
|
341
|
+
"type": "event"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"inputs": [],
|
345
|
+
"name": "CONTRACT_LOCATION_V1",
|
346
|
+
"outputs": [
|
347
|
+
{
|
348
|
+
"internalType": "bytes32",
|
349
|
+
"name": "",
|
350
|
+
"type": "bytes32"
|
351
|
+
}
|
352
|
+
],
|
353
|
+
"stateMutability": "view",
|
354
|
+
"type": "function"
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"inputs": [],
|
358
|
+
"name": "DISTRIBUTION_STORAGE_LOCATION_V1",
|
359
|
+
"outputs": [
|
360
|
+
{
|
361
|
+
"internalType": "bytes32",
|
362
|
+
"name": "",
|
363
|
+
"type": "bytes32"
|
364
|
+
}
|
365
|
+
],
|
366
|
+
"stateMutability": "view",
|
367
|
+
"type": "function"
|
368
|
+
},
|
369
|
+
{
|
370
|
+
"inputs": [],
|
371
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
372
|
+
"outputs": [
|
373
|
+
{
|
374
|
+
"internalType": "bytes32",
|
375
|
+
"name": "",
|
376
|
+
"type": "bytes32"
|
377
|
+
}
|
378
|
+
],
|
379
|
+
"stateMutability": "view",
|
380
|
+
"type": "function"
|
381
|
+
},
|
158
382
|
{
|
159
383
|
"inputs": [],
|
160
384
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -168,6 +392,19 @@
|
|
168
392
|
"stateMutability": "view",
|
169
393
|
"type": "function"
|
170
394
|
},
|
395
|
+
{
|
396
|
+
"inputs": [],
|
397
|
+
"name": "authority",
|
398
|
+
"outputs": [
|
399
|
+
{
|
400
|
+
"internalType": "address",
|
401
|
+
"name": "",
|
402
|
+
"type": "address"
|
403
|
+
}
|
404
|
+
],
|
405
|
+
"stateMutability": "view",
|
406
|
+
"type": "function"
|
407
|
+
},
|
171
408
|
{
|
172
409
|
"inputs": [
|
173
410
|
{
|
@@ -259,13 +496,21 @@
|
|
259
496
|
}
|
260
497
|
],
|
261
498
|
"internalType": "struct IRegistry.ObjectInfo",
|
262
|
-
"name": "",
|
499
|
+
"name": "info",
|
263
500
|
"type": "tuple"
|
264
|
-
}
|
501
|
+
}
|
502
|
+
],
|
503
|
+
"stateMutability": "view",
|
504
|
+
"type": "function"
|
505
|
+
},
|
506
|
+
{
|
507
|
+
"inputs": [],
|
508
|
+
"name": "getInitialOwner",
|
509
|
+
"outputs": [
|
265
510
|
{
|
266
|
-
"internalType": "
|
511
|
+
"internalType": "address",
|
267
512
|
"name": "",
|
268
|
-
"type": "
|
513
|
+
"type": "address"
|
269
514
|
}
|
270
515
|
],
|
271
516
|
"stateMutability": "view",
|
@@ -284,6 +529,32 @@
|
|
284
529
|
"stateMutability": "view",
|
285
530
|
"type": "function"
|
286
531
|
},
|
532
|
+
{
|
533
|
+
"inputs": [],
|
534
|
+
"name": "getInstanceService",
|
535
|
+
"outputs": [
|
536
|
+
{
|
537
|
+
"internalType": "contract IInstanceService",
|
538
|
+
"name": "",
|
539
|
+
"type": "address"
|
540
|
+
}
|
541
|
+
],
|
542
|
+
"stateMutability": "view",
|
543
|
+
"type": "function"
|
544
|
+
},
|
545
|
+
{
|
546
|
+
"inputs": [],
|
547
|
+
"name": "getName",
|
548
|
+
"outputs": [
|
549
|
+
{
|
550
|
+
"internalType": "string",
|
551
|
+
"name": "name",
|
552
|
+
"type": "string"
|
553
|
+
}
|
554
|
+
],
|
555
|
+
"stateMutability": "view",
|
556
|
+
"type": "function"
|
557
|
+
},
|
287
558
|
{
|
288
559
|
"inputs": [],
|
289
560
|
"name": "getNftId",
|
@@ -323,6 +594,19 @@
|
|
323
594
|
"stateMutability": "view",
|
324
595
|
"type": "function"
|
325
596
|
},
|
597
|
+
{
|
598
|
+
"inputs": [],
|
599
|
+
"name": "getProductService",
|
600
|
+
"outputs": [
|
601
|
+
{
|
602
|
+
"internalType": "contract IProductService",
|
603
|
+
"name": "",
|
604
|
+
"type": "address"
|
605
|
+
}
|
606
|
+
],
|
607
|
+
"stateMutability": "view",
|
608
|
+
"type": "function"
|
609
|
+
},
|
326
610
|
{
|
327
611
|
"inputs": [],
|
328
612
|
"name": "getRegistry",
|
@@ -369,11 +653,6 @@
|
|
369
653
|
"name": "distributionFee",
|
370
654
|
"type": "tuple"
|
371
655
|
},
|
372
|
-
{
|
373
|
-
"internalType": "bool",
|
374
|
-
"name": "isIntercepting",
|
375
|
-
"type": "bool"
|
376
|
-
},
|
377
656
|
{
|
378
657
|
"internalType": "address",
|
379
658
|
"name": "wallet",
|
@@ -414,6 +693,211 @@
|
|
414
693
|
"stateMutability": "view",
|
415
694
|
"type": "function"
|
416
695
|
},
|
696
|
+
{
|
697
|
+
"inputs": [
|
698
|
+
{
|
699
|
+
"internalType": "address",
|
700
|
+
"name": "registry",
|
701
|
+
"type": "address"
|
702
|
+
},
|
703
|
+
{
|
704
|
+
"internalType": "NftId",
|
705
|
+
"name": "instanceNftId",
|
706
|
+
"type": "uint96"
|
707
|
+
},
|
708
|
+
{
|
709
|
+
"internalType": "string",
|
710
|
+
"name": "name",
|
711
|
+
"type": "string"
|
712
|
+
},
|
713
|
+
{
|
714
|
+
"internalType": "address",
|
715
|
+
"name": "token",
|
716
|
+
"type": "address"
|
717
|
+
},
|
718
|
+
{
|
719
|
+
"internalType": "ObjectType",
|
720
|
+
"name": "componentType",
|
721
|
+
"type": "uint8"
|
722
|
+
},
|
723
|
+
{
|
724
|
+
"internalType": "bool",
|
725
|
+
"name": "isInterceptor",
|
726
|
+
"type": "bool"
|
727
|
+
},
|
728
|
+
{
|
729
|
+
"internalType": "address",
|
730
|
+
"name": "initialOwner",
|
731
|
+
"type": "address"
|
732
|
+
},
|
733
|
+
{
|
734
|
+
"internalType": "bytes",
|
735
|
+
"name": "data",
|
736
|
+
"type": "bytes"
|
737
|
+
}
|
738
|
+
],
|
739
|
+
"name": "initializeComponent",
|
740
|
+
"outputs": [],
|
741
|
+
"stateMutability": "nonpayable",
|
742
|
+
"type": "function"
|
743
|
+
},
|
744
|
+
{
|
745
|
+
"inputs": [
|
746
|
+
{
|
747
|
+
"internalType": "address",
|
748
|
+
"name": "registry",
|
749
|
+
"type": "address"
|
750
|
+
},
|
751
|
+
{
|
752
|
+
"internalType": "NftId",
|
753
|
+
"name": "instanceNftId",
|
754
|
+
"type": "uint96"
|
755
|
+
},
|
756
|
+
{
|
757
|
+
"internalType": "string",
|
758
|
+
"name": "name",
|
759
|
+
"type": "string"
|
760
|
+
},
|
761
|
+
{
|
762
|
+
"internalType": "address",
|
763
|
+
"name": "token",
|
764
|
+
"type": "address"
|
765
|
+
},
|
766
|
+
{
|
767
|
+
"components": [
|
768
|
+
{
|
769
|
+
"internalType": "UFixed",
|
770
|
+
"name": "fractionalFee",
|
771
|
+
"type": "uint256"
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"internalType": "uint256",
|
775
|
+
"name": "fixedFee",
|
776
|
+
"type": "uint256"
|
777
|
+
}
|
778
|
+
],
|
779
|
+
"internalType": "struct Fee",
|
780
|
+
"name": "distributionFee",
|
781
|
+
"type": "tuple"
|
782
|
+
},
|
783
|
+
{
|
784
|
+
"internalType": "address",
|
785
|
+
"name": "initialOwner",
|
786
|
+
"type": "address"
|
787
|
+
},
|
788
|
+
{
|
789
|
+
"internalType": "bytes",
|
790
|
+
"name": "data",
|
791
|
+
"type": "bytes"
|
792
|
+
}
|
793
|
+
],
|
794
|
+
"name": "initializeDistribution",
|
795
|
+
"outputs": [],
|
796
|
+
"stateMutability": "nonpayable",
|
797
|
+
"type": "function"
|
798
|
+
},
|
799
|
+
{
|
800
|
+
"inputs": [],
|
801
|
+
"name": "initializeERC165",
|
802
|
+
"outputs": [],
|
803
|
+
"stateMutability": "nonpayable",
|
804
|
+
"type": "function"
|
805
|
+
},
|
806
|
+
{
|
807
|
+
"inputs": [
|
808
|
+
{
|
809
|
+
"internalType": "address",
|
810
|
+
"name": "initialOwner",
|
811
|
+
"type": "address"
|
812
|
+
},
|
813
|
+
{
|
814
|
+
"internalType": "address",
|
815
|
+
"name": "registryAddress",
|
816
|
+
"type": "address"
|
817
|
+
}
|
818
|
+
],
|
819
|
+
"name": "initializeNftOwnable",
|
820
|
+
"outputs": [],
|
821
|
+
"stateMutability": "nonpayable",
|
822
|
+
"type": "function"
|
823
|
+
},
|
824
|
+
{
|
825
|
+
"inputs": [
|
826
|
+
{
|
827
|
+
"internalType": "address",
|
828
|
+
"name": "initialOwner",
|
829
|
+
"type": "address"
|
830
|
+
}
|
831
|
+
],
|
832
|
+
"name": "initializeOwner",
|
833
|
+
"outputs": [],
|
834
|
+
"stateMutability": "nonpayable",
|
835
|
+
"type": "function"
|
836
|
+
},
|
837
|
+
{
|
838
|
+
"inputs": [
|
839
|
+
{
|
840
|
+
"internalType": "address",
|
841
|
+
"name": "registryAddress",
|
842
|
+
"type": "address"
|
843
|
+
},
|
844
|
+
{
|
845
|
+
"internalType": "NftId",
|
846
|
+
"name": "parentNftId",
|
847
|
+
"type": "uint96"
|
848
|
+
},
|
849
|
+
{
|
850
|
+
"internalType": "ObjectType",
|
851
|
+
"name": "objectType",
|
852
|
+
"type": "uint8"
|
853
|
+
},
|
854
|
+
{
|
855
|
+
"internalType": "bool",
|
856
|
+
"name": "isInterceptor",
|
857
|
+
"type": "bool"
|
858
|
+
},
|
859
|
+
{
|
860
|
+
"internalType": "address",
|
861
|
+
"name": "initialOwner",
|
862
|
+
"type": "address"
|
863
|
+
},
|
864
|
+
{
|
865
|
+
"internalType": "bytes",
|
866
|
+
"name": "data",
|
867
|
+
"type": "bytes"
|
868
|
+
}
|
869
|
+
],
|
870
|
+
"name": "initializeRegisterable",
|
871
|
+
"outputs": [],
|
872
|
+
"stateMutability": "nonpayable",
|
873
|
+
"type": "function"
|
874
|
+
},
|
875
|
+
{
|
876
|
+
"inputs": [],
|
877
|
+
"name": "isConsumingScheduledOp",
|
878
|
+
"outputs": [
|
879
|
+
{
|
880
|
+
"internalType": "bytes4",
|
881
|
+
"name": "",
|
882
|
+
"type": "bytes4"
|
883
|
+
}
|
884
|
+
],
|
885
|
+
"stateMutability": "view",
|
886
|
+
"type": "function"
|
887
|
+
},
|
888
|
+
{
|
889
|
+
"inputs": [],
|
890
|
+
"name": "isNftInterceptor",
|
891
|
+
"outputs": [
|
892
|
+
{
|
893
|
+
"internalType": "bool",
|
894
|
+
"name": "isInterceptor",
|
895
|
+
"type": "bool"
|
896
|
+
}
|
897
|
+
],
|
898
|
+
"stateMutability": "view",
|
899
|
+
"type": "function"
|
900
|
+
},
|
417
901
|
{
|
418
902
|
"inputs": [],
|
419
903
|
"name": "isVerifying",
|
@@ -441,6 +925,29 @@
|
|
441
925
|
"stateMutability": "nonpayable",
|
442
926
|
"type": "function"
|
443
927
|
},
|
928
|
+
{
|
929
|
+
"inputs": [
|
930
|
+
{
|
931
|
+
"internalType": "address",
|
932
|
+
"name": "from",
|
933
|
+
"type": "address"
|
934
|
+
},
|
935
|
+
{
|
936
|
+
"internalType": "address",
|
937
|
+
"name": "to",
|
938
|
+
"type": "address"
|
939
|
+
},
|
940
|
+
{
|
941
|
+
"internalType": "uint256",
|
942
|
+
"name": "tokenId",
|
943
|
+
"type": "uint256"
|
944
|
+
}
|
945
|
+
],
|
946
|
+
"name": "nftTransferFrom",
|
947
|
+
"outputs": [],
|
948
|
+
"stateMutability": "nonpayable",
|
949
|
+
"type": "function"
|
950
|
+
},
|
444
951
|
{
|
445
952
|
"inputs": [
|
446
953
|
{
|
@@ -496,6 +1003,32 @@
|
|
496
1003
|
"stateMutability": "view",
|
497
1004
|
"type": "function"
|
498
1005
|
},
|
1006
|
+
{
|
1007
|
+
"inputs": [
|
1008
|
+
{
|
1009
|
+
"internalType": "bytes4",
|
1010
|
+
"name": "interfaceId",
|
1011
|
+
"type": "bytes4"
|
1012
|
+
}
|
1013
|
+
],
|
1014
|
+
"name": "registerInterface",
|
1015
|
+
"outputs": [],
|
1016
|
+
"stateMutability": "nonpayable",
|
1017
|
+
"type": "function"
|
1018
|
+
},
|
1019
|
+
{
|
1020
|
+
"inputs": [
|
1021
|
+
{
|
1022
|
+
"internalType": "address",
|
1023
|
+
"name": "newAuthority",
|
1024
|
+
"type": "address"
|
1025
|
+
}
|
1026
|
+
],
|
1027
|
+
"name": "setAuthority",
|
1028
|
+
"outputs": [],
|
1029
|
+
"stateMutability": "nonpayable",
|
1030
|
+
"type": "function"
|
1031
|
+
},
|
499
1032
|
{
|
500
1033
|
"inputs": [
|
501
1034
|
{
|
@@ -534,6 +1067,19 @@
|
|
534
1067
|
"stateMutability": "nonpayable",
|
535
1068
|
"type": "function"
|
536
1069
|
},
|
1070
|
+
{
|
1071
|
+
"inputs": [
|
1072
|
+
{
|
1073
|
+
"internalType": "address",
|
1074
|
+
"name": "newWallet",
|
1075
|
+
"type": "address"
|
1076
|
+
}
|
1077
|
+
],
|
1078
|
+
"name": "setWallet",
|
1079
|
+
"outputs": [],
|
1080
|
+
"stateMutability": "nonpayable",
|
1081
|
+
"type": "function"
|
1082
|
+
},
|
537
1083
|
{
|
538
1084
|
"inputs": [
|
539
1085
|
{
|
@@ -561,58 +1107,8 @@
|
|
561
1107
|
"type": "function"
|
562
1108
|
}
|
563
1109
|
],
|
564
|
-
"bytecode": "0x60806040523480156200001157600080fd5b5060405162001df238038062001df2833981016040819052620000349162000738565b85858560786001856200006d6301ffc9a760e01b600090815260205260008051602062001dd2833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009e878786868686620003d7565b6000620000b36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000103573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012d9190810190620008a1565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b8152639f07a2f160e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000195573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bb919062000987565b620001e75760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002619190620009ac565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055634c0cba3d60e11b60009081526020527f8605f84a1fdbc6ff75d8a06315d161884729b429561b502d19c5a33135142c3a805460ff191660011790555050600a805460ff19168a1515179055505085516008555050506020808401516009556007546040805163329802c760e21b815290516001600160a01b03909216935063ca600b1c9260048083019391928290030181865afa15801562000342573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003689190620009ac565b600a80546001600160a01b039290921661010002610100600160a81b031990921691909117905563c8ea96c560e01b60009081526020527f358bf83baf6613c2def0011c88aae44093f6c2a350167255c9453fdf96405794805460ff1916600117905550505050505062000b27565b620004086301ffc9a760e01b600090815260205260008051602062001dd2833981519152805460ff19166001179055565b620004148287620004d9565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000493838262000a5b565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620004ff8162000503565b5050565b6001546001600160a01b0316156200053e5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001de565b6001600160a01b038116620005665760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200059e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001de565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156200061b575060408051601f3d908101601f19168201909252620006189181019062000987565b60015b620006455760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001de565b80620004ff5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001de565b50565b6001600160a01b03811681146200067057600080fd5b8051620006968162000673565b919050565b80516001600160601b03811681146200069657600080fd5b805180151581146200069657600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620006ff57620006ff620006c4565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007305762000730620006c4565b604052919050565b60008060008060008086880360e08112156200075357600080fd5b8751620007608162000673565b965062000770602089016200069b565b95506040880151620007828162000673565b94506200079260608901620006b3565b93506040607f1982011215620007a757600080fd5b50604080519081016001600160401b0381118282101715620007cd57620007cd620006c4565b6040526080880151815260a0880151602082015260c0880151909250620007f48162000673565b809150509295509295509295565b805160ff811681146200069657600080fd5b600082601f8301126200082657600080fd5b81516001600160401b03811115620008425762000842620006c4565b602062000858601f8301601f1916820162000705565b82815285828487010111156200086d57600080fd5b60005b838110156200088d57858101830151828201840152820162000870565b506000928101909101919091529392505050565b600060208284031215620008b457600080fd5b81516001600160401b0380821115620008cc57600080fd5b9083019060e08286031215620008e157600080fd5b620008eb620006da565b620008f6836200069b565b815262000906602084016200069b565b6020820152620009196040840162000802565b60408201526200092c60608401620006b3565b60608201526200093f6080840162000689565b60808201526200095260a0840162000689565b60a082015260c0830151828111156200096a57600080fd5b620009788782860162000814565b60c08301525095945050505050565b6000602082840312156200099a57600080fd5b620009a582620006b3565b9392505050565b600060208284031215620009bf57600080fd5b8151620009a58162000673565b600181811c90821680620009e157607f821691505b60208210810362000a0257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a5657600081815260208120601f850160051c8101602086101562000a315750805b601f850160051c820191505b8181101562000a525782815560010162000a3d565b5050505b505050565b81516001600160401b0381111562000a775762000a77620006c4565b62000a8f8162000a888454620009cc565b8462000a08565b602080601f83116001811462000ac7576000841562000aae5750858301515b600019600386901b1c1916600185901b17855562000a52565b600085815260208120601f198616915b8281101562000af85788860151825594840194600190910190840162000ad7565b508582101562000b175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61129b8062000b376000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c8063644c45e0116100b8578063d16d0fe81161007c578063d16d0fe8146102d1578063de7b5d14146102e4578063e2147567146102f5578063f7d39dea14610309578063f80e207214610265578063f83d08ba1461031c57600080fd5b8063644c45e01461028957806387ef9ba0146102a1578063893d20e8146102ac578063a69df4b5146102b4578063c200b809146102bc57600080fd5b80631eff4b221161010a5780631eff4b22146101f957806321df0da71461022e5780632a65c6881461023f5780633f52c0f6146102525780634cf30a84146102655780635ab1bd531461027857600080fd5b806251884a1461014657806301ffc9a7146101775780630fec111c146101b457806313299604146101ca578063138461e0146101ef575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101a4610185366004610e04565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161016e565b6101bc610324565b60405161016e929190610e7b565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161016e565b6101f76103ef565b005b6102207f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161016e565b6006546001600160a01b03166101d7565b6101f761024d366004610f3a565b610611565b6101f7610260366004610f8e565b610773565b6101f7610273366004610fdd565b6107dc565b6001546001600160a01b03166101d7565b600154600160a01b90046001600160601b031661015a565b600a5460ff166101a4565b6101d7610844565b6101f7610962565b6102c46109df565b60405161016e9190611007565b6102206102df366004610fdd565b610aee565b6007546001600160a01b03166101d7565b6101a4610303366004611067565b50600090565b610220610317366004610fdd565b610b03565b6101f7610ba5565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610367610c22565b506040805160a081018252600754600160a01b90046001600160601b031681526006546001600160a01b03166020808301919091528251808401845260085481526009548183015282840152600a5460ff1615156060830152306080830152915192935083926103d79201611007565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610451573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104759190611092565b156104bc576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166104e55760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561052e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105529190611092565b61057a576040516372657a5160e01b81526001600160a01b03821660048201526024016104b3565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e891906110ad565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600061061b610844565b90506001600160a01b0381161580159061063e5750336001600160a01b03821614155b1561065e5760405163700dd81160e01b81523360048201526024016104b3565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106fe9190611092565b61074a5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104b3565b50600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b600a54604051631fa9607b60e11b81526101009091046001600160a01b031690633f52c0f6906107a79084906004016110ca565b600060405180830381600087803b1580156107c157600080fd5b505af11580156107d5573d6000803e3d6000fd5b5050505050565b600b546001600160a01b031633146108405760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104b3565b5050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cd9190611092565b1561095257600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610929573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094d9190611101565b905090565b506002546001600160a01b031690565b600061096c610844565b90506001600160a01b0381161580159061098f5750336001600160a01b03821614155b156109af5760405163700dd81160e01b81523360048201526024016104b3565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024016107a7565b6109e7610da8565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a559190611101565b9050806001600160a01b0316639ad69c67610a806001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610ac4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae8919061111e565b91505090565b6000610afa82826111e2565b90505b92915050565b600080610b0e6109df565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018690529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610b77573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9b9190611207565b5095945050505050565b6000610baf610844565b90506001600160a01b03811615801590610bd25750336001600160a01b03821614155b15610bf25760405163700dd81160e01b81523360048201526024016104b3565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016107a7565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610ca96001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610cf1610844565b6001600160a01b03168152602001826001018054610d0e9061122b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3a9061122b565b8015610d875780601f10610d5c57610100808354040283529160200191610d87565b820191906000526020600020905b815481529060010190602001808311610d6a57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001610df0604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b600060208284031215610e1657600080fd5b81356001600160e01b031981168114610e2e57600080fd5b9392505050565b6000815180845260005b81811015610e5b57602081850181015186830182015201610e3f565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610ebf60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610f05610120840182610e35565b90508281036020840152610f198185610e35565b95945050505050565b6001600160601b0381168114610f3757600080fd5b50565b600060208284031215610f4c57600080fd5b8135610e2e81610f22565b6040805190810167ffffffffffffffff81118282101715610f8857634e487b7160e01b600052604160045260246000fd5b60405290565b600060408284031215610fa057600080fd5b610fa8610f57565b82358152602083013560208201528091505092915050565b80356001600160c01b031981168114610fd857600080fd5b919050565b60008060408385031215610ff057600080fd5b610ff983610fc0565b946020939093013593505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b60006020828403121561107957600080fd5b610afa82610fc0565b80518015158114610fd857600080fd5b6000602082840312156110a457600080fd5b610afa82611082565b6000602082840312156110bf57600080fd5b8151610e2e81610f22565b815181526020808301519082015260408101610afd565b6001600160a01b0381168114610f3757600080fd5b8051610fd8816110e1565b60006020828403121561111357600080fd5b8151610e2e816110e1565b600081830360c081121561113157600080fd5b60405160a0810181811067ffffffffffffffff8211171561116257634e487b7160e01b600052604160045260246000fd5b604052835161117081610f22565b81526020840151611180816110e1565b60208201526040603f198301121561119757600080fd5b61119f610f57565b915060408401518252606084015160208301528160408201526111c460808501611082565b60608201526111d560a085016110f6565b6080820152949350505050565b8082028115828204841417610afd57634e487b7160e01b600052601160045260246000fd5b6000806040838503121561121a57600080fd5b505080516020909101519092909150565b600181811c9082168061123f57607f821691505b60208210810361125f57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212209822101315e2c029c8b957dfd0440720bc6db505924d33405fa22392e6c52d9064736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
|
565
|
-
"deployedBytecode": "
|
566
|
-
"linkReferences": {
|
567
|
-
|
568
|
-
"FeeLib": [
|
569
|
-
{
|
570
|
-
"length": 20,
|
571
|
-
"start": 5749
|
572
|
-
}
|
573
|
-
]
|
574
|
-
},
|
575
|
-
"contracts/types/NftId.sol": {
|
576
|
-
"NftIdLib": [
|
577
|
-
{
|
578
|
-
"length": 20,
|
579
|
-
"start": 3918
|
580
|
-
},
|
581
|
-
{
|
582
|
-
"length": 20,
|
583
|
-
"start": 4506
|
584
|
-
},
|
585
|
-
{
|
586
|
-
"length": 20,
|
587
|
-
"start": 5030
|
588
|
-
}
|
589
|
-
]
|
590
|
-
}
|
591
|
-
},
|
592
|
-
"deployedLinkReferences": {
|
593
|
-
"contracts/types/Fee.sol": {
|
594
|
-
"FeeLib": [
|
595
|
-
{
|
596
|
-
"length": 20,
|
597
|
-
"start": 2878
|
598
|
-
}
|
599
|
-
]
|
600
|
-
},
|
601
|
-
"contracts/types/NftId.sol": {
|
602
|
-
"NftIdLib": [
|
603
|
-
{
|
604
|
-
"length": 20,
|
605
|
-
"start": 1047
|
606
|
-
},
|
607
|
-
{
|
608
|
-
"length": 20,
|
609
|
-
"start": 1635
|
610
|
-
},
|
611
|
-
{
|
612
|
-
"length": 20,
|
613
|
-
"start": 2159
|
614
|
-
}
|
615
|
-
]
|
616
|
-
}
|
617
|
-
}
|
1110
|
+
"bytecode": "0x",
|
1111
|
+
"deployedBytecode": "0x",
|
1112
|
+
"linkReferences": {},
|
1113
|
+
"deployedLinkReferences": {}
|
618
1114
|
}
|