mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
10 lines
261 B
TypeScript
10 lines
261 B
TypeScript
/**
|
|
* @dev This is a simple script that keeps track of gas spent during deployment.
|
|
*/
|
|
import { BigNumber } from 'ethers';
|
|
|
|
export var totalGas:BigNumber = BigNumber.from(0);
|
|
|
|
export function addGas(amount: BigNumber) {
|
|
totalGas = totalGas.add(amount);
|
|
} |