CRYPTO NEWS

Petre

#Petre #TheSupremeTeam
Artist Name: Petre

Who are you?

i’m versatile and i like to work with people a lot. fun and entertaining artist as well.

Where are you from?

im from illinois. there are a lotta young people that do music over here. i have some old friends from school that are continuing with music too.

How can we follow you?

Song Title: damn bro.

Listen to Petre:

Source: https://supremepr.us/

how to resolve this error in ethereum

code: pragma solidity ^0.8.15; contract SendMoney{ uint public balanceRecieved; function recieveMoney() public payable { balanceRecieved += msg.value; // msg.value stores the amount of ether recieved when function is called } function getBalance() public view returns(uint) { return address(this).balance; } function withdrawMoney() public{ address payable toAdress = msg.sender ; toAdress.transfer(this.getBalance()); } } error i get: Type::Listen

code:

pragma solidity ^0.8.15;

contract SendMoney{

uint public balanceRecieved; function recieveMoney() public payable {     balanceRecieved += msg.value;  // msg.value stores the amount of ether recieved when function is called }  function getBalance() public view returns(uint) {     return address(this).balance; 

}

function withdrawMoney() public{     address payable toAdress = msg.sender ;            toAdress.transfer(this.getBalance()); } 

}

error i get:

Type address is not implicitly convertible to expected type address payable.

Petre

Shopping cart
There are no products in the cart!
Continue shopping
0