import { BaseURI, BigNumberString, ConsentFactoryContractError, ConsentName, EVMAccountAddress, EVMContractAddress, MarketplaceListing, MarketplaceTag, BlockchainCommonErrors, TransactionResponseError, DomainName } from "@snickerdoodlelabs/objects"; import { ethers } from "ethers"; import { ResultAsync } from "neverthrow"; import { BaseContract } from "../implementations/BaseContract.js"; import { IEthersContractError } from "../implementations/BlockchainErrorMapper.js"; import { IConsentFactoryContract } from "../interfaces/IConsentFactoryContract.js"; import { ContractOverrides, WrappedTransactionResponse } from "../interfaces/index.js"; export declare class ConsentFactoryContract extends BaseContract implements IConsentFactoryContract { protected providerOrSigner: ethers.Provider | ethers.Signer; protected contractAddress: EVMContractAddress; constructor(providerOrSigner: ethers.Provider | ethers.Signer, contractAddress: EVMContractAddress); getContractAddress(): EVMContractAddress; createConsent(ownerAddress: EVMAccountAddress, baseUri: BaseURI, overrides?: ContractOverrides): ResultAsync; setListingDuration(listingDuration: number, overrides?: ContractOverrides): ResultAsync; setMaxTagsPerListing(maxTagsPerListing: number, overrides?: ContractOverrides): ResultAsync; registerStakingToken(stakingToken: EVMContractAddress, overrides?: ContractOverrides): ResultAsync; adminRemoveListings(tag: MarketplaceTag, stakingToken: EVMContractAddress, removedSlot: BigNumberString[], overrides?: ContractOverrides): ResultAsync; blockContentObject(stakingToken: EVMContractAddress, contentAddress: EVMContractAddress, overrides?: ContractOverrides): ResultAsync; unblockContentObject(stakingToken: EVMContractAddress, contentAddress: EVMContractAddress, overrides?: ContractOverrides): ResultAsync; estimateGasToCreateConsent(ownerAddress: EVMAccountAddress, baseUri: BaseURI, name: ConsentName): ResultAsync; getDeployedConsents(): ResultAsync; getListingsByTag(tag: MarketplaceTag, stakingToken: EVMContractAddress, removeExpired: boolean): ResultAsync; getAddressOfConsentCreated(txRes: WrappedTransactionResponse): ResultAsync; getGovernanceToken(): ResultAsync; isStakingToken(stakingToken: EVMContractAddress): ResultAsync; listingDuration(): ResultAsync; maxTagsPerListing(): ResultAsync; getTagTotal(tag: MarketplaceTag, stakedToken: EVMContractAddress): ResultAsync; getListingsForward(tag: MarketplaceTag, stakingToken: EVMContractAddress, startingSlot: BigNumberString, numberOfSlots: number, removeExpired: boolean): ResultAsync; getListingsBackward(tag: MarketplaceTag, stakingToken: EVMContractAddress, startingSlot: BigNumberString, numberOfSlots: number, removeExpired: boolean): ResultAsync; computeFee(slot: BigNumberString): ResultAsync; removeExpiredListings(tag: MarketplaceTag, stakingToken: EVMContractAddress, slots: BigNumberString[], overrides?: ContractOverrides): ResultAsync; addDomain(domain: DomainName, overrides?: ContractOverrides): ResultAsync; removeDomain(domain: DomainName, overrides?: ContractOverrides): ResultAsync; checkDomain(domain: DomainName): ResultAsync; protected generateContractSpecificError(msg: string, e: IEthersContractError, transaction: ethers.Transaction | null): ConsentFactoryContractError; } //# sourceMappingURL=ConsentFactoryContract.d.ts.map