Skip to content

Do not use(be careful) getAuction from ClockAuction. #64

@hackfisher

Description

@hackfisher

The return type and return value type is mismatch.

    function getAuction(uint256 _tokenId)
    public
    view
    returns
    (
        address seller,
        uint256 startedAt,
        uint256 duration,
        uint256 startingPrice,
        uint256 endingPrice,
        address token,
        uint128 lastRecord,
        address lastBidder,
        uint256 lastBidStartAt,
        address lastReferer
    ) {
        Auction storage auction = tokenIdToAuction[_tokenId];
        return (
            auction.seller,
            auction.startingPriceInToken,
            auction.endingPriceInToken,
            auction.duration,
            auction.startedAt,
            auction.token,
            auction.lastRecord,
            auction.lastBidder,
            auction.lastBidStartAt,
            auction.lastReferer
        );
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions