I want to know how to instantiate an existing contract deployed intoon the blockchain using its address. e.g:
contract A {
funtcionfunction f1()
{}
}
Deployed intoA
is deployed on the blockchain, and in contract B
I want to call the function f1()
and get its return.
e.g:
contract B {
address contrac_A=0x123456;
//call ff1 from A
}
How should I call it using the address of A
?