@etherisc/gif-next 0.0.2-d02cb80-460 → 0.0.2-d086e6d-456
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +78 -1
- 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 +853 -296
- package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
- package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +225 -89
- 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 +725 -316
- package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
- package/artifacts/contracts/components/Product.sol/Product.json +524 -240
- 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 -79
- 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 +1038 -395
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
- package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +290 -220
- package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
- package/artifacts/contracts/instance/Instance.sol/Instance.json +1038 -784
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +432 -186
- 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 +448 -418
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +303 -138
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
- package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
- 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} +278 -157
- 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 +61 -67
- 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 +1058 -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 +1 -1
- package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +625 -290
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +356 -79
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +844 -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 +1 -1
- package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1385 -247
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +450 -73
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
- package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +646 -0
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +278 -264
- 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} +227 -194
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +791 -134
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +216 -250
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +502 -133
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +95 -157
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +474 -347
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +321 -96
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +801 -255
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +307 -78
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +308 -209
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
- package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +305 -76
- 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 +158 -215
- 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 +202 -318
- 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 +547 -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 +95 -157
- 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 +195 -148
- 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 +213 -202
- 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 +217 -185
- package/contracts/components/Product.sol +125 -124
- 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 +52 -14
- package/contracts/instance/IInstanceService.sol +39 -9
- package/contracts/instance/Instance.sol +126 -75
- package/contracts/instance/InstanceAccessManager.sol +383 -166
- package/contracts/instance/InstanceReader.sol +10 -34
- package/contracts/instance/InstanceService.sol +312 -128
- package/contracts/instance/InstanceServiceManager.sol +6 -9
- package/contracts/instance/ObjectManager.sol +10 -29
- package/contracts/instance/base/ComponentService.sol +136 -0
- package/contracts/instance/base/KeyValueStore.sol +13 -5
- package/contracts/instance/base/Lifecycle.sol +11 -2
- package/contracts/instance/module/IAccess.sol +23 -17
- 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 +239 -68
- package/contracts/instance/service/BundleServiceManager.sol +6 -9
- package/contracts/instance/service/ClaimService.sol +151 -0
- package/contracts/instance/service/ClaimServiceManager.sol +35 -0
- package/contracts/instance/service/DistributionService.sol +367 -50
- package/contracts/instance/service/DistributionServiceManager.sol +7 -10
- package/contracts/instance/service/IApplicationService.sol +82 -0
- package/contracts/instance/service/IBundleService.sol +67 -19
- package/contracts/instance/service/IClaimService.sol +61 -0
- package/contracts/instance/service/IDistributionService.sol +86 -0
- package/contracts/instance/service/IPolicyService.sol +34 -49
- package/contracts/instance/service/IPoolService.sol +82 -3
- package/contracts/instance/service/PolicyService.sol +199 -347
- package/contracts/instance/service/PolicyServiceManager.sol +2 -2
- package/contracts/instance/service/PoolService.sol +264 -45
- package/contracts/instance/service/PoolServiceManager.sol +6 -9
- package/contracts/instance/service/ProductService.sol +93 -56
- 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 +100 -173
- package/contracts/registry/RegistryServiceManager.sol +21 -39
- package/contracts/registry/ReleaseManager.sol +322 -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 +8 -2
- 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 +30 -22
- 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 +19 -15
- 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 -384
- 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/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
- package/contracts/components/BaseComponent.sol +0 -145
- package/contracts/components/IBaseComponent.sol +0 -32
- 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 -72
- package/contracts/instance/base/IInstanceBase.sol +0 -23
- package/contracts/instance/service/ComponentOwnerService.sol +0 -317
- package/contracts/instance/service/IComponentOwnerService.sol +0 -20
- package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -7,76 +7,39 @@
|
|
7
7
|
"inputs": [
|
8
8
|
{
|
9
9
|
"internalType": "address",
|
10
|
-
"name": "
|
11
|
-
"type": "address"
|
12
|
-
},
|
13
|
-
{
|
14
|
-
"internalType": "NftId",
|
15
|
-
"name": "instanceNftid",
|
16
|
-
"type": "uint96"
|
17
|
-
},
|
18
|
-
{
|
19
|
-
"internalType": "address",
|
20
|
-
"name": "token",
|
21
|
-
"type": "address"
|
22
|
-
},
|
23
|
-
{
|
24
|
-
"internalType": "bool",
|
25
|
-
"name": "isInterceptor",
|
26
|
-
"type": "bool"
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"internalType": "address",
|
30
|
-
"name": "pool",
|
10
|
+
"name": "authority",
|
31
11
|
"type": "address"
|
32
|
-
}
|
12
|
+
}
|
13
|
+
],
|
14
|
+
"name": "AccessManagedInvalidAuthority",
|
15
|
+
"type": "error"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"inputs": [
|
33
19
|
{
|
34
20
|
"internalType": "address",
|
35
|
-
"name": "
|
21
|
+
"name": "caller",
|
36
22
|
"type": "address"
|
37
23
|
},
|
38
24
|
{
|
39
|
-
"
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
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
|
-
},
|
25
|
+
"internalType": "uint32",
|
26
|
+
"name": "delay",
|
27
|
+
"type": "uint32"
|
28
|
+
}
|
29
|
+
],
|
30
|
+
"name": "AccessManagedRequiredDelay",
|
31
|
+
"type": "error"
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"inputs": [
|
72
35
|
{
|
73
36
|
"internalType": "address",
|
74
|
-
"name": "
|
37
|
+
"name": "caller",
|
75
38
|
"type": "address"
|
76
39
|
}
|
77
40
|
],
|
78
|
-
"
|
79
|
-
"type": "
|
41
|
+
"name": "AccessManagedUnauthorized",
|
42
|
+
"type": "error"
|
80
43
|
},
|
81
44
|
{
|
82
45
|
"inputs": [
|
@@ -104,43 +67,48 @@
|
|
104
67
|
"inputs": [
|
105
68
|
{
|
106
69
|
"internalType": "address",
|
107
|
-
"name": "
|
70
|
+
"name": "caller",
|
108
71
|
"type": "address"
|
109
|
-
},
|
110
|
-
{
|
111
|
-
"internalType": "NftId",
|
112
|
-
"name": "nftId",
|
113
|
-
"type": "uint96"
|
114
72
|
}
|
115
73
|
],
|
116
|
-
"name": "
|
74
|
+
"name": "ErrorComponentNotChainNft",
|
117
75
|
"type": "error"
|
118
76
|
},
|
119
77
|
{
|
120
78
|
"inputs": [
|
121
79
|
{
|
122
|
-
"internalType": "
|
123
|
-
"name": "
|
124
|
-
"type": "
|
125
|
-
},
|
126
|
-
{
|
127
|
-
"internalType": "uint64",
|
128
|
-
"name": "requiredRoleIdNum",
|
129
|
-
"type": "uint64"
|
80
|
+
"internalType": "NftId",
|
81
|
+
"name": "instanceNftId",
|
82
|
+
"type": "uint96"
|
130
83
|
}
|
131
84
|
],
|
132
|
-
"name": "
|
85
|
+
"name": "ErrorComponentNotInstance",
|
133
86
|
"type": "error"
|
134
87
|
},
|
135
88
|
{
|
136
89
|
"inputs": [
|
137
90
|
{
|
138
91
|
"internalType": "address",
|
139
|
-
"name": "
|
92
|
+
"name": "caller",
|
140
93
|
"type": "address"
|
141
94
|
}
|
142
95
|
],
|
143
|
-
"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",
|
144
112
|
"type": "error"
|
145
113
|
},
|
146
114
|
{
|
@@ -166,72 +134,56 @@
|
|
166
134
|
"type": "uint256"
|
167
135
|
}
|
168
136
|
],
|
169
|
-
"name": "
|
137
|
+
"name": "ErrorComponentWalletAllowanceTooSmall",
|
170
138
|
"type": "error"
|
171
139
|
},
|
172
140
|
{
|
173
141
|
"inputs": [
|
174
142
|
{
|
175
|
-
"internalType": "
|
176
|
-
"name": "
|
177
|
-
"type": "
|
143
|
+
"internalType": "NftId",
|
144
|
+
"name": "nftId",
|
145
|
+
"type": "uint96"
|
178
146
|
}
|
179
147
|
],
|
180
|
-
"name": "
|
148
|
+
"name": "ErrorNftOwnableAlreadyLinked",
|
181
149
|
"type": "error"
|
182
150
|
},
|
183
151
|
{
|
184
152
|
"inputs": [
|
185
153
|
{
|
186
154
|
"internalType": "address",
|
187
|
-
"name": "
|
155
|
+
"name": "contractAddress",
|
188
156
|
"type": "address"
|
189
157
|
}
|
190
158
|
],
|
191
|
-
"name": "
|
159
|
+
"name": "ErrorNftOwnableContractNotRegistered",
|
192
160
|
"type": "error"
|
193
161
|
},
|
194
162
|
{
|
195
|
-
"inputs": [
|
196
|
-
|
197
|
-
"internalType": "address",
|
198
|
-
"name": "registryAddress",
|
199
|
-
"type": "address"
|
200
|
-
}
|
201
|
-
],
|
202
|
-
"name": "ErrorNotRegistry",
|
163
|
+
"inputs": [],
|
164
|
+
"name": "ErrorNftOwnableInitialOwnerZero",
|
203
165
|
"type": "error"
|
204
166
|
},
|
205
167
|
{
|
206
168
|
"inputs": [
|
207
169
|
{
|
208
170
|
"internalType": "address",
|
209
|
-
"name": "
|
171
|
+
"name": "account",
|
210
172
|
"type": "address"
|
211
173
|
}
|
212
174
|
],
|
213
|
-
"name": "
|
214
|
-
"type": "error"
|
215
|
-
},
|
216
|
-
{
|
217
|
-
"inputs": [],
|
218
|
-
"name": "ErrorRegistryAddressZero",
|
175
|
+
"name": "ErrorNftOwnableNotOwner",
|
219
176
|
"type": "error"
|
220
177
|
},
|
221
178
|
{
|
222
179
|
"inputs": [
|
223
180
|
{
|
224
181
|
"internalType": "address",
|
225
|
-
"name": "
|
182
|
+
"name": "registryAddress",
|
226
183
|
"type": "address"
|
227
184
|
}
|
228
185
|
],
|
229
|
-
"name": "
|
230
|
-
"type": "error"
|
231
|
-
},
|
232
|
-
{
|
233
|
-
"inputs": [],
|
234
|
-
"name": "ErrorRegistryNotInitialized",
|
186
|
+
"name": "ErrorNotRegistry",
|
235
187
|
"type": "error"
|
236
188
|
},
|
237
189
|
{
|
@@ -260,6 +212,19 @@
|
|
260
212
|
"name": "SafeERC20FailedOperation",
|
261
213
|
"type": "error"
|
262
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
|
+
},
|
263
228
|
{
|
264
229
|
"anonymous": false,
|
265
230
|
"inputs": [
|
@@ -276,6 +241,12 @@
|
|
276
241
|
{
|
277
242
|
"anonymous": false,
|
278
243
|
"inputs": [
|
244
|
+
{
|
245
|
+
"indexed": false,
|
246
|
+
"internalType": "address",
|
247
|
+
"name": "oldWallet",
|
248
|
+
"type": "address"
|
249
|
+
},
|
279
250
|
{
|
280
251
|
"indexed": false,
|
281
252
|
"internalType": "address",
|
@@ -283,7 +254,7 @@
|
|
283
254
|
"type": "address"
|
284
255
|
}
|
285
256
|
],
|
286
|
-
"name": "
|
257
|
+
"name": "LogComponentWalletAddressChanged",
|
287
258
|
"type": "event"
|
288
259
|
},
|
289
260
|
{
|
@@ -308,9 +279,48 @@
|
|
308
279
|
"type": "uint256"
|
309
280
|
}
|
310
281
|
],
|
311
|
-
"name": "
|
282
|
+
"name": "LogComponentWalletTokensTransferred",
|
312
283
|
"type": "event"
|
313
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
|
+
},
|
314
324
|
{
|
315
325
|
"inputs": [],
|
316
326
|
"name": "REGISTERABLE_LOCATION_V1",
|
@@ -324,6 +334,19 @@
|
|
324
334
|
"stateMutability": "view",
|
325
335
|
"type": "function"
|
326
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
|
+
},
|
327
350
|
{
|
328
351
|
"inputs": [
|
329
352
|
{
|
@@ -337,9 +360,9 @@
|
|
337
360
|
"type": "bytes8"
|
338
361
|
},
|
339
362
|
{
|
340
|
-
"internalType": "
|
363
|
+
"internalType": "Seconds",
|
341
364
|
"name": "lifetime",
|
342
|
-
"type": "
|
365
|
+
"type": "uint40"
|
343
366
|
},
|
344
367
|
{
|
345
368
|
"internalType": "bytes",
|
@@ -371,24 +394,24 @@
|
|
371
394
|
"type": "bytes8"
|
372
395
|
},
|
373
396
|
{
|
374
|
-
"internalType": "
|
397
|
+
"internalType": "Seconds",
|
375
398
|
"name": "lifetime",
|
376
|
-
"type": "
|
399
|
+
"type": "uint40"
|
377
400
|
},
|
378
401
|
{
|
379
402
|
"internalType": "bytes",
|
380
403
|
"name": "applicationData",
|
381
404
|
"type": "bytes"
|
382
405
|
},
|
383
|
-
{
|
384
|
-
"internalType": "ReferralId",
|
385
|
-
"name": "referralId",
|
386
|
-
"type": "bytes8"
|
387
|
-
},
|
388
406
|
{
|
389
407
|
"internalType": "NftId",
|
390
408
|
"name": "bundleNftId",
|
391
409
|
"type": "uint96"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"internalType": "ReferralId",
|
413
|
+
"name": "referralId",
|
414
|
+
"type": "bytes8"
|
392
415
|
}
|
393
416
|
],
|
394
417
|
"name": "calculatePremium",
|
@@ -402,6 +425,56 @@
|
|
402
425
|
"stateMutability": "view",
|
403
426
|
"type": "function"
|
404
427
|
},
|
428
|
+
{
|
429
|
+
"inputs": [],
|
430
|
+
"name": "getComponentInfo",
|
431
|
+
"outputs": [
|
432
|
+
{
|
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": "Amount",
|
456
|
+
"name": "balanceAmount",
|
457
|
+
"type": "uint96"
|
458
|
+
},
|
459
|
+
{
|
460
|
+
"internalType": "Amount",
|
461
|
+
"name": "feeAmount",
|
462
|
+
"type": "uint96"
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"internalType": "bytes",
|
466
|
+
"name": "data",
|
467
|
+
"type": "bytes"
|
468
|
+
}
|
469
|
+
],
|
470
|
+
"internalType": "struct IComponents.ComponentInfo",
|
471
|
+
"name": "info",
|
472
|
+
"type": "tuple"
|
473
|
+
}
|
474
|
+
],
|
475
|
+
"stateMutability": "view",
|
476
|
+
"type": "function"
|
477
|
+
},
|
405
478
|
{
|
406
479
|
"inputs": [],
|
407
480
|
"name": "getDistributionNftId",
|
@@ -458,13 +531,8 @@
|
|
458
531
|
}
|
459
532
|
],
|
460
533
|
"internalType": "struct IRegistry.ObjectInfo",
|
461
|
-
"name": "",
|
534
|
+
"name": "info",
|
462
535
|
"type": "tuple"
|
463
|
-
},
|
464
|
-
{
|
465
|
-
"internalType": "bytes",
|
466
|
-
"name": "",
|
467
|
-
"type": "bytes"
|
468
536
|
}
|
469
537
|
],
|
470
538
|
"stateMutability": "view",
|
@@ -483,6 +551,19 @@
|
|
483
551
|
"stateMutability": "view",
|
484
552
|
"type": "function"
|
485
553
|
},
|
554
|
+
{
|
555
|
+
"inputs": [],
|
556
|
+
"name": "getName",
|
557
|
+
"outputs": [
|
558
|
+
{
|
559
|
+
"internalType": "string",
|
560
|
+
"name": "name",
|
561
|
+
"type": "string"
|
562
|
+
}
|
563
|
+
],
|
564
|
+
"stateMutability": "view",
|
565
|
+
"type": "function"
|
566
|
+
},
|
486
567
|
{
|
487
568
|
"inputs": [],
|
488
569
|
"name": "getNftId",
|
@@ -548,6 +629,19 @@
|
|
548
629
|
"stateMutability": "view",
|
549
630
|
"type": "function"
|
550
631
|
},
|
632
|
+
{
|
633
|
+
"inputs": [],
|
634
|
+
"name": "getRegistryAddress",
|
635
|
+
"outputs": [
|
636
|
+
{
|
637
|
+
"internalType": "address",
|
638
|
+
"name": "",
|
639
|
+
"type": "address"
|
640
|
+
}
|
641
|
+
],
|
642
|
+
"stateMutability": "view",
|
643
|
+
"type": "function"
|
644
|
+
},
|
551
645
|
{
|
552
646
|
"inputs": [],
|
553
647
|
"name": "getSetupInfo",
|
@@ -574,23 +668,6 @@
|
|
574
668
|
"name": "poolNftId",
|
575
669
|
"type": "uint96"
|
576
670
|
},
|
577
|
-
{
|
578
|
-
"components": [
|
579
|
-
{
|
580
|
-
"internalType": "UFixed",
|
581
|
-
"name": "fractionalFee",
|
582
|
-
"type": "uint256"
|
583
|
-
},
|
584
|
-
{
|
585
|
-
"internalType": "uint256",
|
586
|
-
"name": "fixedFee",
|
587
|
-
"type": "uint256"
|
588
|
-
}
|
589
|
-
],
|
590
|
-
"internalType": "struct Fee",
|
591
|
-
"name": "distributionFee",
|
592
|
-
"type": "tuple"
|
593
|
-
},
|
594
671
|
{
|
595
672
|
"components": [
|
596
673
|
{
|
@@ -625,57 +702,6 @@
|
|
625
702
|
"name": "processingFee",
|
626
703
|
"type": "tuple"
|
627
704
|
},
|
628
|
-
{
|
629
|
-
"components": [
|
630
|
-
{
|
631
|
-
"internalType": "UFixed",
|
632
|
-
"name": "fractionalFee",
|
633
|
-
"type": "uint256"
|
634
|
-
},
|
635
|
-
{
|
636
|
-
"internalType": "uint256",
|
637
|
-
"name": "fixedFee",
|
638
|
-
"type": "uint256"
|
639
|
-
}
|
640
|
-
],
|
641
|
-
"internalType": "struct Fee",
|
642
|
-
"name": "poolFee",
|
643
|
-
"type": "tuple"
|
644
|
-
},
|
645
|
-
{
|
646
|
-
"components": [
|
647
|
-
{
|
648
|
-
"internalType": "UFixed",
|
649
|
-
"name": "fractionalFee",
|
650
|
-
"type": "uint256"
|
651
|
-
},
|
652
|
-
{
|
653
|
-
"internalType": "uint256",
|
654
|
-
"name": "fixedFee",
|
655
|
-
"type": "uint256"
|
656
|
-
}
|
657
|
-
],
|
658
|
-
"internalType": "struct Fee",
|
659
|
-
"name": "stakingFee",
|
660
|
-
"type": "tuple"
|
661
|
-
},
|
662
|
-
{
|
663
|
-
"components": [
|
664
|
-
{
|
665
|
-
"internalType": "UFixed",
|
666
|
-
"name": "fractionalFee",
|
667
|
-
"type": "uint256"
|
668
|
-
},
|
669
|
-
{
|
670
|
-
"internalType": "uint256",
|
671
|
-
"name": "fixedFee",
|
672
|
-
"type": "uint256"
|
673
|
-
}
|
674
|
-
],
|
675
|
-
"internalType": "struct Fee",
|
676
|
-
"name": "performanceFee",
|
677
|
-
"type": "tuple"
|
678
|
-
},
|
679
705
|
{
|
680
706
|
"internalType": "bool",
|
681
707
|
"name": "isIntercepting",
|
@@ -722,21 +748,115 @@
|
|
722
748
|
"type": "function"
|
723
749
|
},
|
724
750
|
{
|
725
|
-
"inputs": [
|
726
|
-
|
751
|
+
"inputs": [
|
752
|
+
{
|
753
|
+
"internalType": "address",
|
754
|
+
"name": "registry",
|
755
|
+
"type": "address"
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"internalType": "NftId",
|
759
|
+
"name": "instanceNftId",
|
760
|
+
"type": "uint96"
|
761
|
+
},
|
762
|
+
{
|
763
|
+
"internalType": "string",
|
764
|
+
"name": "name",
|
765
|
+
"type": "string"
|
766
|
+
},
|
767
|
+
{
|
768
|
+
"internalType": "address",
|
769
|
+
"name": "token",
|
770
|
+
"type": "address"
|
771
|
+
},
|
772
|
+
{
|
773
|
+
"internalType": "ObjectType",
|
774
|
+
"name": "componentType",
|
775
|
+
"type": "uint8"
|
776
|
+
},
|
777
|
+
{
|
778
|
+
"internalType": "bool",
|
779
|
+
"name": "isInterceptor",
|
780
|
+
"type": "bool"
|
781
|
+
},
|
782
|
+
{
|
783
|
+
"internalType": "address",
|
784
|
+
"name": "initialOwner",
|
785
|
+
"type": "address"
|
786
|
+
},
|
787
|
+
{
|
788
|
+
"internalType": "bytes",
|
789
|
+
"name": "registryData",
|
790
|
+
"type": "bytes"
|
791
|
+
}
|
792
|
+
],
|
793
|
+
"name": "initializeComponent",
|
727
794
|
"outputs": [],
|
728
795
|
"stateMutability": "nonpayable",
|
729
796
|
"type": "function"
|
730
797
|
},
|
731
798
|
{
|
732
799
|
"inputs": [],
|
733
|
-
"name": "
|
800
|
+
"name": "initializeERC165",
|
734
801
|
"outputs": [],
|
735
802
|
"stateMutability": "nonpayable",
|
736
803
|
"type": "function"
|
737
804
|
},
|
738
805
|
{
|
739
806
|
"inputs": [
|
807
|
+
{
|
808
|
+
"internalType": "address",
|
809
|
+
"name": "initialOwner",
|
810
|
+
"type": "address"
|
811
|
+
},
|
812
|
+
{
|
813
|
+
"internalType": "address",
|
814
|
+
"name": "registryAddress",
|
815
|
+
"type": "address"
|
816
|
+
}
|
817
|
+
],
|
818
|
+
"name": "initializeNftOwnable",
|
819
|
+
"outputs": [],
|
820
|
+
"stateMutability": "nonpayable",
|
821
|
+
"type": "function"
|
822
|
+
},
|
823
|
+
{
|
824
|
+
"inputs": [
|
825
|
+
{
|
826
|
+
"internalType": "address",
|
827
|
+
"name": "registry",
|
828
|
+
"type": "address"
|
829
|
+
},
|
830
|
+
{
|
831
|
+
"internalType": "NftId",
|
832
|
+
"name": "instanceNftId",
|
833
|
+
"type": "uint96"
|
834
|
+
},
|
835
|
+
{
|
836
|
+
"internalType": "string",
|
837
|
+
"name": "name",
|
838
|
+
"type": "string"
|
839
|
+
},
|
840
|
+
{
|
841
|
+
"internalType": "address",
|
842
|
+
"name": "token",
|
843
|
+
"type": "address"
|
844
|
+
},
|
845
|
+
{
|
846
|
+
"internalType": "bool",
|
847
|
+
"name": "isInterceptor",
|
848
|
+
"type": "bool"
|
849
|
+
},
|
850
|
+
{
|
851
|
+
"internalType": "address",
|
852
|
+
"name": "pool",
|
853
|
+
"type": "address"
|
854
|
+
},
|
855
|
+
{
|
856
|
+
"internalType": "address",
|
857
|
+
"name": "distribution",
|
858
|
+
"type": "address"
|
859
|
+
},
|
740
860
|
{
|
741
861
|
"components": [
|
742
862
|
{
|
@@ -770,22 +890,57 @@
|
|
770
890
|
"internalType": "struct Fee",
|
771
891
|
"name": "processingFee",
|
772
892
|
"type": "tuple"
|
893
|
+
},
|
894
|
+
{
|
895
|
+
"internalType": "address",
|
896
|
+
"name": "initialOwner",
|
897
|
+
"type": "address"
|
898
|
+
},
|
899
|
+
{
|
900
|
+
"internalType": "bytes",
|
901
|
+
"name": "registryData",
|
902
|
+
"type": "bytes"
|
773
903
|
}
|
774
904
|
],
|
775
|
-
"name": "
|
905
|
+
"name": "initializeProduct",
|
776
906
|
"outputs": [],
|
777
907
|
"stateMutability": "nonpayable",
|
778
908
|
"type": "function"
|
779
909
|
},
|
780
910
|
{
|
781
911
|
"inputs": [
|
912
|
+
{
|
913
|
+
"internalType": "address",
|
914
|
+
"name": "registryAddress",
|
915
|
+
"type": "address"
|
916
|
+
},
|
782
917
|
{
|
783
918
|
"internalType": "NftId",
|
784
|
-
"name": "
|
919
|
+
"name": "parentNftId",
|
785
920
|
"type": "uint96"
|
921
|
+
},
|
922
|
+
{
|
923
|
+
"internalType": "ObjectType",
|
924
|
+
"name": "objectType",
|
925
|
+
"type": "uint8"
|
926
|
+
},
|
927
|
+
{
|
928
|
+
"internalType": "bool",
|
929
|
+
"name": "isInterceptor",
|
930
|
+
"type": "bool"
|
931
|
+
},
|
932
|
+
{
|
933
|
+
"internalType": "address",
|
934
|
+
"name": "initialOwner",
|
935
|
+
"type": "address"
|
936
|
+
},
|
937
|
+
{
|
938
|
+
"internalType": "bytes",
|
939
|
+
"name": "registryData",
|
940
|
+
"type": "bytes"
|
786
941
|
}
|
787
942
|
],
|
788
|
-
"name": "
|
943
|
+
"name": "initializeRegisterable",
|
789
944
|
"outputs": [],
|
790
945
|
"stateMutability": "nonpayable",
|
791
946
|
"type": "function"
|
@@ -794,28 +949,35 @@
|
|
794
949
|
"inputs": [
|
795
950
|
{
|
796
951
|
"internalType": "address",
|
797
|
-
"name": "
|
952
|
+
"name": "registryAddress",
|
798
953
|
"type": "address"
|
799
954
|
}
|
800
955
|
],
|
801
|
-
"name": "
|
956
|
+
"name": "initializeRegistryLinked",
|
802
957
|
"outputs": [],
|
803
958
|
"stateMutability": "nonpayable",
|
804
959
|
"type": "function"
|
805
960
|
},
|
806
961
|
{
|
807
|
-
"inputs": [
|
962
|
+
"inputs": [],
|
963
|
+
"name": "isConsumingScheduledOp",
|
964
|
+
"outputs": [
|
808
965
|
{
|
809
966
|
"internalType": "bytes4",
|
810
|
-
"name": "
|
967
|
+
"name": "",
|
811
968
|
"type": "bytes4"
|
812
969
|
}
|
813
970
|
],
|
814
|
-
"
|
971
|
+
"stateMutability": "view",
|
972
|
+
"type": "function"
|
973
|
+
},
|
974
|
+
{
|
975
|
+
"inputs": [],
|
976
|
+
"name": "isNftInterceptor",
|
815
977
|
"outputs": [
|
816
978
|
{
|
817
979
|
"internalType": "bool",
|
818
|
-
"name": "",
|
980
|
+
"name": "isInterceptor",
|
819
981
|
"type": "bool"
|
820
982
|
}
|
821
983
|
],
|
@@ -824,60 +986,182 @@
|
|
824
986
|
},
|
825
987
|
{
|
826
988
|
"inputs": [],
|
827
|
-
"name": "
|
989
|
+
"name": "linkToRegisteredNftId",
|
828
990
|
"outputs": [],
|
829
991
|
"stateMutability": "nonpayable",
|
830
992
|
"type": "function"
|
831
|
-
}
|
832
|
-
|
833
|
-
"bytecode": "0x60806040523480156200001157600080fd5b50604051620034f9380380620034f9833981016040819052620000349162000bee565b888888606e89856200006c6301ffc9a760e01b6000908152602052600080516020620034d9833981519152805460ff19166001179055565b600280546001600160a01b031916331790556040805160208101909152600081526200009d878786868686620007d5565b6000620000b26001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03891660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000102573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200012c919081019062000d63565b6080810151600880546001600160a01b0319166001600160a01b0390921691821790556040516301ffc9a760e01b815263d442f11960e01b6004820152919250906301ffc9a790602401602060405180830381865afa15801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba919062000e49565b620001e65760405162461bcd60e51b815260206004820152600060248201526044015b60405180910390fd5b600860009054906101000a90046001600160a01b03166001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200023a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000260919062000e6e565b600380546001600160a01b0319166001600160a01b0392831617905560015416604051632efe011360e01b81526003600482015260006024820181905260448201526001600160a01b03919091169063a3bcd81d9073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620002f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000318919062000e8e565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af41580156200036e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000394919062000eb5565b604080516001600160e01b031960e085901b1681526004810191909152600f60448201526e496e7374616e63655365727669636560881b606482015260ff9091166024820152608401602060405180830381865afa158015620003fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000421919062000e6e565b600480546001600160a01b03199081166001600160a01b03938416179091556006805430908316179055600780549091169188169190911790556346b32da560e01b60009081526020527f0c74615b9065379cafc5e4e9d82ac4cbed23f75e35c2545793f8045351389f6c805460ff191660011790555050505050505050600860009054906101000a90046001600160a01b03166001600160a01b0316634288121d6040518163ffffffff1660e01b8152600401602060405180830381865afa158015620004f3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000519919062000e6e565b600980546001600160a01b0319166001600160a01b039283161790556008546040805163e1033e7d60e01b81529051919092169163e1033e7d9160048083019260209291908290030181865afa15801562000578573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200059e919062000e6e565b600a80546001600160a01b03199081166001600160a01b0393841617909155600b80548216888416179055600c80549091169186169190911790558251600d55602080840151600e558251600f558201516010556040518790620006029062000ac9565b6001600160a01b039091168152602001604051809103906000f0801580156200062f573d6000803e3d6000fd5b50601180546001600160a01b0319166001600160a01b0392831617905560015416600b54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa1580156200069a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006c0919062000ed5565b601180546001600160601b0392909216600160a01b026001600160a01b03909216919091179055620006fa6001546001600160a01b031690565b600c54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e90602401602060405180830381865afa15801562000744573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200076a919062000ed5565b601280546001600160601b0319166001600160601b0392909216919091179055633ad74e8160e01b60009081526020527f6d6f21c9f977ce279ee1b58c3ce3ac0b612bbc5256f6c821ab515558c7e6a0a8805460ff191660011790555050505050505050506200104e565b620008066301ffc9a760e01b6000908152602052600080516020620034d9833981519152805460ff19166001179055565b620008128287620008d7565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000891838262000f82565b506303fb044760e21b60009081526020527fb43e4f3791bfcdefa3a0fbe2a5555f8d6490b90e01de0ff40c66f18b49b562c5805460ff1916600117905550505050505050565b6001600160a01b0382166200092f5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401620001dd565b600280546001600160a01b0319166001600160a01b038416179055620009558162000959565b5050565b6001546001600160a01b031615620009945760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620001dd565b6001600160a01b038116620009bc5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620009f45760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152632eaf856d60e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562000a71575060408051601f3d908101601f1916820190925262000a6e9181019062000e49565b60015b62000a9b5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620001dd565b80620009555760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620001dd565b50565b6103fd80620030dc83390190565b6001600160a01b038116811462000ac657600080fd5b805162000afa8162000ad7565b919050565b80516001600160601b038116811462000afa57600080fd5b8051801515811462000afa57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405160e081016001600160401b038111828210171562000b635762000b6362000b28565b60405290565b604051601f8201601f191681016001600160401b038111828210171562000b945762000b9462000b28565b604052919050565b60006040828403121562000baf57600080fd5b604080519081016001600160401b038111828210171562000bd45762000bd462000b28565b604052825181526020928301519281019290925250919050565b60008060008060008060008060006101608a8c03121562000c0e57600080fd5b895162000c1b8162000ad7565b985062000c2b60208b0162000aff565b975060408a015162000c3d8162000ad7565b965062000c4d60608b0162000b17565b955060808a015162000c5f8162000ad7565b60a08b015190955062000c728162000ad7565b935062000c838b60c08c0162000b9c565b925062000c958b6101008c0162000b9c565b91506101408a015162000ca88162000ad7565b809150509295985092959850929598565b60ff8116811462000ac657600080fd5b805162000afa8162000cb9565b600082601f83011262000ce857600080fd5b81516001600160401b0381111562000d045762000d0462000b28565b602062000d1a601f8301601f1916820162000b69565b828152858284870101111562000d2f57600080fd5b60005b8381101562000d4f57858101830151828201840152820162000d32565b506000928101909101919091529392505050565b60006020828403121562000d7657600080fd5b81516001600160401b038082111562000d8e57600080fd5b9083019060e0828603121562000da357600080fd5b62000dad62000b3e565b62000db88362000aff565b815262000dc86020840162000aff565b602082015262000ddb6040840162000cc9565b604082015262000dee6060840162000b17565b606082015262000e016080840162000aed565b608082015262000e1460a0840162000aed565b60a082015260c08301518281111562000e2c57600080fd5b62000e3a8782860162000cd6565b60c08301525095945050505050565b60006020828403121562000e5c57600080fd5b62000e678262000b17565b9392505050565b60006020828403121562000e8157600080fd5b815162000e678162000ad7565b60006020828403121562000ea157600080fd5b815162ffffff8116811462000e6757600080fd5b60006020828403121562000ec857600080fd5b815162000e678162000cb9565b60006020828403121562000ee857600080fd5b62000e678262000aff565b600181811c9082168062000f0857607f821691505b60208210810362000f2957634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000f7d57600081815260208120601f850160051c8101602086101562000f585750805b601f850160051c820191505b8181101562000f795782815560010162000f64565b5050505b505050565b81516001600160401b0381111562000f9e5762000f9e62000b28565b62000fb68162000faf845462000ef3565b8462000f2f565b602080601f83116001811462000fee576000841562000fd55750858301515b600019600386901b1c1916600185901b17855562000f79565b600085815260208120601f198616915b828110156200101f5788860151825594840194600190910190840162000ffe565b50858210156200103e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61207e806200105e6000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c80635ab1bd53116100b8578063b6b412ba1161007c578063b6b412ba146102ae578063c200b809146102c1578063db6dcc95146102d6578063de7b5d14146102de578063deaa59df146102ef578063f83d08ba1461030257600080fd5b80635ab1bd53146102625780635e78426b14610273578063644c45e014610286578063893d20e81461029e578063a69df4b5146102a657600080fd5b8063138461e0116100ff578063138461e0146102055780631bdd6b761461020f5780631eff4b221461021757806321df0da71461023e5780632a65c6881461024f57600080fd5b806251884a1461013b57806301ffc9a71461016c5780630fec111c146101a957806312abb9b3146101bf57806313299604146101e0575b600080fd5b600854600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61019961017a36600461154d565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610163565b6101b161030a565b6040516101639291906115c7565b6101d26101cd3660046117e9565b61056e565b604051908152602001610163565b6006546001600160a01b03165b6040516001600160a01b039091168152602001610163565b61020d6105fa565b005b61014f61081c565b6101d27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6007546001600160a01b03166101ed565b61020d61025d366004611872565b6108a3565b6001546001600160a01b03166101ed565b6101d261028136600461188f565b6109f2565b600154600160a01b90046001600160601b031661014f565b6101ed610a08565b61020d610b21565b61020d6102bc366004611922565b610bbc565b6102c9610c5f565b6040516101639190611957565b61014f610e22565b6008546001600160a01b03166101ed565b61020d6102fd366004611a95565b610e67565b61020d61116e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290918061034e6111d9565b915091506000600b60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103a7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103cf9190810190611b3b565b9150506000818060200190518101906103e89190611c64565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561043f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104679190810190611b3b565b9150506000818060200190518101906104809190611d19565b60408051610180810182526007546001600160a01b0390811682526011548082166020808501919091526012546001600160601b0390811685870152600160a01b9092049091166060808501919091528486015160808086019190915285518087018752600d548152600e548185015260a08087019190915286518088018852600f5481526010548186015260c0870152918a015160e08601528901516101008501528801516101208401526000610140840152600654909116610160830152915192935088926105519201611957565b604051602081830303815290604052975097505050505050509091565b600a54604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105a99089908b908a908a9089908b90600401611dae565b60a060405180830381865afa1580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea9190611e05565b50929a9950505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561065c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106809190611e45565b156106c7576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166106f05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611e45565b610785576040516372657a5160e01b81526001600160a01b03821660048201526024016106be565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f39190611e60565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006108306001546001600160a01b031690565b600b54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561087a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e60565b905090565b6108ab610a08565b6001600160a01b0316336001600160a01b0316146108de5760405163700dd81160e01b81523360048201526024016106be565b60085473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af415801561095a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097e9190611e45565b6109ca5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016106be565b600880546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60006109ff600a86611e7d565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a919190611e45565b15610b1157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e9f565b506002546001600160a01b031690565b610b29610a08565b6001600160a01b0316336001600160a01b031614610b5c5760405163700dd81160e01b81523360048201526024016106be565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b50505050565b610bc4610a08565b6001600160a01b0316336001600160a01b031614610bf75760405163700dd81160e01b81523360048201526024016106be565b600954604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610c299085908590600401611ebc565b600060405180830381600087803b158015610c4357600080fd5b505af1158015610c57573d6000803e3d6000fd5b505050505050565b610d1a604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850190945281845283015290610120820190815260006020820181905260409091015290565b600854604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d889190611e9f565b9050806001600160a01b03166390af7064610db36001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015610df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1c9190611ee2565b91505090565b6000610e366001546001600160a01b031690565b600c54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e9060240161085d565b610e6f610a08565b6001600160a01b0316336001600160a01b031614610ea25760405163700dd81160e01b81523360048201526024016106be565b6006546007546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610ef3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f179190611fd9565b9050816001600160a01b0316836001600160a01b031603610f5657604051637c739a9960e11b81526001600160a01b03841660048201526024016106be565b8015611027576001600160a01b038216301461102757600754604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610fbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe19190611fd9565b90508181101561102557604051633945c9b360e01b81526001600160a01b0380851660048301528516602482015260448101829052606481018390526084016106be565b505b600680546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a1801561116957306001600160a01b038316036111055760075460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af11580156110df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111039190611e45565b505b60075461111d906001600160a01b031683858461135f565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b611176610a08565b6001600160a01b0316336001600160a01b0316146111a95760405163700dd81160e01b81523360048201526024016106be565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b88565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806112606001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016112a8610a08565b6001600160a01b031681526020018260010180546112c590611ff2565b80601f01602080910402602001604051908101604052809291908181526020018280546112f190611ff2565b801561133e5780601f106113135761010080835404028352916020019161133e565b820191906000526020600020905b81548152906001019060200180831161132157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610bb6918691906000906113c590841683611413565b905080516000141580156113ea5750808060200190518101906113e89190611e45565b155b1561116957604051635274afe760e01b81526001600160a01b03841660048201526024016106be565b606061142183836000611428565b9392505050565b60608147101561144d5760405163cd78605960e01b81523060048201526024016106be565b600080856001600160a01b03168486604051611469919061202c565b60006040518083038185875af1925050503d80600081146114a6576040519150601f19603f3d011682016040523d82523d6000602084013e6114ab565b606091505b50915091506114bb8683836114c5565b9695505050505050565b6060826114da576114d582611521565b611421565b81511580156114f157506001600160a01b0384163b155b1561151a57604051639996b31560e01b81526001600160a01b03851660048201526024016106be565b5080611421565b8051156115315780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b60006020828403121561155f57600080fd5b81356001600160e01b03198116811461142157600080fd5b60005b8381101561159257818101518382015260200161157a565b50506000910152565b600081518084526115b3816020860160208601611577565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161160b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261165161012084018261159b565b905082810360208401526109ff818561159b565b6001600160c01b03198116811461154a57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156116b4576116b461167b565b60405290565b60405160e0810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610120810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610180810167ffffffffffffffff811182821017156116b4576116b461167b565b604051601f8201601f1916810167ffffffffffffffff8111828210171561174e5761174e61167b565b604052919050565b600067ffffffffffffffff8211156117705761177061167b565b50601f01601f191660200190565b600082601f83011261178f57600080fd5b81356117a261179d82611756565b611725565b8181528460208386010111156117b757600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461154a57600080fd5b60008060008060008060c0878903121561180257600080fd5b86359550602087013561181481611665565b945060408701359350606087013567ffffffffffffffff81111561183757600080fd5b61184389828a0161177e565b935050608087013561185481611665565b915060a0870135611864816117d4565b809150509295509295509295565b60006020828403121561188457600080fd5b8135611421816117d4565b600080600080608085870312156118a557600080fd5b8435935060208501356118b781611665565b925060408501359150606085013567ffffffffffffffff8111156118da57600080fd5b6118e68782880161177e565b91505092959194509250565b60006040828403121561190457600080fd5b61190c611691565b9050813581526020820135602082015292915050565b6000806080838503121561193557600080fd5b61193f84846118f2565b915061194e84604085016118f2565b90509250929050565b81516001600160a01b031681526102408101602083015161198360208401826001600160a01b03169052565b50604083015161199e60408401826001600160601b03169052565b5060608301516119b960608401826001600160601b03169052565b5060808301516119d6608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611a0c8185018380518252602090810151910152565b60e08501519150610140611a2c8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e0850152840151151561020084015250610160909201516001600160a01b03166102209091015290565b6001600160a01b038116811461154a57600080fd5b600060208284031215611aa757600080fd5b813561142181611a80565b8051611abd816117d4565b919050565b805160ff81168114611abd57600080fd5b80518015158114611abd57600080fd5b8051611abd81611a80565b600082601f830112611aff57600080fd5b8151611b0d61179d82611756565b818152846020838601011115611b2257600080fd5b611b33826020830160208701611577565b949350505050565b60008060408385031215611b4e57600080fd5b825167ffffffffffffffff80821115611b6657600080fd5b9084019060e08287031215611b7a57600080fd5b611b826116ba565b611b8b83611ab2565b8152611b9960208401611ab2565b6020820152611baa60408401611ac2565b6040820152611bbb60608401611ad3565b6060820152611bcc60808401611ae3565b6080820152611bdd60a08401611ae3565b60a082015260c083015182811115611bf457600080fd5b611c0088828601611aee565b60c0830152506020860151909450915080821115611c1d57600080fd5b50611c2a85828601611aee565b9150509250929050565b600060408284031215611c4657600080fd5b611c4e611691565b9050815181526020820151602082015292915050565b60006101808284031215611c7757600080fd5b611c7f6116dd565b611c8883611ab2565b8152611c9660208401611ae3565b602082015260408301516040820152611cb28460608501611c34565b6060820152611cc48460a08501611c34565b6080820152611cd68460e08501611c34565b60a0820152611ce86101208401611ad3565b60c0820152611cfa6101408401611ad3565b60e0820152611d0c6101608401611ae3565b6101008201529392505050565b600060c08284031215611d2b57600080fd5b60405160a0810181811067ffffffffffffffff82111715611d4e57611d4e61167b565b6040528251611d5c816117d4565b81526020830151611d6c81611a80565b6020820152611d7e8460408501611c34565b6040820152611d8f60808401611ad3565b606082015260a0830151611da281611a80565b60808201529392505050565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611de160c084018761159b565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611e1d57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611e5757600080fd5b61142182611ad3565b600060208284031215611e7257600080fd5b8151611421816117d4565b600082611e9a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611eb157600080fd5b815161142181611a80565b825181526020808401518183015282516040830152820151606082015260808101611421565b60006102408284031215611ef557600080fd5b611efd611701565b611f0683611ae3565b8152611f1460208401611ae3565b6020820152611f2560408401611ab2565b6040820152611f3660608401611ab2565b6060820152611f488460808501611c34565b6080820152611f5a8460c08501611c34565b60a0820152610100611f6e85828601611c34565b60c0830152610140611f8286828701611c34565b60e0840152611f95866101808701611c34565b82840152611fa7866101c08701611c34565b610120840152611fba6102008601611ad3565b9083015250611fcc6102208401611ae3565b6101608201529392505050565b600060208284031215611feb57600080fd5b5051919050565b600181811c9082168061200657607f821691505b60208210810361202657634e487b7160e01b600052602260045260246000fd5b50919050565b6000825161203e818460208701611577565b919091019291505056fea26469706673582212201f4422da31ed22b9142b81a59b4c814ecd8a747a43e45bce782675ae105e832764736f6c63430008140033608060405234801561001057600080fd5b506040516103fd3803806103fd83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61036a806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063beabacc81461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d6100683660046102a7565b61006f565b005b600054610087906001600160a01b031684848461008c565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526100e69085906100ec565b50505050565b60006101016001600160a01b03841683610154565b9050805160001415801561012657508080602001905181019061012491906102e3565b155b1561008757604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b606061016283836000610169565b9392505050565b60608147101561018e5760405163cd78605960e01b815230600482015260240161014b565b600080856001600160a01b031684866040516101aa9190610305565b60006040518083038185875af1925050503d80600081146101e7576040519150601f19603f3d011682016040523d82523d6000602084013e6101ec565b606091505b50915091506101fc868383610206565b9695505050505050565b60608261021b5761021682610262565b610162565b815115801561023257506001600160a01b0384163b155b1561025b57604051639996b31560e01b81526001600160a01b038516600482015260240161014b565b5080610162565b8051156102725780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b03811681146102a257600080fd5b919050565b6000806000606084860312156102bc57600080fd5b6102c58461028b565b92506102d36020850161028b565b9150604084013590509250925092565b6000602082840312156102f557600080fd5b8151801515811461016257600080fd5b6000825160005b81811015610326576020818601810151858301520161030c565b50600092019182525091905056fea26469706673582212205dcbb6c5ddae5c31498dff1c0933ab8c0d284bb07f5e69fd452d43a18212e70964736f6c6343000814003367be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5",
|
834
|
-
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101365760003560e01c80635ab1bd53116100b8578063b6b412ba1161007c578063b6b412ba146102ae578063c200b809146102c1578063db6dcc95146102d6578063de7b5d14146102de578063deaa59df146102ef578063f83d08ba1461030257600080fd5b80635ab1bd53146102625780635e78426b14610273578063644c45e014610286578063893d20e81461029e578063a69df4b5146102a657600080fd5b8063138461e0116100ff578063138461e0146102055780631bdd6b761461020f5780631eff4b221461021757806321df0da71461023e5780632a65c6881461024f57600080fd5b806251884a1461013b57806301ffc9a71461016c5780630fec111c146101a957806312abb9b3146101bf57806313299604146101e0575b600080fd5b600854600160a01b90046001600160601b03165b6040516001600160601b0390911681526020015b60405180910390f35b61019961017a36600461154d565b6001600160e01b03191660009081526020819052604090205460ff1690565b6040519015158152602001610163565b6101b161030a565b6040516101639291906115c7565b6101d26101cd3660046117e9565b61056e565b604051908152602001610163565b6006546001600160a01b03165b6040516001600160a01b039091168152602001610163565b61020d6105fa565b005b61014f61081c565b6101d27f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6007546001600160a01b03166101ed565b61020d61025d366004611872565b6108a3565b6001546001600160a01b03166101ed565b6101d261028136600461188f565b6109f2565b600154600160a01b90046001600160601b031661014f565b6101ed610a08565b61020d610b21565b61020d6102bc366004611922565b610bbc565b6102c9610c5f565b6040516101639190611957565b61014f610e22565b6008546001600160a01b03166101ed565b61020d6102fd366004611a95565b610e67565b61020d61116e565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290918061034e6111d9565b915091506000600b60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156103a7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103cf9190810190611b3b565b9150506000818060200190518101906103e89190611c64565b90506000600c60009054906101000a90046001600160a01b03166001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801561043f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104679190810190611b3b565b9150506000818060200190518101906104809190611d19565b60408051610180810182526007546001600160a01b0390811682526011548082166020808501919091526012546001600160601b0390811685870152600160a01b9092049091166060808501919091528486015160808086019190915285518087018752600d548152600e548185015260a08087019190915286518088018852600f5481526010548186015260c0870152918a015160e08601528901516101008501528801516101208401526000610140840152600654909116610160830152915192935088926105519201611957565b604051602081830303815290604052975097505050505050509091565b600a54604051639cdaa7f960e01b81526000916001600160a01b031690639cdaa7f9906105a99089908b908a908a9089908b90600401611dae565b60a060405180830381865afa1580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea9190611e05565b50929a9950505050505050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561065c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106809190611e45565b156106c7576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b03166106f05760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190611e45565b610785576040516372657a5160e01b81526001600160a01b03821660048201526024016106be565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa1580156107cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107f39190611e60565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b60006108306001546001600160a01b031690565b600b54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e906024015b602060405180830381865afa15801561087a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e60565b905090565b6108ab610a08565b6001600160a01b0316336001600160a01b0316146108de5760405163700dd81160e01b81523360048201526024016106be565b60085473__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90600160a01b90046001600160601b031660006040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af415801561095a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097e9190611e45565b6109ca5760405162461bcd60e51b815260206004820152601a60248201527f70726f64756374206e667420696420616c72656164792073657400000000000060448201526064016106be565b600880546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b60006109ff600a86611e7d565b95945050505050565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610a6d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a919190611e45565b15610b1157600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015610aed573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089e9190611e9f565b506002546001600160a01b031690565b610b29610a08565b6001600160a01b0316336001600160a01b031614610b5c5760405163700dd81160e01b81523360048201526024016106be565b600354604051630bdb124f60e21b81523060048201526001600160a01b0390911690632f6c493c906024015b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b50505050565b610bc4610a08565b6001600160a01b0316336001600160a01b031614610bf75760405163700dd81160e01b81523360048201526024016106be565b600954604051635b5a095d60e11b81526001600160a01b039091169063b6b412ba90610c299085908590600401611ebc565b600060405180830381600087803b158015610c4357600080fd5b505af1158015610c57573d6000803e3d6000fd5b505050505050565b610d1a604080516101808101825260008082526020808301829052828401829052606083018290528351808501855282815280820183905260808401528351808501855282815280820183905260a08401528351808501855282815280820183905260c08401528351808501855282815280820183905260e084015283518085018552828152808201839052610100840152835180850190945281845283015290610120820190815260006020820181905260409091015290565b600854604080516302cd307160e01b815290516000926001600160a01b0316916302cd30719160048083019260209291908290030181865afa158015610d64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d889190611e9f565b9050806001600160a01b03166390af7064610db36001546001600160601b03600160a01b9091041690565b6040516001600160e01b031960e084901b1681526001600160601b03909116600482015260240161024060405180830381865afa158015610df8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1c9190611ee2565b91505090565b6000610e366001546001600160a01b031690565b600c54604051636939560f60e11b81526001600160a01b03918216600482015291169063d272ac1e9060240161085d565b610e6f610a08565b6001600160a01b0316336001600160a01b031614610ea25760405163700dd81160e01b81523360048201526024016106be565b6006546007546040516370a0823160e01b81526001600160a01b03928316600482018190529260009216906370a0823190602401602060405180830381865afa158015610ef3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f179190611fd9565b9050816001600160a01b0316836001600160a01b031603610f5657604051637c739a9960e11b81526001600160a01b03841660048201526024016106be565b8015611027576001600160a01b038216301461102757600754604051636eb1769f60e11b81526001600160a01b038481166004830152306024830152600092169063dd62ed3e90604401602060405180830381865afa158015610fbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe19190611fd9565b90508181101561102557604051633945c9b360e01b81526001600160a01b0380851660048301528516602482015260448101829052606481018390526084016106be565b505b600680546001600160a01b0319166001600160a01b0385169081179091556040519081527f7a6b70c9759bfc6df8d6267688169ed308c6efabc985cf7d02df268733f8ec059060200160405180910390a1801561116957306001600160a01b038316036111055760075460405163095ea7b360e01b8152306004820152602481018390526001600160a01b039091169063095ea7b3906044016020604051808303816000875af11580156110df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111039190611e45565b505b60075461111d906001600160a01b031683858461135f565b604080516001600160a01b038085168252851660208201529081018290527f40b3f633f2d28d6e514f9789ade3c5ddfab85e6731dda38dcb69206d3272c71b9060600160405180910390a15b505050565b611176610a08565b6001600160a01b0316336001600160a01b0316146111a95760405163700dd81160e01b81523360048201526024016106be565b60035460405163f435f5a760e01b81523060048201526001600160a01b039091169063f435f5a790602401610b88565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c0810191909152606060007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e001604052806112606001546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a0016112a8610a08565b6001600160a01b031681526020018260010180546112c590611ff2565b80601f01602080910402602001604051908101604052809291908181526020018280546112f190611ff2565b801561133e5780601f106113135761010080835404028352916020019161133e565b820191906000526020600020905b81548152906001019060200180831161132157829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b179052610bb6918691906000906113c590841683611413565b905080516000141580156113ea5750808060200190518101906113e89190611e45565b155b1561116957604051635274afe760e01b81526001600160a01b03841660048201526024016106be565b606061142183836000611428565b9392505050565b60608147101561144d5760405163cd78605960e01b81523060048201526024016106be565b600080856001600160a01b03168486604051611469919061202c565b60006040518083038185875af1925050503d80600081146114a6576040519150601f19603f3d011682016040523d82523d6000602084013e6114ab565b606091505b50915091506114bb8683836114c5565b9695505050505050565b6060826114da576114d582611521565b611421565b81511580156114f157506001600160a01b0384163b155b1561151a57604051639996b31560e01b81526001600160a01b03851660048201526024016106be565b5080611421565b8051156115315780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b50565b60006020828403121561155f57600080fd5b81356001600160e01b03198116811461142157600080fd5b60005b8381101561159257818101518382015260200161157a565b50506000910152565b600081518084526115b3816020860160208601611577565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161160b60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e061010084015261165161012084018261159b565b905082810360208401526109ff818561159b565b6001600160c01b03198116811461154a57600080fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156116b4576116b461167b565b60405290565b60405160e0810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610120810167ffffffffffffffff811182821017156116b4576116b461167b565b604051610180810167ffffffffffffffff811182821017156116b4576116b461167b565b604051601f8201601f1916810167ffffffffffffffff8111828210171561174e5761174e61167b565b604052919050565b600067ffffffffffffffff8211156117705761177061167b565b50601f01601f191660200190565b600082601f83011261178f57600080fd5b81356117a261179d82611756565b611725565b8181528460208386010111156117b757600080fd5b816020850160208301376000918101602001919091529392505050565b6001600160601b038116811461154a57600080fd5b60008060008060008060c0878903121561180257600080fd5b86359550602087013561181481611665565b945060408701359350606087013567ffffffffffffffff81111561183757600080fd5b61184389828a0161177e565b935050608087013561185481611665565b915060a0870135611864816117d4565b809150509295509295509295565b60006020828403121561188457600080fd5b8135611421816117d4565b600080600080608085870312156118a557600080fd5b8435935060208501356118b781611665565b925060408501359150606085013567ffffffffffffffff8111156118da57600080fd5b6118e68782880161177e565b91505092959194509250565b60006040828403121561190457600080fd5b61190c611691565b9050813581526020820135602082015292915050565b6000806080838503121561193557600080fd5b61193f84846118f2565b915061194e84604085016118f2565b90509250929050565b81516001600160a01b031681526102408101602083015161198360208401826001600160a01b03169052565b50604083015161199e60408401826001600160601b03169052565b5060608301516119b960608401826001600160601b03169052565b5060808301516119d6608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100611a0c8185018380518252602090810151910152565b60e08501519150610140611a2c8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e0850152840151151561020084015250610160909201516001600160a01b03166102209091015290565b6001600160a01b038116811461154a57600080fd5b600060208284031215611aa757600080fd5b813561142181611a80565b8051611abd816117d4565b919050565b805160ff81168114611abd57600080fd5b80518015158114611abd57600080fd5b8051611abd81611a80565b600082601f830112611aff57600080fd5b8151611b0d61179d82611756565b818152846020838601011115611b2257600080fd5b611b33826020830160208701611577565b949350505050565b60008060408385031215611b4e57600080fd5b825167ffffffffffffffff80821115611b6657600080fd5b9084019060e08287031215611b7a57600080fd5b611b826116ba565b611b8b83611ab2565b8152611b9960208401611ab2565b6020820152611baa60408401611ac2565b6040820152611bbb60608401611ad3565b6060820152611bcc60808401611ae3565b6080820152611bdd60a08401611ae3565b60a082015260c083015182811115611bf457600080fd5b611c0088828601611aee565b60c0830152506020860151909450915080821115611c1d57600080fd5b50611c2a85828601611aee565b9150509250929050565b600060408284031215611c4657600080fd5b611c4e611691565b9050815181526020820151602082015292915050565b60006101808284031215611c7757600080fd5b611c7f6116dd565b611c8883611ab2565b8152611c9660208401611ae3565b602082015260408301516040820152611cb28460608501611c34565b6060820152611cc48460a08501611c34565b6080820152611cd68460e08501611c34565b60a0820152611ce86101208401611ad3565b60c0820152611cfa6101408401611ad3565b60e0820152611d0c6101608401611ae3565b6101008201529392505050565b600060c08284031215611d2b57600080fd5b60405160a0810181811067ffffffffffffffff82111715611d4e57611d4e61167b565b6040528251611d5c816117d4565b81526020830151611d6c81611a80565b6020820152611d7e8460408501611c34565b6040820152611d8f60808401611ad3565b606082015260a0830151611da281611a80565b60808201529392505050565b600067ffffffffffffffff60c01b808916835287602084015286604084015260c06060840152611de160c084018761159b565b6001600160601b039590951660808401529290921660a09091015250949350505050565b600080600080600060a08688031215611e1d57600080fd5b5050835160208501516040860151606087015160809097015192989197509594509092509050565b600060208284031215611e5757600080fd5b61142182611ad3565b600060208284031215611e7257600080fd5b8151611421816117d4565b600082611e9a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215611eb157600080fd5b815161142181611a80565b825181526020808401518183015282516040830152820151606082015260808101611421565b60006102408284031215611ef557600080fd5b611efd611701565b611f0683611ae3565b8152611f1460208401611ae3565b6020820152611f2560408401611ab2565b6040820152611f3660608401611ab2565b6060820152611f488460808501611c34565b6080820152611f5a8460c08501611c34565b60a0820152610100611f6e85828601611c34565b60c0830152610140611f8286828701611c34565b60e0840152611f95866101808701611c34565b82840152611fa7866101c08701611c34565b610120840152611fba6102008601611ad3565b9083015250611fcc6102208401611ae3565b6101608201529392505050565b600060208284031215611feb57600080fd5b5051919050565b600181811c9082168061200657607f821691505b60208210810361202657634e487b7160e01b600052602260045260246000fd5b50919050565b6000825161203e818460208701611577565b919091019291505056fea26469706673582212201f4422da31ed22b9142b81a59b4c814ecd8a747a43e45bce782675ae105e832764736f6c63430008140033",
|
835
|
-
|
836
|
-
|
837
|
-
"
|
993
|
+
},
|
994
|
+
{
|
995
|
+
"inputs": [],
|
996
|
+
"name": "lock",
|
997
|
+
"outputs": [],
|
998
|
+
"stateMutability": "nonpayable",
|
999
|
+
"type": "function"
|
1000
|
+
},
|
1001
|
+
{
|
1002
|
+
"inputs": [
|
838
1003
|
{
|
839
|
-
"
|
840
|
-
"
|
1004
|
+
"internalType": "address",
|
1005
|
+
"name": "to",
|
1006
|
+
"type": "address"
|
1007
|
+
},
|
1008
|
+
{
|
1009
|
+
"internalType": "uint256",
|
1010
|
+
"name": "tokenId",
|
1011
|
+
"type": "uint256"
|
1012
|
+
}
|
1013
|
+
],
|
1014
|
+
"name": "nftMint",
|
1015
|
+
"outputs": [],
|
1016
|
+
"stateMutability": "nonpayable",
|
1017
|
+
"type": "function"
|
1018
|
+
},
|
1019
|
+
{
|
1020
|
+
"inputs": [
|
1021
|
+
{
|
1022
|
+
"internalType": "address",
|
1023
|
+
"name": "from",
|
1024
|
+
"type": "address"
|
841
1025
|
},
|
842
1026
|
{
|
843
|
-
"
|
844
|
-
"
|
1027
|
+
"internalType": "address",
|
1028
|
+
"name": "to",
|
1029
|
+
"type": "address"
|
845
1030
|
},
|
846
1031
|
{
|
847
|
-
"
|
848
|
-
"
|
1032
|
+
"internalType": "uint256",
|
1033
|
+
"name": "tokenId",
|
1034
|
+
"type": "uint256"
|
849
1035
|
}
|
850
|
-
]
|
1036
|
+
],
|
1037
|
+
"name": "nftTransferFrom",
|
1038
|
+
"outputs": [],
|
1039
|
+
"stateMutability": "nonpayable",
|
1040
|
+
"type": "function"
|
851
1041
|
},
|
852
|
-
|
853
|
-
"
|
1042
|
+
{
|
1043
|
+
"inputs": [
|
854
1044
|
{
|
855
|
-
"
|
856
|
-
"
|
857
|
-
|
1045
|
+
"internalType": "bytes4",
|
1046
|
+
"name": "interfaceId",
|
1047
|
+
"type": "bytes4"
|
1048
|
+
}
|
1049
|
+
],
|
1050
|
+
"name": "registerInterface",
|
1051
|
+
"outputs": [],
|
1052
|
+
"stateMutability": "nonpayable",
|
1053
|
+
"type": "function"
|
1054
|
+
},
|
1055
|
+
{
|
1056
|
+
"inputs": [
|
858
1057
|
{
|
859
|
-
"
|
860
|
-
"
|
1058
|
+
"internalType": "address",
|
1059
|
+
"name": "newAuthority",
|
1060
|
+
"type": "address"
|
861
1061
|
}
|
862
|
-
]
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
1062
|
+
],
|
1063
|
+
"name": "setAuthority",
|
1064
|
+
"outputs": [],
|
1065
|
+
"stateMutability": "nonpayable",
|
1066
|
+
"type": "function"
|
1067
|
+
},
|
1068
|
+
{
|
1069
|
+
"inputs": [
|
868
1070
|
{
|
869
|
-
"
|
870
|
-
|
1071
|
+
"components": [
|
1072
|
+
{
|
1073
|
+
"internalType": "UFixed",
|
1074
|
+
"name": "fractionalFee",
|
1075
|
+
"type": "uint256"
|
1076
|
+
},
|
1077
|
+
{
|
1078
|
+
"internalType": "uint256",
|
1079
|
+
"name": "fixedFee",
|
1080
|
+
"type": "uint256"
|
1081
|
+
}
|
1082
|
+
],
|
1083
|
+
"internalType": "struct Fee",
|
1084
|
+
"name": "productFee",
|
1085
|
+
"type": "tuple"
|
871
1086
|
},
|
872
1087
|
{
|
873
|
-
"
|
874
|
-
|
875
|
-
|
1088
|
+
"components": [
|
1089
|
+
{
|
1090
|
+
"internalType": "UFixed",
|
1091
|
+
"name": "fractionalFee",
|
1092
|
+
"type": "uint256"
|
1093
|
+
},
|
1094
|
+
{
|
1095
|
+
"internalType": "uint256",
|
1096
|
+
"name": "fixedFee",
|
1097
|
+
"type": "uint256"
|
1098
|
+
}
|
1099
|
+
],
|
1100
|
+
"internalType": "struct Fee",
|
1101
|
+
"name": "processingFee",
|
1102
|
+
"type": "tuple"
|
1103
|
+
}
|
1104
|
+
],
|
1105
|
+
"name": "setFees",
|
1106
|
+
"outputs": [],
|
1107
|
+
"stateMutability": "nonpayable",
|
1108
|
+
"type": "function"
|
1109
|
+
},
|
1110
|
+
{
|
1111
|
+
"inputs": [
|
876
1112
|
{
|
877
|
-
"
|
878
|
-
"
|
1113
|
+
"internalType": "NftId",
|
1114
|
+
"name": "productNftId",
|
1115
|
+
"type": "uint96"
|
1116
|
+
}
|
1117
|
+
],
|
1118
|
+
"name": "setProductNftId",
|
1119
|
+
"outputs": [],
|
1120
|
+
"stateMutability": "nonpayable",
|
1121
|
+
"type": "function"
|
1122
|
+
},
|
1123
|
+
{
|
1124
|
+
"inputs": [
|
1125
|
+
{
|
1126
|
+
"internalType": "address",
|
1127
|
+
"name": "newWallet",
|
1128
|
+
"type": "address"
|
1129
|
+
}
|
1130
|
+
],
|
1131
|
+
"name": "setWallet",
|
1132
|
+
"outputs": [],
|
1133
|
+
"stateMutability": "nonpayable",
|
1134
|
+
"type": "function"
|
1135
|
+
},
|
1136
|
+
{
|
1137
|
+
"inputs": [
|
1138
|
+
{
|
1139
|
+
"internalType": "bytes4",
|
1140
|
+
"name": "interfaceId",
|
1141
|
+
"type": "bytes4"
|
1142
|
+
}
|
1143
|
+
],
|
1144
|
+
"name": "supportsInterface",
|
1145
|
+
"outputs": [
|
1146
|
+
{
|
1147
|
+
"internalType": "bool",
|
1148
|
+
"name": "",
|
1149
|
+
"type": "bool"
|
879
1150
|
}
|
880
|
-
]
|
1151
|
+
],
|
1152
|
+
"stateMutability": "view",
|
1153
|
+
"type": "function"
|
1154
|
+
},
|
1155
|
+
{
|
1156
|
+
"inputs": [],
|
1157
|
+
"name": "unlock",
|
1158
|
+
"outputs": [],
|
1159
|
+
"stateMutability": "nonpayable",
|
1160
|
+
"type": "function"
|
881
1161
|
}
|
882
|
-
|
1162
|
+
],
|
1163
|
+
"bytecode": "0x",
|
1164
|
+
"deployedBytecode": "0x",
|
1165
|
+
"linkReferences": {},
|
1166
|
+
"deployedLinkReferences": {}
|
883
1167
|
}
|