Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit 9e0752a

Browse files
committed
weth-pusd constants
1 parent 3b3d186 commit 9e0752a

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

dydx/constants.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
PAIR_WETH_USDC = 'WETH-USDC'
4141
PAIR_DAI_USDC = 'DAI-USDC'
4242
PAIR_PBTC_USDC = 'PBTC-USDC'
43+
PAIR_WETH_PUSD = 'WETH_PUSD'
4344

4445
DECIMALS_WETH = 18
4546
DECIMALS_SAI = 18
@@ -57,12 +58,15 @@
5758
SMALL_TRADE_SIZE_DAI = 10000 * (10 ** DECIMALS_DAI)
5859
SMALL_TRADE_SIZE_PBTC = 0.5 * (10 ** DECIMALS_PBTC)
5960
FEE_SMALL_WETH = Decimal(100) * FROM_BIPS
60-
FEE_LARGE_WETH = Decimal(15) * FROM_BIPS
61+
FEE_LARGE_WETH = Decimal(100) * FROM_BIPS
6162
FEE_SMALL_DAI = Decimal(100) * FROM_BIPS
62-
FEE_LARGE_DAI = Decimal(5) * FROM_BIPS
63-
FEE_LARGE_PBTC = Decimal(7.5) * FROM_BIPS
64-
FEE_SMALL_PBTC = Decimal(50) * FROM_BIPS
65-
FEE_MAKER_PBTC = Decimal(-2.5) * FROM_BIPS
63+
FEE_LARGE_DAI = Decimal(100) * FROM_BIPS
64+
FEE_LARGE_PBTC = Decimal(100) * FROM_BIPS
65+
FEE_SMALL_PBTC = Decimal(100) * FROM_BIPS
66+
FEE_MAKER_PBTC = Decimal(100) * FROM_BIPS
67+
FEE_LARGE_WETH_PUSD = Decimal(100) * FROM_BIPS
68+
FEE_SMALL_WETH_PUSD = Decimal(100) * FROM_BIPS
69+
FEE_MAKER_WETH_PUSD = Decimal(100) * FROM_BIPS
6670
FEE_ZERO = Decimal(0)
6771

6872
# ------------ Transaction Constants ------------

tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def _additional_matcher(request):
9494
assert order['amount'] == str(args['amount'])
9595
assert order['limitPrice'] == str(args['limitPrice'])
9696
assert order['triggerPrice'] == '0'
97-
assert order['limitFee'] == '0.00075'
97+
assert order['limitFee'] == '0.01'
9898
assert order['maker'] == client.public_address
9999
assert order['taker'] == consts.TAKER_ACCOUNT_OWNER
100100
assert abs(

0 commit comments

Comments
 (0)