forked from TrueCloudLab/frostfs-node
16e9e726ff
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
17 lines
609 B
Go
17 lines
609 B
Go
package neofscontract
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
|
"github.com/nspcc-dev/neo-go/pkg/util"
|
|
neofscontract "github.com/nspcc-dev/neofs-node/pkg/morph/client/neofs"
|
|
)
|
|
|
|
// Cheque invokes `cheque` method of NeoFS contract.
|
|
func (x *ClientWrapper) Cheque(id []byte, user util.Uint160, amount int64, lock util.Uint160) error {
|
|
return (*neofscontract.Client)(x).Cheque(id, user, amount, lock)
|
|
}
|
|
|
|
// AlphabetUpdate update list of alphabet nodes.
|
|
func (x *ClientWrapper) AlphabetUpdate(id []byte, pubs keys.PublicKeys) error {
|
|
return (*neofscontract.Client)(x).AlphabetUpdate(id, pubs)
|
|
}
|