thirdweb-dev / contracts

Collection of smart contracts deployable via thirdweb
https://docs.thirdweb.com/contracts
Apache License 2.0
993 stars 504 forks source link

TokenPaymaster (0.7, Adjusted) #660

Closed 0xFirekeeper closed 1 day ago

0xFirekeeper commented 2 months ago

Uniswap + Oracle based single ERC20 Paymaster for runtime sponsorship, compatible with sdks

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 66.12903% with 42 lines in your changes missing coverage. Please review.

Project coverage is 65.50%. Comparing base (2104a1a) to head (934707d). Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
...ontracts/prebuilts/account/utils/UniswapHelper.sol 33.33% 14 Missing :warning:
...ebuilts/account/token-paymaster/TokenPaymaster.sol 73.33% 12 Missing :warning:
contracts/prebuilts/account/utils/OracleHelper.sol 76.74% 10 Missing :warning:
...rebuilts/account/token-paymaster/BasePaymaster.sol 60.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #660 +/- ## ========================================== - Coverage 66.21% 65.50% -0.72% ========================================== Files 220 225 +5 Lines 6900 7528 +628 ========================================== + Hits 4569 4931 +362 - Misses 2331 2597 +266 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.