If a function of interface is missing in the contract, can you instantiate the contract using that interface?
for eg.

I have a mint method in the interface but no such methods in that contract.
Now I need to instantiate that contract using the same interface although the method is missing.

Apr 3, 2021, 9:58 AM
Sure, just need an empty declaration of the function in the interface and than you can use that inteface to call the function. (same as icx)
Apr 3, 2021, 10:36 AM
thanks for the reply, Found that issue was on a different thing. 😁
Apr 3, 2021, 10:39 AM

© 2024 Draquery.com All rights reserved.