faucet.mint({ userAddress, // string reserve, // string tokenSymbol, // string }); Lint To lint we use EsLint with typescript plugins and extending Airbnb npm run lint Build To build run: npm run build // builds with tsdx npm run build:tsc // builds with tsc
Service(provider, faucetAddress); /* - @param `userAddress` The ethereum address of the wallet the minted tokens will go - @param `reserve` The ethereum address of the token you want to mint - @param `tokenSymbol` The symbol of the token you want to mint */ const tx = faucet....
[PASS] test_disableLiquidationGracePeriod() (gas: 80452) [PASS] test_dropReserve() (gas: 149902) [PASS] test_enableBorrowing((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2626526, ~: 2625911) [PASS] test_enableFlashBorrow((uint8,string,string,string,...
flashLoanSimple: simple flash loan 170,603 liquidationCall: deficit on liquidated asset 392,365 liquidationCall: deficit on liquidated asset + other asset 491,921 liquidationCall: full liquidation 392,365 liquidationCall: full liquidation and receive ATokens 368,722 ...
[PASS] test_disableLiquidationGracePeriod() (gas: 78005) [PASS] test_dropReserve() (gas: 148570) [PASS] test_enableBorrowing((uint8,string,string,string,string,address,address,address,bool)) (runs: 1000, μ: 2631392, ~: 2628486) [PASS] test_enableFlashBorrow((uint8,string,string,string,...
import { FaucetService } from '@aave/contract-helpers'; const faucetService = new FaucetService(provider, faucetAddress); /* - @param `userAddress` The ethereum address of the wallet the minted tokens will go - @param `reserve` The ethereum address of the token you want to mint - @pa...
[PASS] test_getFlashLoanLogic() (gas: 13598) [PASS] test_getLiquidationLogic() (gas: 13687) [PASS] test_getPoolLogic() (gas: 13683) [PASS] test_getSupplyLogic() (gas: 13682) [PASS] test_getVirtualUnderlyingBalance() (gas: 244743) [PASS] test_getters_getUserAccountData() (gas: ...
[PASS] test_getFlashLoanLogic() (gas: 13620) [PASS] test_getLiquidationLogic() (gas: 13709) [PASS] test_getPoolLogic() (gas: 13661) [PASS] test_getSupplyLogic() (gas: 13596) [PASS] test_getVirtualUnderlyingBalance() (gas: 253537) [PASS] test_getters_getUserAccountData() (gas: ...
635 | | Faucet | 2,064 | 2,596 | 22,512 | 46,556 | | FlashLoanLogic | 9,520 | 9,573 | 15,056 | 39,579 | | FlashloanAttacker | 2,123 | 2,547 | 22,453 | 46,605 | | GPv2SafeERC20 | 44 | 94 | 24,532 | 49,058 | | GenericLogic | 44 | 94 | 24,532 | 49...
Service(provider, faucetAddress); /* - @param `userAddress` The ethereum address of the wallet the minted tokens will go - @param `reserve` The ethereum address of the token you want to mint - @param `tokenSymbol` The symbol of the token you want to mint */ const tx = faucet....