Skip to content

Commit

Permalink
update migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
KStasi committed Jun 18, 2021
1 parent 340cd9a commit a508e5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Binary file modified Architecture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion migrations/2_deploy_token_to_token_dex.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,12 @@ module.exports = async (deployer, network, accounts) => {
? token0Instance.address.toString()
: token1Instance.address.toString(),
0,
"fa12",
ordered
? token1Instance.address.toString()
: token0Instance.address.toString(),
initialTokenAmount,
0,
"fa2".initialTokenAmount,
initialTokenAmount
)
.send();
Expand All @@ -174,10 +176,12 @@ module.exports = async (deployer, network, accounts) => {
? token0Instance.address.toString()
: token1Instance.address.toString(),
0,
standard.toLocaleLowerCase(),
ordered
? token1Instance.address.toString()
: token0Instance.address.toString(),
0,
standard.toLocaleLowerCase(),
initialTokenAmount,
initialTokenAmount
)
Expand Down

0 comments on commit a508e5b

Please sign in to comment.