How to use the @ethersproject/address.getIcapAddress 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 / ethers / utils.js View on Github external
};
Object.defineProperty(exports, "__esModule", { value: true });
var abi_1 = require("@ethersproject/abi");
exports.AbiCoder = abi_1.AbiCoder;
exports.defaultAbiCoder = abi_1.defaultAbiCoder;
exports.EventFragment = abi_1.EventFragment;
exports.FormatTypes = abi_1.FormatTypes;
exports.Fragment = abi_1.Fragment;
exports.FunctionFragment = abi_1.FunctionFragment;
exports.Indexed = abi_1.Indexed;
exports.Interface = abi_1.Interface;
exports.ParamType = abi_1.ParamType;
var address_1 = require("@ethersproject/address");
exports.getAddress = address_1.getAddress;
exports.getContractAddress = address_1.getContractAddress;
exports.getIcapAddress = address_1.getIcapAddress;
exports.isAddress = address_1.isAddress;
var base64 = __importStar(require("@ethersproject/base64"));
exports.base64 = base64;
var bytes_1 = require("@ethersproject/bytes");
exports.arrayify = bytes_1.arrayify;
exports.concat = bytes_1.concat;
exports.hexDataSlice = bytes_1.hexDataSlice;
exports.hexDataLength = bytes_1.hexDataLength;
exports.hexlify = bytes_1.hexlify;
exports.hexStripZeros = bytes_1.hexStripZeros;
exports.hexValue = bytes_1.hexValue;
exports.hexZeroPad = bytes_1.hexZeroPad;
exports.isHexString = bytes_1.isHexString;
exports.joinSignature = bytes_1.joinSignature;
exports.zeroPad = bytes_1.zeroPad;
exports.splitSignature = bytes_1.splitSignature;

@ethersproject/address

Utilities for handling Ethereum Addresses for ethers.

MIT
Latest version published 2 years ago

Package Health Score

68 / 100
Full package analysis