Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #485 from maticnetwork/chore/update-flag-comments-…
Browse files Browse the repository at this point in the history
…in-scripts

chore: update flag comments in scripts
  • Loading branch information
simonDos authored Dec 5, 2023
2 parents ba520b6 + 23a8658 commit fa235fa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions scripts/deploy-erc20.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,15 +210,15 @@ module.exports = async function (callback) {
const accounts = await web3.eth.getAccounts()
console.log("Current configured address to make transactions:", accounts[0])

// -- network <child network> <child token>
// -- --network <child network> <child token>
// await checkChildERC20(process.argv[6])
// await checkChildERC721(process.argv[6])

// -- network <main network>
// -- --network <main network>
// await deployTestERC20OnMainchain(accounts[0])
// await deployTestERC721OnMainchain(accounts[0])

// -- network <child network> <token> <name> <symbol> <decimals> <true/false for mapping>
// -- --network <child network> <token> <name> <symbol> <decimals> <true/false for mapping>
// await deployChildERC20AndMap({
// token: process.argv[6],
// name: process.argv[7],
Expand All @@ -227,15 +227,15 @@ module.exports = async function (callback) {
// doMapping: process.argv[10] === 'true'
// })

// -- network <child network> <token> <name> <symbol> <true/false for mapping>
// -- --network <child network> <token> <name> <symbol> <true/false for mapping>
// await deployChildERC721AndMap({
// token: process.argv[6],
// name: process.argv[7],
// symbol: process.argv[8],
// doMapping: process.argv[9] === 'true'
// })

// -- network <mainchain network> <root> <child> <true/false for erc721>
// -- --network <mainchain network> <root> <child> <true/false for erc721>
// await mapTokenOnMainchain(
// process.argv[6], // root token
// process.argv[7], // child token
Expand Down
16 changes: 8 additions & 8 deletions scripts/deposit.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,29 +65,29 @@ module.exports = async function (callback) {
const accounts = await web3.eth.getAccounts()
console.log("Current configured address to make transactions:", accounts[0])

// -- network <main network> <root token> <amount>
// -- --network <main network> <root token> <amount>
// await depositERC20({
// addr: accounts[0],
// addr: accounts[0],
// rootToken: process.argv[6],
// amount: process.argv[7],
// })

// -- network <main network> <root token> <amount>
// -- --network <main network> <root token> <amount>
// await depositERC721({
// addr: accounts[0],
// addr: accounts[0],
// rootToken: process.argv[6], // root token
// tokenID: process.argv[7], // nft id
// })

// -- network <matic network> <child token>
// -- --network <matic network> <child token>
// await checkDepositedERC20Balance({
// addr: accounts[0],
// addr: accounts[0],
// token: process.argv[6], // child token
// })

// -- network <matic network> <child token> <nft id>
// -- --network <matic network> <child token> <nft id>
// await checkDepositedERC721Balance({
// addr: accounts[0],
// addr: accounts[0],
// token: process.argv[6], // child token
// tokenID: process.argv[7], // nft id
// })
Expand Down

0 comments on commit fa235fa

Please sign in to comment.