Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

v0 source pure

Package ownable proposes an abstraction around the ownership which provides various kind of owners and some compositi...

Readme View source

gno.land/p/moul/ownable/v0

TODO: describe this package.


Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.

⚠️ Disclaimer: provided as-is, without warranty; not security-audited. Full disclaimer: DISCLAIMER.

Overview

Package ownable proposes an abstraction around the ownership which provides various kind of owners and some composition options.

Functions 2

func And

1func And(a Owner, b ...Owner) Owner
source

func Or

1func Or(a Owner, b ...Owner) Owner
source

Types 6

type Owner

interface
1type Owner interface {
2	Addr() address
3	Kind() Kind
4	owner()
5}
source

Imports 1

  • chain/runtime stdlib

Source Files 3