@etherisc/gif-next 0.0.2-be8b468-276 → 0.0.2-bfb44e0-483
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 +897 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +972 -209
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → components/IComponent.sol/IComponent.json} +191 -152
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +752 -6
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +676 -31
- 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 +875 -299
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +695 -180
- 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 +2056 -113
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +214 -20
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +559 -752
- 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 +179 -76
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +550 -77
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +194 -32
- 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/{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 +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 +1117 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1318 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +586 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +576 -41
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +198 -24
- 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} +223 -51
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +798 -0
- 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 +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +784 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +34 -83
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +44 -246
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1378 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +642 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +957 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +574 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +1007 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +574 -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 +240 -94
- 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 +221 -107
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +181 -105
- 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 +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 +236 -0
- package/contracts/components/Distribution.sol +198 -66
- package/contracts/components/IComponent.sol +50 -0
- package/contracts/components/IDistributionComponent.sol +58 -4
- package/contracts/components/IPoolComponent.sol +54 -29
- package/contracts/components/IProductComponent.sol +7 -3
- package/contracts/components/Pool.sol +153 -157
- 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 +63 -10
- package/contracts/instance/IInstanceService.sol +33 -4
- package/contracts/instance/Instance.sol +104 -266
- package/contracts/instance/InstanceAccessManager.sol +87 -78
- package/contracts/instance/InstanceReader.sol +29 -26
- package/contracts/instance/InstanceService.sol +361 -90
- 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/IBundle.sol +1 -0
- package/contracts/instance/module/ISetup.sol +7 -3
- 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 +214 -36
- 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/IDistributionService.sol +53 -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 +109 -0
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- 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 +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 +114 -60
- 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 +19 -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/NftIdSet.sol +26 -24
- package/contracts/types/ObjectType.sol +6 -2
- package/contracts/types/RoleId.sol +10 -8
- 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 -39
- 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": [
|
@@ -156,61 +303,96 @@
|
|
156
303
|
"type": "event"
|
157
304
|
},
|
158
305
|
{
|
159
|
-
"
|
160
|
-
"
|
161
|
-
"outputs": [
|
306
|
+
"anonymous": false,
|
307
|
+
"inputs": [
|
162
308
|
{
|
163
|
-
"
|
164
|
-
"
|
165
|
-
"
|
309
|
+
"indexed": false,
|
310
|
+
"internalType": "address",
|
311
|
+
"name": "newWallet",
|
312
|
+
"type": "address"
|
166
313
|
}
|
167
314
|
],
|
168
|
-
"
|
169
|
-
"type": "
|
315
|
+
"name": "LogComponentWalletAddressChanged",
|
316
|
+
"type": "event"
|
170
317
|
},
|
171
318
|
{
|
319
|
+
"anonymous": false,
|
172
320
|
"inputs": [
|
173
321
|
{
|
174
|
-
"
|
175
|
-
"
|
176
|
-
"
|
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"
|
177
332
|
},
|
178
333
|
{
|
334
|
+
"indexed": false,
|
179
335
|
"internalType": "uint256",
|
180
|
-
"name": "
|
336
|
+
"name": "amount",
|
181
337
|
"type": "uint256"
|
182
338
|
}
|
183
339
|
],
|
184
|
-
"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",
|
360
|
+
"type": "event"
|
361
|
+
},
|
362
|
+
{
|
363
|
+
"inputs": [],
|
364
|
+
"name": "CONTRACT_LOCATION_V1",
|
185
365
|
"outputs": [
|
186
366
|
{
|
187
|
-
"internalType": "
|
188
|
-
"name": "
|
189
|
-
"type": "
|
367
|
+
"internalType": "bytes32",
|
368
|
+
"name": "",
|
369
|
+
"type": "bytes32"
|
190
370
|
}
|
191
371
|
],
|
192
372
|
"stateMutability": "view",
|
193
373
|
"type": "function"
|
194
374
|
},
|
195
375
|
{
|
196
|
-
"inputs": [
|
197
|
-
|
198
|
-
|
199
|
-
"name": "referralId",
|
200
|
-
"type": "bytes8"
|
201
|
-
},
|
376
|
+
"inputs": [],
|
377
|
+
"name": "DISTRIBUTION_STORAGE_LOCATION_V1",
|
378
|
+
"outputs": [
|
202
379
|
{
|
203
|
-
"internalType": "
|
204
|
-
"name": "
|
205
|
-
"type": "
|
380
|
+
"internalType": "bytes32",
|
381
|
+
"name": "",
|
382
|
+
"type": "bytes32"
|
206
383
|
}
|
207
384
|
],
|
208
|
-
"
|
385
|
+
"stateMutability": "view",
|
386
|
+
"type": "function"
|
387
|
+
},
|
388
|
+
{
|
389
|
+
"inputs": [],
|
390
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
209
391
|
"outputs": [
|
210
392
|
{
|
211
|
-
"internalType": "
|
212
|
-
"name": "
|
213
|
-
"type": "
|
393
|
+
"internalType": "bytes32",
|
394
|
+
"name": "",
|
395
|
+
"type": "bytes32"
|
214
396
|
}
|
215
397
|
],
|
216
398
|
"stateMutability": "view",
|
@@ -218,12 +400,286 @@
|
|
218
400
|
},
|
219
401
|
{
|
220
402
|
"inputs": [],
|
221
|
-
"name": "
|
403
|
+
"name": "REGISTERABLE_LOCATION_V1",
|
222
404
|
"outputs": [
|
223
405
|
{
|
224
|
-
"
|
225
|
-
|
226
|
-
|
406
|
+
"internalType": "bytes32",
|
407
|
+
"name": "",
|
408
|
+
"type": "bytes32"
|
409
|
+
}
|
410
|
+
],
|
411
|
+
"stateMutability": "view",
|
412
|
+
"type": "function"
|
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
|
+
},
|
427
|
+
{
|
428
|
+
"inputs": [
|
429
|
+
{
|
430
|
+
"internalType": "ReferralId",
|
431
|
+
"name": "referralId",
|
432
|
+
"type": "bytes8"
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"internalType": "uint256",
|
436
|
+
"name": "netPremiumAmount",
|
437
|
+
"type": "uint256"
|
438
|
+
}
|
439
|
+
],
|
440
|
+
"name": "calculateFeeAmount",
|
441
|
+
"outputs": [
|
442
|
+
{
|
443
|
+
"internalType": "uint256",
|
444
|
+
"name": "feeAmount",
|
445
|
+
"type": "uint256"
|
446
|
+
}
|
447
|
+
],
|
448
|
+
"stateMutability": "view",
|
449
|
+
"type": "function"
|
450
|
+
},
|
451
|
+
{
|
452
|
+
"inputs": [
|
453
|
+
{
|
454
|
+
"internalType": "ReferralId",
|
455
|
+
"name": "referralId",
|
456
|
+
"type": "bytes8"
|
457
|
+
},
|
458
|
+
{
|
459
|
+
"internalType": "uint256",
|
460
|
+
"name": "netPremiumAmount",
|
461
|
+
"type": "uint256"
|
462
|
+
}
|
463
|
+
],
|
464
|
+
"name": "calculateRenewalFeeAmount",
|
465
|
+
"outputs": [
|
466
|
+
{
|
467
|
+
"internalType": "uint256",
|
468
|
+
"name": "feeAmount",
|
469
|
+
"type": "uint256"
|
470
|
+
}
|
471
|
+
],
|
472
|
+
"stateMutability": "view",
|
473
|
+
"type": "function"
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"inputs": [
|
477
|
+
{
|
478
|
+
"internalType": "address",
|
479
|
+
"name": "distributor",
|
480
|
+
"type": "address"
|
481
|
+
},
|
482
|
+
{
|
483
|
+
"internalType": "DistributorType",
|
484
|
+
"name": "distributorType",
|
485
|
+
"type": "bytes8"
|
486
|
+
},
|
487
|
+
{
|
488
|
+
"internalType": "bytes",
|
489
|
+
"name": "data",
|
490
|
+
"type": "bytes"
|
491
|
+
}
|
492
|
+
],
|
493
|
+
"name": "createDistributor",
|
494
|
+
"outputs": [
|
495
|
+
{
|
496
|
+
"internalType": "NftId",
|
497
|
+
"name": "distributorNftId",
|
498
|
+
"type": "uint96"
|
499
|
+
}
|
500
|
+
],
|
501
|
+
"stateMutability": "nonpayable",
|
502
|
+
"type": "function"
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"inputs": [
|
506
|
+
{
|
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",
|
227
683
|
"name": "nftId",
|
228
684
|
"type": "uint96"
|
229
685
|
},
|
@@ -259,13 +715,144 @@
|
|
259
715
|
}
|
260
716
|
],
|
261
717
|
"internalType": "struct IRegistry.ObjectInfo",
|
262
|
-
"name": "",
|
718
|
+
"name": "info",
|
263
719
|
"type": "tuple"
|
264
|
-
}
|
720
|
+
}
|
721
|
+
],
|
722
|
+
"stateMutability": "view",
|
723
|
+
"type": "function"
|
724
|
+
},
|
725
|
+
{
|
726
|
+
"inputs": [],
|
727
|
+
"name": "getInitialOwner",
|
728
|
+
"outputs": [
|
265
729
|
{
|
266
|
-
"internalType": "
|
730
|
+
"internalType": "address",
|
267
731
|
"name": "",
|
268
|
-
"type": "
|
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": [],
|
818
|
+
"name": "getProductNftId",
|
819
|
+
"outputs": [
|
820
|
+
{
|
821
|
+
"internalType": "NftId",
|
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"
|
269
856
|
}
|
270
857
|
],
|
271
858
|
"stateMutability": "view",
|
@@ -273,7 +860,33 @@
|
|
273
860
|
},
|
274
861
|
{
|
275
862
|
"inputs": [],
|
276
|
-
"name": "
|
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",
|
277
890
|
"outputs": [
|
278
891
|
{
|
279
892
|
"components": [
|
@@ -305,162 +918,277 @@
|
|
305
918
|
"type": "tuple"
|
306
919
|
},
|
307
920
|
{
|
308
|
-
"internalType": "
|
309
|
-
"name": "
|
310
|
-
"type": "
|
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",
|
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"
|
311
1036
|
},
|
312
1037
|
{
|
313
|
-
"internalType": "
|
314
|
-
"name": "
|
315
|
-
"type": "
|
1038
|
+
"internalType": "uint256",
|
1039
|
+
"name": "fixedFee",
|
1040
|
+
"type": "uint256"
|
316
1041
|
}
|
317
1042
|
],
|
318
|
-
"internalType": "struct
|
319
|
-
"name": "
|
1043
|
+
"internalType": "struct Fee",
|
1044
|
+
"name": "distributionFee",
|
320
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"
|
321
1056
|
}
|
322
1057
|
],
|
323
|
-
"
|
1058
|
+
"name": "initializeDistribution",
|
1059
|
+
"outputs": [],
|
1060
|
+
"stateMutability": "nonpayable",
|
324
1061
|
"type": "function"
|
325
1062
|
},
|
326
1063
|
{
|
327
1064
|
"inputs": [],
|
328
|
-
"name": "
|
329
|
-
"outputs": [
|
330
|
-
|
331
|
-
"internalType": "contract IInstance",
|
332
|
-
"name": "instance",
|
333
|
-
"type": "address"
|
334
|
-
}
|
335
|
-
],
|
336
|
-
"stateMutability": "view",
|
1065
|
+
"name": "initializeERC165",
|
1066
|
+
"outputs": [],
|
1067
|
+
"stateMutability": "nonpayable",
|
337
1068
|
"type": "function"
|
338
1069
|
},
|
339
1070
|
{
|
340
|
-
"inputs": [
|
341
|
-
"name": "getNftId",
|
342
|
-
"outputs": [
|
1071
|
+
"inputs": [
|
343
1072
|
{
|
344
|
-
"internalType": "
|
345
|
-
"name": "",
|
346
|
-
"type": "
|
1073
|
+
"internalType": "address",
|
1074
|
+
"name": "initialOwner",
|
1075
|
+
"type": "address"
|
1076
|
+
},
|
1077
|
+
{
|
1078
|
+
"internalType": "address",
|
1079
|
+
"name": "registryAddress",
|
1080
|
+
"type": "address"
|
347
1081
|
}
|
348
1082
|
],
|
349
|
-
"
|
1083
|
+
"name": "initializeNftOwnable",
|
1084
|
+
"outputs": [],
|
1085
|
+
"stateMutability": "nonpayable",
|
350
1086
|
"type": "function"
|
351
1087
|
},
|
352
1088
|
{
|
353
|
-
"inputs": [
|
354
|
-
"name": "getOwner",
|
355
|
-
"outputs": [
|
1089
|
+
"inputs": [
|
356
1090
|
{
|
357
1091
|
"internalType": "address",
|
358
|
-
"name": "",
|
1092
|
+
"name": "initialOwner",
|
359
1093
|
"type": "address"
|
360
1094
|
}
|
361
1095
|
],
|
362
|
-
"
|
1096
|
+
"name": "initializeOwner",
|
1097
|
+
"outputs": [],
|
1098
|
+
"stateMutability": "nonpayable",
|
363
1099
|
"type": "function"
|
364
1100
|
},
|
365
1101
|
{
|
366
|
-
"inputs": [
|
367
|
-
|
368
|
-
|
1102
|
+
"inputs": [
|
1103
|
+
{
|
1104
|
+
"internalType": "address",
|
1105
|
+
"name": "registryAddress",
|
1106
|
+
"type": "address"
|
1107
|
+
},
|
369
1108
|
{
|
370
1109
|
"internalType": "NftId",
|
371
|
-
"name": "
|
1110
|
+
"name": "parentNftId",
|
372
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"
|
373
1132
|
}
|
374
1133
|
],
|
375
|
-
"
|
1134
|
+
"name": "initializeRegisterable",
|
1135
|
+
"outputs": [],
|
1136
|
+
"stateMutability": "nonpayable",
|
376
1137
|
"type": "function"
|
377
1138
|
},
|
378
1139
|
{
|
379
|
-
"inputs": [
|
380
|
-
"name": "getRegistry",
|
381
|
-
"outputs": [
|
1140
|
+
"inputs": [
|
382
1141
|
{
|
383
|
-
"internalType": "
|
384
|
-
"name": "",
|
1142
|
+
"internalType": "address",
|
1143
|
+
"name": "registryAddress",
|
385
1144
|
"type": "address"
|
386
1145
|
}
|
387
1146
|
],
|
388
|
-
"
|
1147
|
+
"name": "initializeRegistryLinked",
|
1148
|
+
"outputs": [],
|
1149
|
+
"stateMutability": "nonpayable",
|
389
1150
|
"type": "function"
|
390
1151
|
},
|
391
1152
|
{
|
392
1153
|
"inputs": [],
|
393
|
-
"name": "
|
1154
|
+
"name": "isConsumingScheduledOp",
|
394
1155
|
"outputs": [
|
395
1156
|
{
|
396
|
-
"
|
397
|
-
|
398
|
-
|
399
|
-
"name": "productNftId",
|
400
|
-
"type": "uint96"
|
401
|
-
},
|
402
|
-
{
|
403
|
-
"internalType": "contract TokenHandler",
|
404
|
-
"name": "tokenHandler",
|
405
|
-
"type": "address"
|
406
|
-
},
|
407
|
-
{
|
408
|
-
"components": [
|
409
|
-
{
|
410
|
-
"internalType": "UFixed",
|
411
|
-
"name": "fractionalFee",
|
412
|
-
"type": "uint256"
|
413
|
-
},
|
414
|
-
{
|
415
|
-
"internalType": "uint256",
|
416
|
-
"name": "fixedFee",
|
417
|
-
"type": "uint256"
|
418
|
-
}
|
419
|
-
],
|
420
|
-
"internalType": "struct Fee",
|
421
|
-
"name": "distributionFee",
|
422
|
-
"type": "tuple"
|
423
|
-
},
|
424
|
-
{
|
425
|
-
"internalType": "bool",
|
426
|
-
"name": "isIntercepting",
|
427
|
-
"type": "bool"
|
428
|
-
},
|
429
|
-
{
|
430
|
-
"internalType": "address",
|
431
|
-
"name": "wallet",
|
432
|
-
"type": "address"
|
433
|
-
}
|
434
|
-
],
|
435
|
-
"internalType": "struct ISetup.DistributionSetupInfo",
|
436
|
-
"name": "setupInfo",
|
437
|
-
"type": "tuple"
|
1157
|
+
"internalType": "bytes4",
|
1158
|
+
"name": "",
|
1159
|
+
"type": "bytes4"
|
438
1160
|
}
|
439
1161
|
],
|
440
1162
|
"stateMutability": "view",
|
441
1163
|
"type": "function"
|
442
1164
|
},
|
443
1165
|
{
|
444
|
-
"inputs": [
|
445
|
-
"name": "getToken",
|
446
|
-
"outputs": [
|
1166
|
+
"inputs": [
|
447
1167
|
{
|
448
|
-
"internalType": "
|
449
|
-
"name": "
|
1168
|
+
"internalType": "address",
|
1169
|
+
"name": "candidate",
|
450
1170
|
"type": "address"
|
451
1171
|
}
|
452
1172
|
],
|
1173
|
+
"name": "isDistributor",
|
1174
|
+
"outputs": [
|
1175
|
+
{
|
1176
|
+
"internalType": "bool",
|
1177
|
+
"name": "",
|
1178
|
+
"type": "bool"
|
1179
|
+
}
|
1180
|
+
],
|
453
1181
|
"stateMutability": "view",
|
454
1182
|
"type": "function"
|
455
1183
|
},
|
456
1184
|
{
|
457
1185
|
"inputs": [],
|
458
|
-
"name": "
|
1186
|
+
"name": "isNftInterceptor",
|
459
1187
|
"outputs": [
|
460
1188
|
{
|
461
|
-
"internalType": "
|
462
|
-
"name": "
|
463
|
-
"type": "
|
1189
|
+
"internalType": "bool",
|
1190
|
+
"name": "isInterceptor",
|
1191
|
+
"type": "bool"
|
464
1192
|
}
|
465
1193
|
],
|
466
1194
|
"stateMutability": "view",
|
@@ -493,6 +1221,29 @@
|
|
493
1221
|
"stateMutability": "nonpayable",
|
494
1222
|
"type": "function"
|
495
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
|
+
},
|
496
1247
|
{
|
497
1248
|
"inputs": [
|
498
1249
|
{
|
@@ -520,7 +1271,7 @@
|
|
520
1271
|
},
|
521
1272
|
{
|
522
1273
|
"internalType": "uint256",
|
523
|
-
"name": "
|
1274
|
+
"name": "premiumAmount",
|
524
1275
|
"type": "uint256"
|
525
1276
|
}
|
526
1277
|
],
|
@@ -548,6 +1299,32 @@
|
|
548
1299
|
"stateMutability": "view",
|
549
1300
|
"type": "function"
|
550
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
|
+
},
|
551
1328
|
{
|
552
1329
|
"inputs": [
|
553
1330
|
{
|
@@ -586,6 +1363,19 @@
|
|
586
1363
|
"stateMutability": "nonpayable",
|
587
1364
|
"type": "function"
|
588
1365
|
},
|
1366
|
+
{
|
1367
|
+
"inputs": [
|
1368
|
+
{
|
1369
|
+
"internalType": "address",
|
1370
|
+
"name": "newWallet",
|
1371
|
+
"type": "address"
|
1372
|
+
}
|
1373
|
+
],
|
1374
|
+
"name": "setWallet",
|
1375
|
+
"outputs": [],
|
1376
|
+
"stateMutability": "nonpayable",
|
1377
|
+
"type": "function"
|
1378
|
+
},
|
589
1379
|
{
|
590
1380
|
"inputs": [
|
591
1381
|
{
|
@@ -611,60 +1401,33 @@
|
|
611
1401
|
"outputs": [],
|
612
1402
|
"stateMutability": "nonpayable",
|
613
1403
|
"type": "function"
|
614
|
-
}
|
615
|
-
],
|
616
|
-
"bytecode": "0x60806040523480156200001157600080fd5b5060405162001e2438038062001e24833981016040819052620000349162000738565b85858560786001856200006d6301ffc9a760e01b600090815260205260008051602062001e04833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009e878786868686620003d7565b6000620000b36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000103573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012d9190810190620008a1565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263e72ac88960e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000195573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bb919062000987565b620001e75760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002619190620009ac565b600380546001600160a01b03199081166001600160a01b0393841617909155600580543090831617905560068054909116918816919091179055634c0cba3d60e11b60009081526020527f8605f84a1fdbc6ff75d8a06315d161884729b429561b502d19c5a33135142c3a805460ff191660011790555050600a805460ff19168a1515179055505085516008555050506020808401516009556007546040805163329802c760e21b815290516001600160a01b03909216935063ca600b1c9260048083019391928290030181865afa15801562000342573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003689190620009ac565b600a80546001600160a01b039290921661010002610100600160a81b03199092169190911790556346956fbb60e01b60009081526020527fde8a87bec5ec8de928fbf3ef0018bfc89cfb626a8f5b139f23c48d93c5c755f4805460ff1916600117905550505050505062000b27565b620004086301ffc9a760e01b600090815260205260008051602062001e04833981519152805460ff19166001179055565b620004148287620004d9565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000493838262000a5b565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620004ff8162000503565b5050565b6001546001600160a01b0316156200053e5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001de565b6001600160a01b038116620005665760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200059e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001de565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156200061b575060408051601f3d908101601f19168201909252620006189181019062000987565b60015b620006455760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001de565b80620004ff5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001de565b50565b6001600160a01b03811681146200067057600080fd5b8051620006968162000673565b919050565b80516001600160601b03811681146200069657600080fd5b805180151581146200069657600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620006ff57620006ff620006c4565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620007305762000730620006c4565b604052919050565b60008060008060008086880360e08112156200075357600080fd5b8751620007608162000673565b965062000770602089016200069b565b95506040880151620007828162000673565b94506200079260608901620006b3565b93506040607f1982011215620007a757600080fd5b50604080519081016001600160401b0381118282101715620007cd57620007cd620006c4565b6040526080880151815260a0880151602082015260c0880151909250620007f48162000673565b809150509295509295509295565b805160ff811681146200069657600080fd5b600082601f8301126200082657600080fd5b81516001600160401b03811115620008425762000842620006c4565b602062000858601f8301601f1916820162000705565b82815285828487010111156200086d57600080fd5b60005b838110156200088d57858101830151828201840152820162000870565b506000928101909101919091529392505050565b600060208284031215620008b457600080fd5b81516001600160401b0380821115620008cc57600080fd5b9083019060e08286031215620008e157600080fd5b620008eb620006da565b620008f6836200069b565b815262000906602084016200069b565b6020820152620009196040840162000802565b60408201526200092c60608401620006b3565b60608201526200093f6080840162000689565b60808201526200095260a0840162000689565b60a082015260c0830151828111156200096a57600080fd5b620009788782860162000814565b60c08301525095945050505050565b6000602082840312156200099a57600080fd5b620009a582620006b3565b9392505050565b600060208284031215620009bf57600080fd5b8151620009a58162000673565b600181811c90821680620009e157607f821691505b60208210810362000a0257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000a5657600081815260208120601f850160051c8101602086101562000a315750805b601f850160051c820191505b8181101562000a525782815560010162000a3d565b5050505b505050565b81516001600160401b0381111562000a775762000a77620006c4565b62000a8f8162000a888454620009cc565b8462000a08565b602080601f83116001811462000ac7576000841562000aae5750858301515b600019600386901b1c1916600185901b17855562000a52565b600085815260208120601f198616915b8281101562000af85788860151825594840194600190910190840162000ad7565b508582101562000b175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6112cd8062000b376000396000f3fe608060405234801561001057600080fd5b506004361061014c5760003560e01c8063644c45e0116100c3578063d16d0fe81161007c578063d16d0fe814610336578063de7b5d1414610349578063e21475671461035a578063f7d39dea1461036e578063f80e207214610270578063f83d08ba1461038157600080fd5b8063644c45e01461029457806387ef9ba0146102ac578063893d20e8146102b75780638e7ff97e146102bf578063a69df4b514610326578063c200b8091461032e57600080fd5b80631eff4b22116101155780631eff4b221461020457806321df0da7146102395780632a65c6881461024a5780633f52c0f61461025d5780634cf30a84146102705780635ab1bd531461028357600080fd5b806251884a1461015157806301ffc9a7146101825780630fec111c146101bf57806313299604146101d5578063138461e0146101fa575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101af610190366004610e96565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610179565b6101c7610389565b604051610179929190610f0d565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610179565b610202610410565b005b61022b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b6006546001600160a01b03166101e2565b610202610258366004610fcc565b610632565b61020261026b366004611020565b610794565b61020261027e36600461106f565b6107fd565b6001546001600160a01b03166101e2565b600154600160a01b90046001600160601b0316610165565b600a5460ff166101af565b6101e2610865565b6102c7610983565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610179565b6102026109f4565b6102c7610a71565b61022b61034436600461106f565b610b80565b6007546001600160a01b03166101e2565b6101af610368366004611099565b50600090565b61022b61037c36600461106f565b610b95565b610202610c37565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806103cd610cb4565b50600a546040805160085460208201526009548183015260ff90921615156060808401919091528151808403909101815260809092019052909590945092505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610472573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049691906110c4565b156104dd576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105065760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561054f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057391906110c4565b61059b576040516372657a5160e01b81526001600160a01b03821660048201526024016104d4565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060991906110df565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600061063c610865565b90506001600160a01b0381161580159061065f5750336001600160a01b03821614155b1561067f5760405163700dd81160e01b81523360048201526024016104d4565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071f91906110c4565b61076b5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104d4565b50600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b600a54604051631fa9607b60e11b81526101009091046001600160a01b031690633f52c0f6906107c89084906004016110fc565b600060405180830381600087803b1580156107e257600080fd5b505af11580156107f6573d6000803e3d6000fd5b5050505050565b600b546001600160a01b031633146108615760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104d4565b5050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ee91906110c4565b1561097357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561094a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096e9190611133565b905090565b506002546001600160a01b031690565b61098b610e3a565b506040805160a081018252600754600160a01b90046001600160601b031681526006546001600160a01b03166020808301919091528251808401845260085481526009549181019190915291810191909152600a5460ff16151560608201526000608082015290565b60006109fe610865565b90506001600160a01b03811615801590610a215750336001600160a01b03821614155b15610a415760405163700dd81160e01b81523360048201526024016104d4565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024016107c8565b610a79610e3a565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610ac3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae79190611133565b9050806001600160a01b0316639ad69c67610b126001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610b56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7a9190611150565b91505090565b6000610b8c8282611214565b90505b92915050565b600080610ba0610a71565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018690529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610c09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2d9190611239565b5095945050505050565b6000610c41610865565b90506001600160a01b03811615801590610c645750336001600160a01b03821614155b15610c845760405163700dd81160e01b81523360048201526024016104d4565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016107c8565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610d3b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610d83610865565b6001600160a01b03168152602001826001018054610da09061125d565b80601f0160208091040260200160405190810160405280929190818152602001828054610dcc9061125d565b8015610e195780601f10610dee57610100808354040283529160200191610e19565b820191906000526020600020905b815481529060010190602001808311610dfc57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001610e82604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b600060208284031215610ea857600080fd5b81356001600160e01b031981168114610ec057600080fd5b9392505050565b6000815180845260005b81811015610eed57602081850181015186830182015201610ed1565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610f5160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610f97610120840182610ec7565b90508281036020840152610fab8185610ec7565b95945050505050565b6001600160601b0381168114610fc957600080fd5b50565b600060208284031215610fde57600080fd5b8135610ec081610fb4565b6040805190810167ffffffffffffffff8111828210171561101a57634e487b7160e01b600052604160045260246000fd5b60405290565b60006040828403121561103257600080fd5b61103a610fe9565b82358152602083013560208201528091505092915050565b80356001600160c01b03198116811461106a57600080fd5b919050565b6000806040838503121561108257600080fd5b61108b83611052565b946020939093013593505050565b6000602082840312156110ab57600080fd5b610b8c82611052565b8051801515811461106a57600080fd5b6000602082840312156110d657600080fd5b610b8c826110b4565b6000602082840312156110f157600080fd5b8151610ec081610fb4565b815181526020808301519082015260408101610b8f565b6001600160a01b0381168114610fc957600080fd5b805161106a81611113565b60006020828403121561114557600080fd5b8151610ec081611113565b600081830360c081121561116357600080fd5b60405160a0810181811067ffffffffffffffff8211171561119457634e487b7160e01b600052604160045260246000fd5b60405283516111a281610fb4565b815260208401516111b281611113565b60208201526040603f19830112156111c957600080fd5b6111d1610fe9565b915060408401518252606084015160208301528160408201526111f6608085016110b4565b606082015261120760a08501611128565b6080820152949350505050565b8082028115828204841417610b8f57634e487b7160e01b600052601160045260246000fd5b6000806040838503121561124c57600080fd5b505080516020909101519092909150565b600181811c9082168061127157607f821691505b60208210810361129157634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122033711810d8ccde6a74d8981e3945070d75c21c78d55d61eee38e75d49aa9baac64736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
|
617
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014c5760003560e01c8063644c45e0116100c3578063d16d0fe81161007c578063d16d0fe814610336578063de7b5d1414610349578063e21475671461035a578063f7d39dea1461036e578063f80e207214610270578063f83d08ba1461038157600080fd5b8063644c45e01461029457806387ef9ba0146102ac578063893d20e8146102b75780638e7ff97e146102bf578063a69df4b514610326578063c200b8091461032e57600080fd5b80631eff4b22116101155780631eff4b221461020457806321df0da7146102395780632a65c6881461024a5780633f52c0f61461025d5780634cf30a84146102705780635ab1bd531461028357600080fd5b806251884a1461015157806301ffc9a7146101825780630fec111c146101bf57806313299604146101d5578063138461e0146101fa575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101af610190366004610e96565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610179565b6101c7610389565b604051610179929190610f0d565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610179565b610202610410565b005b61022b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b6006546001600160a01b03166101e2565b610202610258366004610fcc565b610632565b61020261026b366004611020565b610794565b61020261027e36600461106f565b6107fd565b6001546001600160a01b03166101e2565b600154600160a01b90046001600160601b0316610165565b600a5460ff166101af565b6101e2610865565b6102c7610983565b6040805182516001600160601b031681526020808401516001600160a01b0390811682840152848401518051948401949094529201516060808301919091528301511515608080830191909152909201511660a082015260c001610179565b6102026109f4565b6102c7610a71565b61022b61034436600461106f565b610b80565b6007546001600160a01b03166101e2565b6101af610368366004611099565b50600090565b61022b61037c36600461106f565b610b95565b610202610c37565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091806103cd610cb4565b50600a546040805160085460208201526009548183015260ff90921615156060808401919091528151808403909101815260809092019052909590945092505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610472573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049691906110c4565b156104dd576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105065760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa15801561054f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057391906110c4565b61059b576040516372657a5160e01b81526001600160a01b03821660048201526024016104d4565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060991906110df565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b600061063c610865565b90506001600160a01b0381161580159061065f5750336001600160a01b03821614155b1561067f5760405163700dd81160e01b81523360048201526024016104d4565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071f91906110c4565b61076b5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104d4565b50600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b600a54604051631fa9607b60e11b81526101009091046001600160a01b031690633f52c0f6906107c89084906004016110fc565b600060405180830381600087803b1580156107e257600080fd5b505af11580156107f6573d6000803e3d6000fd5b5050505050565b600b546001600160a01b031633146108615760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104d4565b5050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ee91906110c4565b1561097357600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561094a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096e9190611133565b905090565b506002546001600160a01b031690565b61098b610e3a565b506040805160a081018252600754600160a01b90046001600160601b031681526006546001600160a01b03166020808301919091528251808401845260085481526009549181019190915291810191909152600a5460ff16151560608201526000608082015290565b60006109fe610865565b90506001600160a01b03811615801590610a215750336001600160a01b03821614155b15610a415760405163700dd81160e01b81523360048201526024016104d4565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024016107c8565b610a79610e3a565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610ac3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae79190611133565b9050806001600160a01b0316639ad69c67610b126001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610b56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7a9190611150565b91505090565b6000610b8c8282611214565b90505b92915050565b600080610ba0610a71565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018690529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610c09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c2d9190611239565b5095945050505050565b6000610c41610865565b90506001600160a01b03811615801590610c645750336001600160a01b03821614155b15610c845760405163700dd81160e01b81523360048201526024016104d4565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016107c8565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610d3b6001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610d83610865565b6001600160a01b03168152602001826001018054610da09061125d565b80601f0160208091040260200160405190810160405280929190818152602001828054610dcc9061125d565b8015610e195780601f10610dee57610100808354040283529160200191610e19565b820191906000526020600020905b815481529060010190602001808311610dfc57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b03168152602001610e82604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b600060208284031215610ea857600080fd5b81356001600160e01b031981168114610ec057600080fd5b9392505050565b6000815180845260005b81811015610eed57602081850181015186830182015201610ed1565b506000602082860101526020601f19601f83011685010191505092915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151610f5160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152610f97610120840182610ec7565b90508281036020840152610fab8185610ec7565b95945050505050565b6001600160601b0381168114610fc957600080fd5b50565b600060208284031215610fde57600080fd5b8135610ec081610fb4565b6040805190810167ffffffffffffffff8111828210171561101a57634e487b7160e01b600052604160045260246000fd5b60405290565b60006040828403121561103257600080fd5b61103a610fe9565b82358152602083013560208201528091505092915050565b80356001600160c01b03198116811461106a57600080fd5b919050565b6000806040838503121561108257600080fd5b61108b83611052565b946020939093013593505050565b6000602082840312156110ab57600080fd5b610b8c82611052565b8051801515811461106a57600080fd5b6000602082840312156110d657600080fd5b610b8c826110b4565b6000602082840312156110f157600080fd5b8151610ec081610fb4565b815181526020808301519082015260408101610b8f565b6001600160a01b0381168114610fc957600080fd5b805161106a81611113565b60006020828403121561114557600080fd5b8151610ec081611113565b600081830360c081121561116357600080fd5b60405160a0810181811067ffffffffffffffff8211171561119457634e487b7160e01b600052604160045260246000fd5b60405283516111a281610fb4565b815260208401516111b281611113565b60208201526040603f19830112156111c957600080fd5b6111d1610fe9565b915060408401518252606084015160208301528160408201526111f6608085016110b4565b606082015261120760a08501611128565b6080820152949350505050565b8082028115828204841417610b8f57634e487b7160e01b600052601160045260246000fd5b6000806040838503121561124c57600080fd5b505080516020909101519092909150565b600181811c9082168061127157607f821691505b60208210810361129157634e487b7160e01b600052602260045260246000fd5b5091905056fea264697066735822122033711810d8ccde6a74d8981e3945070d75c21c78d55d61eee38e75d49aa9baac64736f6c63430008140033",
|
618
|
-
"linkReferences": {
|
619
|
-
"contracts/types/Fee.sol": {
|
620
|
-
"FeeLib": [
|
621
|
-
{
|
622
|
-
"length": 20,
|
623
|
-
"start": 5895
|
624
|
-
}
|
625
|
-
]
|
626
|
-
},
|
627
|
-
"contracts/types/NftId.sol": {
|
628
|
-
"NftIdLib": [
|
629
|
-
{
|
630
|
-
"length": 20,
|
631
|
-
"start": 3951
|
632
|
-
},
|
633
|
-
{
|
634
|
-
"length": 20,
|
635
|
-
"start": 4539
|
636
|
-
},
|
637
|
-
{
|
638
|
-
"length": 20,
|
639
|
-
"start": 5063
|
640
|
-
}
|
641
|
-
]
|
642
|
-
}
|
643
|
-
},
|
644
|
-
"deployedLinkReferences": {
|
645
|
-
"contracts/types/Fee.sol": {
|
646
|
-
"FeeLib": [
|
647
|
-
{
|
648
|
-
"length": 20,
|
649
|
-
"start": 3024
|
650
|
-
}
|
651
|
-
]
|
652
1404
|
},
|
653
|
-
|
654
|
-
"
|
1405
|
+
{
|
1406
|
+
"inputs": [
|
655
1407
|
{
|
656
|
-
"
|
657
|
-
"
|
1408
|
+
"internalType": "NftId",
|
1409
|
+
"name": "distributorNftId",
|
1410
|
+
"type": "uint96"
|
658
1411
|
},
|
659
1412
|
{
|
660
|
-
"
|
661
|
-
"
|
1413
|
+
"internalType": "DistributorType",
|
1414
|
+
"name": "distributorType",
|
1415
|
+
"type": "bytes8"
|
662
1416
|
},
|
663
1417
|
{
|
664
|
-
"
|
665
|
-
"
|
1418
|
+
"internalType": "bytes",
|
1419
|
+
"name": "data",
|
1420
|
+
"type": "bytes"
|
666
1421
|
}
|
667
|
-
]
|
1422
|
+
],
|
1423
|
+
"name": "updateDistributorType",
|
1424
|
+
"outputs": [],
|
1425
|
+
"stateMutability": "nonpayable",
|
1426
|
+
"type": "function"
|
668
1427
|
}
|
669
|
-
|
1428
|
+
],
|
1429
|
+
"bytecode": "0x",
|
1430
|
+
"deployedBytecode": "0x",
|
1431
|
+
"linkReferences": {},
|
1432
|
+
"deployedLinkReferences": {}
|
670
1433
|
}
|