Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientWrapper ¶
type ClientWrapper struct { internal.StaticClient // contains filtered or unexported fields }
ClientWrapper is a wrapper over NeoFS contract client which provides convenient methods for working with a contract.
Working ClientWrapper must be created via NewFromMorph.
func NewFromMorph ¶
func NewFromMorph(cli *client.Client, contract util.Uint160, fee fixedn.Fixed8, opts ...Option) (*ClientWrapper, error)
NewFromMorph wraps client to work with NeoFS contract.
func (*ClientWrapper) AlphabetUpdate ¶ added in v0.22.0
func (x *ClientWrapper) AlphabetUpdate(id []byte, pubs keys.PublicKeys) error
AlphabetUpdate update list of alphabet nodes.
func (*ClientWrapper) ManageKeys ¶
func (x *ClientWrapper) ManageKeys(scriptHash []byte, ks [][]byte, bind bool) error
ManageKeys binds/unbinds list of public keys from NeoFS account by script hash.
type Option ¶ added in v0.22.1
type Option func(*opts)
Option allows to set an optional parameter of ClientWrapper.
func AsAlphabet ¶ added in v0.25.0
func AsAlphabet() Option
AsAlphabet returns option to sign main TX of notary requests with client's private key.
Considered to be used by IR nodes only.
Click to show internal directories.
Click to hide internal directories.