import { Address, Addressish, ChainId } from '@monaxlabs/phloem/dist/types'; import { BigNumber, BigNumberish, ContractReceipt, ContractTransaction, PayableOverrides, PopulatedTransaction } from 'ethers'; import { CollectionContract } from '../collections'; import type { Signerish, TokenId, TokenStandard } from '../types'; import { ContractFunction } from './features'; declare const ClaimPartitions: { nft: ("issuance/ICedarNFTIssuance.sol:ICedarNFTIssuanceV0" | "issuance/ICedarNFTIssuance.sol:ICedarNFTIssuanceV1" | "issuance/ICedarNFTIssuance.sol:ICedarNFTIssuanceV2" | "issuance/ICedarNFTIssuance.sol:ICedarNFTIssuanceV3" | "issuance/ICedarNFTIssuance.sol:ICedarNFTIssuanceV4" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV0" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV1" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV2" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV3" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV4" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV5")[]; sft: ("issuance/ICedarSFTIssuance.sol:ICedarSFTIssuanceV0" | "issuance/ICedarSFTIssuance.sol:ICedarSFTIssuanceV1" | "issuance/ICedarSFTIssuance.sol:ICedarSFTIssuanceV2" | "issuance/ICedarSFTIssuance.sol:ICedarSFTIssuanceV3" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV0" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV1" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV2" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV3" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV4" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV5")[]; }; type ClaimPartitions = typeof ClaimPartitions; declare const ClaimInterfaces: ("issuance/ICedarNFTIssuance.sol:ICedarNFTIssuanceV0" | "issuance/ICedarNFTIssuance.sol:ICedarNFTIssuanceV1" | "issuance/ICedarNFTIssuance.sol:ICedarNFTIssuanceV2" | "issuance/ICedarNFTIssuance.sol:ICedarNFTIssuanceV3" | "issuance/ICedarNFTIssuance.sol:ICedarNFTIssuanceV4" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV0" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV1" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV2" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV3" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV4" | "issuance/ICedarNFTIssuance.sol:IPublicNFTIssuanceV5" | "issuance/ICedarSFTIssuance.sol:ICedarSFTIssuanceV0" | "issuance/ICedarSFTIssuance.sol:ICedarSFTIssuanceV1" | "issuance/ICedarSFTIssuance.sol:ICedarSFTIssuanceV2" | "issuance/ICedarSFTIssuance.sol:ICedarSFTIssuanceV3" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV0" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV1" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV2" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV3" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV4" | "issuance/ICedarSFTIssuance.sol:IPublicSFTIssuanceV5")[]; type ClaimInterfaces = (typeof ClaimInterfaces)[number]; export type ClaimCallArgs = [signer: Signerish, args: ClaimArgs, overrides?: PayableOverrides]; export type ClaimResponse = ContractTransaction; export type ClaimArgs = { conditionId: number; receiver: Addressish; tokenId?: TokenId; quantity: BigNumberish; currency: Addressish; pricePerToken: BigNumberish; proofs: string[]; proofMaxQuantityPerTransaction: BigNumberish; }; export type ClaimedToken = { chainId: ChainId; address: string; tokenId: BigNumber; standard: TokenStandard; receiver: Address; quantity: BigNumber; }; export declare class Claim extends ContractFunction { readonly functionName = "claim"; constructor(base: CollectionContract); execute(...args: ClaimCallArgs): Promise; protected claim(...[signer, args, overrides]: ClaimCallArgs): Promise; protected claimERC1155(signer: Signerish, { receiver, tokenId, quantity, currency, pricePerToken, proofs, proofMaxQuantityPerTransaction }: ClaimArgs, overrides?: PayableOverrides): Promise; protected claimERC721(signer: Signerish, { receiver, quantity, currency, pricePerToken, proofs, proofMaxQuantityPerTransaction }: ClaimArgs, overrides?: PayableOverrides): Promise; estimateGas(signer: Signerish, args: ClaimArgs, overrides?: PayableOverrides): Promise; protected estimateGasERC1155(signer: Signerish, { receiver, tokenId, quantity, currency, pricePerToken, proofs, proofMaxQuantityPerTransaction }: ClaimArgs, overrides?: PayableOverrides): Promise; protected estimateGasERC721(signer: Signerish, { receiver, quantity, currency, pricePerToken, proofs, proofMaxQuantityPerTransaction }: ClaimArgs, overrides?: PayableOverrides): Promise; populateTransaction(args: ClaimArgs, overrides?: PayableOverrides): Promise; protected populateTransactionERC1155({ receiver, tokenId, quantity, currency, pricePerToken, proofs, proofMaxQuantityPerTransaction }: ClaimArgs, overrides?: PayableOverrides): Promise; protected populateTransactionERC721({ receiver, quantity, currency, pricePerToken, proofs, proofMaxQuantityPerTransaction }: ClaimArgs, overrides?: PayableOverrides): Promise; parseReceiptLogs(receipt: ContractReceipt): Promise; } export declare const claim: (new (base: CollectionContract) => ((signer: Signerish, args: ClaimArgs, overrides?: PayableOverrides | undefined) => Promise) & Claim) & ((base: CollectionContract) => ((signer: Signerish, args: ClaimArgs, overrides?: PayableOverrides | undefined) => Promise) & Claim); export {};