Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
contractAddress(value) {
return getContractAddress(value);
}
// Strict! Used on input.
Formatter.prototype.contractAddress = function (value) {
return address_1.getContractAddress(value);
};
// Strict! Used on input.
ContractFactory.getContractAddress = function (tx) {
return address_1.getContractAddress(tx);
};
ContractFactory.getContract = function (address, contractInterface, signer) {
static getContractAddress(tx) {
return getContractAddress(tx);
}
static getContract(address, contractInterface, signer) {
Contract.getContractAddress = function (transaction) {
return address_1.getContractAddress(transaction);
};
Contract.getInterface = function (contractInterface) {
static getContractAddress(transaction) {
return getContractAddress(transaction);
}
static getInterface(contractInterface) {