@layerzerolabs/devtools-evm
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -20,2 +20,10 @@ import { OmniAddress, WithEid, OmniPoint, Factory, IOmniSDK as IOmniSDK$1, EndpointBasedFactory, OmniTransaction, OmniSigner, OmniTransactionResponse } from '@layerzerolabs/devtools'; | ||
declare const makeZeroAddress: (address?: OmniAddress | null | undefined) => string; | ||
/** | ||
* Applies checksum to a given address, lower/uppercasing | ||
* necessary characters | ||
* | ||
* @param {OmniAddress} address | ||
* @returns {OmniAddress} | ||
*/ | ||
declare const addChecksum: (address: OmniAddress) => OmniAddress; | ||
@@ -151,2 +159,2 @@ declare abstract class ContractError<TReason = unknown> extends Error { | ||
export { BigNumberishBigIntSchema, BigNumberishNumberSchema, BigNumberishSchema, ContractError, CustomError, type IOmniSDK, type OmniContract, type OmniContractFactory, OmniSDK, OmniSignerEVM, PanicError, type Provider, type ProviderFactory, RevertError, type RpcUrlFactory, UnknownError, connectOmniContract, createContractErrorParser, createProviderFactory, formatOmniContract, makeZeroAddress, omniContractToPoint, parseContractError, parseGenericError, parseLogs, parseLogsWithName }; | ||
export { BigNumberishBigIntSchema, BigNumberishNumberSchema, BigNumberishSchema, ContractError, CustomError, type IOmniSDK, type OmniContract, type OmniContractFactory, OmniSDK, OmniSignerEVM, PanicError, type Provider, type ProviderFactory, RevertError, type RpcUrlFactory, UnknownError, addChecksum, connectOmniContract, createContractErrorParser, createProviderFactory, formatOmniContract, makeZeroAddress, omniContractToPoint, parseContractError, parseGenericError, parseLogs, parseLogsWithName }; |
'use strict'; | ||
var address = require('@ethersproject/address'); | ||
var constants = require('@ethersproject/constants'); | ||
@@ -47,2 +48,3 @@ var ioDevtools = require('@layerzerolabs/io-devtools'); | ||
var makeZeroAddress = (address) => address != null ? address : constants.AddressZero; | ||
var addChecksum = (address$1) => address.getAddress(address$1); | ||
var ContractError = class extends Error { | ||
@@ -311,2 +313,3 @@ }; | ||
exports.UnknownError = UnknownError; | ||
exports.addChecksum = addChecksum; | ||
exports.connectOmniContract = connectOmniContract; | ||
@@ -313,0 +316,0 @@ exports.createContractErrorParser = createContractErrorParser; |
{ | ||
"name": "@layerzerolabs/devtools-evm", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Utilities for LayerZero EVM projects", | ||
@@ -36,2 +36,3 @@ "repository": { | ||
"@ethersproject/abstract-signer": "^5.7.0", | ||
"@ethersproject/address": "~5.7.0", | ||
"@ethersproject/bignumber": "^5.7.0", | ||
@@ -50,2 +51,3 @@ "@ethersproject/constants": "^5.7.0", | ||
"jest": "^29.7.0", | ||
"jest-extended": "^4.0.2", | ||
"ts-node": "^10.9.2", | ||
@@ -61,2 +63,3 @@ "tslib": "~2.6.2", | ||
"@ethersproject/abstract-signer": "^5.7.0", | ||
"@ethersproject/address": "~5.7.0", | ||
"@ethersproject/bignumber": "^5.7.0", | ||
@@ -63,0 +66,0 @@ "@ethersproject/constants": "^5.7.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
84385
752
13
23