Skip to content
Snippets Groups Projects

Draft: Add devition of tokesn

Closed Pedro Pablo Cardona Arroyave requested to merge Add-devition-of-tokesn into main
8 files
+ 339
2
Compare changes
  • Side-by-side
  • Inline
Files
8
+ 1
0
@@ -50,6 +50,7 @@ contract Storage {
function register(string memory user) public {
s_users.push(user);
s_tokens[user] = 0;
addBalanceToUser(user, 50*TOKEN_ETH_RATIO);
}
function addBalanceToUser(string memory user, uint256 balance) public payable{
Loading