diff --git a/Architecture.png b/Architecture.png index 428708fd..4c14f8b1 100644 Binary files a/Architecture.png and b/Architecture.png differ diff --git a/migrations/2_deploy_token_to_token_dex.js b/migrations/2_deploy_token_to_token_dex.js index e82d698a..d435509e 100644 --- a/migrations/2_deploy_token_to_token_dex.js +++ b/migrations/2_deploy_token_to_token_dex.js @@ -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(); @@ -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 )