Skip to content

Instantly share code, notes, and snippets.

@alexroan
Created April 1, 2020 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexroan/8866c62d41822a5d3602d77b663fabfd to your computer and use it in GitHub Desktop.
Save alexroan/8866c62d41822a5d3602d77b663fabfd to your computer and use it in GitHub Desktop.
TennisPlayer.sol@3
// Author: Alex Roan
pragma solidity ^0.5.5;
import "./CompetingTennisPlayer.sol";
import "./TrainableTennisPlayer.sol";
contract TennisPlayer is CompetingTennisPlayer, TrainableTennisPlayer {
function myPlayers() public view returns (uint[] memory) {
return _tokensOfOwner(msg.sender);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment