Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@coinmasters/toolbox-evm

Package Overview
Dependencies
Maintainers
2
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coinmasters/toolbox-evm - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

55

dist/index.d.ts
import type { Asset } from '@coinmasters/types';
import { AssetValue } from '@coinmasters/helpers';
import { BaseDecimal } from '@coinmasters/types';
import { BaseDecimal as BaseDecimal_2 } from '@swapkit/types';
import type { BigNumberish } from 'ethers';
import { BrowserProvider } from 'ethers';
import { Chain } from '@coinmasters/types';
import { Chain as Chain_2 } from '@swapkit/types';
import { ChainId } from '@coinmasters/types';
import { ChainId as ChainId_2 } from '@swapkit/types';
import { Contract } from 'ethers';

@@ -15,6 +12,4 @@ import { ContractTransaction } from 'ethers';

import { EVMChain } from '@coinmasters/types';
import { EVMChain as EVMChain_2 } from '@swapkit/types';
import type { EVMTxBaseParams } from '@coinmasters/types';
import { FeeOption } from '@coinmasters/types';
import { FeeOption as FeeOption_2 } from '@swapkit/types';
import { Fragment } from 'ethers';

@@ -27,3 +22,2 @@ import { HDNodeWallet } from 'ethers';

import { RPCUrl } from '@coinmasters/types';
import { RPCUrl as RPCUrl_2 } from '@swapkit/types';
import { Signer } from 'ethers';

@@ -35,3 +29,2 @@ import type { Transaction } from 'ethers';

import { WalletTxParams } from '@coinmasters/types';
import { WalletTxParams as WalletTxParams_2 } from '@swapkit/types';

@@ -495,3 +488,3 @@ export declare const addAccountsChangedCallback: (callback: () => void) => void;

export declare const getToolboxByChain: (chain: EVMChain_2) => Promise<(({ api, provider, signer, covalentApiKey, }: {
export declare const getToolboxByChain: (chain: EVMChain) => Promise<(({ api, provider, signer, covalentApiKey, }: {
api?: {

@@ -501,3 +494,3 @@ getBalance: (address: any) => Promise<{

decimal: number;
chain: Chain_2;
chain: Chain;
symbol: string;

@@ -511,8 +504,8 @@ }[]>;

getNetworkParams: () => {
chainId: ChainId_2;
chainId: ChainId;
chainName: string;
nativeCurrency: {
name: string;
symbol: Chain_2;
decimals: BaseDecimal_2;
symbol: Chain;
decimals: BaseDecimal;
};

@@ -531,3 +524,3 @@ rpcUrls: string[];

estimateCall: (params: EstimateCallParams) => Promise<bigint>;
estimateGasLimit: ({ assetValue, recipient, memo, }: WalletTxParams_2 & {
estimateGasLimit: ({ assetValue, recipient, memo, }: WalletTxParams & {
assetValue: AssetValue;

@@ -569,3 +562,3 @@ }) => Promise<bigint>;

isApproved: (params: IsApprovedParams) => Promise<boolean>;
sendTransaction: (params: EIP1559TxParams, feeOption: FeeOption_2) => Promise<string | TransactionResponse>;
sendTransaction: (params: EIP1559TxParams, feeOption: FeeOption) => Promise<string | TransactionResponse>;
transfer: (params: TransferParams) => Promise<string | TransactionResponse>;

@@ -576,3 +569,3 @@ validateAddress: (address: string) => boolean;

getBalance: (address: string) => Promise<{
chain: Chain_2;
chain: Chain;
symbol: string;

@@ -596,3 +589,3 @@ value: string;

estimateCall: (params: EstimateCallParams) => Promise<bigint>;
estimateGasLimit: ({ assetValue, recipient, memo, }: WalletTxParams_2 & {
estimateGasLimit: ({ assetValue, recipient, memo, }: WalletTxParams & {
assetValue: AssetValue;

@@ -634,3 +627,3 @@ }) => Promise<bigint>;

isApproved: (params: IsApprovedParams) => Promise<boolean>;
sendTransaction: (params: EIP1559TxParams, feeOption: FeeOption_2) => Promise<string | TransactionResponse>;
sendTransaction: (params: EIP1559TxParams, feeOption: FeeOption) => Promise<string | TransactionResponse>;
transfer: (params: TransferParams) => Promise<string | TransactionResponse>;

@@ -643,3 +636,3 @@ validateAddress: (address: string) => boolean;

decimal: number;
chain: Chain_2;
chain: Chain;
symbol: string;

@@ -658,10 +651,10 @@ }[]>;

getNetworkParams: () => {
chainId: ChainId_2;
chainId: ChainId;
chainName: string;
nativeCurrency: {
name: string;
symbol: Chain_2;
decimals: BaseDecimal_2;
symbol: Chain;
decimals: BaseDecimal;
};
rpcUrls: RPCUrl_2[];
rpcUrls: RPCUrl[];
blockExplorerUrls: string[];

@@ -698,7 +691,7 @@ };

estimateCall: (params: EstimateCallParams) => Promise<bigint>;
estimateGasLimit: ({ assetValue, recipient, memo, }: WalletTxParams_2 & {
estimateGasLimit: ({ assetValue, recipient, memo, }: WalletTxParams & {
assetValue: AssetValue;
}) => Promise<bigint>;
isApproved: (params: IsApprovedParams) => Promise<boolean>;
sendTransaction: (params: EIP1559TxParams, feeOption: FeeOption_2) => Promise<string | TransactionResponse>;
sendTransaction: (params: EIP1559TxParams, feeOption: FeeOption) => Promise<string | TransactionResponse>;
transfer: (params: TransferParams) => Promise<string | TransactionResponse>;

@@ -711,3 +704,3 @@ validateAddress: (address: string) => boolean;

decimal: number;
chain: Chain_2;
chain: Chain;
symbol: string;

@@ -721,10 +714,10 @@ }[]>;

getNetworkParams: () => {
chainId: ChainId_2;
chainId: ChainId;
chainName: string;
nativeCurrency: {
name: string;
symbol: Chain_2;
decimals: BaseDecimal_2;
symbol: Chain;
decimals: BaseDecimal;
};
rpcUrls: RPCUrl_2[];
rpcUrls: RPCUrl[];
blockExplorerUrls: string[];

@@ -752,7 +745,7 @@ };

estimateCall: (params: EstimateCallParams) => Promise<bigint>;
estimateGasLimit: ({ assetValue, recipient, memo, }: WalletTxParams_2 & {
estimateGasLimit: ({ assetValue, recipient, memo, }: WalletTxParams & {
assetValue: AssetValue;
}) => Promise<bigint>;
isApproved: (params: IsApprovedParams) => Promise<boolean>;
sendTransaction: (params: EIP1559TxParams, feeOption: FeeOption_2) => Promise<string | TransactionResponse>;
sendTransaction: (params: EIP1559TxParams, feeOption: FeeOption) => Promise<string | TransactionResponse>;
transfer: (params: TransferParams) => Promise<string | TransactionResponse>;

@@ -759,0 +752,0 @@ validateAddress: (address: string) => boolean;

@@ -17,4 +17,4 @@ {

"vitest": "0.34.6",
"@coinmasters/helpers": "4.0.1",
"@internal/config": "2.0.1"
"@internal/config": "2.0.1",
"@coinmasters/helpers": "4.0.1"
},

@@ -50,3 +50,3 @@ "eslintConfig": {

"types": "./dist/index.d.ts",
"version": "4.0.1",
"version": "4.0.2",
"scripts": {

@@ -53,0 +53,0 @@ "build": "vite build",

@@ -1,2 +0,2 @@

import { Chain, type EVMChain } from '@swapkit/types';
import { Chain, type EVMChain } from '@coinmasters/types';

@@ -3,0 +3,0 @@ import { ARBToolbox } from './arb.ts';

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc