Skip to content

Commit

Permalink
add types
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuofanxu committed Jun 5, 2018
1 parent 25167ae commit 769a132
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions tokenswap/app/types.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
__author__ = 'xu'

asset_type = {
"eth": 1,
"neo": 2
}
tx_type = {
"in_tx": 1,
"out_tx": 2
}
swap_type = {
"neo_to_eth": 1,
"eth_to_neo": 2
}
order_type = {
"unpay": 0,
"paid": 1,
"sent": 2,
"completed": 3
}
send_tx_type = {
"pending": 1,
"verified": 2
}
send_tx_remark = {
"order_matching": u"tx与订单匹配",
"order_mismatching": u"tx与订单不匹配"
}

0 comments on commit 769a132

Please sign in to comment.