mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 18:01:39 +00:00
* refactor: update import paths in gateway handlers * refactor: remove obsolete devtools Makefile and README * build: optimize build process for improved efficiency * refactor: remove obsolete pkl files related to Matrix and Sonr network configurations * refactor: move embed code to x/dwn/types
12 lines
249 B
Go
12 lines
249 B
Go
package capinterchain
|
|
|
|
import "github.com/onsonr/sonr/internal/crypto/ucan"
|
|
|
|
func NewCap(ty CapInterchain) ucan.Capability {
|
|
return ucan.Capability(ty)
|
|
}
|
|
|
|
func (c CapInterchain) Contains(b ucan.Capability) bool {
|
|
return c.String() == b.String()
|
|
}
|