Skip to content

Ownable contract: Undeclared identifier. Did you mean "owner" #1352

@Vulturio

Description

@Vulturio

🎉 Description

  • 🐛 This is a bug report.

Next, we need to know what your environment looks like.

  • Which version of OpenZeppelin are you using?
    latest 0,4.24
  • What network are you deploying to? Ganache? Ropsten?
    ganache
  • How are you deploying your OpenZeppelin-backed contracts? truffle? Remix? Let us know!
    truffle

📝 Details

I can't make a function to transfer to owner, aditionaly in ganache the owner address results in 0x0000000000...

🔢 Code To Reproduce Issue [ Good To Have ]

function transfer() public {
_owner.transfer(100000000);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions