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

chore: update flag comments in scripts #485

Merged
merged 3 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading