Created
August 9, 2022 21:55
-
-
Save AyDeveloper/bdfa7a38fb98dfe3189cac2a92b9bff6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library arithmetic { | |
function multiply(uint _a, uint _b) returns (uint) { | |
return _a * _b; | |
} | |
} | |
contract C { | |
uint timesUp; | |
function mul() { | |
timesUp = arithmetic.multiply(5, 5); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment