Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
pragma solidity >=0.8.7;
contract Transactions {
//Address --> Contract -- deposit
function deposit() external payable {
//Contract --> Address -- withdrawal
function withdraw(address payable _to, uint _amount) external {
function getBalance() external view returns(uint) {
return address(this).balance;
function getAddress() external view returns(address) {
return address(this);