Merge branch 'master'

This commit is contained in:
Hadrien Croubois
2021-01-26 18:58:15 +01:00
99 changed files with 2517 additions and 15875 deletions

View File

@ -34,7 +34,15 @@ contract EnumerableMapMock {
}
function tryGet(uint256 key) public view returns (bool, address) {
return _map.tryGet(key);
}
function get(uint256 key) public view returns (address) {
return _map.get(key);
}
function getWithMessage(uint256 key, string calldata errorMessage) public view returns (address) {
return _map.get(key, errorMessage);
}
}