Skip to content

member "transfer" not found #3

Description

@CAPTAINNEMO29

TypeError: Member "transfer" not found or not visible after argument-dependent lookup in address.
m.creator.transfer(tip);
^----------------^
im having this problem how can i fix it?

i look that i can put payable inside the function but them throw me another error
ParsedContract.sol:71:31: ParserError: State mutability can only be specified for address types.
function _tipMessage(uint payable _id, uint _amount) internal
^-----^
how can i solve this? the problem with the transfer.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions