Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientWrapper ¶
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.
Click to show internal directories.
Click to hide internal directories.