/mnt/c/projetos/Blockchain$ forge create src/token.sol:MagnaToken --rpc-url https://rpc.ankr.com/polygon_amoy/********************** --private-key *************************************** --constructor-args 10000000 --broadcast --legacy --verify --etherscan-api-key 43YUGQUDJMZKZHDE3J3SSAA6R4BK1BZM1T
[⠊] Compiling...
No files changed, compilation skipped
Warning: Dry run enabled, not broadcasting transaction
Contract: MagnaToken
Transaction: {
"from": "0x02******2",
"to": null,
"maxFeePerGas": "0x6718efd3e",
"maxPriorityFeePerGas": "0x6718efcc0",
"gas": "0x81a56",
"input": "0x60806040*",
"nonce": "0x0",
"chainId": "0x13882"
}
ABI: [
{
"type": "constructor",
"inputs": [
{
"name": "initialSupply",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "balanceOf",
"inputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "name",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "symbol",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "transfer",
"inputs": [
{
"name": "_to",
"type": "address",
"internalType": "address"
},
{
"name": "_value",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "success",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "Transfer",
"inputs": [
{
"name": "from",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
}
]
Warning: To broadcast this transaction, add --broadcast to the previous command. See forge create --help for more.