contracts-wizard icon indicating copy to clipboard operation
contracts-wizard copied to clipboard

Cairo - Ownable missing owner view

Open ericglau opened this issue 3 years ago • 0 comments

Ownable should have the following function:

@view
func owner{
        syscall_ptr : felt*,
        pedersen_ptr : HashBuiltin*,
        range_check_ptr
    }() -> (owner: felt):
    let (owner: felt) = Ownable.owner()
    return (owner)
end

ericglau avatar Aug 11 '22 04:08 ericglau