1860f5040c
There is a need to inherit some methods of `StaticClient` type. In order to not inherit all method via type embedding we can group sub-set of methods and inherit it. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
11 lines
269 B
Go
11 lines
269 B
Go
package internal
|
|
|
|
import (
|
|
"github.com/nspcc-dev/neo-go/pkg/util"
|
|
)
|
|
|
|
// StaticClient groups client.StaticClient type interface methods which are needed to be inherited
|
|
// by upper-level client instances.
|
|
type StaticClient interface {
|
|
ContractAddress() util.Uint160
|
|
}
|