Skip to content

Instantly share code, notes, and snippets.

import { EndpointId } from '@layerzerolabs/lz-definitions'
import { ExecutorOptionType } from '@layerzerolabs/lz-v2-utilities'
import { TwoWayConfig, generateConnectionsConfig } from '@layerzerolabs/metadata-tools'
import { OAppEnforcedOption } from '@layerzerolabs/toolbox-hardhat'
import type { OmniPointHardhat } from '@layerzerolabs/toolbox-hardhat'
/**
* WARNING: ONLY 1 OFTAdapter should exist for a given global mesh.
* The token address for the adapter should be defined in hardhat.config. This will be used in deployment.