diff --git a/pkg/morph/policy/policy_contract_storage.go b/pkg/morph/policy/policy_contract_storage.go index 6e85339..48891cb 100644 --- a/pkg/morph/policy/policy_contract_storage.go +++ b/pkg/morph/policy/policy_contract_storage.go @@ -104,6 +104,15 @@ func (s *ContractStorage) ListMorphRuleChains(name chain.Name, target engine.Tar return chains, nil } +func (s *ContractStorage) GetAdmin() (util.Uint160, error) { + return s.contractInterface.GetAdmin() +} + +func (s *ContractStorage) SetAdmin(addr util.Uint160) error { + _, _, err := s.contractInterface.SetAdmin(addr) + return err +} + func bytesFromStackItem(param stackitem.Item) ([]byte, error) { switch param.Type() { case stackitem.BufferT, stackitem.ByteArrayT, stackitem.IntegerT: