neofsid

package
v0.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientWrapper

type ClientWrapper neofsid.Client

ClientWrapper is a wrapper over NeoFS ID contract client which provides convenient methods for working with a contract.

Working ClientWrapper must be created via Wrap.

func NewFromMorph added in v0.21.0

func NewFromMorph(cli *client.Client, contract util.Uint160, fee fixedn.Fixed8) (*ClientWrapper, error)

NewFromMorph wraps client to work with NeoFS ID contract.

func (*ClientWrapper) AccountKeys

func (x *ClientWrapper) AccountKeys(id *owner.ID) (keys.PublicKeys, error)

AccountKeys requests public keys of NeoFS account from NeoFS ID contract.

func (*ClientWrapper) ManageKeys added in v0.21.0

func (x *ClientWrapper) ManageKeys(ownerID []byte, ks [][]byte, add bool) error

ManageKeys adds/removes list of public keys to/from NeoFS account.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL