github.com/Tri-stone/burrow@v0.25.0/tests/jobs_fixtures/app54-static-call/Adoption.sol (about)

     1  pragma solidity ^0.5.4;
     2  
     3  contract Adoption {
     4    
     5    address[16] public adopters;
     6  
     7    function adopt(uint petId) public returns (uint) {
     8      require(petId >= 0 && petId <= 15);
     9      adopters[petId] = msg.sender;
    10      
    11      return petId;
    12    }
    13  
    14    // Retrieving the adopters
    15    function getAdopters() public view returns (address[16] memory) {
    16      return adopters;
    17    }
    18  }