1. console 열어서 safe contract 주소를 찾는다

image.png

  1. 해당 주소로 owner값을 알아낸다

image.png

  1. source 살펴보니 openSafe() 함수로 owner여부를 판단하는 것을 알게됨

image.png

  1. await window.contract.methods.opensafe().call({from: account}); 에 account에 아까 찾은 owner 삽입

image.png