virtualeconomy / v-systems

V Systems Reference Full Node
Other
115 stars 45 forks source link

Contract/vswap #238

Closed ncying closed 3 years ago

ncying commented 3 years ago

PR Details

Description

Add V Swap (AMM) contract

Related Issue

None

Motivation and Context

For V Token exchange

How Has This Been Tested

All unit test passed

Types of changes

Checklist

codecov-io commented 3 years ago

Codecov Report

Merging #238 into exchange will decrease coverage by 3.70%. The diff coverage is 5.82%.

Impacted file tree graph

@@             Coverage Diff              @@
##           exchange     #238      +/-   ##
============================================
- Coverage     66.27%   62.57%   -3.71%     
============================================
  Files           200      201       +1     
  Lines          5839     6209     +370     
  Branches        263      261       -2     
============================================
+ Hits           3870     3885      +15     
- Misses         1969     2324     +355     
Impacted Files Coverage Δ
...scala/vsys/blockchain/contract/ContractVSwap.scala 0.00% <0.00%> (ø)
...n/scala/vsys/blockchain/contract/ContractGen.scala 100.00% <100.00%> (ø)
.../scala/vsys/blockchain/contract/ContractLock.scala 100.00% <100.00%> (ø)
...s/blockchain/contract/ContractPaymentChannel.scala 100.00% <100.00%> (ø)
...ain/scala/vsys/api/http/TransactionsApiRoute.scala 54.90% <0.00%> (+0.98%) :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 3f011cf...35d5651. Read the comment docs.