New answers tagged truffle-compile
0
votes
TypeError: "send" and "transfer" are only available for objects of type "address payable", not "address"
From the Solidity docs:
The address type comes in two largely identical flavors:
address: Holds a 20 byte value (size of an Ethereum address).
address payable: Same as address, but with the ...
Top 50 recent answers are included
Related Tags
truffle-compile × 113truffle × 74
solidity × 47
truffle-migration × 25
truffle-contract × 21
truffle-deployment × 12
contract-development × 8
solc × 7
contract-deployment × 5
truffle-test × 5
openzeppelin × 4
compiler × 4
remix × 3
error × 3
solidity-0.6.x × 3
go-ethereum × 2
blockchain × 2
erc-20 × 2
javascript × 2
ethereum-wallet-dapp × 2
etherscan × 2
events × 2
nodejs × 2
erc-721 × 2
oracles × 2