2021-06-01 14:35:53 +03:00
|
|
|
package neofscontract
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/nspcc-dev/neo-go/pkg/crypto/keys"
|
|
|
|
"github.com/nspcc-dev/neo-go/pkg/util"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Cheque invokes `cheque` method of NeoFS contract.
|
|
|
|
func (x *ClientWrapper) Cheque(id []byte, user util.Uint160, amount int64, lock util.Uint160) error {
|
2021-09-15 13:48:00 +03:00
|
|
|
return x.client.Cheque(id, user, amount, lock)
|
2021-06-01 14:35:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// AlphabetUpdate update list of alphabet nodes.
|
|
|
|
func (x *ClientWrapper) AlphabetUpdate(id []byte, pubs keys.PublicKeys) error {
|
2021-09-15 13:48:00 +03:00
|
|
|
return x.client.AlphabetUpdate(id, pubs)
|
2021-06-01 14:35:53 +03:00
|
|
|
}
|