Gets the contract address of the named contract. This method supports contracts used by the Belugas Protocol.
contract (string) The name of the contract.
contract
[network] (string) Optional name of the Ethereum network. Main net and all the popular public test nets are supported.
[network]
RETURN (string) Returns the address of the contract.
RETURN
console.log('aBNB Address: ', Belugas.util.getAddress(Belugas.aBNB));
Last updated 2 years ago