forked from TrueCloudLab/frostfs-node
b9a1aaec23
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
14 lines
410 B
Go
14 lines
410 B
Go
package wrapper
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neofs-node/pkg/morph/client/reputation"
|
|
)
|
|
|
|
// ClientWrapper is a wrapper over reputation contract
|
|
// client which implements storage of reputation values.
|
|
type ClientWrapper reputation.Client
|
|
|
|
// WrapClient wraps reputation contract client and returns ClientWrapper instance.
|
|
func WrapClient(c *reputation.Client) *ClientWrapper {
|
|
return (*ClientWrapper)(c)
|
|
}
|