How to use the @ethersproject/address.getContractAddress function in @ethersproject/address

To help you get started, we’ve selected a few @ethersproject/address examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ethers-io / ethers.js / packages / providers / lib.esm / formatter.js View on Github external
contractAddress(value) {
        return getContractAddress(value);
    }
    // Strict! Used on input.
github ethers-io / ethers.js / packages / providers / lib / formatter.js View on Github external
Formatter.prototype.contractAddress = function (value) {
        return address_1.getContractAddress(value);
    };
    // Strict! Used on input.
github ethers-io / ethers.js / packages / contracts / lib / index.js View on Github external
ContractFactory.getContractAddress = function (tx) {
        return address_1.getContractAddress(tx);
    };
    ContractFactory.getContract = function (address, contractInterface, signer) {
github ethers-io / ethers.js / packages / contracts / lib.esm / index.js View on Github external
static getContractAddress(tx) {
        return getContractAddress(tx);
    }
    static getContract(address, contractInterface, signer) {
github ethers-io / ethers.js / packages / contracts / lib / index.js View on Github external
Contract.getContractAddress = function (transaction) {
        return address_1.getContractAddress(transaction);
    };
    Contract.getInterface = function (contractInterface) {
github ethers-io / ethers.js / packages / contracts / lib.esm / index.js View on Github external
static getContractAddress(transaction) {
        return getContractAddress(transaction);
    }
    static getInterface(contractInterface) {

@ethersproject/address

Utilities for handling Ethereum Addresses for ethers.

MIT
Latest version published 2 years ago

Package Health Score

68 / 100
Full package analysis