diff --git a/pkg/morph/client/static.go b/pkg/morph/client/static.go index fe39fb68a..30f19b252 100644 --- a/pkg/morph/client/static.go +++ b/pkg/morph/client/static.go @@ -102,6 +102,11 @@ func (s StaticClient) TestInvoke(method string, args ...interface{}) ([]stackite ) } +// ContractAddress returns the address of the associated contract. +func (s StaticClient) ContractAddress() util.Uint160 { + return s.scScriptHash +} + // TryNotary returns option to enable // notary invocation tries. func TryNotary() StaticClientOption {