@etherisc/gif-next 0.0.2-bc11089-132 → 0.0.2-bca28f1-161
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +73 -1
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +897 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +896 -235
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +137 -86
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +798 -0
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +662 -43
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +661 -5
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +603 -204
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +529 -122
- 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 +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +38 -62
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +706 -56
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +152 -19
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +560 -272
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +103 -176
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +61 -97
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +460 -191
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +187 -85
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -32
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/base/ComponentService.sol/ComponentService.json} +321 -9
- 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 +24 -13
- 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 +1117 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +495 -100
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +172 -26
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +554 -62
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +197 -23
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/{base/ComponentServiceBase.sol/ComponentServiceBase.json → service/IApplicationService.sol/IApplicationService.json} +221 -104
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +181 -52
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +229 -19
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +152 -32
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +32 -19
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +32 -19
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +481 -87
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +203 -25
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +301 -62
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +169 -23
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +301 -62
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +169 -15
- 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 +225 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +185 -77
- 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 +238 -235
- 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 +243 -129
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +181 -97
- 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 +150 -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 +37 -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 +18 -5
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.json +69 -0
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +32 -19
- 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 +156 -11
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +269 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +156 -6
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +152 -11
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +105 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +178 -19
- 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 +152 -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 +196 -37
- 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 +2 -2
- 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 +236 -0
- package/contracts/components/Distribution.sol +209 -64
- package/contracts/components/IComponent.sol +50 -0
- package/contracts/components/IDistributionComponent.sol +59 -3
- package/contracts/components/IPoolComponent.sol +50 -29
- package/contracts/components/IProductComponent.sol +7 -3
- package/contracts/components/Pool.sol +135 -152
- package/contracts/components/Product.sol +103 -117
- package/contracts/instance/BundleManager.sol +7 -11
- package/contracts/instance/IInstance.sol +35 -11
- package/contracts/instance/IInstanceService.sol +23 -2
- package/contracts/instance/Instance.sol +67 -62
- package/contracts/instance/InstanceAccessManager.sol +31 -38
- package/contracts/instance/InstanceReader.sol +3 -25
- package/contracts/instance/InstanceService.sol +198 -56
- package/contracts/instance/InstanceServiceManager.sol +5 -8
- package/contracts/instance/ObjectManager.sol +7 -24
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/module/IAccess.sol +4 -5
- package/contracts/instance/module/ISetup.sol +5 -4
- package/contracts/instance/service/ApplicationService.sol +268 -0
- package/contracts/instance/service/BundleService.sol +52 -14
- package/contracts/instance/service/BundleServiceManager.sol +5 -8
- package/contracts/instance/service/DistributionService.sol +208 -49
- package/contracts/instance/service/DistributionServiceManager.sol +6 -9
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +12 -3
- package/contracts/instance/service/IDistributionService.sol +53 -0
- package/contracts/instance/service/IPolicyService.sol +17 -16
- package/contracts/instance/service/PolicyService.sol +148 -132
- package/contracts/instance/service/PoolService.sol +27 -42
- package/contracts/instance/service/PoolServiceManager.sol +5 -8
- package/contracts/instance/service/ProductService.sol +100 -40
- package/contracts/registry/ChainNft.sol +1 -1
- package/contracts/registry/IRegistry.sol +37 -19
- package/contracts/registry/IRegistryService.sol +30 -13
- package/contracts/registry/Registry.sol +233 -217
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +81 -162
- package/contracts/registry/RegistryServiceManager.sol +18 -36
- package/contracts/registry/ReleaseManager.sol +331 -0
- package/contracts/registry/TokenRegistry.sol +11 -9
- package/contracts/shared/ERC165.sol +12 -11
- package/contracts/shared/INftOwnable.sol +12 -6
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +15 -0
- package/contracts/shared/IService.sol +2 -1
- package/contracts/shared/IVersionable.sol +2 -2
- package/contracts/shared/NftOwnable.sol +113 -57
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +6 -5
- package/contracts/shared/Registerable.sol +15 -24
- package/contracts/shared/RegistryLinked.sol +64 -0
- 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/DistributorType.sol +2 -2
- package/contracts/types/ObjectType.sol +6 -2
- package/contracts/types/RoleId.sol +4 -5
- package/package.json +3 -3
- package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -384
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
- package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
- 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/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
- package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -148
- package/contracts/components/IBaseComponent.sol +0 -32
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
- package/contracts/instance/IInstanceBase.sol +0 -26
- package/contracts/instance/InstanceBase.sol +0 -41
- package/contracts/instance/base/ComponentServiceBase.sol +0 -72
- 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
@@ -7,49 +7,39 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
10
|
+
"name": "authority",
|
11
11
|
"type": "address"
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
18
19
|
{
|
19
20
|
"internalType": "address",
|
20
|
-
"name": "
|
21
|
+
"name": "caller",
|
21
22
|
"type": "address"
|
22
23
|
},
|
23
24
|
{
|
24
|
-
"internalType": "
|
25
|
-
"name": "
|
26
|
-
"type": "
|
27
|
-
}
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
},
|
35
|
-
{
|
36
|
-
"internalType": "uint256",
|
37
|
-
"name": "fixedFee",
|
38
|
-
"type": "uint256"
|
39
|
-
}
|
40
|
-
],
|
41
|
-
"internalType": "struct Fee",
|
42
|
-
"name": "distributionFee",
|
43
|
-
"type": "tuple"
|
44
|
-
},
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
45
35
|
{
|
46
36
|
"internalType": "address",
|
47
|
-
"name": "
|
37
|
+
"name": "caller",
|
48
38
|
"type": "address"
|
49
39
|
}
|
50
40
|
],
|
51
|
-
"
|
52
|
-
"type": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
53
43
|
},
|
54
44
|
{
|
55
45
|
"inputs": [
|
@@ -89,6 +79,49 @@
|
|
89
79
|
"name": "ErrorAlreadyLinked",
|
90
80
|
"type": "error"
|
91
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": [
|
95
|
+
{
|
96
|
+
"internalType": "NftId",
|
97
|
+
"name": "instanceNftId",
|
98
|
+
"type": "uint96"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"internalType": "address",
|
102
|
+
"name": "instance",
|
103
|
+
"type": "address"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"name": "ErrorComponentNotInstance",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [
|
111
|
+
{
|
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
|
+
},
|
92
125
|
{
|
93
126
|
"inputs": [
|
94
127
|
{
|
@@ -102,7 +135,7 @@
|
|
102
135
|
"type": "uint64"
|
103
136
|
}
|
104
137
|
],
|
105
|
-
"name": "
|
138
|
+
"name": "ErrorComponentUnauthorized",
|
106
139
|
"type": "error"
|
107
140
|
},
|
108
141
|
{
|
@@ -113,7 +146,12 @@
|
|
113
146
|
"type": "address"
|
114
147
|
}
|
115
148
|
],
|
116
|
-
"name": "
|
149
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
150
|
+
"type": "error"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"inputs": [],
|
154
|
+
"name": "ErrorComponentWalletAddressZero",
|
117
155
|
"type": "error"
|
118
156
|
},
|
119
157
|
{
|
@@ -139,7 +177,7 @@
|
|
139
177
|
"type": "uint256"
|
140
178
|
}
|
141
179
|
],
|
142
|
-
"name": "
|
180
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
143
181
|
"type": "error"
|
144
182
|
},
|
145
183
|
{
|
@@ -153,6 +191,11 @@
|
|
153
191
|
"name": "ErrorContractNotRegistered",
|
154
192
|
"type": "error"
|
155
193
|
},
|
194
|
+
{
|
195
|
+
"inputs": [],
|
196
|
+
"name": "ErrorInitialOwnerZero",
|
197
|
+
"type": "error"
|
198
|
+
},
|
156
199
|
{
|
157
200
|
"inputs": [
|
158
201
|
{
|
@@ -233,6 +276,19 @@
|
|
233
276
|
"name": "SafeERC20FailedOperation",
|
234
277
|
"type": "error"
|
235
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
|
+
},
|
236
292
|
{
|
237
293
|
"anonymous": false,
|
238
294
|
"inputs": [
|
@@ -256,7 +312,7 @@
|
|
256
312
|
"type": "address"
|
257
313
|
}
|
258
314
|
],
|
259
|
-
"name": "
|
315
|
+
"name": "LogComponentWalletAddressChanged",
|
260
316
|
"type": "event"
|
261
317
|
},
|
262
318
|
{
|
@@ -281,9 +337,67 @@
|
|
281
337
|
"type": "uint256"
|
282
338
|
}
|
283
339
|
],
|
284
|
-
"name": "
|
340
|
+
"name": "LogComponentWalletTokensTransferred",
|
341
|
+
"type": "event"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"anonymous": false,
|
345
|
+
"inputs": [
|
346
|
+
{
|
347
|
+
"indexed": false,
|
348
|
+
"internalType": "address",
|
349
|
+
"name": "to",
|
350
|
+
"type": "address"
|
351
|
+
},
|
352
|
+
{
|
353
|
+
"indexed": false,
|
354
|
+
"internalType": "address",
|
355
|
+
"name": "caller",
|
356
|
+
"type": "address"
|
357
|
+
}
|
358
|
+
],
|
359
|
+
"name": "LogDistributorUpdated",
|
285
360
|
"type": "event"
|
286
361
|
},
|
362
|
+
{
|
363
|
+
"inputs": [],
|
364
|
+
"name": "CONTRACT_LOCATION_V1",
|
365
|
+
"outputs": [
|
366
|
+
{
|
367
|
+
"internalType": "bytes32",
|
368
|
+
"name": "",
|
369
|
+
"type": "bytes32"
|
370
|
+
}
|
371
|
+
],
|
372
|
+
"stateMutability": "view",
|
373
|
+
"type": "function"
|
374
|
+
},
|
375
|
+
{
|
376
|
+
"inputs": [],
|
377
|
+
"name": "DISTRIBUTION_STORAGE_LOCATION_V1",
|
378
|
+
"outputs": [
|
379
|
+
{
|
380
|
+
"internalType": "bytes32",
|
381
|
+
"name": "",
|
382
|
+
"type": "bytes32"
|
383
|
+
}
|
384
|
+
],
|
385
|
+
"stateMutability": "view",
|
386
|
+
"type": "function"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"inputs": [],
|
390
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
391
|
+
"outputs": [
|
392
|
+
{
|
393
|
+
"internalType": "bytes32",
|
394
|
+
"name": "",
|
395
|
+
"type": "bytes32"
|
396
|
+
}
|
397
|
+
],
|
398
|
+
"stateMutability": "view",
|
399
|
+
"type": "function"
|
400
|
+
},
|
287
401
|
{
|
288
402
|
"inputs": [],
|
289
403
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -297,6 +411,19 @@
|
|
297
411
|
"stateMutability": "view",
|
298
412
|
"type": "function"
|
299
413
|
},
|
414
|
+
{
|
415
|
+
"inputs": [],
|
416
|
+
"name": "authority",
|
417
|
+
"outputs": [
|
418
|
+
{
|
419
|
+
"internalType": "address",
|
420
|
+
"name": "",
|
421
|
+
"type": "address"
|
422
|
+
}
|
423
|
+
],
|
424
|
+
"stateMutability": "view",
|
425
|
+
"type": "function"
|
426
|
+
},
|
300
427
|
{
|
301
428
|
"inputs": [
|
302
429
|
{
|
@@ -346,198 +473,722 @@
|
|
346
473
|
"type": "function"
|
347
474
|
},
|
348
475
|
{
|
349
|
-
"inputs": [
|
350
|
-
"name": "getInitialInfo",
|
351
|
-
"outputs": [
|
476
|
+
"inputs": [
|
352
477
|
{
|
353
|
-
"
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
"name": "parentNftId",
|
362
|
-
"type": "uint96"
|
363
|
-
},
|
364
|
-
{
|
365
|
-
"internalType": "ObjectType",
|
366
|
-
"name": "objectType",
|
367
|
-
"type": "uint8"
|
368
|
-
},
|
369
|
-
{
|
370
|
-
"internalType": "bool",
|
371
|
-
"name": "isInterceptor",
|
372
|
-
"type": "bool"
|
373
|
-
},
|
374
|
-
{
|
375
|
-
"internalType": "address",
|
376
|
-
"name": "objectAddress",
|
377
|
-
"type": "address"
|
378
|
-
},
|
379
|
-
{
|
380
|
-
"internalType": "address",
|
381
|
-
"name": "initialOwner",
|
382
|
-
"type": "address"
|
383
|
-
},
|
384
|
-
{
|
385
|
-
"internalType": "bytes",
|
386
|
-
"name": "data",
|
387
|
-
"type": "bytes"
|
388
|
-
}
|
389
|
-
],
|
390
|
-
"internalType": "struct IRegistry.ObjectInfo",
|
391
|
-
"name": "",
|
392
|
-
"type": "tuple"
|
478
|
+
"internalType": "address",
|
479
|
+
"name": "distributor",
|
480
|
+
"type": "address"
|
481
|
+
},
|
482
|
+
{
|
483
|
+
"internalType": "DistributorType",
|
484
|
+
"name": "distributorType",
|
485
|
+
"type": "bytes8"
|
393
486
|
},
|
394
487
|
{
|
395
488
|
"internalType": "bytes",
|
396
|
-
"name": "",
|
489
|
+
"name": "data",
|
397
490
|
"type": "bytes"
|
398
491
|
}
|
399
492
|
],
|
400
|
-
"
|
401
|
-
"type": "function"
|
402
|
-
},
|
403
|
-
{
|
404
|
-
"inputs": [],
|
405
|
-
"name": "getInstance",
|
406
|
-
"outputs": [
|
407
|
-
{
|
408
|
-
"internalType": "contract IInstance",
|
409
|
-
"name": "instance",
|
410
|
-
"type": "address"
|
411
|
-
}
|
412
|
-
],
|
413
|
-
"stateMutability": "view",
|
414
|
-
"type": "function"
|
415
|
-
},
|
416
|
-
{
|
417
|
-
"inputs": [],
|
418
|
-
"name": "getNftId",
|
493
|
+
"name": "createDistributor",
|
419
494
|
"outputs": [
|
420
495
|
{
|
421
496
|
"internalType": "NftId",
|
422
|
-
"name": "",
|
497
|
+
"name": "distributorNftId",
|
423
498
|
"type": "uint96"
|
424
499
|
}
|
425
500
|
],
|
426
|
-
"stateMutability": "
|
501
|
+
"stateMutability": "nonpayable",
|
427
502
|
"type": "function"
|
428
503
|
},
|
429
504
|
{
|
430
|
-
"inputs": [
|
431
|
-
"name": "getOwner",
|
432
|
-
"outputs": [
|
505
|
+
"inputs": [
|
433
506
|
{
|
434
|
-
"internalType": "
|
435
|
-
"name": "",
|
436
|
-
"type": "
|
437
|
-
}
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
507
|
+
"internalType": "string",
|
508
|
+
"name": "name",
|
509
|
+
"type": "string"
|
510
|
+
},
|
511
|
+
{
|
512
|
+
"internalType": "UFixed",
|
513
|
+
"name": "minDiscountPercentage",
|
514
|
+
"type": "uint256"
|
515
|
+
},
|
516
|
+
{
|
517
|
+
"internalType": "UFixed",
|
518
|
+
"name": "maxDiscountPercentage",
|
519
|
+
"type": "uint256"
|
520
|
+
},
|
521
|
+
{
|
522
|
+
"internalType": "UFixed",
|
523
|
+
"name": "commissionPercentage",
|
524
|
+
"type": "uint256"
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"internalType": "uint32",
|
528
|
+
"name": "maxReferralCount",
|
529
|
+
"type": "uint32"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"internalType": "uint32",
|
533
|
+
"name": "maxReferralLifetime",
|
534
|
+
"type": "uint32"
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"internalType": "bool",
|
538
|
+
"name": "allowSelfReferrals",
|
539
|
+
"type": "bool"
|
540
|
+
},
|
541
|
+
{
|
542
|
+
"internalType": "bool",
|
543
|
+
"name": "allowRenewals",
|
544
|
+
"type": "bool"
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"internalType": "bytes",
|
548
|
+
"name": "data",
|
549
|
+
"type": "bytes"
|
550
|
+
}
|
551
|
+
],
|
552
|
+
"name": "createDistributorType",
|
553
|
+
"outputs": [
|
554
|
+
{
|
555
|
+
"internalType": "DistributorType",
|
556
|
+
"name": "distributorType",
|
557
|
+
"type": "bytes8"
|
558
|
+
}
|
559
|
+
],
|
560
|
+
"stateMutability": "nonpayable",
|
561
|
+
"type": "function"
|
562
|
+
},
|
563
|
+
{
|
564
|
+
"inputs": [
|
565
|
+
{
|
566
|
+
"internalType": "NftId",
|
567
|
+
"name": "distributorNftId",
|
568
|
+
"type": "uint96"
|
569
|
+
},
|
570
|
+
{
|
571
|
+
"internalType": "string",
|
572
|
+
"name": "code",
|
573
|
+
"type": "string"
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"internalType": "UFixed",
|
577
|
+
"name": "discountPercentage",
|
578
|
+
"type": "uint256"
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"internalType": "uint32",
|
582
|
+
"name": "maxReferrals",
|
583
|
+
"type": "uint32"
|
584
|
+
},
|
585
|
+
{
|
586
|
+
"internalType": "Timestamp",
|
587
|
+
"name": "expiryAt",
|
588
|
+
"type": "uint40"
|
589
|
+
},
|
590
|
+
{
|
591
|
+
"internalType": "bytes",
|
592
|
+
"name": "data",
|
593
|
+
"type": "bytes"
|
594
|
+
}
|
595
|
+
],
|
596
|
+
"name": "createReferral",
|
597
|
+
"outputs": [
|
598
|
+
{
|
599
|
+
"internalType": "ReferralId",
|
600
|
+
"name": "referralId",
|
601
|
+
"type": "bytes8"
|
602
|
+
}
|
603
|
+
],
|
604
|
+
"stateMutability": "nonpayable",
|
605
|
+
"type": "function"
|
606
|
+
},
|
607
|
+
{
|
608
|
+
"inputs": [
|
609
|
+
{
|
610
|
+
"internalType": "string",
|
611
|
+
"name": "referralCode",
|
612
|
+
"type": "string"
|
613
|
+
}
|
614
|
+
],
|
615
|
+
"name": "getDiscountPercentage",
|
616
|
+
"outputs": [
|
617
|
+
{
|
618
|
+
"internalType": "UFixed",
|
619
|
+
"name": "discountPercentage",
|
620
|
+
"type": "uint256"
|
621
|
+
},
|
622
|
+
{
|
623
|
+
"internalType": "ReferralStatus",
|
624
|
+
"name": "status",
|
625
|
+
"type": "uint8"
|
626
|
+
}
|
627
|
+
],
|
628
|
+
"stateMutability": "view",
|
629
|
+
"type": "function"
|
630
|
+
},
|
631
|
+
{
|
632
|
+
"inputs": [],
|
633
|
+
"name": "getDistributionFee",
|
634
|
+
"outputs": [
|
635
|
+
{
|
636
|
+
"components": [
|
637
|
+
{
|
638
|
+
"internalType": "UFixed",
|
639
|
+
"name": "fractionalFee",
|
640
|
+
"type": "uint256"
|
641
|
+
},
|
642
|
+
{
|
643
|
+
"internalType": "uint256",
|
644
|
+
"name": "fixedFee",
|
645
|
+
"type": "uint256"
|
646
|
+
}
|
647
|
+
],
|
648
|
+
"internalType": "struct Fee",
|
649
|
+
"name": "distributionFee",
|
650
|
+
"type": "tuple"
|
651
|
+
}
|
652
|
+
],
|
653
|
+
"stateMutability": "view",
|
654
|
+
"type": "function"
|
655
|
+
},
|
656
|
+
{
|
657
|
+
"inputs": [
|
658
|
+
{
|
659
|
+
"internalType": "address",
|
660
|
+
"name": "distributor",
|
661
|
+
"type": "address"
|
662
|
+
}
|
663
|
+
],
|
664
|
+
"name": "getDistributorNftId",
|
665
|
+
"outputs": [
|
666
|
+
{
|
667
|
+
"internalType": "NftId",
|
668
|
+
"name": "distributorNftId",
|
669
|
+
"type": "uint96"
|
670
|
+
}
|
671
|
+
],
|
672
|
+
"stateMutability": "view",
|
673
|
+
"type": "function"
|
674
|
+
},
|
675
|
+
{
|
676
|
+
"inputs": [],
|
677
|
+
"name": "getInitialInfo",
|
678
|
+
"outputs": [
|
679
|
+
{
|
680
|
+
"components": [
|
681
|
+
{
|
682
|
+
"internalType": "NftId",
|
683
|
+
"name": "nftId",
|
684
|
+
"type": "uint96"
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"internalType": "NftId",
|
688
|
+
"name": "parentNftId",
|
689
|
+
"type": "uint96"
|
690
|
+
},
|
691
|
+
{
|
692
|
+
"internalType": "ObjectType",
|
693
|
+
"name": "objectType",
|
694
|
+
"type": "uint8"
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"internalType": "bool",
|
698
|
+
"name": "isInterceptor",
|
699
|
+
"type": "bool"
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"internalType": "address",
|
703
|
+
"name": "objectAddress",
|
704
|
+
"type": "address"
|
705
|
+
},
|
706
|
+
{
|
707
|
+
"internalType": "address",
|
708
|
+
"name": "initialOwner",
|
709
|
+
"type": "address"
|
710
|
+
},
|
711
|
+
{
|
712
|
+
"internalType": "bytes",
|
713
|
+
"name": "data",
|
714
|
+
"type": "bytes"
|
715
|
+
}
|
716
|
+
],
|
717
|
+
"internalType": "struct IRegistry.ObjectInfo",
|
718
|
+
"name": "info",
|
719
|
+
"type": "tuple"
|
720
|
+
}
|
721
|
+
],
|
722
|
+
"stateMutability": "view",
|
723
|
+
"type": "function"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"inputs": [],
|
727
|
+
"name": "getInitialOwner",
|
728
|
+
"outputs": [
|
729
|
+
{
|
730
|
+
"internalType": "address",
|
731
|
+
"name": "",
|
732
|
+
"type": "address"
|
733
|
+
}
|
734
|
+
],
|
735
|
+
"stateMutability": "view",
|
736
|
+
"type": "function"
|
737
|
+
},
|
738
|
+
{
|
739
|
+
"inputs": [],
|
740
|
+
"name": "getInstance",
|
741
|
+
"outputs": [
|
742
|
+
{
|
743
|
+
"internalType": "contract IInstance",
|
744
|
+
"name": "instance",
|
745
|
+
"type": "address"
|
746
|
+
}
|
747
|
+
],
|
748
|
+
"stateMutability": "view",
|
749
|
+
"type": "function"
|
750
|
+
},
|
751
|
+
{
|
752
|
+
"inputs": [],
|
753
|
+
"name": "getInstanceReader",
|
754
|
+
"outputs": [
|
755
|
+
{
|
756
|
+
"internalType": "contract InstanceReader",
|
757
|
+
"name": "reader",
|
758
|
+
"type": "address"
|
759
|
+
}
|
760
|
+
],
|
761
|
+
"stateMutability": "view",
|
762
|
+
"type": "function"
|
763
|
+
},
|
764
|
+
{
|
765
|
+
"inputs": [],
|
766
|
+
"name": "getInstanceService",
|
767
|
+
"outputs": [
|
768
|
+
{
|
769
|
+
"internalType": "contract IInstanceService",
|
770
|
+
"name": "",
|
771
|
+
"type": "address"
|
772
|
+
}
|
773
|
+
],
|
774
|
+
"stateMutability": "view",
|
775
|
+
"type": "function"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"inputs": [],
|
779
|
+
"name": "getName",
|
780
|
+
"outputs": [
|
781
|
+
{
|
782
|
+
"internalType": "string",
|
783
|
+
"name": "name",
|
784
|
+
"type": "string"
|
785
|
+
}
|
786
|
+
],
|
787
|
+
"stateMutability": "view",
|
788
|
+
"type": "function"
|
789
|
+
},
|
790
|
+
{
|
791
|
+
"inputs": [],
|
792
|
+
"name": "getNftId",
|
793
|
+
"outputs": [
|
794
|
+
{
|
795
|
+
"internalType": "NftId",
|
796
|
+
"name": "",
|
797
|
+
"type": "uint96"
|
798
|
+
}
|
799
|
+
],
|
800
|
+
"stateMutability": "view",
|
801
|
+
"type": "function"
|
802
|
+
},
|
803
|
+
{
|
804
|
+
"inputs": [],
|
805
|
+
"name": "getOwner",
|
806
|
+
"outputs": [
|
807
|
+
{
|
808
|
+
"internalType": "address",
|
809
|
+
"name": "",
|
810
|
+
"type": "address"
|
811
|
+
}
|
812
|
+
],
|
813
|
+
"stateMutability": "view",
|
814
|
+
"type": "function"
|
815
|
+
},
|
816
|
+
{
|
817
|
+
"inputs": [],
|
444
818
|
"name": "getProductNftId",
|
445
819
|
"outputs": [
|
446
820
|
{
|
447
821
|
"internalType": "NftId",
|
448
|
-
"name": "productNftId",
|
822
|
+
"name": "productNftId",
|
823
|
+
"type": "uint96"
|
824
|
+
}
|
825
|
+
],
|
826
|
+
"stateMutability": "view",
|
827
|
+
"type": "function"
|
828
|
+
},
|
829
|
+
{
|
830
|
+
"inputs": [],
|
831
|
+
"name": "getProductService",
|
832
|
+
"outputs": [
|
833
|
+
{
|
834
|
+
"internalType": "contract IProductService",
|
835
|
+
"name": "",
|
836
|
+
"type": "address"
|
837
|
+
}
|
838
|
+
],
|
839
|
+
"stateMutability": "view",
|
840
|
+
"type": "function"
|
841
|
+
},
|
842
|
+
{
|
843
|
+
"inputs": [
|
844
|
+
{
|
845
|
+
"internalType": "string",
|
846
|
+
"name": "referralCode",
|
847
|
+
"type": "string"
|
848
|
+
}
|
849
|
+
],
|
850
|
+
"name": "getReferralId",
|
851
|
+
"outputs": [
|
852
|
+
{
|
853
|
+
"internalType": "ReferralId",
|
854
|
+
"name": "referralId",
|
855
|
+
"type": "bytes8"
|
856
|
+
}
|
857
|
+
],
|
858
|
+
"stateMutability": "view",
|
859
|
+
"type": "function"
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"inputs": [],
|
863
|
+
"name": "getRegistry",
|
864
|
+
"outputs": [
|
865
|
+
{
|
866
|
+
"internalType": "contract IRegistry",
|
867
|
+
"name": "",
|
868
|
+
"type": "address"
|
869
|
+
}
|
870
|
+
],
|
871
|
+
"stateMutability": "view",
|
872
|
+
"type": "function"
|
873
|
+
},
|
874
|
+
{
|
875
|
+
"inputs": [],
|
876
|
+
"name": "getRegistryAddress",
|
877
|
+
"outputs": [
|
878
|
+
{
|
879
|
+
"internalType": "address",
|
880
|
+
"name": "",
|
881
|
+
"type": "address"
|
882
|
+
}
|
883
|
+
],
|
884
|
+
"stateMutability": "view",
|
885
|
+
"type": "function"
|
886
|
+
},
|
887
|
+
{
|
888
|
+
"inputs": [],
|
889
|
+
"name": "getSetupInfo",
|
890
|
+
"outputs": [
|
891
|
+
{
|
892
|
+
"components": [
|
893
|
+
{
|
894
|
+
"internalType": "NftId",
|
895
|
+
"name": "productNftId",
|
896
|
+
"type": "uint96"
|
897
|
+
},
|
898
|
+
{
|
899
|
+
"internalType": "contract TokenHandler",
|
900
|
+
"name": "tokenHandler",
|
901
|
+
"type": "address"
|
902
|
+
},
|
903
|
+
{
|
904
|
+
"components": [
|
905
|
+
{
|
906
|
+
"internalType": "UFixed",
|
907
|
+
"name": "fractionalFee",
|
908
|
+
"type": "uint256"
|
909
|
+
},
|
910
|
+
{
|
911
|
+
"internalType": "uint256",
|
912
|
+
"name": "fixedFee",
|
913
|
+
"type": "uint256"
|
914
|
+
}
|
915
|
+
],
|
916
|
+
"internalType": "struct Fee",
|
917
|
+
"name": "distributionFee",
|
918
|
+
"type": "tuple"
|
919
|
+
},
|
920
|
+
{
|
921
|
+
"internalType": "address",
|
922
|
+
"name": "wallet",
|
923
|
+
"type": "address"
|
924
|
+
}
|
925
|
+
],
|
926
|
+
"internalType": "struct ISetup.DistributionSetupInfo",
|
927
|
+
"name": "setupInfo",
|
928
|
+
"type": "tuple"
|
929
|
+
}
|
930
|
+
],
|
931
|
+
"stateMutability": "view",
|
932
|
+
"type": "function"
|
933
|
+
},
|
934
|
+
{
|
935
|
+
"inputs": [],
|
936
|
+
"name": "getToken",
|
937
|
+
"outputs": [
|
938
|
+
{
|
939
|
+
"internalType": "contract IERC20Metadata",
|
940
|
+
"name": "token",
|
941
|
+
"type": "address"
|
942
|
+
}
|
943
|
+
],
|
944
|
+
"stateMutability": "view",
|
945
|
+
"type": "function"
|
946
|
+
},
|
947
|
+
{
|
948
|
+
"inputs": [],
|
949
|
+
"name": "getWallet",
|
950
|
+
"outputs": [
|
951
|
+
{
|
952
|
+
"internalType": "address",
|
953
|
+
"name": "walletAddress",
|
954
|
+
"type": "address"
|
955
|
+
}
|
956
|
+
],
|
957
|
+
"stateMutability": "view",
|
958
|
+
"type": "function"
|
959
|
+
},
|
960
|
+
{
|
961
|
+
"inputs": [
|
962
|
+
{
|
963
|
+
"internalType": "address",
|
964
|
+
"name": "registry",
|
965
|
+
"type": "address"
|
966
|
+
},
|
967
|
+
{
|
968
|
+
"internalType": "NftId",
|
969
|
+
"name": "instanceNftId",
|
970
|
+
"type": "uint96"
|
971
|
+
},
|
972
|
+
{
|
973
|
+
"internalType": "string",
|
974
|
+
"name": "name",
|
975
|
+
"type": "string"
|
976
|
+
},
|
977
|
+
{
|
978
|
+
"internalType": "address",
|
979
|
+
"name": "token",
|
980
|
+
"type": "address"
|
981
|
+
},
|
982
|
+
{
|
983
|
+
"internalType": "ObjectType",
|
984
|
+
"name": "componentType",
|
985
|
+
"type": "uint8"
|
986
|
+
},
|
987
|
+
{
|
988
|
+
"internalType": "bool",
|
989
|
+
"name": "isInterceptor",
|
990
|
+
"type": "bool"
|
991
|
+
},
|
992
|
+
{
|
993
|
+
"internalType": "address",
|
994
|
+
"name": "initialOwner",
|
995
|
+
"type": "address"
|
996
|
+
},
|
997
|
+
{
|
998
|
+
"internalType": "bytes",
|
999
|
+
"name": "data",
|
1000
|
+
"type": "bytes"
|
1001
|
+
}
|
1002
|
+
],
|
1003
|
+
"name": "initializeComponent",
|
1004
|
+
"outputs": [],
|
1005
|
+
"stateMutability": "nonpayable",
|
1006
|
+
"type": "function"
|
1007
|
+
},
|
1008
|
+
{
|
1009
|
+
"inputs": [
|
1010
|
+
{
|
1011
|
+
"internalType": "address",
|
1012
|
+
"name": "registry",
|
1013
|
+
"type": "address"
|
1014
|
+
},
|
1015
|
+
{
|
1016
|
+
"internalType": "NftId",
|
1017
|
+
"name": "instanceNftId",
|
449
1018
|
"type": "uint96"
|
1019
|
+
},
|
1020
|
+
{
|
1021
|
+
"internalType": "string",
|
1022
|
+
"name": "name",
|
1023
|
+
"type": "string"
|
1024
|
+
},
|
1025
|
+
{
|
1026
|
+
"internalType": "address",
|
1027
|
+
"name": "token",
|
1028
|
+
"type": "address"
|
1029
|
+
},
|
1030
|
+
{
|
1031
|
+
"components": [
|
1032
|
+
{
|
1033
|
+
"internalType": "UFixed",
|
1034
|
+
"name": "fractionalFee",
|
1035
|
+
"type": "uint256"
|
1036
|
+
},
|
1037
|
+
{
|
1038
|
+
"internalType": "uint256",
|
1039
|
+
"name": "fixedFee",
|
1040
|
+
"type": "uint256"
|
1041
|
+
}
|
1042
|
+
],
|
1043
|
+
"internalType": "struct Fee",
|
1044
|
+
"name": "distributionFee",
|
1045
|
+
"type": "tuple"
|
1046
|
+
},
|
1047
|
+
{
|
1048
|
+
"internalType": "address",
|
1049
|
+
"name": "initialOwner",
|
1050
|
+
"type": "address"
|
1051
|
+
},
|
1052
|
+
{
|
1053
|
+
"internalType": "bytes",
|
1054
|
+
"name": "data",
|
1055
|
+
"type": "bytes"
|
450
1056
|
}
|
451
1057
|
],
|
452
|
-
"
|
1058
|
+
"name": "initializeDistribution",
|
1059
|
+
"outputs": [],
|
1060
|
+
"stateMutability": "nonpayable",
|
453
1061
|
"type": "function"
|
454
1062
|
},
|
455
1063
|
{
|
456
1064
|
"inputs": [],
|
457
|
-
"name": "
|
458
|
-
"outputs": [
|
1065
|
+
"name": "initializeERC165",
|
1066
|
+
"outputs": [],
|
1067
|
+
"stateMutability": "nonpayable",
|
1068
|
+
"type": "function"
|
1069
|
+
},
|
1070
|
+
{
|
1071
|
+
"inputs": [
|
459
1072
|
{
|
460
|
-
"internalType": "
|
461
|
-
"name": "",
|
1073
|
+
"internalType": "address",
|
1074
|
+
"name": "initialOwner",
|
1075
|
+
"type": "address"
|
1076
|
+
},
|
1077
|
+
{
|
1078
|
+
"internalType": "address",
|
1079
|
+
"name": "registryAddress",
|
462
1080
|
"type": "address"
|
463
1081
|
}
|
464
1082
|
],
|
465
|
-
"
|
1083
|
+
"name": "initializeNftOwnable",
|
1084
|
+
"outputs": [],
|
1085
|
+
"stateMutability": "nonpayable",
|
1086
|
+
"type": "function"
|
1087
|
+
},
|
1088
|
+
{
|
1089
|
+
"inputs": [
|
1090
|
+
{
|
1091
|
+
"internalType": "address",
|
1092
|
+
"name": "initialOwner",
|
1093
|
+
"type": "address"
|
1094
|
+
}
|
1095
|
+
],
|
1096
|
+
"name": "initializeOwner",
|
1097
|
+
"outputs": [],
|
1098
|
+
"stateMutability": "nonpayable",
|
1099
|
+
"type": "function"
|
1100
|
+
},
|
1101
|
+
{
|
1102
|
+
"inputs": [
|
1103
|
+
{
|
1104
|
+
"internalType": "address",
|
1105
|
+
"name": "registryAddress",
|
1106
|
+
"type": "address"
|
1107
|
+
},
|
1108
|
+
{
|
1109
|
+
"internalType": "NftId",
|
1110
|
+
"name": "parentNftId",
|
1111
|
+
"type": "uint96"
|
1112
|
+
},
|
1113
|
+
{
|
1114
|
+
"internalType": "ObjectType",
|
1115
|
+
"name": "objectType",
|
1116
|
+
"type": "uint8"
|
1117
|
+
},
|
1118
|
+
{
|
1119
|
+
"internalType": "bool",
|
1120
|
+
"name": "isInterceptor",
|
1121
|
+
"type": "bool"
|
1122
|
+
},
|
1123
|
+
{
|
1124
|
+
"internalType": "address",
|
1125
|
+
"name": "initialOwner",
|
1126
|
+
"type": "address"
|
1127
|
+
},
|
1128
|
+
{
|
1129
|
+
"internalType": "bytes",
|
1130
|
+
"name": "data",
|
1131
|
+
"type": "bytes"
|
1132
|
+
}
|
1133
|
+
],
|
1134
|
+
"name": "initializeRegisterable",
|
1135
|
+
"outputs": [],
|
1136
|
+
"stateMutability": "nonpayable",
|
1137
|
+
"type": "function"
|
1138
|
+
},
|
1139
|
+
{
|
1140
|
+
"inputs": [
|
1141
|
+
{
|
1142
|
+
"internalType": "address",
|
1143
|
+
"name": "registryAddress",
|
1144
|
+
"type": "address"
|
1145
|
+
}
|
1146
|
+
],
|
1147
|
+
"name": "initializeRegistryLinked",
|
1148
|
+
"outputs": [],
|
1149
|
+
"stateMutability": "nonpayable",
|
466
1150
|
"type": "function"
|
467
1151
|
},
|
468
1152
|
{
|
469
1153
|
"inputs": [],
|
470
|
-
"name": "
|
1154
|
+
"name": "isConsumingScheduledOp",
|
471
1155
|
"outputs": [
|
472
1156
|
{
|
473
|
-
"
|
474
|
-
|
475
|
-
|
476
|
-
"name": "productNftId",
|
477
|
-
"type": "uint96"
|
478
|
-
},
|
479
|
-
{
|
480
|
-
"internalType": "contract TokenHandler",
|
481
|
-
"name": "tokenHandler",
|
482
|
-
"type": "address"
|
483
|
-
},
|
484
|
-
{
|
485
|
-
"components": [
|
486
|
-
{
|
487
|
-
"internalType": "UFixed",
|
488
|
-
"name": "fractionalFee",
|
489
|
-
"type": "uint256"
|
490
|
-
},
|
491
|
-
{
|
492
|
-
"internalType": "uint256",
|
493
|
-
"name": "fixedFee",
|
494
|
-
"type": "uint256"
|
495
|
-
}
|
496
|
-
],
|
497
|
-
"internalType": "struct Fee",
|
498
|
-
"name": "distributionFee",
|
499
|
-
"type": "tuple"
|
500
|
-
},
|
501
|
-
{
|
502
|
-
"internalType": "bool",
|
503
|
-
"name": "isIntercepting",
|
504
|
-
"type": "bool"
|
505
|
-
},
|
506
|
-
{
|
507
|
-
"internalType": "address",
|
508
|
-
"name": "wallet",
|
509
|
-
"type": "address"
|
510
|
-
}
|
511
|
-
],
|
512
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
513
|
-
"name": "setupInfo",
|
514
|
-
"type": "tuple"
|
1157
|
+
"internalType": "bytes4",
|
1158
|
+
"name": "",
|
1159
|
+
"type": "bytes4"
|
515
1160
|
}
|
516
1161
|
],
|
517
1162
|
"stateMutability": "view",
|
518
1163
|
"type": "function"
|
519
1164
|
},
|
520
1165
|
{
|
521
|
-
"inputs": [
|
522
|
-
"name": "getToken",
|
523
|
-
"outputs": [
|
1166
|
+
"inputs": [
|
524
1167
|
{
|
525
|
-
"internalType": "
|
526
|
-
"name": "
|
1168
|
+
"internalType": "address",
|
1169
|
+
"name": "candidate",
|
527
1170
|
"type": "address"
|
528
1171
|
}
|
529
1172
|
],
|
1173
|
+
"name": "isDistributor",
|
1174
|
+
"outputs": [
|
1175
|
+
{
|
1176
|
+
"internalType": "bool",
|
1177
|
+
"name": "",
|
1178
|
+
"type": "bool"
|
1179
|
+
}
|
1180
|
+
],
|
530
1181
|
"stateMutability": "view",
|
531
1182
|
"type": "function"
|
532
1183
|
},
|
533
1184
|
{
|
534
1185
|
"inputs": [],
|
535
|
-
"name": "
|
1186
|
+
"name": "isNftInterceptor",
|
536
1187
|
"outputs": [
|
537
1188
|
{
|
538
|
-
"internalType": "
|
539
|
-
"name": "
|
540
|
-
"type": "
|
1189
|
+
"internalType": "bool",
|
1190
|
+
"name": "isInterceptor",
|
1191
|
+
"type": "bool"
|
541
1192
|
}
|
542
1193
|
],
|
543
1194
|
"stateMutability": "view",
|
@@ -570,6 +1221,29 @@
|
|
570
1221
|
"stateMutability": "nonpayable",
|
571
1222
|
"type": "function"
|
572
1223
|
},
|
1224
|
+
{
|
1225
|
+
"inputs": [
|
1226
|
+
{
|
1227
|
+
"internalType": "address",
|
1228
|
+
"name": "from",
|
1229
|
+
"type": "address"
|
1230
|
+
},
|
1231
|
+
{
|
1232
|
+
"internalType": "address",
|
1233
|
+
"name": "to",
|
1234
|
+
"type": "address"
|
1235
|
+
},
|
1236
|
+
{
|
1237
|
+
"internalType": "uint256",
|
1238
|
+
"name": "tokenId",
|
1239
|
+
"type": "uint256"
|
1240
|
+
}
|
1241
|
+
],
|
1242
|
+
"name": "nftTransferFrom",
|
1243
|
+
"outputs": [],
|
1244
|
+
"stateMutability": "nonpayable",
|
1245
|
+
"type": "function"
|
1246
|
+
},
|
573
1247
|
{
|
574
1248
|
"inputs": [
|
575
1249
|
{
|
@@ -597,7 +1271,7 @@
|
|
597
1271
|
},
|
598
1272
|
{
|
599
1273
|
"internalType": "uint256",
|
600
|
-
"name": "
|
1274
|
+
"name": "premiumAmount",
|
601
1275
|
"type": "uint256"
|
602
1276
|
}
|
603
1277
|
],
|
@@ -625,6 +1299,32 @@
|
|
625
1299
|
"stateMutability": "view",
|
626
1300
|
"type": "function"
|
627
1301
|
},
|
1302
|
+
{
|
1303
|
+
"inputs": [
|
1304
|
+
{
|
1305
|
+
"internalType": "bytes4",
|
1306
|
+
"name": "interfaceId",
|
1307
|
+
"type": "bytes4"
|
1308
|
+
}
|
1309
|
+
],
|
1310
|
+
"name": "registerInterface",
|
1311
|
+
"outputs": [],
|
1312
|
+
"stateMutability": "nonpayable",
|
1313
|
+
"type": "function"
|
1314
|
+
},
|
1315
|
+
{
|
1316
|
+
"inputs": [
|
1317
|
+
{
|
1318
|
+
"internalType": "address",
|
1319
|
+
"name": "newAuthority",
|
1320
|
+
"type": "address"
|
1321
|
+
}
|
1322
|
+
],
|
1323
|
+
"name": "setAuthority",
|
1324
|
+
"outputs": [],
|
1325
|
+
"stateMutability": "nonpayable",
|
1326
|
+
"type": "function"
|
1327
|
+
},
|
628
1328
|
{
|
629
1329
|
"inputs": [
|
630
1330
|
{
|
@@ -701,72 +1401,33 @@
|
|
701
1401
|
"outputs": [],
|
702
1402
|
"stateMutability": "nonpayable",
|
703
1403
|
"type": "function"
|
704
|
-
}
|
705
|
-
],
|
706
|
-
"bytecode": "0x60806040523480156200001157600080fd5b50604051620026b5380380620026b5833981016040819052620000349162000a79565b85858560786001856200006d6301ffc9a760e01b600090815260205260008051602062002695833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009e878786868686620006c0565b6000620000b36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000103573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012d919081019062000bed565b6080810151600880546001600160a01b0319166001600160a01b0390921691821790556040805163e5f6cd2760e01b81529051929350909163e5f6cd27916004808201926020929091908290030181865afa15801562000191573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b7919062000cd3565b600980546001600160a01b0319166001600160a01b039283161790556008546040516301ffc9a760e01b81526318da1e1f60e11b60048201529116906301ffc9a790602401602060405180830381865afa1580156200021a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000240919062000cfa565b6200026c5760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600860009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002e6919062000cd3565b600380546001600160a01b0319166001600160a01b0392831617905560015416604051632efe011360e01b81526003600482015260006024820181905260448201526001600160a01b03919091169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000378573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200039e919062000d18565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620003f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200041a919062000d3f565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa15801562000481573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004a7919062000cd3565b600480546001600160a01b03199081166001600160a01b03938416179091556006805430908316179055600780549091169188169190911790556346b32da560e01b60009081526020527f0c74615b9065379cafc5e4e9d82ac4cbed23f75e35c2545793f8045351389f6c805460ff191660011790555050600c80548951600a556020808b0151600b556001600160a01b03808e1661010002610100600160a81b03198e1515166001600160a81b031990941693909317929092179092556008546040805163329802c760e21b8152905191909216985063ca600b1c975060048083019750929550935083900301905081865afa158015620005ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005d3919062000cd3565b600d80546001600160a01b0319166001600160a01b0392831617905560085460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa15801562000632573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000658919062000cd3565b600e80546001600160a01b0319166001600160a01b039290921691909117905563c8ea96c560e01b60009081526020527f358bf83baf6613c2def0011c88aae44093f6c2a350167255c9453fdf96405794805460ff1916600117905550505050505062000eba565b620006f16301ffc9a760e01b600090815260205260008051602062002695833981519152805460ff19166001179055565b620006fd8287620007c2565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d0100000000000000000000000000861515021781559050600181016200077c838262000dee565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b6001600160a01b0382166200081a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e657220697320300000604482015260640162000263565b600280546001600160a01b0319166001600160a01b038416179055620008408162000844565b5050565b6001546001600160a01b0316156200087f5760015460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240162000263565b6001600160a01b038116620008a75760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620008df5760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000263565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156200095c575060408051601f3d908101601f19168201909252620009599181019062000cfa565b60015b620009865760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000263565b80620008405760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000263565b50565b6001600160a01b0381168114620009b157600080fd5b8051620009d781620009b4565b919050565b80516001600160601b0381168114620009d757600080fd5b80518015158114620009d757600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000a405762000a4062000a05565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000a715762000a7162000a05565b604052919050565b60008060008060008086880360e081121562000a9457600080fd5b875162000aa181620009b4565b965062000ab160208901620009dc565b9550604088015162000ac381620009b4565b945062000ad360608901620009f4565b93506040607f198201121562000ae857600080fd5b50604080519081016001600160401b038111828210171562000b0e5762000b0e62000a05565b6040526080880151815260a0880151602082015260c088015190925062000b3581620009b4565b809150509295509295509295565b60ff81168114620009b157600080fd5b8051620009d78162000b43565b600082601f83011262000b7257600080fd5b81516001600160401b0381111562000b8e5762000b8e62000a05565b602062000ba4601f8301601f1916820162000a46565b828152858284870101111562000bb957600080fd5b60005b8381101562000bd957858101830151828201840152820162000bbc565b506000928101909101919091529392505050565b60006020828403121562000c0057600080fd5b81516001600160401b038082111562000c1857600080fd5b9083019060e0828603121562000c2d57600080fd5b62000c3762000a1b565b62000c4283620009dc565b815262000c5260208401620009dc565b602082015262000c656040840162000b53565b604082015262000c7860608401620009f4565b606082015262000c8b60808401620009ca565b608082015262000c9e60a08401620009ca565b60a082015260c08301518281111562000cb657600080fd5b62000cc48782860162000b60565b60c08301525095945050505050565b60006020828403121562000ce657600080fd5b815162000cf381620009b4565b9392505050565b60006020828403121562000d0d57600080fd5b62000cf382620009f4565b60006020828403121562000d2b57600080fd5b815162ffffff8116811462000cf357600080fd5b60006020828403121562000d5257600080fd5b815162000cf38162000b43565b600181811c9082168062000d7457607f821691505b60208210810362000d9557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000de957600081815260208120601f850160051c8101602086101562000dc45750805b601f850160051c820191505b8181101562000de55782815560010162000dd0565b5050505b505050565b81516001600160401b0381111562000e0a5762000e0a62000a05565b62000e228162000e1b845462000d5f565b8462000d9b565b602080601f83116001811462000e5a576000841562000e415750858301515b600019600386901b1c1916600185901b17855562000de5565b600085815260208120601f198616915b8281101562000e8b5788860151825594840194600190910190840162000e6a565b508582101562000eaa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6117cb8062000eca6000396000f3fe608060405234801561001057600080fd5b506004361061014c5760003560e01c8063644c45e0116100c3578063de7b5d141161007c578063de7b5d14146102ef578063deaa59df14610300578063e214756714610313578063f7d39dea14610327578063f80e207214610270578063f83d08ba1461033a57600080fd5b8063644c45e01461029457806387ef9ba0146102ac578063893d20e8146102b7578063a69df4b5146102bf578063c200b809146102c7578063d16d0fe8146102dc57600080fd5b80631eff4b22116101155780631eff4b221461020457806321df0da7146102395780632a65c6881461024a5780633f52c0f61461025d5780634cf30a84146102705780635ab1bd531461028357600080fd5b806251884a1461015157806301ffc9a7146101825780630fec111c146101bf57806313299604146101d5578063138461e0146101fa575b600080fd5b600954600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101af6101903660046112e2565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610179565b6101c7610342565b60405161017992919061135c565b6006546001600160a01b03165b6040516001600160a01b039091168152602001610179565b610202610411565b005b61022b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b6007546001600160a01b03166101e2565b610202610258366004611418565b610633565b61020261026b36600461146c565b610782565b61020261027e3660046114bb565b6107e7565b6001546001600160a01b03166101e2565b600154600160a01b90046001600160601b0316610165565b600c5460ff166101af565b6101e261084f565b61020261096d565b6102cf610a08565b60405161017991906114e5565b61022b6102ea3660046114bb565b610b17565b6008546001600160a01b03166101e2565b61020261030e36600461155a565b610b2c565b6101af610321366004611577565b50600090565b61022b6103353660046114bb565b610e33565b610202610ed5565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610385610f40565b506040805160a081018252600954600160a01b90046001600160601b03168152600c5461010081046001600160a01b031660208084019190915283518085018552600a548152600b54818301528385015260ff90911615156060830152306080830152915192935083926103f992016114e5565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610473573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049791906115a2565b156104de576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105075760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610550573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057491906115a2565b61059c576040516372657a5160e01b81526001600160a01b03821660048201526024016104d5565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060a91906115bd565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b61063b61084f565b6001600160a01b0316336001600160a01b03161461066e5760405163700dd81160e01b81523360048201526024016104d5565b60095473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070e91906115a2565b61075a5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104d5565b600980546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b600d54604051631fa9607b60e11b81526001600160a01b0390911690633f52c0f6906107b29084906004016115da565b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b5050505050565b600e546001600160a01b0316331461084b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104d5565b5050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d891906115a2565b1561095d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610934573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095891906115fc565b905090565b506002546001600160a01b031690565b61097561084f565b6001600160a01b0316336001600160a01b0316146109a85760405163700dd81160e01b81523360048201526024016104d5565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109ee57600080fd5b505af1158015610a02573d6000803e3d6000fd5b50505050565b610a10611286565b600854604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610a5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7e91906115fc565b9050806001600160a01b0316639ad69c67610aa96001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190611619565b91505090565b6000610b2382826116dd565b90505b92915050565b610b3461084f565b6001600160a01b0316336001600160a01b031614610b675760405163700dd81160e01b81523360048201526024016104d5565b6006546007546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdc9190611702565b9050816001600160a01b0316836001600160a01b031603610c1b57604051637c739a9960e11b81526001600160a01b03841660048201526024016104d5565b8015610cec576001600160a01b0382163014610cec57600754604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca69190611702565b905081811015610cea57604051633945c9b360e01b81526001600160a01b0380851660048301528516602482015260448101829052606481018390526084016104d5565b505b600680546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a18015610e2e57306001600160a01b03831603610dca5760075460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af1158015610da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc891906115a2565b505b600754610de2906001600160a01b03168385846110c6565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b600080610e3e610a08565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018690529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb919061171b565b5095945050505050565b610edd61084f565b6001600160a01b0316336001600160a01b031614610f105760405163700dd81160e01b81523360048201526024016104d5565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109d4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610fc76001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161100f61084f565b6001600160a01b0316815260200182600101805461102c9061173f565b80601f01602080910402602001604051908101604052809291908181526020018280546110589061173f565b80156110a55780601f1061107a576101008083540402835291602001916110a5565b820191906000526020600020905b81548152906001019060200180831161108857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610a029186919060009061112c9084168361117a565b9050805160001415801561115157508080602001905181019061114f91906115a2565b155b15610e2e57604051635274afe760e01b81526001600160a01b03841660048201526024016104d5565b6060610b238383600084600080856001600160a01b031684866040516111a09190611779565b60006040518083038185875af1925050503d80600081146111dd576040519150601f19603f3d011682016040523d82523d6000602084013e6111e2565b606091505b50915091506111f28683836111fe565b925050505b9392505050565b6060826112135761120e8261125a565b6111f7565b815115801561122a57506001600160a01b0384163b155b1561125357604051639996b31560e01b81526001600160a01b03851660048201526024016104d5565b50806111f7565b80511561126a5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016112ce604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6000602082840312156112f457600080fd5b81356001600160e01b0319811681146111f757600080fd5b60005b8381101561132757818101518382015260200161130f565b50506000910152565b6000815180845261134881602086016020860161130c565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516113a060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526113e6610120840182611330565b905082810360208401526113fa8185611330565b95945050505050565b6001600160601b038116811461128357600080fd5b60006020828403121561142a57600080fd5b81356111f781611403565b6040805190810167ffffffffffffffff8111828210171561146657634e487b7160e01b600052604160045260246000fd5b60405290565b60006040828403121561147e57600080fd5b611486611435565b82358152602083013560208201528091505092915050565b80356001600160c01b0319811681146114b657600080fd5b919050565b600080604083850312156114ce57600080fd5b6114d78361149e565b946020939093013593505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b6001600160a01b038116811461128357600080fd5b60006020828403121561156c57600080fd5b81356111f781611545565b60006020828403121561158957600080fd5b610b238261149e565b805180151581146114b657600080fd5b6000602082840312156115b457600080fd5b610b2382611592565b6000602082840312156115cf57600080fd5b81516111f781611403565b815181526020808301519082015260408101610b26565b80516114b681611545565b60006020828403121561160e57600080fd5b81516111f781611545565b600081830360c081121561162c57600080fd5b60405160a0810181811067ffffffffffffffff8211171561165d57634e487b7160e01b600052604160045260246000fd5b604052835161166b81611403565b8152602084015161167b81611545565b60208201526040603f198301121561169257600080fd5b61169a611435565b915060408401518252606084015160208301528160408201526116bf60808501611592565b60608201526116d060a085016115f1565b6080820152949350505050565b8082028115828204841417610b2657634e487b7160e01b600052601160045260246000fd5b60006020828403121561171457600080fd5b5051919050565b6000806040838503121561172e57600080fd5b505080516020909101519092909150565b600181811c9082168061175357607f821691505b60208210810361177357634e487b7160e01b600052602260045260246000fd5b50919050565b6000825161178b81846020870161130c565b919091019291505056fea26469706673582212205dde4eb545d1333120a435cf7f3676ade1d5a033a3640a9f468bbf8cced6786e64736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
|
707
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014c5760003560e01c8063644c45e0116100c3578063de7b5d141161007c578063de7b5d14146102ef578063deaa59df14610300578063e214756714610313578063f7d39dea14610327578063f80e207214610270578063f83d08ba1461033a57600080fd5b8063644c45e01461029457806387ef9ba0146102ac578063893d20e8146102b7578063a69df4b5146102bf578063c200b809146102c7578063d16d0fe8146102dc57600080fd5b80631eff4b22116101155780631eff4b221461020457806321df0da7146102395780632a65c6881461024a5780633f52c0f61461025d5780634cf30a84146102705780635ab1bd531461028357600080fd5b806251884a1461015157806301ffc9a7146101825780630fec111c146101bf57806313299604146101d5578063138461e0146101fa575b600080fd5b600954600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101af6101903660046112e2565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610179565b6101c7610342565b60405161017992919061135c565b6006546001600160a01b03165b6040516001600160a01b039091168152602001610179565b610202610411565b005b61022b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b6007546001600160a01b03166101e2565b610202610258366004611418565b610633565b61020261026b36600461146c565b610782565b61020261027e3660046114bb565b6107e7565b6001546001600160a01b03166101e2565b600154600160a01b90046001600160601b0316610165565b600c5460ff166101af565b6101e261084f565b61020261096d565b6102cf610a08565b60405161017991906114e5565b61022b6102ea3660046114bb565b610b17565b6008546001600160a01b03166101e2565b61020261030e36600461155a565b610b2c565b6101af610321366004611577565b50600090565b61022b6103353660046114bb565b610e33565b610202610ed5565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610385610f40565b506040805160a081018252600954600160a01b90046001600160601b03168152600c5461010081046001600160a01b031660208084019190915283518085018552600a548152600b54818301528385015260ff90911615156060830152306080830152915192935083926103f992016114e5565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610473573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049791906115a2565b156104de576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105075760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610550573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057491906115a2565b61059c576040516372657a5160e01b81526001600160a01b03821660048201526024016104d5565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060a91906115bd565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b61063b61084f565b6001600160a01b0316336001600160a01b03161461066e5760405163700dd81160e01b81523360048201526024016104d5565b60095473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070e91906115a2565b61075a5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104d5565b600980546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b600d54604051631fa9607b60e11b81526001600160a01b0390911690633f52c0f6906107b29084906004016115da565b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b5050505050565b600e546001600160a01b0316331461084b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104d5565b5050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d891906115a2565b1561095d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610934573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095891906115fc565b905090565b506002546001600160a01b031690565b61097561084f565b6001600160a01b0316336001600160a01b0316146109a85760405163700dd81160e01b81523360048201526024016104d5565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109ee57600080fd5b505af1158015610a02573d6000803e3d6000fd5b50505050565b610a10611286565b600854604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610a5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7e91906115fc565b9050806001600160a01b0316639ad69c67610aa96001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190611619565b91505090565b6000610b2382826116dd565b90505b92915050565b610b3461084f565b6001600160a01b0316336001600160a01b031614610b675760405163700dd81160e01b81523360048201526024016104d5565b6006546007546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdc9190611702565b9050816001600160a01b0316836001600160a01b031603610c1b57604051637c739a9960e11b81526001600160a01b03841660048201526024016104d5565b8015610cec576001600160a01b0382163014610cec57600754604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca69190611702565b905081811015610cea57604051633945c9b360e01b81526001600160a01b0380851660048301528516602482015260448101829052606481018390526084016104d5565b505b600680546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a18015610e2e57306001600160a01b03831603610dca5760075460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af1158015610da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc891906115a2565b505b600754610de2906001600160a01b03168385846110c6565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b600080610e3e610a08565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018690529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb919061171b565b5095945050505050565b610edd61084f565b6001600160a01b0316336001600160a01b031614610f105760405163700dd81160e01b81523360048201526024016104d5565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109d4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610fc76001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161100f61084f565b6001600160a01b0316815260200182600101805461102c9061173f565b80601f01602080910402602001604051908101604052809291908181526020018280546110589061173f565b80156110a55780601f1061107a576101008083540402835291602001916110a5565b820191906000526020600020905b81548152906001019060200180831161108857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610a029186919060009061112c9084168361117a565b9050805160001415801561115157508080602001905181019061114f91906115a2565b155b15610e2e57604051635274afe760e01b81526001600160a01b03841660048201526024016104d5565b6060610b238383600084600080856001600160a01b031684866040516111a09190611779565b60006040518083038185875af1925050503d80600081146111dd576040519150601f19603f3d011682016040523d82523d6000602084013e6111e2565b606091505b50915091506111f28683836111fe565b925050505b9392505050565b6060826112135761120e8261125a565b6111f7565b815115801561122a57506001600160a01b0384163b155b1561125357604051639996b31560e01b81526001600160a01b03851660048201526024016104d5565b50806111f7565b80511561126a5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016112ce604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6000602082840312156112f457600080fd5b81356001600160e01b0319811681146111f757600080fd5b60005b8381101561132757818101518382015260200161130f565b50506000910152565b6000815180845261134881602086016020860161130c565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516113a060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526113e6610120840182611330565b905082810360208401526113fa8185611330565b95945050505050565b6001600160601b038116811461128357600080fd5b60006020828403121561142a57600080fd5b81356111f781611403565b6040805190810167ffffffffffffffff8111828210171561146657634e487b7160e01b600052604160045260246000fd5b60405290565b60006040828403121561147e57600080fd5b611486611435565b82358152602083013560208201528091505092915050565b80356001600160c01b0319811681146114b657600080fd5b919050565b600080604083850312156114ce57600080fd5b6114d78361149e565b946020939093013593505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b6001600160a01b038116811461128357600080fd5b60006020828403121561156c57600080fd5b81356111f781611545565b60006020828403121561158957600080fd5b610b238261149e565b805180151581146114b657600080fd5b6000602082840312156115b457600080fd5b610b2382611592565b6000602082840312156115cf57600080fd5b81516111f781611403565b815181526020808301519082015260408101610b26565b80516114b681611545565b60006020828403121561160e57600080fd5b81516111f781611545565b600081830360c081121561162c57600080fd5b60405160a0810181811067ffffffffffffffff8211171561165d57634e487b7160e01b600052604160045260246000fd5b604052835161166b81611403565b8152602084015161167b81611545565b60208201526040603f198301121561169257600080fd5b61169a611435565b915060408401518252606084015160208301528160408201526116bf60808501611592565b60608201526116d060a085016115f1565b6080820152949350505050565b8082028115828204841417610b2657634e487b7160e01b600052601160045260246000fd5b60006020828403121561171457600080fd5b5051919050565b6000806040838503121561172e57600080fd5b505080516020909101519092909150565b600181811c9082168061175357607f821691505b60208210810361177357634e487b7160e01b600052602260045260246000fd5b50919050565b6000825161178b81846020870161130c565b919091019291505056fea26469706673582212205dde4eb545d1333120a435cf7f3676ade1d5a033a3640a9f468bbf8cced6786e64736f6c63430008140033",
|
708
|
-
"linkReferences": {
|
709
|
-
"contracts/types/Fee.sol": {
|
710
|
-
"FeeLib": [
|
711
|
-
{
|
712
|
-
"length": 20,
|
713
|
-
"start": 7480
|
714
|
-
}
|
715
|
-
]
|
716
|
-
},
|
717
|
-
"contracts/types/NftId.sol": {
|
718
|
-
"NftIdLib": [
|
719
|
-
{
|
720
|
-
"length": 20,
|
721
|
-
"start": 4867
|
722
|
-
},
|
723
|
-
{
|
724
|
-
"length": 20,
|
725
|
-
"start": 5437
|
726
|
-
},
|
727
|
-
{
|
728
|
-
"length": 20,
|
729
|
-
"start": 5956
|
730
|
-
}
|
731
|
-
]
|
732
|
-
},
|
733
|
-
"contracts/types/Version.sol": {
|
734
|
-
"VersionLib": [
|
735
|
-
{
|
736
|
-
"length": 20,
|
737
|
-
"start": 829
|
738
|
-
},
|
739
|
-
{
|
740
|
-
"length": 20,
|
741
|
-
"start": 953
|
742
|
-
}
|
743
|
-
]
|
744
|
-
}
|
745
|
-
},
|
746
|
-
"deployedLinkReferences": {
|
747
|
-
"contracts/types/Fee.sol": {
|
748
|
-
"FeeLib": [
|
749
|
-
{
|
750
|
-
"length": 20,
|
751
|
-
"start": 3694
|
752
|
-
}
|
753
|
-
]
|
754
1404
|
},
|
755
|
-
|
756
|
-
"
|
1405
|
+
{
|
1406
|
+
"inputs": [
|
757
1407
|
{
|
758
|
-
"
|
759
|
-
"
|
1408
|
+
"internalType": "NftId",
|
1409
|
+
"name": "distributorNftId",
|
1410
|
+
"type": "uint96"
|
760
1411
|
},
|
761
1412
|
{
|
762
|
-
"
|
763
|
-
"
|
1413
|
+
"internalType": "DistributorType",
|
1414
|
+
"name": "distributorType",
|
1415
|
+
"type": "bytes8"
|
764
1416
|
},
|
765
1417
|
{
|
766
|
-
"
|
767
|
-
"
|
1418
|
+
"internalType": "bytes",
|
1419
|
+
"name": "data",
|
1420
|
+
"type": "bytes"
|
768
1421
|
}
|
769
|
-
]
|
1422
|
+
],
|
1423
|
+
"name": "updateDistributorType",
|
1424
|
+
"outputs": [],
|
1425
|
+
"stateMutability": "nonpayable",
|
1426
|
+
"type": "function"
|
770
1427
|
}
|
771
|
-
|
1428
|
+
],
|
1429
|
+
"bytecode": "0x",
|
1430
|
+
"deployedBytecode": "0x",
|
1431
|
+
"linkReferences": {},
|
1432
|
+
"deployedLinkReferences": {}
|
772
1433
|
}
|