Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lidangzzz authored Jun 10, 2023
1 parent bee3679 commit cefc61e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ operations on DARC. For example:

```javascript
mint_tokens( // mint token operation
[[addr1, addr2, addr3], // token address
[addr1, addr2, addr3], // token address
[0, 0, 0], // token class
[500, 300, 200]] // number of tokens
[500, 300, 200] // number of tokens
);

pay_cash(100000000, 0, 1); // pay 0.1 ETH as purchase

transfer_tokens( // transfer token operation
[[addr1, addr2, addr3], // token address
[addr1, addr2, addr3], // token address
[0, 0, 0], // token class
[100, 100, 200]] // number of tokens
[100, 100, 200] // number of tokens
);

add_withdraw_cash(10000000); // add 0.01 ETH to withdraw balance
Expand Down

0 comments on commit cefc61e

Please sign in to comment.