stacks-archive / stacks-transactions-js

The JavaScript library for generating Stacks 2.0 transactions
19 stars 17 forks source link

Function to convert ABI function to Clarity repr string #84

Closed reedrosenbluth closed 4 years ago

reedrosenbluth commented 4 years ago

Description

  1. Convert an ABI function typedef to a Clarity typedef string
  2. Reformat output from type -> string functions

Type of Change

Checklist

codecov[bot] commented 4 years ago

Codecov Report

Merging #84 into master will increase coverage by 0.06%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
+ Coverage   84.35%   84.41%   +0.06%     
==========================================
  Files          27       27              
  Lines        1713     1720       +7     
  Branches      370      373       +3     
==========================================
+ Hits         1445     1452       +7     
  Misses        266      266              
  Partials        2        2              
Impacted Files Coverage Δ
src/clarity/clarityValue.ts 100.00% <100.00%> (ø)
src/contract-abi.ts 74.30% <100.00%> (+1.04%) :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 598ed1c...57b360f. Read the comment docs.