OPNet
    Preparing search index...

    Interface IOP721

    This interface represents the OP_NET base contract. IOP_NETContract

    Contracts

    interface IOP721 {
        address: string | Address;
        get p2opOrTweaked(): string;
        approve(to: Address, tokenId: bigint): Promise<ApproveNFT>;
        approveBySignature(
            owner: Address,
            spender: Address,
            tokenId: bigint,
            deadline: bigint,
            signature: Uint8Array,
        ): Promise<ApproveBySignatureNFT>;
        balanceOf(owner: Address): Promise<BalanceOfNFT>;
        burn(tokenId: bigint): Promise<BurnNFT>;
        collectionInfo(): Promise<CollectionInfo>;
        currentGasParameters(): Promise<BlockGasParameters>;
        decodeEvent(event: NetEvent): OPNetEvent;
        decodeEvents(events: ContractEvents | NetEvent[]): OPNetEvent<{}>[];
        deployer(): Promise<
            CallResult<
                { deployer: Address },
                OPNetEvent<ContractDecodedObjectResult>[],
            >,
        >;
        domainSeparator(): Promise<DomainSeparator>;
        encodeCalldata(method: string, ...args: unknown[]): Buffer;
        getApproved(tokenId: bigint): Promise<GetApprovedNFT>;
        getApproveNonce(owner: Address): Promise<GetApproveNonce>;
        getTransferNonce(owner: Address): Promise<GetTransferNonce>;
        isApprovedForAll(
            owner: Address,
            operator: Address,
        ): Promise<IsApprovedForAllNFT>;
        maxSupply(): Promise<MaxSupplyNFT>;
        metadata(): Promise<MetadataNFT>;
        name(): Promise<NameNFT>;
        ownerOf(tokenId: bigint): Promise<OwnerOfNFT>;
        safeTransferFrom(
            from: Address,
            to: Address,
            tokenId: bigint,
            data: Uint8Array,
        ): Promise<SafeTransferFromNFT>;
        setAccessList(accessList: IAccessList): void;
        setApprovalForAll(
            operator: Address,
            approved: boolean,
        ): Promise<SetApprovalForAllNFT>;
        setBaseURI(baseURI: string): Promise<SetBaseURI>;
        setSender(sender: Address): void;
        setSimulatedHeight(height: undefined | bigint): void;
        setTransactionDetails(tx: ParsedSimulatedTransaction): void;
        symbol(): Promise<SymbolNFT>;
        tokenOfOwnerByIndex(
            owner: Address,
            index: bigint,
        ): Promise<TokenOfOwnerByIndex>;
        tokenURI(tokenId: bigint): Promise<TokenURI>;
        totalSupply(): Promise<TotalSupplyNFT>;
        transferBySignature(
            owner: Address,
            to: Address,
            tokenId: bigint,
            deadline: bigint,
            signature: Uint8Array,
        ): Promise<TransferBySignatureNFT>;
        transferFrom(
            from: Address,
            to: Address,
            tokenId: bigint,
        ): Promise<TransferFromNFT>;
        [key: symbol]: CallResult<{}, OPNetEvent<ContractDecodedObjectResult>[]>;
    }

    Hierarchy (View Summary)

    Indexable

    Index

    Properties

    address: string | Address

    Accessors

    Methods