ethers-tools
Version:
Contains tools for work with web3 contracts.
41 lines (39 loc) • 744 B
TypeScript
import { Address } from './entities';
export interface GlobalConfig {
multicallUnit: {
address: string | Address;
allowFailure: boolean;
waitForTxs: boolean;
staticCalls: {
batchLimit: number;
timeoutMs: number;
};
mutableCalls: {
batchLimit: number;
timeoutMs: number;
};
waitCalls: {
timeoutMs: number;
};
priorityCalls: {
multiplier: number;
};
batchDelayMs: number;
maxAsyncReadBatches: number;
};
contract: {
staticCalls: {
timeoutMs: number;
};
mutableCalls: {
timeoutMs: number;
};
logsGathering: {
blocksStep: number;
delayMs: number;
};
};
priorityCalls: {
multiplier: number;
};
}