Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
martonp committed Feb 6, 2024
1 parent 2c6bde1 commit 4b94ef3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 21 deletions.
15 changes: 5 additions & 10 deletions dex/networks/erc20/contracts/TestToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,11 @@ contract TestToken {
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor(bool usdc) {
if (usdc) {
_name = "USD Coin";
_symbol = "USDC";
_decimals = 6;
} else {
_name = "TestToken";
_symbol = "TST";
_decimals = 18;
}
constructor(uint8 dec) {
_name = "TestToken";
_symbol = "TST";
_decimals = dec;

_totalSupply = 44000000000000000000000;
_balances[0x18D65FB8d60c1199bb1Ad381bE47aA692b482605] = 11000000000000000000000; // alpha
_balances[0x4F8eF3892B65ED7fc356fF473a2eF2aE5EC27A06] = 11000000000000000000000; // beta
Expand Down
1 change: 0 additions & 1 deletion dex/networks/erc20/contracts/updatecontract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ PKG_NAME=v${VERSION}
CONTRACT_NAME=ERC20Swap
SOLIDITY_FILE=./${CONTRACT_NAME}V${VERSION}.sol
TEST_TOKEN=./TestToken.sol
TEST_USDC=./TestUSDC.sol
if [ ! -f ${SOLIDITY_FILE} ]
then
echo "${SOLIDITY_FILE} does not exist" >&2
Expand Down
5 changes: 3 additions & 2 deletions dex/networks/erc20/contracts/v0/contract.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4b94ef3

Please sign in to comment.