0.3.13 • Published 4 days ago
@layerzerolabs/devtools-evm-hardhat v0.3.13
Installation
yarn add @layerzerolabs/devtools-evm-hardhat
pnpm add @layerzerolabs/devtools-evm-hardhat
npm install @layerzerolabs/devtools-evm-hardhat
API Documentation
Omnigraph types
OmniContract
Interface that represents an ethers.js contract connected to a particular endpoint
import { EndpointId } from "@layerzerolabs/lz-definitions";
import { OmniContract } from "@layerzerolabs/devtools-evm";
const omniContract: OmniContract = {
eid: EndpointId.ETHEREUM_MAINNET,
contract: new Contract(address, abi),
};
OmniContractFactory
Type that represents a function that can return an OmniContract
based on an OmniPoint
import { EndpointId } from "@layerzerolabs/lz-definitions";
import { OmniPoint } from "@layerzerolabs/devtools";
import { OmniContractFactory } from "@layerzerolabs/devtools-evm";
declare const omniContractFactory: OmniContractFactory;
const omniPoint: OmniPoint = {
eid: EndpointId.ETHEREUM_MAINNET,
address: "0xEe6cF2E1Bc7645F8439d241ce37820305F2BB3F8",
};
const omniContract = await omniContractFactory(omniPoint);
0.3.13
4 days ago
0.3.12
5 days ago
0.3.11
12 days ago
0.3.10
16 days ago
0.3.9
17 days ago
0.3.8
19 days ago
0.3.7
22 days ago
0.3.6
24 days ago
0.3.5
25 days ago
0.3.4
25 days ago
0.3.3
1 month ago
0.3.2
1 month ago
0.3.0
2 months ago
0.3.1
2 months ago
0.2.15
2 months ago
0.2.14
2 months ago
0.2.13
2 months ago
0.2.12
2 months ago
0.2.11
2 months ago
0.2.10
2 months ago
0.2.8
2 months ago
0.2.7
2 months ago
0.2.6
2 months ago
0.2.5
2 months ago
0.2.4
3 months ago
0.2.3
3 months ago
0.2.2
3 months ago
0.2.1
3 months ago
0.2.0
3 months ago
0.1.6
3 months ago
0.1.4
3 months ago
0.1.3
3 months ago
0.1.2
3 months ago
0.1.1
3 months ago
0.1.0
3 months ago
0.0.11
3 months ago
0.0.10
3 months ago
0.0.9
3 months ago
0.0.8
3 months ago
0.0.7
3 months ago
0.0.6
3 months ago
0.0.5
3 months ago
0.0.4
3 months ago
0.0.3
4 months ago
0.0.2
4 months ago
0.0.1
4 months ago