From 1f009d78f38042f6d2308036234430535a604be1 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Fri, 18 Nov 2022 01:15:42 -0800 Subject: [PATCH] revert, trim command output --- commands.sh | 4 ++-- src/SendIt.sol | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/commands.sh b/commands.sh index 918085c..20a7f41 100644 --- a/commands.sh +++ b/commands.sh @@ -15,8 +15,8 @@ echo -e "\n[+] Sending test Ether" cast send --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY 0x653D2d1D10c79017b2eA5F5a6F02D9Ab6e725395 --value 0.5ether echo -e "[+] Minting 50 to deployer" -cast send --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY 0x5FbDB2315678afecb367f032d93F642f64180aa3 "mint(uint256)" 100 +cast send --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY 0x5FbDB2315678afecb367f032d93F642f64180aa3 "mint(uint256)" 100 | grep -v logs echo -e "[+] Setting approval for contract" -cast send --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY 0x5FbDB2315678afecb367f032d93F642f64180aa3 "setApprovalForAll(address,bool)" 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0 true +cast send --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY 0x5FbDB2315678afecb367f032d93F642f64180aa3 "setApprovalForAll(address,bool)" 0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0 true | grep -v logs diff --git a/src/SendIt.sol b/src/SendIt.sol index 964968b..1766287 100644 --- a/src/SendIt.sol +++ b/src/SendIt.sol @@ -46,10 +46,6 @@ contract SendIt is Ownable { User **************************/ - function getFee() external view returns (uint256) { - return usageFee; - } - function updateVault(address vaultAddress) external { addressVault[msg.sender] = vaultAddress; }