|
|
@ -17,14 +17,16 @@ MAX_CONTENT_LENGTH = 32 * 1024 * 1024
|
|
|
|
TEMPLATES_AUTO_RELOAD = getenv('TEMPLATES_AUTO_RELOAD', True)
|
|
|
|
TEMPLATES_AUTO_RELOAD = getenv('TEMPLATES_AUTO_RELOAD', True)
|
|
|
|
|
|
|
|
|
|
|
|
# Contract
|
|
|
|
# Contract
|
|
|
|
CONTRACT_TESTNET = getenv('TESTNET', 1)
|
|
|
|
TESTNET = getenv('TESTNET', 1)
|
|
|
|
CONTRACT_OWNER = 'lzamenace.eth'
|
|
|
|
CONTRACT_OWNER = 'lzamenace.eth'
|
|
|
|
if int(CONTRACT_TESTNET) == 1:
|
|
|
|
if int(TESTNET) == 1:
|
|
|
|
WOWX_ADDRESS = '0xc6B039b1e0be1ba0B433f319898438E782E5dEBA' # WOWX testnet
|
|
|
|
WOWX_ADDRESS = '0xc6B039b1e0be1ba0B433f319898438E782E5dEBA' # WOWX testnet
|
|
|
|
CONTRACT_ADDRESS = '0xE1b6483729557E539cfD9c3Bdb754C54c16cFCe7' # SWX testnet
|
|
|
|
CONTRACT_ADDRESS = '0xE1b6483729557E539cfD9c3Bdb754C54c16cFCe7' # SWX testnet
|
|
|
|
|
|
|
|
CONTRACT_TESTNET = True
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
WOWX_ADDRESS = '0xba5dc7e77d150816b758e9826fcad2d74820e379' # WOWX mainnet
|
|
|
|
WOWX_ADDRESS = '0xba5dc7e77d150816b758e9826fcad2d74820e379' # WOWX mainnet
|
|
|
|
CONTRACT_ADDRESS = '0x60bDE7a29c653142BBAB1fe094016af2f4776158' # SWX mainnet
|
|
|
|
CONTRACT_ADDRESS = '0x60bDE7a29c653142BBAB1fe094016af2f4776158' # SWX mainnet
|
|
|
|
|
|
|
|
CONTRACT_TESTNET = False
|
|
|
|
|
|
|
|
|
|
|
|
CONTRACT_ABI = [
|
|
|
|
CONTRACT_ABI = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|