You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Description
This PR exposes safe objects where possible for ownable and pausable
packages.
Let's start exposing variables named `Ownable`, ie:
```go
var Ownable = ownable.New()
```
This is the intended use, as exposing this field allows direct, safe,
MsgRun calls to access the ownable functions. It's also impossible to
directly reassign the value of this variable from another realm.
This PR also introduces a BREAKING CHANGE: the `Ownable.CallerIsOwner`
API now returns a boolean instead of an error, which makes more sense
considering the name of the function.
---------
Co-authored-by: Guilhem Fanton <[email protected]>
0 commit comments