swap.proto.thorchain: move params class to .
This commit is contained in:
parent
4e0a6755f8
commit
90d500302f
2 changed files with 16 additions and 32 deletions
|
|
@ -12,14 +12,26 @@
|
|||
swap.proto.thorchain: THORChain swap protocol implementation for the MMGen Wallet suite
|
||||
"""
|
||||
|
||||
__all__ = ['params', 'data']
|
||||
__all__ = ['data']
|
||||
|
||||
name = 'THORChain'
|
||||
|
||||
from .params import params
|
||||
|
||||
from .memo import Memo as data
|
||||
class params:
|
||||
coins = {
|
||||
'send': {
|
||||
'BTC': 'Bitcoin',
|
||||
'LTC': 'Litecoin',
|
||||
'BCH': 'Bitcoin Cash',
|
||||
},
|
||||
'receive': {
|
||||
'BTC': 'Bitcoin',
|
||||
'LTC': 'Litecoin',
|
||||
'BCH': 'Bitcoin Cash',
|
||||
}
|
||||
}
|
||||
|
||||
def rpc_client(tx, amt):
|
||||
from .midgard import Midgard
|
||||
return Midgard(tx, amt)
|
||||
|
||||
from .memo import Memo as data
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
#!/usr/bin/env python3
|
||||
#
|
||||
# MMGen Wallet, a terminal-based cryptocurrency wallet
|
||||
# Copyright (C)2013-2025 The MMGen Project <mmgen@tuta.io>
|
||||
# Licensed under the GNU General Public License, Version 3:
|
||||
# https://www.gnu.org/licenses
|
||||
# Public project repositories:
|
||||
# https://github.com/mmgen/mmgen-wallet
|
||||
# https://gitlab.com/mmgen/mmgen-wallet
|
||||
|
||||
"""
|
||||
swap.proto.thorchain.params: THORChain swap protocol parameters
|
||||
"""
|
||||
|
||||
class params:
|
||||
|
||||
coins = {
|
||||
'send': {
|
||||
'BTC': 'Bitcoin',
|
||||
'LTC': 'Litecoin',
|
||||
'BCH': 'Bitcoin Cash',
|
||||
},
|
||||
'receive': {
|
||||
'BTC': 'Bitcoin',
|
||||
'LTC': 'Litecoin',
|
||||
'BCH': 'Bitcoin Cash',
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue