@etherisc/gif-next 0.0.2-f5a74cc-201 → 0.0.2-f626d92-602
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +8 -13
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +842 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +753 -168
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +233 -81
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +846 -57
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +695 -258
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +529 -217
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -66
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1063 -394
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +315 -167
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +937 -1191
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +583 -193
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +137 -270
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +482 -286
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +328 -99
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -27
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +247 -180
- 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 +40 -10
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
- package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
- package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
- package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
- 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 +1039 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +673 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1231 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +721 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +817 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +641 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1341 -259
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +440 -79
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +622 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +659 -0
- package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +217 -208
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/service/IPolicyService.sol/IPolicyService.json} +328 -164
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +429 -313
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +78 -388
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1092 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +697 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +614 -426
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +302 -105
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +257 -564
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +289 -124
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
- package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +244 -133
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
- package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
- package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
- package/artifacts/contracts/registry/Registry.sol/Registry.json +257 -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 +200 -335
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -145
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
- package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
- 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 +40 -29
- 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 +21 -34
- package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
- package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
- package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
- package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
- package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
- package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
- package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
- package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
- package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
- package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
- package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
- package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
- package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
- 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 -152
- package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
- package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
- package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
- package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
- package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
- package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
- package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
- package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
- 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/Amount.sol/AmountLib.dbg.json +4 -0
- package/artifacts/contracts/types/Amount.sol/AmountLib.json +161 -0
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
- package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
- package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
- 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/Fee.sol/FeeLib.json +40 -9
- 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 +17 -4
- 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/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
- package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
- package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
- package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
- 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/Seconds.sol/SecondsLib.dbg.json +4 -0
- package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
- package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
- package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
- package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
- package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
- package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
- package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
- package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
- package/contracts/components/Component.sol +253 -0
- package/contracts/components/Distribution.sol +200 -83
- package/contracts/components/IComponent.sol +76 -0
- package/contracts/components/IDistributionComponent.sol +44 -17
- package/contracts/components/IPoolComponent.sol +88 -41
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +218 -182
- package/contracts/components/Product.sol +125 -121
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
- package/contracts/instance/BundleManager.sol +14 -16
- package/contracts/instance/Cloneable.sol +7 -2
- package/contracts/instance/IInstance.sol +56 -14
- package/contracts/instance/IInstanceService.sol +43 -3
- package/contracts/instance/Instance.sol +133 -261
- package/contracts/instance/InstanceAccessManager.sol +414 -175
- package/contracts/instance/InstanceReader.sol +10 -34
- package/contracts/instance/InstanceService.sol +400 -144
- package/contracts/instance/InstanceServiceManager.sol +6 -9
- package/contracts/instance/ObjectManager.sol +11 -24
- package/contracts/instance/base/ComponentService.sol +121 -0
- package/contracts/instance/base/KeyValueStore.sol +13 -5
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +36 -20
- package/contracts/instance/module/IBundle.sol +8 -5
- package/contracts/instance/module/IComponents.sol +41 -0
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +30 -3
- package/contracts/instance/module/ISetup.sol +7 -20
- package/contracts/instance/service/ApplicationService.sol +350 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +431 -0
- package/contracts/instance/service/BundleServiceManager.sol +51 -0
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +378 -31
- package/contracts/instance/service/DistributionServiceManager.sol +7 -10
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +93 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +87 -0
- package/contracts/instance/service/IPolicyService.sol +72 -0
- package/contracts/instance/service/IPoolService.sol +73 -25
- package/contracts/instance/service/IProductService.sol +2 -72
- package/contracts/instance/service/PolicyService.sol +362 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +203 -187
- package/contracts/instance/service/PoolServiceManager.sol +6 -9
- package/contracts/instance/service/ProductService.sol +104 -464
- package/contracts/instance/service/ProductServiceManager.sol +2 -2
- package/contracts/registry/ChainNft.sol +9 -1
- package/contracts/registry/IRegistry.sol +39 -19
- package/contracts/registry/IRegistryService.sol +31 -13
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +243 -224
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +97 -173
- package/contracts/registry/RegistryServiceManager.sol +21 -39
- package/contracts/registry/ReleaseManager.sol +324 -0
- package/contracts/registry/TokenRegistry.sol +22 -17
- package/contracts/shared/ERC165.sol +14 -12
- package/contracts/shared/INftOwnable.sol +11 -10
- package/contracts/shared/IPolicyHolder.sol +26 -0
- package/contracts/shared/IRegisterable.sol +4 -6
- package/contracts/shared/IRegistryLinked.sol +12 -0
- package/contracts/shared/IService.sol +5 -4
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +66 -80
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -32
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +41 -24
- package/contracts/shared/TokenHandler.sol +11 -5
- package/contracts/shared/Versionable.sol +4 -92
- package/contracts/test/TestRegisterable.sol +1 -1
- package/contracts/test/TestService.sol +4 -3
- package/contracts/types/Amount.sol +60 -0
- package/contracts/types/Blocknumber.sol +1 -0
- package/contracts/types/ClaimId.sol +52 -0
- package/contracts/types/DistributorType.sol +2 -2
- package/contracts/types/Fee.sol +13 -5
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/ObjectType.sol +10 -5
- package/contracts/types/PayoutId.sol +54 -0
- package/contracts/types/Referral.sol +4 -0
- package/contracts/types/RoleId.sol +26 -19
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +1 -0
- package/contracts/types/Timestamp.sol +13 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +1 -0
- 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 -368
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
- package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
- package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
- package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
- package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
- package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
- package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
- package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
- package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
- package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
- package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
- 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/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/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
- package/contracts/components/BaseComponent.sol +0 -132
- package/contracts/components/IBaseComponent.sol +0 -31
- package/contracts/experiment/cloning/Cloner.sol +0 -47
- package/contracts/experiment/errors/Require.sol +0 -38
- package/contracts/experiment/errors/Revert.sol +0 -44
- package/contracts/experiment/inheritance/A.sol +0 -53
- package/contracts/experiment/inheritance/B.sol +0 -28
- package/contracts/experiment/inheritance/C.sol +0 -34
- package/contracts/experiment/inheritance/IA.sol +0 -13
- package/contracts/experiment/inheritance/IB.sol +0 -10
- package/contracts/experiment/inheritance/IC.sol +0 -12
- package/contracts/experiment/statemachine/Dummy.sol +0 -27
- package/contracts/experiment/statemachine/ISM.sol +0 -25
- package/contracts/experiment/statemachine/SM.sol +0 -57
- package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
- package/contracts/experiment/types/TypeA.sol +0 -47
- package/contracts/experiment/types/TypeB.sol +0 -29
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/IInstanceBase.sol +0 -26
- package/contracts/instance/InstanceBase.sol +0 -41
- package/contracts/instance/base/ComponentServiceBase.sol +0 -134
- 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": [
|
@@ -77,27 +67,48 @@
|
|
77
67
|
"inputs": [
|
78
68
|
{
|
79
69
|
"internalType": "address",
|
80
|
-
"name": "
|
70
|
+
"name": "caller",
|
81
71
|
"type": "address"
|
82
|
-
}
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "ErrorComponentNotChainNft",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [
|
83
79
|
{
|
84
80
|
"internalType": "NftId",
|
85
|
-
"name": "
|
81
|
+
"name": "instanceNftId",
|
86
82
|
"type": "uint96"
|
87
83
|
}
|
88
84
|
],
|
89
|
-
"name": "
|
85
|
+
"name": "ErrorComponentNotInstance",
|
90
86
|
"type": "error"
|
91
87
|
},
|
92
88
|
{
|
93
89
|
"inputs": [
|
94
90
|
{
|
95
91
|
"internalType": "address",
|
96
|
-
"name": "
|
92
|
+
"name": "caller",
|
97
93
|
"type": "address"
|
98
94
|
}
|
99
95
|
],
|
100
|
-
"name": "
|
96
|
+
"name": "ErrorComponentNotProductService",
|
97
|
+
"type": "error"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"inputs": [],
|
101
|
+
"name": "ErrorComponentProductNftAlreadySet",
|
102
|
+
"type": "error"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"inputs": [],
|
106
|
+
"name": "ErrorComponentWalletAddressIsSameAsCurrent",
|
107
|
+
"type": "error"
|
108
|
+
},
|
109
|
+
{
|
110
|
+
"inputs": [],
|
111
|
+
"name": "ErrorComponentWalletAddressZero",
|
101
112
|
"type": "error"
|
102
113
|
},
|
103
114
|
{
|
@@ -123,72 +134,56 @@
|
|
123
134
|
"type": "uint256"
|
124
135
|
}
|
125
136
|
],
|
126
|
-
"name": "
|
137
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
127
138
|
"type": "error"
|
128
139
|
},
|
129
140
|
{
|
130
141
|
"inputs": [
|
131
142
|
{
|
132
|
-
"internalType": "
|
133
|
-
"name": "
|
134
|
-
"type": "
|
143
|
+
"internalType": "NftId",
|
144
|
+
"name": "nftId",
|
145
|
+
"type": "uint96"
|
135
146
|
}
|
136
147
|
],
|
137
|
-
"name": "
|
148
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
138
149
|
"type": "error"
|
139
150
|
},
|
140
151
|
{
|
141
152
|
"inputs": [
|
142
153
|
{
|
143
154
|
"internalType": "address",
|
144
|
-
"name": "
|
155
|
+
"name": "contractAddress",
|
145
156
|
"type": "address"
|
146
157
|
}
|
147
158
|
],
|
148
|
-
"name": "
|
159
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
149
160
|
"type": "error"
|
150
161
|
},
|
151
162
|
{
|
152
|
-
"inputs": [
|
153
|
-
|
154
|
-
"internalType": "address",
|
155
|
-
"name": "registryAddress",
|
156
|
-
"type": "address"
|
157
|
-
}
|
158
|
-
],
|
159
|
-
"name": "ErrorNotRegistry",
|
163
|
+
"inputs": [],
|
164
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
160
165
|
"type": "error"
|
161
166
|
},
|
162
167
|
{
|
163
168
|
"inputs": [
|
164
169
|
{
|
165
170
|
"internalType": "address",
|
166
|
-
"name": "
|
171
|
+
"name": "account",
|
167
172
|
"type": "address"
|
168
173
|
}
|
169
174
|
],
|
170
|
-
"name": "
|
171
|
-
"type": "error"
|
172
|
-
},
|
173
|
-
{
|
174
|
-
"inputs": [],
|
175
|
-
"name": "ErrorRegistryAddressZero",
|
175
|
+
"name": "ErrorNftOwnableNotOwner",
|
176
176
|
"type": "error"
|
177
177
|
},
|
178
178
|
{
|
179
179
|
"inputs": [
|
180
180
|
{
|
181
181
|
"internalType": "address",
|
182
|
-
"name": "
|
182
|
+
"name": "registryAddress",
|
183
183
|
"type": "address"
|
184
184
|
}
|
185
185
|
],
|
186
|
-
"name": "
|
187
|
-
"type": "error"
|
188
|
-
},
|
189
|
-
{
|
190
|
-
"inputs": [],
|
191
|
-
"name": "ErrorRegistryNotInitialized",
|
186
|
+
"name": "ErrorNotRegistry",
|
192
187
|
"type": "error"
|
193
188
|
},
|
194
189
|
{
|
@@ -217,6 +212,19 @@
|
|
217
212
|
"name": "SafeERC20FailedOperation",
|
218
213
|
"type": "error"
|
219
214
|
},
|
215
|
+
{
|
216
|
+
"anonymous": false,
|
217
|
+
"inputs": [
|
218
|
+
{
|
219
|
+
"indexed": false,
|
220
|
+
"internalType": "address",
|
221
|
+
"name": "authority",
|
222
|
+
"type": "address"
|
223
|
+
}
|
224
|
+
],
|
225
|
+
"name": "AuthorityUpdated",
|
226
|
+
"type": "event"
|
227
|
+
},
|
220
228
|
{
|
221
229
|
"anonymous": false,
|
222
230
|
"inputs": [
|
@@ -233,6 +241,12 @@
|
|
233
241
|
{
|
234
242
|
"anonymous": false,
|
235
243
|
"inputs": [
|
244
|
+
{
|
245
|
+
"indexed": false,
|
246
|
+
"internalType": "address",
|
247
|
+
"name": "oldWallet",
|
248
|
+
"type": "address"
|
249
|
+
},
|
236
250
|
{
|
237
251
|
"indexed": false,
|
238
252
|
"internalType": "address",
|
@@ -240,7 +254,7 @@
|
|
240
254
|
"type": "address"
|
241
255
|
}
|
242
256
|
],
|
243
|
-
"name": "
|
257
|
+
"name": "LogComponentWalletAddressChanged",
|
244
258
|
"type": "event"
|
245
259
|
},
|
246
260
|
{
|
@@ -265,9 +279,67 @@
|
|
265
279
|
"type": "uint256"
|
266
280
|
}
|
267
281
|
],
|
268
|
-
"name": "
|
282
|
+
"name": "LogComponentWalletTokensTransferred",
|
283
|
+
"type": "event"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"anonymous": false,
|
287
|
+
"inputs": [
|
288
|
+
{
|
289
|
+
"indexed": false,
|
290
|
+
"internalType": "address",
|
291
|
+
"name": "to",
|
292
|
+
"type": "address"
|
293
|
+
},
|
294
|
+
{
|
295
|
+
"indexed": false,
|
296
|
+
"internalType": "address",
|
297
|
+
"name": "caller",
|
298
|
+
"type": "address"
|
299
|
+
}
|
300
|
+
],
|
301
|
+
"name": "LogDistributorUpdated",
|
269
302
|
"type": "event"
|
270
303
|
},
|
304
|
+
{
|
305
|
+
"inputs": [],
|
306
|
+
"name": "COMPONENT_LOCATION_V1",
|
307
|
+
"outputs": [
|
308
|
+
{
|
309
|
+
"internalType": "bytes32",
|
310
|
+
"name": "",
|
311
|
+
"type": "bytes32"
|
312
|
+
}
|
313
|
+
],
|
314
|
+
"stateMutability": "view",
|
315
|
+
"type": "function"
|
316
|
+
},
|
317
|
+
{
|
318
|
+
"inputs": [],
|
319
|
+
"name": "DISTRIBUTION_STORAGE_LOCATION_V1",
|
320
|
+
"outputs": [
|
321
|
+
{
|
322
|
+
"internalType": "bytes32",
|
323
|
+
"name": "",
|
324
|
+
"type": "bytes32"
|
325
|
+
}
|
326
|
+
],
|
327
|
+
"stateMutability": "view",
|
328
|
+
"type": "function"
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"inputs": [],
|
332
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
333
|
+
"outputs": [
|
334
|
+
{
|
335
|
+
"internalType": "bytes32",
|
336
|
+
"name": "",
|
337
|
+
"type": "bytes32"
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"stateMutability": "view",
|
341
|
+
"type": "function"
|
342
|
+
},
|
271
343
|
{
|
272
344
|
"inputs": [],
|
273
345
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -281,6 +353,19 @@
|
|
281
353
|
"stateMutability": "view",
|
282
354
|
"type": "function"
|
283
355
|
},
|
356
|
+
{
|
357
|
+
"inputs": [],
|
358
|
+
"name": "authority",
|
359
|
+
"outputs": [
|
360
|
+
{
|
361
|
+
"internalType": "address",
|
362
|
+
"name": "",
|
363
|
+
"type": "address"
|
364
|
+
}
|
365
|
+
],
|
366
|
+
"stateMutability": "view",
|
367
|
+
"type": "function"
|
368
|
+
},
|
284
369
|
{
|
285
370
|
"inputs": [
|
286
371
|
{
|
@@ -294,7 +379,7 @@
|
|
294
379
|
"type": "uint256"
|
295
380
|
}
|
296
381
|
],
|
297
|
-
"name": "
|
382
|
+
"name": "calculateRenewalFeeAmount",
|
298
383
|
"outputs": [
|
299
384
|
{
|
300
385
|
"internalType": "uint256",
|
@@ -308,56 +393,238 @@
|
|
308
393
|
{
|
309
394
|
"inputs": [
|
310
395
|
{
|
311
|
-
"internalType": "
|
312
|
-
"name": "
|
396
|
+
"internalType": "address",
|
397
|
+
"name": "distributor",
|
398
|
+
"type": "address"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"internalType": "DistributorType",
|
402
|
+
"name": "distributorType",
|
313
403
|
"type": "bytes8"
|
314
404
|
},
|
315
405
|
{
|
316
|
-
"internalType": "
|
317
|
-
"name": "
|
318
|
-
"type": "
|
406
|
+
"internalType": "bytes",
|
407
|
+
"name": "data",
|
408
|
+
"type": "bytes"
|
319
409
|
}
|
320
410
|
],
|
321
|
-
"name": "
|
411
|
+
"name": "createDistributor",
|
322
412
|
"outputs": [
|
323
413
|
{
|
324
|
-
"internalType": "
|
325
|
-
"name": "
|
414
|
+
"internalType": "NftId",
|
415
|
+
"name": "distributorNftId",
|
416
|
+
"type": "uint96"
|
417
|
+
}
|
418
|
+
],
|
419
|
+
"stateMutability": "nonpayable",
|
420
|
+
"type": "function"
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"inputs": [
|
424
|
+
{
|
425
|
+
"internalType": "string",
|
426
|
+
"name": "name",
|
427
|
+
"type": "string"
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"internalType": "UFixed",
|
431
|
+
"name": "minDiscountPercentage",
|
432
|
+
"type": "uint256"
|
433
|
+
},
|
434
|
+
{
|
435
|
+
"internalType": "UFixed",
|
436
|
+
"name": "maxDiscountPercentage",
|
437
|
+
"type": "uint256"
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"internalType": "UFixed",
|
441
|
+
"name": "commissionPercentage",
|
326
442
|
"type": "uint256"
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"internalType": "uint32",
|
446
|
+
"name": "maxReferralCount",
|
447
|
+
"type": "uint32"
|
448
|
+
},
|
449
|
+
{
|
450
|
+
"internalType": "uint32",
|
451
|
+
"name": "maxReferralLifetime",
|
452
|
+
"type": "uint32"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"internalType": "bool",
|
456
|
+
"name": "allowSelfReferrals",
|
457
|
+
"type": "bool"
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"internalType": "bool",
|
461
|
+
"name": "allowRenewals",
|
462
|
+
"type": "bool"
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"internalType": "bytes",
|
466
|
+
"name": "data",
|
467
|
+
"type": "bytes"
|
327
468
|
}
|
328
469
|
],
|
329
|
-
"
|
470
|
+
"name": "createDistributorType",
|
471
|
+
"outputs": [
|
472
|
+
{
|
473
|
+
"internalType": "DistributorType",
|
474
|
+
"name": "distributorType",
|
475
|
+
"type": "bytes8"
|
476
|
+
}
|
477
|
+
],
|
478
|
+
"stateMutability": "nonpayable",
|
330
479
|
"type": "function"
|
331
480
|
},
|
332
481
|
{
|
333
482
|
"inputs": [],
|
334
|
-
"name": "
|
483
|
+
"name": "getComponentInfo",
|
335
484
|
"outputs": [
|
336
485
|
{
|
337
486
|
"components": [
|
338
487
|
{
|
339
|
-
"internalType": "
|
340
|
-
"name": "
|
341
|
-
"type": "
|
342
|
-
},
|
343
|
-
{
|
344
|
-
"internalType": "NftId",
|
345
|
-
"name": "parentNftId",
|
346
|
-
"type": "uint96"
|
488
|
+
"internalType": "string",
|
489
|
+
"name": "name",
|
490
|
+
"type": "string"
|
347
491
|
},
|
348
492
|
{
|
349
|
-
"internalType": "
|
350
|
-
"name": "
|
351
|
-
"type": "
|
493
|
+
"internalType": "contract IERC20Metadata",
|
494
|
+
"name": "token",
|
495
|
+
"type": "address"
|
352
496
|
},
|
353
497
|
{
|
354
|
-
"internalType": "
|
355
|
-
"name": "
|
356
|
-
"type": "
|
498
|
+
"internalType": "contract TokenHandler",
|
499
|
+
"name": "tokenHandler",
|
500
|
+
"type": "address"
|
357
501
|
},
|
358
502
|
{
|
359
503
|
"internalType": "address",
|
360
|
-
"name": "
|
504
|
+
"name": "wallet",
|
505
|
+
"type": "address"
|
506
|
+
},
|
507
|
+
{
|
508
|
+
"internalType": "Amount",
|
509
|
+
"name": "balanceAmount",
|
510
|
+
"type": "uint96"
|
511
|
+
},
|
512
|
+
{
|
513
|
+
"internalType": "Amount",
|
514
|
+
"name": "feeAmount",
|
515
|
+
"type": "uint96"
|
516
|
+
},
|
517
|
+
{
|
518
|
+
"internalType": "bytes",
|
519
|
+
"name": "data",
|
520
|
+
"type": "bytes"
|
521
|
+
}
|
522
|
+
],
|
523
|
+
"internalType": "struct IComponents.ComponentInfo",
|
524
|
+
"name": "info",
|
525
|
+
"type": "tuple"
|
526
|
+
}
|
527
|
+
],
|
528
|
+
"stateMutability": "view",
|
529
|
+
"type": "function"
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"inputs": [
|
533
|
+
{
|
534
|
+
"internalType": "string",
|
535
|
+
"name": "referralCode",
|
536
|
+
"type": "string"
|
537
|
+
}
|
538
|
+
],
|
539
|
+
"name": "getDiscountPercentage",
|
540
|
+
"outputs": [
|
541
|
+
{
|
542
|
+
"internalType": "UFixed",
|
543
|
+
"name": "discountPercentage",
|
544
|
+
"type": "uint256"
|
545
|
+
},
|
546
|
+
{
|
547
|
+
"internalType": "ReferralStatus",
|
548
|
+
"name": "status",
|
549
|
+
"type": "uint8"
|
550
|
+
}
|
551
|
+
],
|
552
|
+
"stateMutability": "view",
|
553
|
+
"type": "function"
|
554
|
+
},
|
555
|
+
{
|
556
|
+
"inputs": [],
|
557
|
+
"name": "getDistributionFee",
|
558
|
+
"outputs": [
|
559
|
+
{
|
560
|
+
"components": [
|
561
|
+
{
|
562
|
+
"internalType": "UFixed",
|
563
|
+
"name": "fractionalFee",
|
564
|
+
"type": "uint256"
|
565
|
+
},
|
566
|
+
{
|
567
|
+
"internalType": "uint256",
|
568
|
+
"name": "fixedFee",
|
569
|
+
"type": "uint256"
|
570
|
+
}
|
571
|
+
],
|
572
|
+
"internalType": "struct Fee",
|
573
|
+
"name": "distributionFee",
|
574
|
+
"type": "tuple"
|
575
|
+
}
|
576
|
+
],
|
577
|
+
"stateMutability": "view",
|
578
|
+
"type": "function"
|
579
|
+
},
|
580
|
+
{
|
581
|
+
"inputs": [
|
582
|
+
{
|
583
|
+
"internalType": "address",
|
584
|
+
"name": "distributor",
|
585
|
+
"type": "address"
|
586
|
+
}
|
587
|
+
],
|
588
|
+
"name": "getDistributorNftId",
|
589
|
+
"outputs": [
|
590
|
+
{
|
591
|
+
"internalType": "NftId",
|
592
|
+
"name": "distributorNftId",
|
593
|
+
"type": "uint96"
|
594
|
+
}
|
595
|
+
],
|
596
|
+
"stateMutability": "view",
|
597
|
+
"type": "function"
|
598
|
+
},
|
599
|
+
{
|
600
|
+
"inputs": [],
|
601
|
+
"name": "getInitialInfo",
|
602
|
+
"outputs": [
|
603
|
+
{
|
604
|
+
"components": [
|
605
|
+
{
|
606
|
+
"internalType": "NftId",
|
607
|
+
"name": "nftId",
|
608
|
+
"type": "uint96"
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"internalType": "NftId",
|
612
|
+
"name": "parentNftId",
|
613
|
+
"type": "uint96"
|
614
|
+
},
|
615
|
+
{
|
616
|
+
"internalType": "ObjectType",
|
617
|
+
"name": "objectType",
|
618
|
+
"type": "uint8"
|
619
|
+
},
|
620
|
+
{
|
621
|
+
"internalType": "bool",
|
622
|
+
"name": "isInterceptor",
|
623
|
+
"type": "bool"
|
624
|
+
},
|
625
|
+
{
|
626
|
+
"internalType": "address",
|
627
|
+
"name": "objectAddress",
|
361
628
|
"type": "address"
|
362
629
|
},
|
363
630
|
{
|
@@ -372,13 +639,8 @@
|
|
372
639
|
}
|
373
640
|
],
|
374
641
|
"internalType": "struct IRegistry.ObjectInfo",
|
375
|
-
"name": "",
|
642
|
+
"name": "info",
|
376
643
|
"type": "tuple"
|
377
|
-
},
|
378
|
-
{
|
379
|
-
"internalType": "bytes",
|
380
|
-
"name": "",
|
381
|
-
"type": "bytes"
|
382
644
|
}
|
383
645
|
],
|
384
646
|
"stateMutability": "view",
|
@@ -397,6 +659,19 @@
|
|
397
659
|
"stateMutability": "view",
|
398
660
|
"type": "function"
|
399
661
|
},
|
662
|
+
{
|
663
|
+
"inputs": [],
|
664
|
+
"name": "getName",
|
665
|
+
"outputs": [
|
666
|
+
{
|
667
|
+
"internalType": "string",
|
668
|
+
"name": "name",
|
669
|
+
"type": "string"
|
670
|
+
}
|
671
|
+
],
|
672
|
+
"stateMutability": "view",
|
673
|
+
"type": "function"
|
674
|
+
},
|
400
675
|
{
|
401
676
|
"inputs": [],
|
402
677
|
"name": "getNftId",
|
@@ -436,6 +711,25 @@
|
|
436
711
|
"stateMutability": "view",
|
437
712
|
"type": "function"
|
438
713
|
},
|
714
|
+
{
|
715
|
+
"inputs": [
|
716
|
+
{
|
717
|
+
"internalType": "string",
|
718
|
+
"name": "referralCode",
|
719
|
+
"type": "string"
|
720
|
+
}
|
721
|
+
],
|
722
|
+
"name": "getReferralId",
|
723
|
+
"outputs": [
|
724
|
+
{
|
725
|
+
"internalType": "ReferralId",
|
726
|
+
"name": "referralId",
|
727
|
+
"type": "bytes8"
|
728
|
+
}
|
729
|
+
],
|
730
|
+
"stateMutability": "view",
|
731
|
+
"type": "function"
|
732
|
+
},
|
439
733
|
{
|
440
734
|
"inputs": [],
|
441
735
|
"name": "getRegistry",
|
@@ -449,6 +743,19 @@
|
|
449
743
|
"stateMutability": "view",
|
450
744
|
"type": "function"
|
451
745
|
},
|
746
|
+
{
|
747
|
+
"inputs": [],
|
748
|
+
"name": "getRegistryAddress",
|
749
|
+
"outputs": [
|
750
|
+
{
|
751
|
+
"internalType": "address",
|
752
|
+
"name": "",
|
753
|
+
"type": "address"
|
754
|
+
}
|
755
|
+
],
|
756
|
+
"stateMutability": "view",
|
757
|
+
"type": "function"
|
758
|
+
},
|
452
759
|
{
|
453
760
|
"inputs": [],
|
454
761
|
"name": "getSetupInfo",
|
@@ -479,18 +786,35 @@
|
|
479
786
|
}
|
480
787
|
],
|
481
788
|
"internalType": "struct Fee",
|
482
|
-
"name": "
|
789
|
+
"name": "minDistributionOwnerFee",
|
483
790
|
"type": "tuple"
|
484
791
|
},
|
485
792
|
{
|
486
|
-
"
|
487
|
-
|
488
|
-
|
793
|
+
"components": [
|
794
|
+
{
|
795
|
+
"internalType": "UFixed",
|
796
|
+
"name": "fractionalFee",
|
797
|
+
"type": "uint256"
|
798
|
+
},
|
799
|
+
{
|
800
|
+
"internalType": "uint256",
|
801
|
+
"name": "fixedFee",
|
802
|
+
"type": "uint256"
|
803
|
+
}
|
804
|
+
],
|
805
|
+
"internalType": "struct Fee",
|
806
|
+
"name": "distributionFee",
|
807
|
+
"type": "tuple"
|
489
808
|
},
|
490
809
|
{
|
491
810
|
"internalType": "address",
|
492
811
|
"name": "wallet",
|
493
812
|
"type": "address"
|
813
|
+
},
|
814
|
+
{
|
815
|
+
"internalType": "uint256",
|
816
|
+
"name": "sumDistributionOwnerFees",
|
817
|
+
"type": "uint256"
|
494
818
|
}
|
495
819
|
],
|
496
820
|
"internalType": "struct ISetup.DistributionSetupInfo",
|
@@ -527,6 +851,247 @@
|
|
527
851
|
"stateMutability": "view",
|
528
852
|
"type": "function"
|
529
853
|
},
|
854
|
+
{
|
855
|
+
"inputs": [
|
856
|
+
{
|
857
|
+
"internalType": "address",
|
858
|
+
"name": "registry",
|
859
|
+
"type": "address"
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"internalType": "NftId",
|
863
|
+
"name": "instanceNftId",
|
864
|
+
"type": "uint96"
|
865
|
+
},
|
866
|
+
{
|
867
|
+
"internalType": "string",
|
868
|
+
"name": "name",
|
869
|
+
"type": "string"
|
870
|
+
},
|
871
|
+
{
|
872
|
+
"internalType": "address",
|
873
|
+
"name": "token",
|
874
|
+
"type": "address"
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"internalType": "ObjectType",
|
878
|
+
"name": "componentType",
|
879
|
+
"type": "uint8"
|
880
|
+
},
|
881
|
+
{
|
882
|
+
"internalType": "bool",
|
883
|
+
"name": "isInterceptor",
|
884
|
+
"type": "bool"
|
885
|
+
},
|
886
|
+
{
|
887
|
+
"internalType": "address",
|
888
|
+
"name": "initialOwner",
|
889
|
+
"type": "address"
|
890
|
+
},
|
891
|
+
{
|
892
|
+
"internalType": "bytes",
|
893
|
+
"name": "registryData",
|
894
|
+
"type": "bytes"
|
895
|
+
}
|
896
|
+
],
|
897
|
+
"name": "initializeComponent",
|
898
|
+
"outputs": [],
|
899
|
+
"stateMutability": "nonpayable",
|
900
|
+
"type": "function"
|
901
|
+
},
|
902
|
+
{
|
903
|
+
"inputs": [
|
904
|
+
{
|
905
|
+
"internalType": "address",
|
906
|
+
"name": "registry",
|
907
|
+
"type": "address"
|
908
|
+
},
|
909
|
+
{
|
910
|
+
"internalType": "NftId",
|
911
|
+
"name": "instanceNftId",
|
912
|
+
"type": "uint96"
|
913
|
+
},
|
914
|
+
{
|
915
|
+
"internalType": "string",
|
916
|
+
"name": "name",
|
917
|
+
"type": "string"
|
918
|
+
},
|
919
|
+
{
|
920
|
+
"internalType": "address",
|
921
|
+
"name": "token",
|
922
|
+
"type": "address"
|
923
|
+
},
|
924
|
+
{
|
925
|
+
"components": [
|
926
|
+
{
|
927
|
+
"internalType": "UFixed",
|
928
|
+
"name": "fractionalFee",
|
929
|
+
"type": "uint256"
|
930
|
+
},
|
931
|
+
{
|
932
|
+
"internalType": "uint256",
|
933
|
+
"name": "fixedFee",
|
934
|
+
"type": "uint256"
|
935
|
+
}
|
936
|
+
],
|
937
|
+
"internalType": "struct Fee",
|
938
|
+
"name": "minDistributionOwnerFee",
|
939
|
+
"type": "tuple"
|
940
|
+
},
|
941
|
+
{
|
942
|
+
"components": [
|
943
|
+
{
|
944
|
+
"internalType": "UFixed",
|
945
|
+
"name": "fractionalFee",
|
946
|
+
"type": "uint256"
|
947
|
+
},
|
948
|
+
{
|
949
|
+
"internalType": "uint256",
|
950
|
+
"name": "fixedFee",
|
951
|
+
"type": "uint256"
|
952
|
+
}
|
953
|
+
],
|
954
|
+
"internalType": "struct Fee",
|
955
|
+
"name": "distributionFee",
|
956
|
+
"type": "tuple"
|
957
|
+
},
|
958
|
+
{
|
959
|
+
"internalType": "address",
|
960
|
+
"name": "initialOwner",
|
961
|
+
"type": "address"
|
962
|
+
},
|
963
|
+
{
|
964
|
+
"internalType": "bytes",
|
965
|
+
"name": "registryData",
|
966
|
+
"type": "bytes"
|
967
|
+
}
|
968
|
+
],
|
969
|
+
"name": "initializeDistribution",
|
970
|
+
"outputs": [],
|
971
|
+
"stateMutability": "nonpayable",
|
972
|
+
"type": "function"
|
973
|
+
},
|
974
|
+
{
|
975
|
+
"inputs": [],
|
976
|
+
"name": "initializeERC165",
|
977
|
+
"outputs": [],
|
978
|
+
"stateMutability": "nonpayable",
|
979
|
+
"type": "function"
|
980
|
+
},
|
981
|
+
{
|
982
|
+
"inputs": [
|
983
|
+
{
|
984
|
+
"internalType": "address",
|
985
|
+
"name": "initialOwner",
|
986
|
+
"type": "address"
|
987
|
+
},
|
988
|
+
{
|
989
|
+
"internalType": "address",
|
990
|
+
"name": "registryAddress",
|
991
|
+
"type": "address"
|
992
|
+
}
|
993
|
+
],
|
994
|
+
"name": "initializeNftOwnable",
|
995
|
+
"outputs": [],
|
996
|
+
"stateMutability": "nonpayable",
|
997
|
+
"type": "function"
|
998
|
+
},
|
999
|
+
{
|
1000
|
+
"inputs": [
|
1001
|
+
{
|
1002
|
+
"internalType": "address",
|
1003
|
+
"name": "registryAddress",
|
1004
|
+
"type": "address"
|
1005
|
+
},
|
1006
|
+
{
|
1007
|
+
"internalType": "NftId",
|
1008
|
+
"name": "parentNftId",
|
1009
|
+
"type": "uint96"
|
1010
|
+
},
|
1011
|
+
{
|
1012
|
+
"internalType": "ObjectType",
|
1013
|
+
"name": "objectType",
|
1014
|
+
"type": "uint8"
|
1015
|
+
},
|
1016
|
+
{
|
1017
|
+
"internalType": "bool",
|
1018
|
+
"name": "isInterceptor",
|
1019
|
+
"type": "bool"
|
1020
|
+
},
|
1021
|
+
{
|
1022
|
+
"internalType": "address",
|
1023
|
+
"name": "initialOwner",
|
1024
|
+
"type": "address"
|
1025
|
+
},
|
1026
|
+
{
|
1027
|
+
"internalType": "bytes",
|
1028
|
+
"name": "registryData",
|
1029
|
+
"type": "bytes"
|
1030
|
+
}
|
1031
|
+
],
|
1032
|
+
"name": "initializeRegisterable",
|
1033
|
+
"outputs": [],
|
1034
|
+
"stateMutability": "nonpayable",
|
1035
|
+
"type": "function"
|
1036
|
+
},
|
1037
|
+
{
|
1038
|
+
"inputs": [
|
1039
|
+
{
|
1040
|
+
"internalType": "address",
|
1041
|
+
"name": "registryAddress",
|
1042
|
+
"type": "address"
|
1043
|
+
}
|
1044
|
+
],
|
1045
|
+
"name": "initializeRegistryLinked",
|
1046
|
+
"outputs": [],
|
1047
|
+
"stateMutability": "nonpayable",
|
1048
|
+
"type": "function"
|
1049
|
+
},
|
1050
|
+
{
|
1051
|
+
"inputs": [],
|
1052
|
+
"name": "isConsumingScheduledOp",
|
1053
|
+
"outputs": [
|
1054
|
+
{
|
1055
|
+
"internalType": "bytes4",
|
1056
|
+
"name": "",
|
1057
|
+
"type": "bytes4"
|
1058
|
+
}
|
1059
|
+
],
|
1060
|
+
"stateMutability": "view",
|
1061
|
+
"type": "function"
|
1062
|
+
},
|
1063
|
+
{
|
1064
|
+
"inputs": [
|
1065
|
+
{
|
1066
|
+
"internalType": "address",
|
1067
|
+
"name": "candidate",
|
1068
|
+
"type": "address"
|
1069
|
+
}
|
1070
|
+
],
|
1071
|
+
"name": "isDistributor",
|
1072
|
+
"outputs": [
|
1073
|
+
{
|
1074
|
+
"internalType": "bool",
|
1075
|
+
"name": "",
|
1076
|
+
"type": "bool"
|
1077
|
+
}
|
1078
|
+
],
|
1079
|
+
"stateMutability": "view",
|
1080
|
+
"type": "function"
|
1081
|
+
},
|
1082
|
+
{
|
1083
|
+
"inputs": [],
|
1084
|
+
"name": "isNftInterceptor",
|
1085
|
+
"outputs": [
|
1086
|
+
{
|
1087
|
+
"internalType": "bool",
|
1088
|
+
"name": "isInterceptor",
|
1089
|
+
"type": "bool"
|
1090
|
+
}
|
1091
|
+
],
|
1092
|
+
"stateMutability": "view",
|
1093
|
+
"type": "function"
|
1094
|
+
},
|
530
1095
|
{
|
531
1096
|
"inputs": [],
|
532
1097
|
"name": "isVerifying",
|
@@ -557,17 +1122,40 @@
|
|
557
1122
|
{
|
558
1123
|
"inputs": [
|
559
1124
|
{
|
560
|
-
"internalType": "
|
561
|
-
"name": "
|
562
|
-
"type": "
|
1125
|
+
"internalType": "address",
|
1126
|
+
"name": "to",
|
1127
|
+
"type": "address"
|
563
1128
|
},
|
564
1129
|
{
|
565
1130
|
"internalType": "uint256",
|
566
|
-
"name": "
|
1131
|
+
"name": "tokenId",
|
567
1132
|
"type": "uint256"
|
568
1133
|
}
|
569
1134
|
],
|
570
|
-
"name": "
|
1135
|
+
"name": "nftMint",
|
1136
|
+
"outputs": [],
|
1137
|
+
"stateMutability": "nonpayable",
|
1138
|
+
"type": "function"
|
1139
|
+
},
|
1140
|
+
{
|
1141
|
+
"inputs": [
|
1142
|
+
{
|
1143
|
+
"internalType": "address",
|
1144
|
+
"name": "from",
|
1145
|
+
"type": "address"
|
1146
|
+
},
|
1147
|
+
{
|
1148
|
+
"internalType": "address",
|
1149
|
+
"name": "to",
|
1150
|
+
"type": "address"
|
1151
|
+
},
|
1152
|
+
{
|
1153
|
+
"internalType": "uint256",
|
1154
|
+
"name": "tokenId",
|
1155
|
+
"type": "uint256"
|
1156
|
+
}
|
1157
|
+
],
|
1158
|
+
"name": "nftTransferFrom",
|
571
1159
|
"outputs": [],
|
572
1160
|
"stateMutability": "nonpayable",
|
573
1161
|
"type": "function"
|
@@ -585,7 +1173,7 @@
|
|
585
1173
|
"type": "uint256"
|
586
1174
|
}
|
587
1175
|
],
|
588
|
-
"name": "
|
1176
|
+
"name": "processRenewal",
|
589
1177
|
"outputs": [],
|
590
1178
|
"stateMutability": "nonpayable",
|
591
1179
|
"type": "function"
|
@@ -593,24 +1181,48 @@
|
|
593
1181
|
{
|
594
1182
|
"inputs": [
|
595
1183
|
{
|
596
|
-
"internalType": "
|
597
|
-
"name": "
|
598
|
-
"type": "
|
1184
|
+
"internalType": "bytes4",
|
1185
|
+
"name": "interfaceId",
|
1186
|
+
"type": "bytes4"
|
599
1187
|
}
|
600
1188
|
],
|
601
|
-
"name": "
|
602
|
-
"outputs": [
|
1189
|
+
"name": "registerInterface",
|
1190
|
+
"outputs": [],
|
1191
|
+
"stateMutability": "nonpayable",
|
1192
|
+
"type": "function"
|
1193
|
+
},
|
1194
|
+
{
|
1195
|
+
"inputs": [
|
603
1196
|
{
|
604
|
-
"internalType": "
|
605
|
-
"name": "
|
606
|
-
"type": "
|
1197
|
+
"internalType": "address",
|
1198
|
+
"name": "newAuthority",
|
1199
|
+
"type": "address"
|
607
1200
|
}
|
608
1201
|
],
|
609
|
-
"
|
1202
|
+
"name": "setAuthority",
|
1203
|
+
"outputs": [],
|
1204
|
+
"stateMutability": "nonpayable",
|
610
1205
|
"type": "function"
|
611
1206
|
},
|
612
1207
|
{
|
613
1208
|
"inputs": [
|
1209
|
+
{
|
1210
|
+
"components": [
|
1211
|
+
{
|
1212
|
+
"internalType": "UFixed",
|
1213
|
+
"name": "fractionalFee",
|
1214
|
+
"type": "uint256"
|
1215
|
+
},
|
1216
|
+
{
|
1217
|
+
"internalType": "uint256",
|
1218
|
+
"name": "fixedFee",
|
1219
|
+
"type": "uint256"
|
1220
|
+
}
|
1221
|
+
],
|
1222
|
+
"internalType": "struct Fee",
|
1223
|
+
"name": "minDistributionOwnerFee",
|
1224
|
+
"type": "tuple"
|
1225
|
+
},
|
614
1226
|
{
|
615
1227
|
"components": [
|
616
1228
|
{
|
@@ -685,60 +1297,33 @@
|
|
685
1297
|
"outputs": [],
|
686
1298
|
"stateMutability": "nonpayable",
|
687
1299
|
"type": "function"
|
688
|
-
}
|
689
|
-
],
|
690
|
-
"bytecode": "0x60806040523480156200001157600080fd5b506040516200240e3803806200240e833981016040819052620000349162000824565b85858560786001856200006d6301ffc9a760e01b6000908152602052600080516020620023ee833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009e8787868686866200046b565b6000620000b36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000103573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012d91908101906200098d565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263cb92195b60e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000195573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bb919062000a73565b620001e75760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000261919062000a98565b600380546001600160a01b039283166001600160a01b0319918216179091556005805482163017905560068054988316989091169790971790965550506346b32da560e01b600090815260209081527f0c74615b9065379cafc5e4e9d82ac4cbed23f75e35c2545793f8045351389f6c805460ff19166001179055600a80548a516008558a8301516009556001600160a81b0319168b1515610100600160a81b031916176101008d8816021790556007546040805163329802c760e21b8152905191909616975063ca600b1c96506004808701969295509093509083900301905081865afa15801562000358573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200037e919062000a98565b600b80546001600160a01b0319166001600160a01b0392831617905560075460408051634288121d60e01b815290519190921691634288121d9160048083019260209291908290030181865afa158015620003dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000403919062000a98565b600c80546001600160a01b0319166001600160a01b039290921691909117905563c8ea96c560e01b60009081526020527f358bf83baf6613c2def0011c88aae44093f6c2a350167255c9453fdf96405794805460ff1916600117905550505050505062000c13565b6200049c6301ffc9a760e01b6000908152602052600080516020620023ee833981519152805460ff19166001179055565b620004a882876200056d565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000527838262000b47565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b6001600160a01b038216620005c55760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401620001de565b600280546001600160a01b0319166001600160a01b038416179055620005eb81620005ef565b5050565b6001546001600160a01b0316156200062a5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001de565b6001600160a01b038116620006525760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200068a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001de565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000707575060408051601f3d908101601f19168201909252620007049181019062000a73565b60015b620007315760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001de565b80620005eb5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001de565b50565b6001600160a01b03811681146200075c57600080fd5b805162000782816200075f565b919050565b80516001600160601b03811681146200078257600080fd5b805180151581146200078257600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620007eb57620007eb620007b0565b60405290565b604051601f8201601f191681016001600160401b03811182821017156200081c576200081c620007b0565b604052919050565b60008060008060008086880360e08112156200083f57600080fd5b87516200084c816200075f565b96506200085c6020890162000787565b955060408801516200086e816200075f565b94506200087e606089016200079f565b93506040607f19820112156200089357600080fd5b50604080519081016001600160401b0381118282101715620008b957620008b9620007b0565b6040526080880151815260a0880151602082015260c0880151909250620008e0816200075f565b809150509295509295509295565b805160ff811681146200078257600080fd5b600082601f8301126200091257600080fd5b81516001600160401b038111156200092e576200092e620007b0565b602062000944601f8301601f19168201620007f1565b82815285828487010111156200095957600080fd5b60005b83811015620009795785810183015182820184015282016200095c565b506000928101909101919091529392505050565b600060208284031215620009a057600080fd5b81516001600160401b0380821115620009b857600080fd5b9083019060e08286031215620009cd57600080fd5b620009d7620007c6565b620009e28362000787565b8152620009f26020840162000787565b602082015262000a0560408401620008ee565b604082015262000a18606084016200079f565b606082015262000a2b6080840162000775565b608082015262000a3e60a0840162000775565b60a082015260c08301518281111562000a5657600080fd5b62000a648782860162000900565b60c08301525095945050505050565b60006020828403121562000a8657600080fd5b62000a91826200079f565b9392505050565b60006020828403121562000aab57600080fd5b815162000a91816200075f565b600181811c9082168062000acd57607f821691505b60208210810362000aee57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000b4257600081815260208120601f850160051c8101602086101562000b1d5750805b601f850160051c820191505b8181101562000b3e5782815560010162000b29565b5050505b505050565b81516001600160401b0381111562000b635762000b63620007b0565b62000b7b8162000b74845462000ab8565b8462000af4565b602080601f83116001811462000bb3576000841562000b9a5750858301515b600019600386901b1c1916600185901b17855562000b3e565b600085815260208120601f198616915b8281101562000be45788860151825594840194600190910190840162000bc3565b508582101562000c035787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6117cb8062000c236000396000f3fe608060405234801561001057600080fd5b506004361061014c5760003560e01c8063644c45e0116100c3578063de7b5d141161007c578063de7b5d14146102ef578063deaa59df14610300578063e214756714610313578063f7d39dea14610327578063f80e207214610270578063f83d08ba1461033a57600080fd5b8063644c45e01461029457806387ef9ba0146102ac578063893d20e8146102b7578063a69df4b5146102bf578063c200b809146102c7578063d16d0fe8146102dc57600080fd5b80631eff4b22116101155780631eff4b221461020457806321df0da7146102395780632a65c6881461024a5780633f52c0f61461025d5780634cf30a84146102705780635ab1bd531461028357600080fd5b806251884a1461015157806301ffc9a7146101825780630fec111c146101bf57806313299604146101d5578063138461e0146101fa575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101af6101903660046112e2565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610179565b6101c7610342565b60405161017992919061135c565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610179565b610202610411565b005b61022b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b6006546001600160a01b03166101e2565b610202610258366004611418565b610633565b61020261026b36600461146c565b610782565b61020261027e3660046114bb565b6107e7565b6001546001600160a01b03166101e2565b600154600160a01b90046001600160601b0316610165565b600a5460ff166101af565b6101e261084f565b61020261096d565b6102cf610a08565b60405161017991906114e5565b61022b6102ea3660046114bb565b610b17565b6007546001600160a01b03166101e2565b61020261030e36600461155a565b610b2c565b6101af610321366004611577565b50600090565b61022b6103353660046114bb565b610e33565b610202610ed5565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610385610f40565b506040805160a081018252600754600160a01b90046001600160601b03168152600a5461010081046001600160a01b0316602080840191909152835180850185526008548152600954818301528385015260ff90911615156060830152306080830152915192935083926103f992016114e5565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610473573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049791906115a2565b156104de576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105075760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610550573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057491906115a2565b61059c576040516372657a5160e01b81526001600160a01b03821660048201526024016104d5565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060a91906115bd565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b61063b61084f565b6001600160a01b0316336001600160a01b03161461066e5760405163700dd81160e01b81523360048201526024016104d5565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070e91906115a2565b61075a5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104d5565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b600b54604051631fa9607b60e11b81526001600160a01b0390911690633f52c0f6906107b29084906004016115da565b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b5050505050565b600c546001600160a01b0316331461084b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104d5565b5050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d891906115a2565b1561095d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610934573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095891906115fc565b905090565b506002546001600160a01b031690565b61097561084f565b6001600160a01b0316336001600160a01b0316146109a85760405163700dd81160e01b81523360048201526024016104d5565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109ee57600080fd5b505af1158015610a02573d6000803e3d6000fd5b50505050565b610a10611286565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610a5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7e91906115fc565b9050806001600160a01b0316639ad69c67610aa96001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190611619565b91505090565b6000610b2382826116dd565b90505b92915050565b610b3461084f565b6001600160a01b0316336001600160a01b031614610b675760405163700dd81160e01b81523360048201526024016104d5565b6005546006546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdc9190611702565b9050816001600160a01b0316836001600160a01b031603610c1b57604051637c739a9960e11b81526001600160a01b03841660048201526024016104d5565b8015610cec576001600160a01b0382163014610cec57600654604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca69190611702565b905081811015610cea57604051633945c9b360e01b81526001600160a01b0380851660048301528516602482015260448101829052606481018390526084016104d5565b505b600580546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a18015610e2e57306001600160a01b03831603610dca5760065460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af1158015610da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc891906115a2565b505b600654610de2906001600160a01b03168385846110c6565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b600080610e3e610a08565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018690529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb919061171b565b5095945050505050565b610edd61084f565b6001600160a01b0316336001600160a01b031614610f105760405163700dd81160e01b81523360048201526024016104d5565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109d4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610fc76001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161100f61084f565b6001600160a01b0316815260200182600101805461102c9061173f565b80601f01602080910402602001604051908101604052809291908181526020018280546110589061173f565b80156110a55780601f1061107a576101008083540402835291602001916110a5565b820191906000526020600020905b81548152906001019060200180831161108857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610a029186919060009061112c9084168361117a565b9050805160001415801561115157508080602001905181019061114f91906115a2565b155b15610e2e57604051635274afe760e01b81526001600160a01b03841660048201526024016104d5565b6060610b238383600084600080856001600160a01b031684866040516111a09190611779565b60006040518083038185875af1925050503d80600081146111dd576040519150601f19603f3d011682016040523d82523d6000602084013e6111e2565b606091505b50915091506111f28683836111fe565b925050505b9392505050565b6060826112135761120e8261125a565b6111f7565b815115801561122a57506001600160a01b0384163b155b1561125357604051639996b31560e01b81526001600160a01b03851660048201526024016104d5565b50806111f7565b80511561126a5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016112ce604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6000602082840312156112f457600080fd5b81356001600160e01b0319811681146111f757600080fd5b60005b8381101561132757818101518382015260200161130f565b50506000910152565b6000815180845261134881602086016020860161130c565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516113a060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526113e6610120840182611330565b905082810360208401526113fa8185611330565b95945050505050565b6001600160601b038116811461128357600080fd5b60006020828403121561142a57600080fd5b81356111f781611403565b6040805190810167ffffffffffffffff8111828210171561146657634e487b7160e01b600052604160045260246000fd5b60405290565b60006040828403121561147e57600080fd5b611486611435565b82358152602083013560208201528091505092915050565b80356001600160c01b0319811681146114b657600080fd5b919050565b600080604083850312156114ce57600080fd5b6114d78361149e565b946020939093013593505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b6001600160a01b038116811461128357600080fd5b60006020828403121561156c57600080fd5b81356111f781611545565b60006020828403121561158957600080fd5b610b238261149e565b805180151581146114b657600080fd5b6000602082840312156115b457600080fd5b610b2382611592565b6000602082840312156115cf57600080fd5b81516111f781611403565b815181526020808301519082015260408101610b26565b80516114b681611545565b60006020828403121561160e57600080fd5b81516111f781611545565b600081830360c081121561162c57600080fd5b60405160a0810181811067ffffffffffffffff8211171561165d57634e487b7160e01b600052604160045260246000fd5b604052835161166b81611403565b8152602084015161167b81611545565b60208201526040603f198301121561169257600080fd5b61169a611435565b915060408401518252606084015160208301528160408201526116bf60808501611592565b60608201526116d060a085016115f1565b6080820152949350505050565b8082028115828204841417610b2657634e487b7160e01b600052601160045260246000fd5b60006020828403121561171457600080fd5b5051919050565b6000806040838503121561172e57600080fd5b505080516020909101519092909150565b600181811c9082168061175357607f821691505b60208210810361177357634e487b7160e01b600052602260045260246000fd5b50919050565b6000825161178b81846020870161130c565b919091019291505056fea26469706673582212207eacd80439cc72e6f578afb2e1d47dac6e61b28d108a1f783eb8664b20fe06c464736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
|
691
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061014c5760003560e01c8063644c45e0116100c3578063de7b5d141161007c578063de7b5d14146102ef578063deaa59df14610300578063e214756714610313578063f7d39dea14610327578063f80e207214610270578063f83d08ba1461033a57600080fd5b8063644c45e01461029457806387ef9ba0146102ac578063893d20e8146102b7578063a69df4b5146102bf578063c200b809146102c7578063d16d0fe8146102dc57600080fd5b80631eff4b22116101155780631eff4b221461020457806321df0da7146102395780632a65c6881461024a5780633f52c0f61461025d5780634cf30a84146102705780635ab1bd531461028357600080fd5b806251884a1461015157806301ffc9a7146101825780630fec111c146101bf57806313299604146101d5578063138461e0146101fa575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b6101af6101903660046112e2565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610179565b6101c7610342565b60405161017992919061135c565b6005546001600160a01b03165b6040516001600160a01b039091168152602001610179565b610202610411565b005b61022b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610179565b6006546001600160a01b03166101e2565b610202610258366004611418565b610633565b61020261026b36600461146c565b610782565b61020261027e3660046114bb565b6107e7565b6001546001600160a01b03166101e2565b600154600160a01b90046001600160601b0316610165565b600a5460ff166101af565b6101e261084f565b61020261096d565b6102cf610a08565b60405161017991906114e5565b61022b6102ea3660046114bb565b610b17565b6007546001600160a01b03166101e2565b61020261030e36600461155a565b610b2c565b6101af610321366004611577565b50600090565b61022b6103353660046114bb565b610e33565b610202610ed5565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c082018190529091610385610f40565b506040805160a081018252600754600160a01b90046001600160601b03168152600a5461010081046001600160a01b0316602080840191909152835180850185526008548152600954818301528385015260ff90911615156060830152306080830152915192935083926103f992016114e5565b60405160208183030381529060405292509250509091565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610473573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049791906115a2565b156104de576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166105075760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610550573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061057491906115a2565b61059c576040516372657a5160e01b81526001600160a01b03821660048201526024016104d5565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156105e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060a91906115bd565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b61063b61084f565b6001600160a01b0316336001600160a01b03161461066e5760405163700dd81160e01b81523360048201526024016104d5565b60075473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af41580156106ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061070e91906115a2565b61075a5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016104d5565b600780546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b600b54604051631fa9607b60e11b81526001600160a01b0390911690633f52c0f6906107b29084906004016115da565b600060405180830381600087803b1580156107cc57600080fd5b505af11580156107e0573d6000803e3d6000fd5b5050505050565b600c546001600160a01b0316331461084b5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504f4c2d3030323a4e4f545f50524f445543545f5345525649436044820152604560f81b60648201526084016104d5565b5050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156108b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d891906115a2565b1561095d57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610934573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061095891906115fc565b905090565b506002546001600160a01b031690565b61097561084f565b6001600160a01b0316336001600160a01b0316146109a85760405163700dd81160e01b81523360048201526024016104d5565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109ee57600080fd5b505af1158015610a02573d6000803e3d6000fd5b50505050565b610a10611286565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610a5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7e91906115fc565b9050806001600160a01b0316639ad69c67610aa96001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240160c060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b119190611619565b91505090565b6000610b2382826116dd565b90505b92915050565b610b3461084f565b6001600160a01b0316336001600160a01b031614610b675760405163700dd81160e01b81523360048201526024016104d5565b6005546006546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610bb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bdc9190611702565b9050816001600160a01b0316836001600160a01b031603610c1b57604051637c739a9960e11b81526001600160a01b03841660048201526024016104d5565b8015610cec576001600160a01b0382163014610cec57600654604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610c82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca69190611702565b905081811015610cea57604051633945c9b360e01b81526001600160a01b0380851660048301528516602482015260448101829052606481018390526084016104d5565b505b600580546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a18015610e2e57306001600160a01b03831603610dca5760065460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af1158015610da4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dc891906115a2565b505b600654610de2906001600160a01b03168385846110c6565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b600080610e3e610a08565b604081810151905163012ebd8360e21b81528151600482015260208201516024820152604481018690529192509073__$a23651848365a6a5ca15f07b4331037f48$__906304baf60c906064016040805180830381865af4158015610ea7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecb919061171b565b5095945050505050565b610edd61084f565b6001600160a01b0316336001600160a01b031614610f105760405163700dd81160e01b81523360048201526024016104d5565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109d4565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610fc76001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161100f61084f565b6001600160a01b0316815260200182600101805461102c9061173f565b80601f01602080910402602001604051908101604052809291908181526020018280546110589061173f565b80156110a55780601f1061107a576101008083540402835291602001916110a5565b820191906000526020600020905b81548152906001019060200180831161108857829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610a029186919060009061112c9084168361117a565b9050805160001415801561115157508080602001905181019061114f91906115a2565b155b15610e2e57604051635274afe760e01b81526001600160a01b03841660048201526024016104d5565b6060610b238383600084600080856001600160a01b031684866040516111a09190611779565b60006040518083038185875af1925050503d80600081146111dd576040519150601f19603f3d011682016040523d82523d6000602084013e6111e2565b606091505b50915091506111f28683836111fe565b925050505b9392505050565b6060826112135761120e8261125a565b6111f7565b815115801561122a57506001600160a01b0384163b155b1561125357604051639996b31560e01b81526001600160a01b03851660048201526024016104d5565b50806111f7565b80511561126a5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b6040518060a0016040528060006001600160601b0316815260200160006001600160a01b031681526020016112ce604051806040016040528060008152602001600081525090565b815260006020820181905260409091015290565b6000602082840312156112f457600080fd5b81356001600160e01b0319811681146111f757600080fd5b60005b8381101561132757818101518382015260200161130f565b50506000910152565b6000815180845261134881602086016020860161130c565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff604085015116608083015260608401516113a060a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526113e6610120840182611330565b905082810360208401526113fa8185611330565b95945050505050565b6001600160601b038116811461128357600080fd5b60006020828403121561142a57600080fd5b81356111f781611403565b6040805190810167ffffffffffffffff8111828210171561146657634e487b7160e01b600052604160045260246000fd5b60405290565b60006040828403121561147e57600080fd5b611486611435565b82358152602083013560208201528091505092915050565b80356001600160c01b0319811681146114b657600080fd5b919050565b600080604083850312156114ce57600080fd5b6114d78361149e565b946020939093013593505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b6001600160a01b038116811461128357600080fd5b60006020828403121561156c57600080fd5b81356111f781611545565b60006020828403121561158957600080fd5b610b238261149e565b805180151581146114b657600080fd5b6000602082840312156115b457600080fd5b610b2382611592565b6000602082840312156115cf57600080fd5b81516111f781611403565b815181526020808301519082015260408101610b26565b80516114b681611545565b60006020828403121561160e57600080fd5b81516111f781611545565b600081830360c081121561162c57600080fd5b60405160a0810181811067ffffffffffffffff8211171561165d57634e487b7160e01b600052604160045260246000fd5b604052835161166b81611403565b8152602084015161167b81611545565b60208201526040603f198301121561169257600080fd5b61169a611435565b915060408401518252606084015160208301528160408201526116bf60808501611592565b60608201526116d060a085016115f1565b6080820152949350505050565b8082028115828204841417610b2657634e487b7160e01b600052601160045260246000fd5b60006020828403121561171457600080fd5b5051919050565b6000806040838503121561172e57600080fd5b505080516020909101519092909150565b600181811c9082168061175357607f821691505b60208210810361177357634e487b7160e01b600052602260045260246000fd5b50919050565b6000825161178b81846020870161130c565b919091019291505056fea26469706673582212207eacd80439cc72e6f578afb2e1d47dac6e61b28d108a1f783eb8664b20fe06c464736f6c63430008140033",
|
692
|
-
"linkReferences": {
|
693
|
-
"contracts/types/Fee.sol": {
|
694
|
-
"FeeLib": [
|
695
|
-
{
|
696
|
-
"length": 20,
|
697
|
-
"start": 6801
|
698
|
-
}
|
699
|
-
]
|
700
1300
|
},
|
701
|
-
|
702
|
-
"
|
703
|
-
{
|
704
|
-
"length": 20,
|
705
|
-
"start": 4188
|
706
|
-
},
|
707
|
-
{
|
708
|
-
"length": 20,
|
709
|
-
"start": 4758
|
710
|
-
},
|
711
|
-
{
|
712
|
-
"length": 20,
|
713
|
-
"start": 5277
|
714
|
-
}
|
715
|
-
]
|
716
|
-
}
|
717
|
-
},
|
718
|
-
"deployedLinkReferences": {
|
719
|
-
"contracts/types/Fee.sol": {
|
720
|
-
"FeeLib": [
|
721
|
-
{
|
722
|
-
"length": 20,
|
723
|
-
"start": 3694
|
724
|
-
}
|
725
|
-
]
|
726
|
-
},
|
727
|
-
"contracts/types/NftId.sol": {
|
728
|
-
"NftIdLib": [
|
1301
|
+
{
|
1302
|
+
"inputs": [
|
729
1303
|
{
|
730
|
-
"
|
731
|
-
"
|
1304
|
+
"internalType": "NftId",
|
1305
|
+
"name": "distributorNftId",
|
1306
|
+
"type": "uint96"
|
732
1307
|
},
|
733
1308
|
{
|
734
|
-
"
|
735
|
-
"
|
1309
|
+
"internalType": "DistributorType",
|
1310
|
+
"name": "distributorType",
|
1311
|
+
"type": "bytes8"
|
736
1312
|
},
|
737
1313
|
{
|
738
|
-
"
|
739
|
-
"
|
1314
|
+
"internalType": "bytes",
|
1315
|
+
"name": "data",
|
1316
|
+
"type": "bytes"
|
740
1317
|
}
|
741
|
-
]
|
1318
|
+
],
|
1319
|
+
"name": "updateDistributorType",
|
1320
|
+
"outputs": [],
|
1321
|
+
"stateMutability": "nonpayable",
|
1322
|
+
"type": "function"
|
742
1323
|
}
|
743
|
-
|
1324
|
+
],
|
1325
|
+
"bytecode": "0x",
|
1326
|
+
"deployedBytecode": "0x",
|
1327
|
+
"linkReferences": {},
|
1328
|
+
"deployedLinkReferences": {}
|
744
1329
|
}
|