aave-protocol-v2/gas-tracker.ts
2021-01-14 18:43:49 -05:00

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);
}