aragon / radspec

🤘 Radspec is a safe interpreter for Ethereum's NatSpec
MIT License
141 stars 36 forks source link

feat: add approveAndCall() to known functions #102

Closed willjgriff closed 4 years ago

willjgriff commented 4 years ago

Added approveAndCall() to the known functions list and added a test for it.

codecov-commenter commented 4 years ago

Codecov Report

Merging #102 into master will increase coverage by 0.31%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #102      +/-   ##
==========================================
+ Coverage   92.06%   92.37%   +0.31%     
==========================================
  Files          35       35              
  Lines         756      787      +31     
==========================================
+ Hits          696      727      +31     
  Misses         60       60              
Impacted Files Coverage Δ
src/data/knownFunctions.js 100.00% <ø> (ø)
src/types/fixed.js 100.00% <0.00%> (ø)
src/types/index.js 100.00% <0.00%> (ø)
src/scanner/index.js 95.62% <0.00%> (+0.97%) :arrow_up:
src/types/bytes.js 86.66% <0.00%> (+2.05%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fe09c2d...882bdb8. Read the comment docs.