The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
hyperlane-monorepo/solidity/optics-core/contracts/test/MysteryMath.sol

21 lines
416 B

// SPDX-License-Identifier: MIT
pragma solidity >=0.6.11;
abstract contract MysteryMath {
uint256 public stateVar;
function doMath(uint256 a, uint256 b)
external
pure
virtual
returns (uint256 _result);
function setState(uint256 _var) external {
stateVar = _var;
}
function getState() external view returns (uint256) {
return stateVar;
}
}