Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hackfisher opened this issue Oct 30, 2018 · 0 comments
Open

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

hackfisher opened this issue Oct 30, 2018 · 0 comments

Comments

@hackfisher
Copy link
Contributor

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
        );
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant