Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into SDK-4260-query-orders…
Browse files Browse the repository at this point in the history
…-does-not-return-trader-id-and-finish-time
  • Loading branch information
melsomino committed Dec 29, 2022
2 parents e525d4f + ce1442d commit 3e0b0cc
Show file tree
Hide file tree
Showing 6 changed files with 615 additions and 0 deletions.
20 changes: 20 additions & 0 deletions integration-test/FLEX.API.suite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
*** Settings ***
# Prerequisite
- Deploy Msig everWallet (1000 EVER)
- Mint TIP3.2 tokens (100 TSDT) for Msig everWallet
- Deploy Flex client (100 EVER)
- Generate pub/priv keys for Trader Id
- Deploy Trader wallets (Native 100 EVER & Wrapped 50 TSDT & Wrapped 50 EVER)
- makeOrder(priceA)
- makeOrder(priceZ)
- create another Trader and his wallets
- makeOrder(priceX buys priceZ)

*** Test Cases ***
# API
Test query
call flex.query(generated from FLEX.mm.md#FLEX.API.query.flex)

# API
Test subscription
call flex.query(generated from FLEX.mm.md#FLEX.API.subscription)
32 changes: 32 additions & 0 deletions integration-test/FLEX.deploy.suite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
*** Settings ***
# Prerequisite
- Deploy Msig everWallet (1000 EVER)
- Mint TIP3.2 tokens (100 TSDT) for Msig everWallet
- Deploy Flex client (100 EVER)
- Generate pub/priv keys for Trader Id
- Deploy Trader wallets (Native 100 EVER & Wrapped 50 TSDT & Wrapped 50 EVER)

*** Test Cases ***
# Flex client
Test client deploy
call Client.deploy
Verify client exists

# Trader
Test trader deploy
call Trader.dploy
Verify trader exists

Test deployEverWallet
[after] deploy trader
call Trader.deployEverWallet
Verify wallet value

Test deployTip31Wallet
[after] deploy trader
call Trader.deployEverWallet
Verify wallet value

Test topUp
call Trader.deployEverWalletopUp
Verify wallet value
Loading

0 comments on commit 3e0b0cc

Please sign in to comment.