@etherisc/gif-next 0.0.2-f02157b-803 → 0.0.2-f034782-101
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +140 -2
- package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
- package/artifacts/contracts/components/Component.sol/Component.json +832 -0
- package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
- package/artifacts/contracts/components/Distribution.sol/Distribution.json +938 -229
- 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} +192 -168
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +743 -26
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +755 -50
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
- package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -9
- package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
- package/artifacts/contracts/components/Pool.sol/Pool.json +818 -236
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +627 -224
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
- package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
- package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
- package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
- package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
- package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2185 -189
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +299 -153
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +993 -1183
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +571 -177
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +232 -210
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +520 -190
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +352 -75
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
- package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
- package/artifacts/contracts/instance/base/{ServiceBase.sol/ServiceBase.json → ComponentService.sol/ComponentService.json} +223 -139
- 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 +69 -43
- 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 +968 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1732 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +805 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -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} +150 -207
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +727 -160
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +84 -217
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +47 -414
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +824 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +657 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
- 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 +373 -61
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
- package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +234 -216
- 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 +333 -188
- 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 +229 -313
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
- package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +304 -138
- 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 +4 -0
- package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
- 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 +4 -0
- package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +57 -55
- 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 +4 -0
- package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/Service.sol/Service.json} +155 -151
- 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 +148 -227
- 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/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 +2 -2
- 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 +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/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 +22 -3
- package/contracts/components/Component.sol +251 -0
- package/contracts/components/Distribution.sol +200 -86
- package/contracts/components/IComponent.sol +74 -0
- package/contracts/components/IDistributionComponent.sol +44 -16
- package/contracts/components/IPoolComponent.sol +88 -37
- package/contracts/components/IProductComponent.sol +10 -5
- package/contracts/components/Pool.sol +217 -177
- package/contracts/components/Product.sol +130 -134
- package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
- package/contracts/instance/BundleManager.sol +127 -0
- package/contracts/instance/Cloneable.sol +51 -0
- package/contracts/instance/IInstance.sol +81 -11
- package/contracts/instance/IInstanceService.sol +62 -7
- package/contracts/instance/Instance.sol +156 -265
- package/contracts/instance/InstanceAccessManager.sol +410 -176
- package/contracts/instance/InstanceReader.sol +39 -29
- package/contracts/instance/InstanceService.sol +449 -56
- package/contracts/instance/InstanceServiceManager.sol +11 -13
- package/contracts/instance/ObjectManager.sol +82 -0
- package/contracts/instance/base/ComponentService.sol +134 -0
- package/contracts/instance/base/KeyValueStore.sol +5 -2
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +36 -20
- package/contracts/instance/module/IBundle.sol +2 -0
- package/contracts/instance/module/IComponents.sol +35 -0
- package/contracts/instance/module/IDistribution.sol +2 -0
- package/contracts/instance/module/IPolicy.sol +30 -3
- package/contracts/instance/module/ISetup.sol +9 -19
- package/contracts/instance/service/ApplicationService.sol +350 -0
- package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
- package/contracts/instance/service/BundleService.sol +336 -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 +467 -0
- package/contracts/instance/service/DistributionServiceManager.sol +51 -0
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +62 -0
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +87 -1
- package/contracts/instance/service/IPolicyService.sol +72 -0
- package/contracts/instance/service/IPoolService.sol +22 -24
- package/contracts/instance/service/IProductService.sol +7 -74
- package/contracts/instance/service/PolicyService.sol +403 -0
- package/contracts/instance/service/PolicyServiceManager.sol +54 -0
- package/contracts/instance/service/PoolService.sol +220 -0
- package/contracts/instance/service/PoolServiceManager.sol +51 -0
- package/contracts/instance/service/ProductService.sol +241 -0
- package/contracts/instance/service/ProductServiceManager.sol +54 -0
- package/contracts/registry/ChainNft.sol +9 -1
- package/contracts/registry/IRegistry.sol +52 -8
- package/contracts/registry/IRegistryService.sol +52 -20
- package/contracts/registry/ITransferInterceptor.sol +1 -0
- package/contracts/registry/Registry.sol +270 -226
- package/contracts/registry/RegistryAccessManager.sol +216 -0
- package/contracts/registry/RegistryService.sol +113 -269
- package/contracts/registry/RegistryServiceManager.sol +24 -26
- package/contracts/registry/ReleaseManager.sol +322 -0
- package/contracts/registry/TokenRegistry.sol +116 -0
- package/contracts/shared/ERC165.sol +14 -8
- 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 +18 -0
- package/contracts/shared/IVersionable.sol +4 -47
- package/contracts/shared/NftOwnable.sol +67 -83
- package/contracts/shared/PolicyHolder.sol +81 -0
- package/contracts/shared/ProxyManager.sol +100 -25
- package/contracts/shared/Registerable.sol +16 -31
- package/contracts/shared/RegistryLinked.sol +48 -0
- package/contracts/shared/Service.sol +58 -0
- 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 +6 -7
- 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 +1 -0
- package/contracts/types/NftId.sol +8 -0
- package/contracts/types/NftIdSet.sol +26 -24
- 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 -11
- package/contracts/types/Seconds.sol +54 -0
- package/contracts/types/StateId.sol +5 -0
- package/contracts/types/Timestamp.sol +13 -13
- package/contracts/types/UFixed.sol +1 -0
- package/contracts/types/Version.sol +5 -1
- 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 -314
- package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
- 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/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 -1119
- 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/base/IService.sol/IService.dbg.json +0 -4
- package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
- 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/contracts/components/BaseComponent.sol +0 -86
- package/contracts/components/IBaseComponent.sol +0 -24
- 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/AccessManagedSimple.sol +0 -114
- package/contracts/instance/AccessManagerSimple.sol +0 -682
- package/contracts/instance/IAccessManagerSimple.sol +0 -391
- package/contracts/instance/base/ComponentServiceBase.sol +0 -49
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/base/IService.sol +0 -15
- package/contracts/instance/base/ServiceBase.sol +0 -44
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
@@ -7,156 +7,188 @@
|
|
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
|
-
}
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
28
35
|
{
|
29
36
|
"internalType": "address",
|
30
|
-
"name": "
|
37
|
+
"name": "caller",
|
31
38
|
"type": "address"
|
32
|
-
}
|
39
|
+
}
|
40
|
+
],
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"inputs": [
|
33
46
|
{
|
34
47
|
"internalType": "address",
|
35
|
-
"name": "
|
48
|
+
"name": "target",
|
36
49
|
"type": "address"
|
37
|
-
}
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
},
|
45
|
-
{
|
46
|
-
"internalType": "uint256",
|
47
|
-
"name": "fixedFee",
|
48
|
-
"type": "uint256"
|
49
|
-
}
|
50
|
-
],
|
51
|
-
"internalType": "struct Fee",
|
52
|
-
"name": "productFee",
|
53
|
-
"type": "tuple"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"components": [
|
57
|
-
{
|
58
|
-
"internalType": "UFixed",
|
59
|
-
"name": "fractionalFee",
|
60
|
-
"type": "uint256"
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"internalType": "uint256",
|
64
|
-
"name": "fixedFee",
|
65
|
-
"type": "uint256"
|
66
|
-
}
|
67
|
-
],
|
68
|
-
"internalType": "struct Fee",
|
69
|
-
"name": "processingFee",
|
70
|
-
"type": "tuple"
|
71
|
-
},
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "AddressEmptyCode",
|
53
|
+
"type": "error"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"inputs": [
|
72
57
|
{
|
73
58
|
"internalType": "address",
|
74
|
-
"name": "
|
59
|
+
"name": "account",
|
75
60
|
"type": "address"
|
76
61
|
}
|
77
62
|
],
|
78
|
-
"
|
79
|
-
"type": "
|
63
|
+
"name": "AddressInsufficientBalance",
|
64
|
+
"type": "error"
|
80
65
|
},
|
81
66
|
{
|
82
67
|
"inputs": [
|
83
68
|
{
|
84
69
|
"internalType": "address",
|
85
|
-
"name": "
|
70
|
+
"name": "caller",
|
86
71
|
"type": "address"
|
87
|
-
}
|
72
|
+
}
|
73
|
+
],
|
74
|
+
"name": "ErrorComponentNotChainNft",
|
75
|
+
"type": "error"
|
76
|
+
},
|
77
|
+
{
|
78
|
+
"inputs": [
|
88
79
|
{
|
89
80
|
"internalType": "NftId",
|
90
|
-
"name": "
|
81
|
+
"name": "instanceNftId",
|
91
82
|
"type": "uint96"
|
92
83
|
}
|
93
84
|
],
|
94
|
-
"name": "
|
85
|
+
"name": "ErrorComponentNotInstance",
|
95
86
|
"type": "error"
|
96
87
|
},
|
97
88
|
{
|
98
89
|
"inputs": [
|
99
90
|
{
|
100
91
|
"internalType": "address",
|
101
|
-
"name": "
|
92
|
+
"name": "caller",
|
102
93
|
"type": "address"
|
103
94
|
}
|
104
95
|
],
|
105
|
-
"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",
|
106
112
|
"type": "error"
|
107
113
|
},
|
108
114
|
{
|
109
115
|
"inputs": [
|
110
116
|
{
|
111
117
|
"internalType": "address",
|
112
|
-
"name": "
|
118
|
+
"name": "oldWallet",
|
119
|
+
"type": "address"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"internalType": "address",
|
123
|
+
"name": "newWallet",
|
113
124
|
"type": "address"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"internalType": "uint256",
|
128
|
+
"name": "allowance",
|
129
|
+
"type": "uint256"
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"internalType": "uint256",
|
133
|
+
"name": "balance",
|
134
|
+
"type": "uint256"
|
114
135
|
}
|
115
136
|
],
|
116
|
-
"name": "
|
137
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
117
138
|
"type": "error"
|
118
139
|
},
|
119
140
|
{
|
120
141
|
"inputs": [
|
121
142
|
{
|
122
|
-
"internalType": "
|
123
|
-
"name": "
|
124
|
-
"type": "
|
143
|
+
"internalType": "NftId",
|
144
|
+
"name": "nftId",
|
145
|
+
"type": "uint96"
|
125
146
|
}
|
126
147
|
],
|
127
|
-
"name": "
|
148
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
128
149
|
"type": "error"
|
129
150
|
},
|
130
151
|
{
|
131
152
|
"inputs": [
|
132
153
|
{
|
133
154
|
"internalType": "address",
|
134
|
-
"name": "
|
155
|
+
"name": "contractAddress",
|
135
156
|
"type": "address"
|
136
157
|
}
|
137
158
|
],
|
138
|
-
"name": "
|
159
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
139
160
|
"type": "error"
|
140
161
|
},
|
141
162
|
{
|
142
163
|
"inputs": [],
|
143
|
-
"name": "
|
164
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
144
165
|
"type": "error"
|
145
166
|
},
|
146
167
|
{
|
147
168
|
"inputs": [
|
148
169
|
{
|
149
170
|
"internalType": "address",
|
150
|
-
"name": "
|
171
|
+
"name": "account",
|
172
|
+
"type": "address"
|
173
|
+
}
|
174
|
+
],
|
175
|
+
"name": "ErrorNftOwnableNotOwner",
|
176
|
+
"type": "error"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"inputs": [
|
180
|
+
{
|
181
|
+
"internalType": "address",
|
182
|
+
"name": "registryAddress",
|
151
183
|
"type": "address"
|
152
184
|
}
|
153
185
|
],
|
154
|
-
"name": "
|
186
|
+
"name": "ErrorNotRegistry",
|
155
187
|
"type": "error"
|
156
188
|
},
|
157
189
|
{
|
158
190
|
"inputs": [],
|
159
|
-
"name": "
|
191
|
+
"name": "FailedInnerCall",
|
160
192
|
"type": "error"
|
161
193
|
},
|
162
194
|
{
|
@@ -169,6 +201,30 @@
|
|
169
201
|
"name": "NotInitializing",
|
170
202
|
"type": "error"
|
171
203
|
},
|
204
|
+
{
|
205
|
+
"inputs": [
|
206
|
+
{
|
207
|
+
"internalType": "address",
|
208
|
+
"name": "token",
|
209
|
+
"type": "address"
|
210
|
+
}
|
211
|
+
],
|
212
|
+
"name": "SafeERC20FailedOperation",
|
213
|
+
"type": "error"
|
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
|
+
},
|
172
228
|
{
|
173
229
|
"anonymous": false,
|
174
230
|
"inputs": [
|
@@ -182,6 +238,89 @@
|
|
182
238
|
"name": "Initialized",
|
183
239
|
"type": "event"
|
184
240
|
},
|
241
|
+
{
|
242
|
+
"anonymous": false,
|
243
|
+
"inputs": [
|
244
|
+
{
|
245
|
+
"indexed": false,
|
246
|
+
"internalType": "address",
|
247
|
+
"name": "oldWallet",
|
248
|
+
"type": "address"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"indexed": false,
|
252
|
+
"internalType": "address",
|
253
|
+
"name": "newWallet",
|
254
|
+
"type": "address"
|
255
|
+
}
|
256
|
+
],
|
257
|
+
"name": "LogComponentWalletAddressChanged",
|
258
|
+
"type": "event"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"anonymous": false,
|
262
|
+
"inputs": [
|
263
|
+
{
|
264
|
+
"indexed": false,
|
265
|
+
"internalType": "address",
|
266
|
+
"name": "from",
|
267
|
+
"type": "address"
|
268
|
+
},
|
269
|
+
{
|
270
|
+
"indexed": false,
|
271
|
+
"internalType": "address",
|
272
|
+
"name": "to",
|
273
|
+
"type": "address"
|
274
|
+
},
|
275
|
+
{
|
276
|
+
"indexed": false,
|
277
|
+
"internalType": "uint256",
|
278
|
+
"name": "amount",
|
279
|
+
"type": "uint256"
|
280
|
+
}
|
281
|
+
],
|
282
|
+
"name": "LogComponentWalletTokensTransferred",
|
283
|
+
"type": "event"
|
284
|
+
},
|
285
|
+
{
|
286
|
+
"inputs": [],
|
287
|
+
"name": "COMPONENT_LOCATION_V1",
|
288
|
+
"outputs": [
|
289
|
+
{
|
290
|
+
"internalType": "bytes32",
|
291
|
+
"name": "",
|
292
|
+
"type": "bytes32"
|
293
|
+
}
|
294
|
+
],
|
295
|
+
"stateMutability": "view",
|
296
|
+
"type": "function"
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"inputs": [],
|
300
|
+
"name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
|
301
|
+
"outputs": [
|
302
|
+
{
|
303
|
+
"internalType": "bytes32",
|
304
|
+
"name": "",
|
305
|
+
"type": "bytes32"
|
306
|
+
}
|
307
|
+
],
|
308
|
+
"stateMutability": "view",
|
309
|
+
"type": "function"
|
310
|
+
},
|
311
|
+
{
|
312
|
+
"inputs": [],
|
313
|
+
"name": "PRODUCT_STORAGE_LOCATION_V1",
|
314
|
+
"outputs": [
|
315
|
+
{
|
316
|
+
"internalType": "bytes32",
|
317
|
+
"name": "",
|
318
|
+
"type": "bytes32"
|
319
|
+
}
|
320
|
+
],
|
321
|
+
"stateMutability": "view",
|
322
|
+
"type": "function"
|
323
|
+
},
|
185
324
|
{
|
186
325
|
"inputs": [],
|
187
326
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -195,6 +334,19 @@
|
|
195
334
|
"stateMutability": "view",
|
196
335
|
"type": "function"
|
197
336
|
},
|
337
|
+
{
|
338
|
+
"inputs": [],
|
339
|
+
"name": "authority",
|
340
|
+
"outputs": [
|
341
|
+
{
|
342
|
+
"internalType": "address",
|
343
|
+
"name": "",
|
344
|
+
"type": "address"
|
345
|
+
}
|
346
|
+
],
|
347
|
+
"stateMutability": "view",
|
348
|
+
"type": "function"
|
349
|
+
},
|
198
350
|
{
|
199
351
|
"inputs": [
|
200
352
|
{
|
@@ -208,9 +360,9 @@
|
|
208
360
|
"type": "bytes8"
|
209
361
|
},
|
210
362
|
{
|
211
|
-
"internalType": "
|
363
|
+
"internalType": "Seconds",
|
212
364
|
"name": "lifetime",
|
213
|
-
"type": "
|
365
|
+
"type": "uint40"
|
214
366
|
},
|
215
367
|
{
|
216
368
|
"internalType": "bytes",
|
@@ -242,24 +394,24 @@
|
|
242
394
|
"type": "bytes8"
|
243
395
|
},
|
244
396
|
{
|
245
|
-
"internalType": "
|
397
|
+
"internalType": "Seconds",
|
246
398
|
"name": "lifetime",
|
247
|
-
"type": "
|
399
|
+
"type": "uint40"
|
248
400
|
},
|
249
401
|
{
|
250
402
|
"internalType": "bytes",
|
251
403
|
"name": "applicationData",
|
252
404
|
"type": "bytes"
|
253
405
|
},
|
254
|
-
{
|
255
|
-
"internalType": "ReferralId",
|
256
|
-
"name": "referralId",
|
257
|
-
"type": "bytes8"
|
258
|
-
},
|
259
406
|
{
|
260
407
|
"internalType": "NftId",
|
261
408
|
"name": "bundleNftId",
|
262
409
|
"type": "uint96"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"internalType": "ReferralId",
|
413
|
+
"name": "referralId",
|
414
|
+
"type": "bytes8"
|
263
415
|
}
|
264
416
|
],
|
265
417
|
"name": "calculatePremium",
|
@@ -275,10 +427,50 @@
|
|
275
427
|
},
|
276
428
|
{
|
277
429
|
"inputs": [],
|
278
|
-
"name": "
|
430
|
+
"name": "getComponentInfo",
|
279
431
|
"outputs": [
|
280
432
|
{
|
281
|
-
"
|
433
|
+
"components": [
|
434
|
+
{
|
435
|
+
"internalType": "string",
|
436
|
+
"name": "name",
|
437
|
+
"type": "string"
|
438
|
+
},
|
439
|
+
{
|
440
|
+
"internalType": "contract IERC20Metadata",
|
441
|
+
"name": "token",
|
442
|
+
"type": "address"
|
443
|
+
},
|
444
|
+
{
|
445
|
+
"internalType": "contract TokenHandler",
|
446
|
+
"name": "tokenHandler",
|
447
|
+
"type": "address"
|
448
|
+
},
|
449
|
+
{
|
450
|
+
"internalType": "address",
|
451
|
+
"name": "wallet",
|
452
|
+
"type": "address"
|
453
|
+
},
|
454
|
+
{
|
455
|
+
"internalType": "bytes",
|
456
|
+
"name": "data",
|
457
|
+
"type": "bytes"
|
458
|
+
}
|
459
|
+
],
|
460
|
+
"internalType": "struct IComponents.ComponentInfo",
|
461
|
+
"name": "info",
|
462
|
+
"type": "tuple"
|
463
|
+
}
|
464
|
+
],
|
465
|
+
"stateMutability": "view",
|
466
|
+
"type": "function"
|
467
|
+
},
|
468
|
+
{
|
469
|
+
"inputs": [],
|
470
|
+
"name": "getDistributionNftId",
|
471
|
+
"outputs": [
|
472
|
+
{
|
473
|
+
"internalType": "NftId",
|
282
474
|
"name": "distributionNftId",
|
283
475
|
"type": "uint96"
|
284
476
|
}
|
@@ -329,13 +521,8 @@
|
|
329
521
|
}
|
330
522
|
],
|
331
523
|
"internalType": "struct IRegistry.ObjectInfo",
|
332
|
-
"name": "",
|
524
|
+
"name": "info",
|
333
525
|
"type": "tuple"
|
334
|
-
},
|
335
|
-
{
|
336
|
-
"internalType": "bytes",
|
337
|
-
"name": "",
|
338
|
-
"type": "bytes"
|
339
526
|
}
|
340
527
|
],
|
341
528
|
"stateMutability": "view",
|
@@ -354,6 +541,19 @@
|
|
354
541
|
"stateMutability": "view",
|
355
542
|
"type": "function"
|
356
543
|
},
|
544
|
+
{
|
545
|
+
"inputs": [],
|
546
|
+
"name": "getName",
|
547
|
+
"outputs": [
|
548
|
+
{
|
549
|
+
"internalType": "string",
|
550
|
+
"name": "name",
|
551
|
+
"type": "string"
|
552
|
+
}
|
553
|
+
],
|
554
|
+
"stateMutability": "view",
|
555
|
+
"type": "function"
|
556
|
+
},
|
357
557
|
{
|
358
558
|
"inputs": [],
|
359
559
|
"name": "getNftId",
|
@@ -419,6 +619,19 @@
|
|
419
619
|
"stateMutability": "view",
|
420
620
|
"type": "function"
|
421
621
|
},
|
622
|
+
{
|
623
|
+
"inputs": [],
|
624
|
+
"name": "getRegistryAddress",
|
625
|
+
"outputs": [
|
626
|
+
{
|
627
|
+
"internalType": "address",
|
628
|
+
"name": "",
|
629
|
+
"type": "address"
|
630
|
+
}
|
631
|
+
],
|
632
|
+
"stateMutability": "view",
|
633
|
+
"type": "function"
|
634
|
+
},
|
422
635
|
{
|
423
636
|
"inputs": [],
|
424
637
|
"name": "getSetupInfo",
|
@@ -445,23 +658,6 @@
|
|
445
658
|
"name": "poolNftId",
|
446
659
|
"type": "uint96"
|
447
660
|
},
|
448
|
-
{
|
449
|
-
"components": [
|
450
|
-
{
|
451
|
-
"internalType": "UFixed",
|
452
|
-
"name": "fractionalFee",
|
453
|
-
"type": "uint256"
|
454
|
-
},
|
455
|
-
{
|
456
|
-
"internalType": "uint256",
|
457
|
-
"name": "fixedFee",
|
458
|
-
"type": "uint256"
|
459
|
-
}
|
460
|
-
],
|
461
|
-
"internalType": "struct Fee",
|
462
|
-
"name": "distributionFee",
|
463
|
-
"type": "tuple"
|
464
|
-
},
|
465
661
|
{
|
466
662
|
"components": [
|
467
663
|
{
|
@@ -497,55 +693,14 @@
|
|
497
693
|
"type": "tuple"
|
498
694
|
},
|
499
695
|
{
|
500
|
-
"
|
501
|
-
|
502
|
-
|
503
|
-
"name": "fractionalFee",
|
504
|
-
"type": "uint256"
|
505
|
-
},
|
506
|
-
{
|
507
|
-
"internalType": "uint256",
|
508
|
-
"name": "fixedFee",
|
509
|
-
"type": "uint256"
|
510
|
-
}
|
511
|
-
],
|
512
|
-
"internalType": "struct Fee",
|
513
|
-
"name": "poolFee",
|
514
|
-
"type": "tuple"
|
515
|
-
},
|
516
|
-
{
|
517
|
-
"components": [
|
518
|
-
{
|
519
|
-
"internalType": "UFixed",
|
520
|
-
"name": "fractionalFee",
|
521
|
-
"type": "uint256"
|
522
|
-
},
|
523
|
-
{
|
524
|
-
"internalType": "uint256",
|
525
|
-
"name": "fixedFee",
|
526
|
-
"type": "uint256"
|
527
|
-
}
|
528
|
-
],
|
529
|
-
"internalType": "struct Fee",
|
530
|
-
"name": "stakingFee",
|
531
|
-
"type": "tuple"
|
696
|
+
"internalType": "bool",
|
697
|
+
"name": "isIntercepting",
|
698
|
+
"type": "bool"
|
532
699
|
},
|
533
700
|
{
|
534
|
-
"
|
535
|
-
|
536
|
-
|
537
|
-
"name": "fractionalFee",
|
538
|
-
"type": "uint256"
|
539
|
-
},
|
540
|
-
{
|
541
|
-
"internalType": "uint256",
|
542
|
-
"name": "fixedFee",
|
543
|
-
"type": "uint256"
|
544
|
-
}
|
545
|
-
],
|
546
|
-
"internalType": "struct Fee",
|
547
|
-
"name": "performanceFee",
|
548
|
-
"type": "tuple"
|
701
|
+
"internalType": "address",
|
702
|
+
"name": "wallet",
|
703
|
+
"type": "address"
|
549
704
|
}
|
550
705
|
],
|
551
706
|
"internalType": "struct ISetup.ProductSetupInfo",
|
@@ -583,21 +738,115 @@
|
|
583
738
|
"type": "function"
|
584
739
|
},
|
585
740
|
{
|
586
|
-
"inputs": [
|
587
|
-
|
741
|
+
"inputs": [
|
742
|
+
{
|
743
|
+
"internalType": "address",
|
744
|
+
"name": "registry",
|
745
|
+
"type": "address"
|
746
|
+
},
|
747
|
+
{
|
748
|
+
"internalType": "NftId",
|
749
|
+
"name": "instanceNftId",
|
750
|
+
"type": "uint96"
|
751
|
+
},
|
752
|
+
{
|
753
|
+
"internalType": "string",
|
754
|
+
"name": "name",
|
755
|
+
"type": "string"
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"internalType": "address",
|
759
|
+
"name": "token",
|
760
|
+
"type": "address"
|
761
|
+
},
|
762
|
+
{
|
763
|
+
"internalType": "ObjectType",
|
764
|
+
"name": "componentType",
|
765
|
+
"type": "uint8"
|
766
|
+
},
|
767
|
+
{
|
768
|
+
"internalType": "bool",
|
769
|
+
"name": "isInterceptor",
|
770
|
+
"type": "bool"
|
771
|
+
},
|
772
|
+
{
|
773
|
+
"internalType": "address",
|
774
|
+
"name": "initialOwner",
|
775
|
+
"type": "address"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"internalType": "bytes",
|
779
|
+
"name": "registryData",
|
780
|
+
"type": "bytes"
|
781
|
+
}
|
782
|
+
],
|
783
|
+
"name": "initializeComponent",
|
588
784
|
"outputs": [],
|
589
785
|
"stateMutability": "nonpayable",
|
590
786
|
"type": "function"
|
591
787
|
},
|
592
788
|
{
|
593
789
|
"inputs": [],
|
594
|
-
"name": "
|
790
|
+
"name": "initializeERC165",
|
595
791
|
"outputs": [],
|
596
792
|
"stateMutability": "nonpayable",
|
597
793
|
"type": "function"
|
598
794
|
},
|
599
795
|
{
|
600
796
|
"inputs": [
|
797
|
+
{
|
798
|
+
"internalType": "address",
|
799
|
+
"name": "initialOwner",
|
800
|
+
"type": "address"
|
801
|
+
},
|
802
|
+
{
|
803
|
+
"internalType": "address",
|
804
|
+
"name": "registryAddress",
|
805
|
+
"type": "address"
|
806
|
+
}
|
807
|
+
],
|
808
|
+
"name": "initializeNftOwnable",
|
809
|
+
"outputs": [],
|
810
|
+
"stateMutability": "nonpayable",
|
811
|
+
"type": "function"
|
812
|
+
},
|
813
|
+
{
|
814
|
+
"inputs": [
|
815
|
+
{
|
816
|
+
"internalType": "address",
|
817
|
+
"name": "registry",
|
818
|
+
"type": "address"
|
819
|
+
},
|
820
|
+
{
|
821
|
+
"internalType": "NftId",
|
822
|
+
"name": "instanceNftId",
|
823
|
+
"type": "uint96"
|
824
|
+
},
|
825
|
+
{
|
826
|
+
"internalType": "string",
|
827
|
+
"name": "name",
|
828
|
+
"type": "string"
|
829
|
+
},
|
830
|
+
{
|
831
|
+
"internalType": "address",
|
832
|
+
"name": "token",
|
833
|
+
"type": "address"
|
834
|
+
},
|
835
|
+
{
|
836
|
+
"internalType": "bool",
|
837
|
+
"name": "isInterceptor",
|
838
|
+
"type": "bool"
|
839
|
+
},
|
840
|
+
{
|
841
|
+
"internalType": "address",
|
842
|
+
"name": "pool",
|
843
|
+
"type": "address"
|
844
|
+
},
|
845
|
+
{
|
846
|
+
"internalType": "address",
|
847
|
+
"name": "distribution",
|
848
|
+
"type": "address"
|
849
|
+
},
|
601
850
|
{
|
602
851
|
"components": [
|
603
852
|
{
|
@@ -631,26 +880,94 @@
|
|
631
880
|
"internalType": "struct Fee",
|
632
881
|
"name": "processingFee",
|
633
882
|
"type": "tuple"
|
883
|
+
},
|
884
|
+
{
|
885
|
+
"internalType": "address",
|
886
|
+
"name": "initialOwner",
|
887
|
+
"type": "address"
|
888
|
+
},
|
889
|
+
{
|
890
|
+
"internalType": "bytes",
|
891
|
+
"name": "registryData",
|
892
|
+
"type": "bytes"
|
634
893
|
}
|
635
894
|
],
|
636
|
-
"name": "
|
895
|
+
"name": "initializeProduct",
|
637
896
|
"outputs": [],
|
638
897
|
"stateMutability": "nonpayable",
|
639
898
|
"type": "function"
|
640
899
|
},
|
641
900
|
{
|
642
901
|
"inputs": [
|
902
|
+
{
|
903
|
+
"internalType": "address",
|
904
|
+
"name": "registryAddress",
|
905
|
+
"type": "address"
|
906
|
+
},
|
907
|
+
{
|
908
|
+
"internalType": "NftId",
|
909
|
+
"name": "parentNftId",
|
910
|
+
"type": "uint96"
|
911
|
+
},
|
912
|
+
{
|
913
|
+
"internalType": "ObjectType",
|
914
|
+
"name": "objectType",
|
915
|
+
"type": "uint8"
|
916
|
+
},
|
917
|
+
{
|
918
|
+
"internalType": "bool",
|
919
|
+
"name": "isInterceptor",
|
920
|
+
"type": "bool"
|
921
|
+
},
|
922
|
+
{
|
923
|
+
"internalType": "address",
|
924
|
+
"name": "initialOwner",
|
925
|
+
"type": "address"
|
926
|
+
},
|
927
|
+
{
|
928
|
+
"internalType": "bytes",
|
929
|
+
"name": "registryData",
|
930
|
+
"type": "bytes"
|
931
|
+
}
|
932
|
+
],
|
933
|
+
"name": "initializeRegisterable",
|
934
|
+
"outputs": [],
|
935
|
+
"stateMutability": "nonpayable",
|
936
|
+
"type": "function"
|
937
|
+
},
|
938
|
+
{
|
939
|
+
"inputs": [
|
940
|
+
{
|
941
|
+
"internalType": "address",
|
942
|
+
"name": "registryAddress",
|
943
|
+
"type": "address"
|
944
|
+
}
|
945
|
+
],
|
946
|
+
"name": "initializeRegistryLinked",
|
947
|
+
"outputs": [],
|
948
|
+
"stateMutability": "nonpayable",
|
949
|
+
"type": "function"
|
950
|
+
},
|
951
|
+
{
|
952
|
+
"inputs": [],
|
953
|
+
"name": "isConsumingScheduledOp",
|
954
|
+
"outputs": [
|
643
955
|
{
|
644
956
|
"internalType": "bytes4",
|
645
|
-
"name": "
|
957
|
+
"name": "",
|
646
958
|
"type": "bytes4"
|
647
959
|
}
|
648
960
|
],
|
649
|
-
"
|
961
|
+
"stateMutability": "view",
|
962
|
+
"type": "function"
|
963
|
+
},
|
964
|
+
{
|
965
|
+
"inputs": [],
|
966
|
+
"name": "isNftInterceptor",
|
650
967
|
"outputs": [
|
651
968
|
{
|
652
969
|
"internalType": "bool",
|
653
|
-
"name": "",
|
970
|
+
"name": "isInterceptor",
|
654
971
|
"type": "bool"
|
655
972
|
}
|
656
973
|
],
|
@@ -659,96 +976,182 @@
|
|
659
976
|
},
|
660
977
|
{
|
661
978
|
"inputs": [],
|
662
|
-
"name": "
|
979
|
+
"name": "linkToRegisteredNftId",
|
663
980
|
"outputs": [],
|
664
981
|
"stateMutability": "nonpayable",
|
665
982
|
"type": "function"
|
666
|
-
}
|
667
|
-
|
668
|
-
"bytecode": "0x60806040523480156200001157600080fd5b50604051620028813803806200288183398101604081905262000034916200086a565b8888600089606e6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff191660011790558a86600280546001600160a01b03191633179055604080516020810190915260008152620000aa888886868686620004e8565b6000620000bf6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa1580156200010f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001399190810190620009d4565b6080810151600780546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b81526342e19e5f60e01b6004820152919250906301ffc9a790602401602060405180830381865afa158015620001a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c7919062000aba565b620001f35760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600760009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000247573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200026d919062000adf565b600380546001600160a01b03199081166001600160a01b039384161790915560058054309083161790556006805490911688831617905560078054909116600160a01b6001600160601b038a160217905563593e597960e11b60009081526020527fe5ff73b5268559916713b465b9aafbfc723fb1444fb210a355c8977973af6095805460ff191660011790555050600980546001600160a01b038e81166001600160a01b031992831617909255600a80548e841692169190911790558a51600b556020808c0151600c558a51600d558a0151600e556001541696506200035695505050505050565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa158015620003a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003c6919062000aff565b600f80546001600160601b0319166001600160601b0392909216919091179055620003f96001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa15801562000443573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000469919062000aff565b600f80546001600160601b03929092166c0100000000000000000000000002600160601b600160c01b0319909216919091179055633ad74e8160e01b60009081526020527f6d6f21c9f977ce279ee1b58c3ce3ac0b612bbc5256f6c821ab515558c7e6a0a8805460ff1916600117905550505050505050505062000c78565b620004f48287620005b9565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000573838262000bac565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b600280546001600160a01b0319166001600160a01b038416179055620005df81620005e3565b5050565b6001546001600160a01b0316156200061e5760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001ea565b6001600160a01b038116620006465760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200067e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001ea565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015620006fb575060408051601f3d908101601f19168201909252620006f89181019062000aba565b60015b620007255760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001ea565b80620005df5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001ea565b50565b6001600160a01b03811681146200075057600080fd5b8051620007768162000753565b919050565b80516001600160601b03811681146200077657600080fd5b805180151581146200077657600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b0381118282101715620007df57620007df620007a4565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620008105762000810620007a4565b604052919050565b6000604082840312156200082b57600080fd5b604080519081016001600160401b0381118282101715620008505762000850620007a4565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c0312156200088a57600080fd5b8951620008978162000753565b9850620008a760208b016200077b565b975060408a0151620008b98162000753565b9650620008c960608b0162000793565b955060808a0151620008db8162000753565b60a08b0151909550620008ee8162000753565b9350620008ff8b60c08c0162000818565b9250620009118b6101008c0162000818565b91506101408a0151620009248162000753565b809150509295985092959850929598565b805160ff811681146200077657600080fd5b600082601f8301126200095957600080fd5b81516001600160401b03811115620009755762000975620007a4565b60206200098b601f8301601f19168201620007e5565b8281528582848701011115620009a057600080fd5b60005b83811015620009c0578581018301518282018401528201620009a3565b506000928101909101919091529392505050565b600060208284031215620009e757600080fd5b81516001600160401b0380821115620009ff57600080fd5b9083019060e0828603121562000a1457600080fd5b62000a1e620007ba565b62000a29836200077b565b815262000a39602084016200077b565b602082015262000a4c6040840162000935565b604082015262000a5f6060840162000793565b606082015262000a726080840162000769565b608082015262000a8560a0840162000769565b60a082015260c08301518281111562000a9d57600080fd5b62000aab8782860162000947565b60c08301525095945050505050565b60006020828403121562000acd57600080fd5b62000ad88262000793565b9392505050565b60006020828403121562000af257600080fd5b815162000ad88162000753565b60006020828403121562000b1257600080fd5b62000ad8826200077b565b600181811c9082168062000b3257607f821691505b60208210810362000b5357634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000ba757600081815260208120601f850160051c8101602086101562000b825750805b601f850160051c820191505b8181101562000ba35782815560010162000b8e565b5050505b505050565b81516001600160401b0381111562000bc85762000bc8620007a4565b62000be08162000bd9845462000b1d565b8462000b59565b602080601f83116001811462000c18576000841562000bff5750858301515b600019600386901b1c1916600185901b17855562000ba3565b600085815260208120601f198616915b8281101562000c495788860151825594840194600190910190840162000c28565b508582101562000c685787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611bf98062000c886000396000f3fe608060405234801561001057600080fd5b50600436106101205760003560e01c80635ab1bd53116100ad578063b6b412ba11610071578063b6b412ba14610285578063c200b80914610298578063db6dcc95146102ad578063de7b5d14146102b5578063f83d08ba146102c657600080fd5b80635ab1bd53146102395780635e78426b1461024a578063644c45e01461025d578063893d20e814610275578063a69df4b51461027d57600080fd5b806313299604116100f457806313299604146101ca578063138461e0146101ef5780631bdd6b76146101f95780631eff4b221461020157806321df0da71461022857600080fd5b806251884a1461012557806301ffc9a7146101565780630fec111c1461019357806312abb9b3146101a9575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b610183610164366004611195565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161014d565b61019b6102ce565b60405161014d929190611216565b6101bc6101b736600461143b565b6104ed565b60405190815260200161014d565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161014d565b6101f7610579565b005b61013961079b565b6101bc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101d7565b6001546001600160a01b03166101d7565b6101bc6102583660046114c4565b610822565b600154600160a01b90046001600160601b0316610139565b6101d7610838565b6101f7610951565b6101f7610293366004611557565b6109ff565b6102a0610ab5565b60405161014d919061158c565b610139610f4d565b6007546001600160a01b03166101d7565b6101f7610f92565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290918061031261100f565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561036c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610394919081019061172f565b915091506000806000838060200190518101906103b19190611858565b60408051610140810182526006546001600160a01b0316815260006020820152600f546001600160601b03600160601b82048116838501521660608201528151632bd182d360e01b81528251959b509399509197508d965090945060808501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af415801561044f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104739190611968565b8152604080518082018252600b548152600c546020828101919091528084019190915281518083018352600d548152600e548183015282840152606083018890526080830187905260a0909201859052516104cf92910161158c565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105289089908b908a908a9089908b90600401611984565b60a060405180830381865afa158015610545573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056991906119db565b50929a9950505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ff9190611a1b565b15610646576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661066f5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190611a1b565b610704576040516372657a5160e01b81526001600160a01b038216600482015260240161063d565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561074e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107729190611a36565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006107af6001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190611a36565b905090565b600061082f600a86611a53565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c19190611a1b565b1561094157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561091d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190611a75565b506002546001600160a01b031690565b600061095b610838565b90506001600160a01b0381161580159061097e5750336001600160a01b03821614155b1561099e5760405163700dd81160e01b815233600482015260240161063d565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109e457600080fd5b505af11580156109f8573d6000803e3d6000fd5b5050505050565b6000610a09610838565b90506001600160a01b03811615801590610a2c5750336001600160a01b03821614155b15610a4c5760405163700dd81160e01b815233600482015260240161063d565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610a7e9086908690600401611a92565b600060405180830381600087803b158015610a9857600080fd5b505af1158015610aac573d6000803e3d6000fd5b50505050505050565b610b5f604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546040805163c4cade9d60e01b8152600160a01b9092046001600160601b03166004830152600060248301525173__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9163c4cade9d9160448083019260209291908290030181865af4158015610bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf29190611a1b565b15610e455760408051610140810182526006546001600160a01b0316815260006020820152600f546001600160601b03600160601b82048116838501521660608201528151632bd182d360e01b815282519192608084019273__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048083019391928290030181865af4158015610c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cab9190611968565b8152604080518082018252600b548152600c546020828101919091528084019190915281518083018352600d548152600e5491810191909152818301528051632bd182d360e01b8152815160609093019273__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d392600480820193918290030181865af4158015610d38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5c9190611968565b815260200173__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af4158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcd9190611968565b815260200173__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af4158015610e1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3e9190611968565b9052919050565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb39190611a75565b9050806001600160a01b03166390af7064610ede6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161020060405180830381865afa158015610f23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f479190611ab8565b91505090565b6000610f616001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016107dc565b6000610f9c610838565b90506001600160a01b03811615801590610fbf5750336001600160a01b03821614155b15610fdf5760405163700dd81160e01b815233600482015260240161063d565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109ca565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806110966001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016110de610838565b6001600160a01b031681526020018260010180546110fb90611b89565b80601f016020809104026020016040519081016040528092919081815260200182805461112790611b89565b80156111745780601f1061114957610100808354040283529160200191611174565b820191906000526020600020905b81548152906001019060200180831161115757829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000602082840312156111a757600080fd5b81356001600160e01b0319811681146111bf57600080fd5b9392505050565b60005b838110156111e15781810151838201526020016111c9565b50506000910152565b600081518084526112028160208601602086016111c6565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161125a60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526112a06101208401826111ea565b9050828103602084015261082f81856111ea565b6001600160c01b0319811681146112ca57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611306576113066112cd565b60405290565b60405160e0810167ffffffffffffffff81118282101715611306576113066112cd565b604051610100810167ffffffffffffffff81118282101715611306576113066112cd565b604051610140810167ffffffffffffffff81118282101715611306576113066112cd565b604051601f8201601f1916810167ffffffffffffffff811182821017156113a0576113a06112cd565b604052919050565b600067ffffffffffffffff8211156113c2576113c26112cd565b50601f01601f191660200190565b600082601f8301126113e157600080fd5b81356113f46113ef826113a8565b611377565b81815284602083860101111561140957600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b03811681146112ca57600080fd5b60008060008060008060c0878903121561145457600080fd5b863595506020870135611466816112b4565b945060408701359350606087013567ffffffffffffffff81111561148957600080fd5b61149589828a016113d0565b93505060808701356114a6816112b4565b915060a08701356114b681611426565b809150509295509295509295565b600080600080608085870312156114da57600080fd5b8435935060208501356114ec816112b4565b925060408501359150606085013567ffffffffffffffff81111561150f57600080fd5b61151b878288016113d0565b91505092959194509250565b60006040828403121561153957600080fd5b6115416112e3565b9050813581526020820135602082015292915050565b6000806080838503121561156a57600080fd5b6115748484611527565b91506115838460408501611527565b90509250929050565b81516001600160a01b03168152610200810160208301516115b860208401826001600160a01b03169052565b5060408301516115d360408401826001600160601b03169052565b5060608301516115ee60608401826001600160601b03169052565b50608083015161160b608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006116418185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a08501526101209094015180516101c0850152909301516101e090920191909152919050565b805161169c81611426565b919050565b805160ff8116811461169c57600080fd5b8051801515811461169c57600080fd5b6001600160a01b03811681146112ca57600080fd5b805161169c816116c2565b600082601f8301126116f357600080fd5b81516117016113ef826113a8565b81815284602083860101111561171657600080fd5b6117278260208301602087016111c6565b949350505050565b6000806040838503121561174257600080fd5b825167ffffffffffffffff8082111561175a57600080fd5b9084019060e0828703121561176e57600080fd5b61177661130c565b61177f83611691565b815261178d60208401611691565b602082015261179e604084016116a1565b60408201526117af606084016116b2565b60608201526117c0608084016116d7565b60808201526117d160a084016116d7565b60a082015260c0830151828111156117e857600080fd5b6117f4888286016116e2565b60c083015250602086015190945091508082111561181157600080fd5b5061181e858286016116e2565b9150509250929050565b60006040828403121561183a57600080fd5b6118426112e3565b9050815181526020820151602082015292915050565b60008060008060008086880361026081121561187357600080fd5b6101608082121561188357600080fd5b61188b61132f565b915061189689611691565b82526118a460208a016116d7565b6020830152604089015160408301526118c08a60608b01611828565b60608301526118d28a60a08b01611828565b60808301526118e48a60e08b01611828565b60a08301526118f66101208a016116b2565b60c08301526119086101408a016116d7565b60e083015281975061191b818a016116d7565b9650505061192c61018088016116d7565b935061193c886101a08901611828565b925061194c886101e08901611828565b915061195c886102208901611828565b90509295509295509295565b60006040828403121561197a57600080fd5b6111bf8383611828565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526119b760c08401876111ea565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a086880312156119f357600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611a2d57600080fd5b6111bf826116b2565b600060208284031215611a4857600080fd5b81516111bf81611426565b600082611a7057634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a8757600080fd5b81516111bf816116c2565b8251815260208084015181830152825160408301528201516060820152608081016111bf565b60006102008284031215611acb57600080fd5b611ad3611353565b611adc836116d7565b8152611aea602084016116d7565b6020820152611afb60408401611691565b6040820152611b0c60608401611691565b6060820152611b1e8460808501611828565b6080820152611b308460c08501611828565b60a0820152610100611b4485828601611828565b60c0830152611b57856101408601611828565b60e0830152611b6a856101808601611828565b90820152611b7c846101c08501611828565b6101208201529392505050565b600181811c90821680611b9d57607f821691505b602082108103611bbd57634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220e5f9e8a3274cf81f14228e715437be97ea30d11039837684d279a33eea10935964736f6c63430008140033",
|
669
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101205760003560e01c80635ab1bd53116100ad578063b6b412ba11610071578063b6b412ba14610285578063c200b80914610298578063db6dcc95146102ad578063de7b5d14146102b5578063f83d08ba146102c657600080fd5b80635ab1bd53146102395780635e78426b1461024a578063644c45e01461025d578063893d20e814610275578063a69df4b51461027d57600080fd5b806313299604116100f457806313299604146101ca578063138461e0146101ef5780631bdd6b76146101f95780631eff4b221461020157806321df0da71461022857600080fd5b806251884a1461012557806301ffc9a7146101565780630fec111c1461019357806312abb9b3146101a9575b600080fd5b600754600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b610183610164366004611195565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161014d565b61019b6102ce565b60405161014d929190611216565b6101bc6101b736600461143b565b6104ed565b60405190815260200161014d565b6005546001600160a01b03165b6040516001600160a01b03909116815260200161014d565b6101f7610579565b005b61013961079b565b6101bc7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6006546001600160a01b03166101d7565b6001546001600160a01b03166101d7565b6101bc6102583660046114c4565b610822565b600154600160a01b90046001600160601b0316610139565b6101d7610838565b6101f7610951565b6101f7610293366004611557565b6109ff565b6102a0610ab5565b60405161014d919061158c565b610139610f4d565b6007546001600160a01b03166101d7565b6101f7610f92565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290918061031261100f565b91509150600080600960009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561036c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610394919081019061172f565b915091506000806000838060200190518101906103b19190611858565b60408051610140810182526006546001600160a01b0316815260006020820152600f546001600160601b03600160601b82048116838501521660608201528151632bd182d360e01b81528251959b509399509197508d965090945060808501935073__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048082019392918290030181865af415801561044f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104739190611968565b8152604080518082018252600b548152600c546020828101919091528084019190915281518083018352600d548152600e548183015282840152606083018890526080830187905260a0909201859052516104cf92910161158c565b60405160208183030381529060405298509850505050505050509091565b600854604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105289089908b908a908a9089908b90600401611984565b60a060405180830381865afa158015610545573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061056991906119db565b50929a9950505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156105db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ff9190611a1b565b15610646576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b031661066f5760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa1580156106b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106dc9190611a1b565b610704576040516372657a5160e01b81526001600160a01b038216600482015260240161063d565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa15801561074e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107729190611a36565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006107af6001546001600160a01b031690565b600954604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa1580156107f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190611a36565b905090565b600061082f600a86611a53565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561089d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108c19190611a1b565b1561094157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa15801561091d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061081d9190611a75565b506002546001600160a01b031690565b600061095b610838565b90506001600160a01b0381161580159061097e5750336001600160a01b03821614155b1561099e5760405163700dd81160e01b815233600482015260240161063d565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b1580156109e457600080fd5b505af11580156109f8573d6000803e3d6000fd5b5050505050565b6000610a09610838565b90506001600160a01b03811615801590610a2c5750336001600160a01b03821614155b15610a4c5760405163700dd81160e01b815233600482015260240161063d565b600854604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610a7e9086908690600401611a92565b600060405180830381600087803b158015610a9857600080fd5b505af1158015610aac573d6000803e3d6000fd5b50505050505050565b610b5f604080516101408101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e08401528351808501855282815280820183905261010084015283518085019094528184528301529061012082015290565b6001546040805163c4cade9d60e01b8152600160a01b9092046001600160601b03166004830152600060248301525173__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9163c4cade9d9160448083019260209291908290030181865af4158015610bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bf29190611a1b565b15610e455760408051610140810182526006546001600160a01b0316815260006020820152600f546001600160601b03600160601b82048116838501521660608201528151632bd182d360e01b815282519192608084019273__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d39260048083019391928290030181865af4158015610c87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cab9190611968565b8152604080518082018252600b548152600c546020828101919091528084019190915281518083018352600d548152600e5491810191909152818301528051632bd182d360e01b8152815160609093019273__$a23651848365a6a5ca15f07b4331037f48$__92632bd182d392600480820193918290030181865af4158015610d38573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d5c9190611968565b815260200173__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af4158015610da9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dcd9190611968565b815260200173__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af4158015610e1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e3e9190611968565b9052919050565b600754604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610e8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eb39190611a75565b9050806001600160a01b03166390af7064610ede6001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161020060405180830381865afa158015610f23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f479190611ab8565b91505090565b6000610f616001546001600160a01b031690565b600a54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024016107dc565b6000610f9c610838565b90506001600160a01b03811615801590610fbf5750336001600160a01b03821614155b15610fdf5760405163700dd81160e01b815233600482015260240161063d565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a7906024016109ca565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806110966001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016110de610838565b6001600160a01b031681526020018260010180546110fb90611b89565b80601f016020809104026020016040519081016040528092919081815260200182805461112790611b89565b80156111745780601f1061114957610100808354040283529160200191611174565b820191906000526020600020905b81548152906001019060200180831161115757829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b6000602082840312156111a757600080fd5b81356001600160e01b0319811681146111bf57600080fd5b9392505050565b60005b838110156111e15781810151838201526020016111c9565b50506000910152565b600081518084526112028160208601602086016111c6565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161125a60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526112a06101208401826111ea565b9050828103602084015261082f81856111ea565b6001600160c01b0319811681146112ca57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715611306576113066112cd565b60405290565b60405160e0810167ffffffffffffffff81118282101715611306576113066112cd565b604051610100810167ffffffffffffffff81118282101715611306576113066112cd565b604051610140810167ffffffffffffffff81118282101715611306576113066112cd565b604051601f8201601f1916810167ffffffffffffffff811182821017156113a0576113a06112cd565b604052919050565b600067ffffffffffffffff8211156113c2576113c26112cd565b50601f01601f191660200190565b600082601f8301126113e157600080fd5b81356113f46113ef826113a8565b611377565b81815284602083860101111561140957600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b03811681146112ca57600080fd5b60008060008060008060c0878903121561145457600080fd5b863595506020870135611466816112b4565b945060408701359350606087013567ffffffffffffffff81111561148957600080fd5b61149589828a016113d0565b93505060808701356114a6816112b4565b915060a08701356114b681611426565b809150509295509295509295565b600080600080608085870312156114da57600080fd5b8435935060208501356114ec816112b4565b925060408501359150606085013567ffffffffffffffff81111561150f57600080fd5b61151b878288016113d0565b91505092959194509250565b60006040828403121561153957600080fd5b6115416112e3565b9050813581526020820135602082015292915050565b6000806080838503121561156a57600080fd5b6115748484611527565b91506115838460408501611527565b90509250929050565b81516001600160a01b03168152610200810160208301516115b860208401826001600160a01b03169052565b5060408301516115d360408401826001600160601b03169052565b5060608301516115ee60608401826001600160601b03169052565b50608083015161160b608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006116418185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a08501526101209094015180516101c0850152909301516101e090920191909152919050565b805161169c81611426565b919050565b805160ff8116811461169c57600080fd5b8051801515811461169c57600080fd5b6001600160a01b03811681146112ca57600080fd5b805161169c816116c2565b600082601f8301126116f357600080fd5b81516117016113ef826113a8565b81815284602083860101111561171657600080fd5b6117278260208301602087016111c6565b949350505050565b6000806040838503121561174257600080fd5b825167ffffffffffffffff8082111561175a57600080fd5b9084019060e0828703121561176e57600080fd5b61177661130c565b61177f83611691565b815261178d60208401611691565b602082015261179e604084016116a1565b60408201526117af606084016116b2565b60608201526117c0608084016116d7565b60808201526117d160a084016116d7565b60a082015260c0830151828111156117e857600080fd5b6117f4888286016116e2565b60c083015250602086015190945091508082111561181157600080fd5b5061181e858286016116e2565b9150509250929050565b60006040828403121561183a57600080fd5b6118426112e3565b9050815181526020820151602082015292915050565b60008060008060008086880361026081121561187357600080fd5b6101608082121561188357600080fd5b61188b61132f565b915061189689611691565b82526118a460208a016116d7565b6020830152604089015160408301526118c08a60608b01611828565b60608301526118d28a60a08b01611828565b60808301526118e48a60e08b01611828565b60a08301526118f66101208a016116b2565b60c08301526119086101408a016116d7565b60e083015281975061191b818a016116d7565b9650505061192c61018088016116d7565b935061193c886101a08901611828565b925061194c886101e08901611828565b915061195c886102208901611828565b90509295509295509295565b60006040828403121561197a57600080fd5b6111bf8383611828565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c060608401526119b760c08401876111ea565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a086880312156119f357600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611a2d57600080fd5b6111bf826116b2565b600060208284031215611a4857600080fd5b81516111bf81611426565b600082611a7057634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611a8757600080fd5b81516111bf816116c2565b8251815260208084015181830152825160408301528201516060820152608081016111bf565b60006102008284031215611acb57600080fd5b611ad3611353565b611adc836116d7565b8152611aea602084016116d7565b6020820152611afb60408401611691565b6040820152611b0c60608401611691565b6060820152611b1e8460808501611828565b6080820152611b308460c08501611828565b60a0820152610100611b4485828601611828565b60c0830152611b57856101408601611828565b60e0830152611b6a856101808601611828565b90820152611b7c846101c08501611828565b6101208201529392505050565b600181811c90821680611b9d57607f821691505b602082108103611bbd57634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220e5f9e8a3274cf81f14228e715437be97ea30d11039837684d279a33eea10935964736f6c63430008140033",
|
670
|
-
|
671
|
-
|
672
|
-
"
|
673
|
-
|
674
|
-
|
675
|
-
|
676
|
-
},
|
677
|
-
{
|
678
|
-
"length": 20,
|
679
|
-
"start": 6356
|
680
|
-
},
|
681
|
-
{
|
682
|
-
"length": 20,
|
683
|
-
"start": 6534
|
684
|
-
},
|
983
|
+
},
|
984
|
+
{
|
985
|
+
"inputs": [],
|
986
|
+
"name": "lock",
|
987
|
+
"outputs": [],
|
988
|
+
"stateMutability": "nonpayable",
|
989
|
+
"type": "function"
|
990
|
+
},
|
991
|
+
{
|
992
|
+
"inputs": [
|
685
993
|
{
|
686
|
-
"
|
687
|
-
"
|
994
|
+
"internalType": "address",
|
995
|
+
"name": "to",
|
996
|
+
"type": "address"
|
688
997
|
},
|
689
998
|
{
|
690
|
-
"
|
691
|
-
"
|
999
|
+
"internalType": "uint256",
|
1000
|
+
"name": "tokenId",
|
1001
|
+
"type": "uint256"
|
692
1002
|
}
|
693
|
-
]
|
1003
|
+
],
|
1004
|
+
"name": "nftMint",
|
1005
|
+
"outputs": [],
|
1006
|
+
"stateMutability": "nonpayable",
|
1007
|
+
"type": "function"
|
694
1008
|
},
|
695
|
-
|
696
|
-
"
|
1009
|
+
{
|
1010
|
+
"inputs": [
|
697
1011
|
{
|
698
|
-
"
|
699
|
-
"
|
1012
|
+
"internalType": "address",
|
1013
|
+
"name": "from",
|
1014
|
+
"type": "address"
|
700
1015
|
},
|
701
1016
|
{
|
702
|
-
"
|
703
|
-
"
|
1017
|
+
"internalType": "address",
|
1018
|
+
"name": "to",
|
1019
|
+
"type": "address"
|
704
1020
|
},
|
705
1021
|
{
|
706
|
-
"
|
707
|
-
"
|
1022
|
+
"internalType": "uint256",
|
1023
|
+
"name": "tokenId",
|
1024
|
+
"type": "uint256"
|
708
1025
|
}
|
709
|
-
]
|
710
|
-
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
|
1026
|
+
],
|
1027
|
+
"name": "nftTransferFrom",
|
1028
|
+
"outputs": [],
|
1029
|
+
"stateMutability": "nonpayable",
|
1030
|
+
"type": "function"
|
1031
|
+
},
|
1032
|
+
{
|
1033
|
+
"inputs": [
|
715
1034
|
{
|
716
|
-
"
|
717
|
-
"
|
718
|
-
|
1035
|
+
"internalType": "bytes4",
|
1036
|
+
"name": "interfaceId",
|
1037
|
+
"type": "bytes4"
|
1038
|
+
}
|
1039
|
+
],
|
1040
|
+
"name": "registerInterface",
|
1041
|
+
"outputs": [],
|
1042
|
+
"stateMutability": "nonpayable",
|
1043
|
+
"type": "function"
|
1044
|
+
},
|
1045
|
+
{
|
1046
|
+
"inputs": [
|
719
1047
|
{
|
720
|
-
"
|
721
|
-
"
|
722
|
-
|
1048
|
+
"internalType": "address",
|
1049
|
+
"name": "newAuthority",
|
1050
|
+
"type": "address"
|
1051
|
+
}
|
1052
|
+
],
|
1053
|
+
"name": "setAuthority",
|
1054
|
+
"outputs": [],
|
1055
|
+
"stateMutability": "nonpayable",
|
1056
|
+
"type": "function"
|
1057
|
+
},
|
1058
|
+
{
|
1059
|
+
"inputs": [
|
723
1060
|
{
|
724
|
-
"
|
725
|
-
|
1061
|
+
"components": [
|
1062
|
+
{
|
1063
|
+
"internalType": "UFixed",
|
1064
|
+
"name": "fractionalFee",
|
1065
|
+
"type": "uint256"
|
1066
|
+
},
|
1067
|
+
{
|
1068
|
+
"internalType": "uint256",
|
1069
|
+
"name": "fixedFee",
|
1070
|
+
"type": "uint256"
|
1071
|
+
}
|
1072
|
+
],
|
1073
|
+
"internalType": "struct Fee",
|
1074
|
+
"name": "productFee",
|
1075
|
+
"type": "tuple"
|
726
1076
|
},
|
727
1077
|
{
|
728
|
-
"
|
729
|
-
|
730
|
-
|
1078
|
+
"components": [
|
1079
|
+
{
|
1080
|
+
"internalType": "UFixed",
|
1081
|
+
"name": "fractionalFee",
|
1082
|
+
"type": "uint256"
|
1083
|
+
},
|
1084
|
+
{
|
1085
|
+
"internalType": "uint256",
|
1086
|
+
"name": "fixedFee",
|
1087
|
+
"type": "uint256"
|
1088
|
+
}
|
1089
|
+
],
|
1090
|
+
"internalType": "struct Fee",
|
1091
|
+
"name": "processingFee",
|
1092
|
+
"type": "tuple"
|
1093
|
+
}
|
1094
|
+
],
|
1095
|
+
"name": "setFees",
|
1096
|
+
"outputs": [],
|
1097
|
+
"stateMutability": "nonpayable",
|
1098
|
+
"type": "function"
|
1099
|
+
},
|
1100
|
+
{
|
1101
|
+
"inputs": [
|
731
1102
|
{
|
732
|
-
"
|
733
|
-
"
|
1103
|
+
"internalType": "NftId",
|
1104
|
+
"name": "productNftId",
|
1105
|
+
"type": "uint96"
|
734
1106
|
}
|
735
|
-
]
|
1107
|
+
],
|
1108
|
+
"name": "setProductNftId",
|
1109
|
+
"outputs": [],
|
1110
|
+
"stateMutability": "nonpayable",
|
1111
|
+
"type": "function"
|
736
1112
|
},
|
737
|
-
|
738
|
-
"
|
1113
|
+
{
|
1114
|
+
"inputs": [
|
739
1115
|
{
|
740
|
-
"
|
741
|
-
"
|
742
|
-
|
1116
|
+
"internalType": "address",
|
1117
|
+
"name": "newWallet",
|
1118
|
+
"type": "address"
|
1119
|
+
}
|
1120
|
+
],
|
1121
|
+
"name": "setWallet",
|
1122
|
+
"outputs": [],
|
1123
|
+
"stateMutability": "nonpayable",
|
1124
|
+
"type": "function"
|
1125
|
+
},
|
1126
|
+
{
|
1127
|
+
"inputs": [
|
743
1128
|
{
|
744
|
-
"
|
745
|
-
"
|
746
|
-
|
1129
|
+
"internalType": "bytes4",
|
1130
|
+
"name": "interfaceId",
|
1131
|
+
"type": "bytes4"
|
1132
|
+
}
|
1133
|
+
],
|
1134
|
+
"name": "supportsInterface",
|
1135
|
+
"outputs": [
|
747
1136
|
{
|
748
|
-
"
|
749
|
-
"
|
1137
|
+
"internalType": "bool",
|
1138
|
+
"name": "",
|
1139
|
+
"type": "bool"
|
750
1140
|
}
|
751
|
-
]
|
1141
|
+
],
|
1142
|
+
"stateMutability": "view",
|
1143
|
+
"type": "function"
|
1144
|
+
},
|
1145
|
+
{
|
1146
|
+
"inputs": [],
|
1147
|
+
"name": "unlock",
|
1148
|
+
"outputs": [],
|
1149
|
+
"stateMutability": "nonpayable",
|
1150
|
+
"type": "function"
|
752
1151
|
}
|
753
|
-
|
1152
|
+
],
|
1153
|
+
"bytecode": "0x",
|
1154
|
+
"deployedBytecode": "0x",
|
1155
|
+
"linkReferences": {},
|
1156
|
+
"deployedLinkReferences": {}
|
754
1157
|
}
|