Skip to content
Snippets Groups Projects
Commit 71c2bd01 authored by Matias Barros's avatar Matias Barros
Browse files

Agrego config de tst

parent 2ddebd84
No related branches found
No related tags found
No related merge requests found
# DEBUG
DEBUG = False
APP_ROOT = '/var/www/poppins.bc.local/app/Poppins/'
STATIC_ROOT = '/var/www/poppins.bc.local/html'
# MAIL DATA
EMAIL_USE_TLS = False
EMAIL_HOST = '172.16.1.106'
EMAIL_PORT = 25
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_FROM = 'no-reply@bfa.ar'
DEFAULT_FROM_EMAIL = 'no-reply@bfa.ar'
ADMIN_EMAIL = 'no-reply@bfa.ar'
# NODO DE BLOACJAJEICHAIN
NODE_URL = 'http://10.23.10.73:54450' # salberchain
# CFG BLOCKCHANGE
DISTILLERY_ADDRESS = '0x822c2b518dCfEE69d435E0C5F2e6d196FcC8320E' # distillery
DISTRIBUTOR_ACCOUNT = '0xA9cAc6C2EF4909A05eF24A12Ecadf9E541B5995F' # cuenta con mucho ether con su clave privada en
# el 10.23.10.73
# cuentas para pruebas: 0xd57c1f52ff4513c721bd22ccbee55b7cef440b5c y 0x6664e892a36e74e1e618b9bfb25caa0f18b311a4
# passphrase prueba para ambas cuentas
DISTILLERY_ABI = '[ { "anonymous": false, "inputs": [ { "indexed": false, "name": "amount", "type": "uint256" } ], ' \
'"name": "proofOfControlWeiAmountChanged", "type": "event" }, { "constant": false, "inputs": [ { ' \
'"name": "acc", "type": "address" }, { "name": "limit", "type": "uint256" } ], ' \
'"name": "addBeneficiary", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, ' \
'"stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": ' \
'"add", "type": "address" }, { "name": "password", "type": "bytes32" } ], "name": "addSuitor", ' \
'"outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", ' \
'"type": "function" }, { "constant": false, "inputs": [ { "name": "acc", "type": "address" }, ' \
'{ "name": "limit", "type": "uint256" } ], "name": "changeLimit", "outputs": [ { "name": "", ' \
'"type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, ' \
'{ "constant": false, "inputs": [ { "name": "acc", "type": "address" } ], "name": "kickBeneficiary", ' \
'"outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", ' \
'"type": "function" }, { "constant": false, "inputs": [ { "name": "acc", "type": "address" } ], ' \
'"name": "kickDistributor", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, ' \
'"stateMutability": "nonpayable", "type": "function" }, { "anonymous": false, "inputs": [ { ' \
'"indexed": true, "name": "distr", "type": "address" }, { "indexed": true, "name": "ben", ' \
'"type": "address" }, { "indexed": false, "name": "newLimit", "type": "uint256" } ], ' \
'"name": "limitChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, ' \
'"name": "suitor", "type": "address" } ], "name": "suitorApproved", "type": "event" }, ' \
'{ "anonymous": false, "inputs": [ { "indexed": true, "name": "suitor", "type": "address" } ], ' \
'"name": "suitorNotApproved", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": ' \
'true, "name": "kicked", "type": "address" } ], "name": "kickedDistributor", "type": "event" }, ' \
'{ "anonymous": false, "inputs": [ { "indexed": true, "name": "suitor", "type": "address" }, ' \
'{ "indexed": true, "name": "distr", "type": "address" } ], "name": "suitorAdded", "type": "event" ' \
'}, { "anonymous": false, "inputs": [ { "indexed": true, "name": "distr", "type": "address" }, ' \
'{ "indexed": true, "name": "added", "type": "address" }, { "indexed": false, "name": "limit", ' \
'"type": "uint256" } ], "name": "addedBeneficiary", "type": "event" }, { "anonymous": false, ' \
'"inputs": [ { "indexed": true, "name": "distr", "type": "address" }, { "indexed": true, ' \
'"name": "kicked", "type": "address" } ], "name": "kickedBeneficiary", "type": "event" }, ' \
'{ "anonymous": false, "inputs": [ { "indexed": true, "name": "added", "type": "address" }, ' \
'{ "indexed": false, "name": "top", "type": "uint256" } ], "name": "addedDistributor", ' \
'"type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "name": "distr", ' \
'"type": "address" }, { "indexed": false, "name": "amount", "type": "uint256" } ], ' \
'"name": "replenished", "type": "event" }, { "constant": false, "inputs": [ { "name": "acc", ' \
'"type": "address" }, { "name": "top", "type": "uint256" } ], "name": "addDistributor", "outputs": [ ' \
'{ "name": "", "type": "bool" } ], "payable": false, "stateMutability": "nonpayable", ' \
'"type": "function" }, { "constant": false, "inputs": [ { "name": "key", "type": "string" } ], ' \
'"name": "proveControl", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, ' \
'"stateMutability": "nonpayable", "type": "function" }, { "constant": false, "inputs": [ { "name": ' \
'"acc", "type": "address" }, { "name": "amount", "type": "uint256" } ], "name": "replenish", ' \
'"outputs": [ { "name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", ' \
'"type": "function" }, { "constant": false, "inputs": [], "name": "replenishAll", "outputs": [ { ' \
'"name": "", "type": "bool" } ], "payable": true, "stateMutability": "payable", "type": "function" ' \
'}, { "constant": false, "inputs": [ { "name": "accs", "type": "address[]" }, { "name": "amounts", ' \
'"type": "uint256[]" } ], "name": "replenishList", "outputs": [], "payable": true, ' \
'"stateMutability": "payable", "type": "function" }, { "constant": false, "inputs": [ { "name": ' \
'"amount", "type": "uint256" } ], "name": "setProofOfControlWeiAmount", "outputs": [ { "name": "", ' \
'"type": "bool" } ], "payable": false, "stateMutability": "nonpayable", "type": "function" }, ' \
'{ "inputs": [], "payable": true, "stateMutability": "payable", "type": "constructor" }, ' \
'{ "constant": true, "inputs": [], "name": "getBeneficiariesCount", "outputs": [ { "name": "", ' \
'"type": "uint256" } ], "payable": false, "stateMutability": "view", "type": "function" }, ' \
'{ "constant": true, "inputs": [ { "name": "acc", "type": "address" } ], ' \
'"name": "getBeneficiaryLimit", "outputs": [ { "name": "", "type": "uint256" } ], "payable": false, ' \
'"stateMutability": "view", "type": "function" }, { "constant": true, "inputs": [ { "name": "acc", ' \
'"type": "address" } ], "name": "getDistributorLimit", "outputs": [ { "name": "", "type": "uint256" ' \
'} ], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, ' \
'"inputs": [], "name": "getProofOfControlWeiAmount", "outputs": [ { "name": "", "type": "uint256" } ' \
'], "payable": false, "stateMutability": "view", "type": "function" }, { "constant": true, ' \
'"inputs": [ { "name": "key", "type": "string" } ], "name": "hash", "outputs": [ { "name": "", ' \
'"type": "bytes32" } ], "payable": false, "stateMutability": "pure", "type": "function" }, ' \
'{ "constant": true, "inputs": [ { "name": "add", "type": "address" } ], "name": "isBeneficiary", ' \
'"outputs": [ { "name": "", "type": "bool" } ], "payable": false, "stateMutability": "view", ' \
'"type": "function" }, { "constant": true, "inputs": [ { "name": "add", "type": "address" } ], ' \
'"name": "isDistributor", "outputs": [ { "name": "", "type": "bool" } ], "payable": false, ' \
'"stateMutability": "view", "type": "function" } ] '
GOOGLE_RECAPTCHA_SECRET_KEY = '6LdIsXoUAAAAAM2CK9KUohWWFZTjpwo-Z2CP_Ndp'
DATA_SITEKEY = '6LdIsXoUAAAAAFQfkzQWPpJ5ERGdxmY8YT4bFLmt'
RAVEN_CONFIG = {
'dsn': 'http://af8a61a068af431eb80d8ee277f84364:887b38e0b1594fabb844b75309bdaab7@10.1.100.118:9000/79',
}
BLOCK_NUMBER_TO_START = 834942 # numero de bloque para empezar a buscar en el filter
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment