811e8da6b5
* Support other oracle's gas price values in Oracle * Add default gas price factor in Oracle * Support other oracle's gas price values in UI * Support other oracle's gas price values in Monitor
56 lines
1.9 KiB
YAML
56 lines
1.9 KiB
YAML
---
|
|
## General settings
|
|
BRIDGE_MODE: "NATIVE_TO_ERC"
|
|
HOME_NATIVE_NAME: "POA"
|
|
|
|
## Home contract
|
|
HOME_RPC_URL: "https://sokol.poa.network"
|
|
HOME_NAME: "POA Sokol"
|
|
HOME_WITHOUT_EVENTS: false
|
|
HOME_BRIDGE_ADDRESS: "0x98aFdE294f1C46aA0a27Cc4049ED337F879d8976"
|
|
HOME_POLLING_INTERVAL: 5000
|
|
|
|
## Foreign contract
|
|
FOREIGN_RPC_URL: "https://sokol.poa.network"
|
|
FOREIGN_NAME: "Kovan"
|
|
FOREIGN_WITHOUT_EVENTS: false
|
|
FOREIGN_BRIDGE_ADDRESS: "0x5a584f4C30B36f282848dAc9a2b20E7BEF481981"
|
|
ERC20_TOKEN_ADDRESS: "0x6ef22442D600E1865AD8A8c254d6befCe7f4e6e4"
|
|
FOREIGN_POLLING_INTERVAL: 1000
|
|
|
|
## Home Gasprice
|
|
HOME_GAS_PRICE_ORACLE_URL: "https://gasprice.poa.network/"
|
|
HOME_GAS_PRICE_SPEED_TYPE: "standard"
|
|
HOME_GAS_PRICE_FALLBACK: 1000000000 # in wei
|
|
HOME_GAS_PRICE_UPDATE_INTERVAL: 600000
|
|
HOME_GAS_PRICE_FACTOR: 1
|
|
|
|
## Foreign Gasprice
|
|
FOREIGN_GAS_PRICE_ORACLE_URL: "https://gasprice.poa.network/"
|
|
FOREIGN_GAS_PRICE_SPEED_TYPE: "standard"
|
|
FOREIGN_GAS_PRICE_FALLBACK: 1000000000 # in wei
|
|
FOREIGN_GAS_PRICE_UPDATE_INTERVAL: 600000
|
|
FOREIGN_GAS_PRICE_FACTOR: 1
|
|
|
|
## UI
|
|
UI_TITLE: "TokenBridge UI app - %c"
|
|
UI_DESCRIPTION: "The POA cross-chain bridge serves as a method of transferring POA native tokens from the POA Network to the Ethereum network in a quick and cost-efficient manner."
|
|
UI_PORT: 3001
|
|
UI_HOME_EXPLORER_TX_TEMPLATE: https://blockscout.com/poa/sokol/tx/%s
|
|
UI_FOREIGN_EXPLORER_TX_TEMPLATE: https://blockscout.com/eth/kovan/tx/%s
|
|
UI_HOME_EXPLORER_ADDRESS_TEMPLATE: https://blockscout.com/poa/sokol/address/%s
|
|
UI_FOREIGN_EXPLORER_ADDRESS_TEMPLATE: https://blockscout.com/eth/kovan/address/%s
|
|
UI_HOME_GAS_PRICE_FALLBACK: 1000000000
|
|
UI_FOREIGN_GAS_PRICE_FALLBACK: 1000000000
|
|
|
|
## Monitor
|
|
MONITOR_PORT: 3003
|
|
MONITOR_HOME_DEPLOYMENT_BLOCK: 0
|
|
MONITOR_FOREIGN_DEPLOYMENT_BLOCK: 0
|
|
MONITOR_HOME_GAS_LIMIT: 300000
|
|
MONITOR_FOREIGN_GAS_LIMIT: 300000
|
|
MONITOR_HOME_GAS_PRICE_FALLBACK: 1000000000
|
|
MONITOR_FOREIGN_GAS_PRICE_FALLBACK: 1000000000
|
|
MONITOR_LEFT_TX_THRESHOLD: 100
|
|
MONITOR_CRON_SCHEDULE: "* * * * *"
|