Sidechain Config

Configuration parameters for Echo Sidechain

1
struct config
2
{
3
eth_address_type eth_contract_address;
4
eth_method eth_committee_update_method;
5
eth_method eth_gen_address_method;
6
eth_method eth_withdraw_method;
7
eth_method eth_update_addr_method;
8
eth_method eth_update_contract_address;
9
eth_method eth_withdraw_token_method;
10
eth_method eth_collect_tokens_method;
11
eth_topic_type eth_committee_updated_topic;
12
eth_topic_type eth_gen_address_topic;
13
eth_topic_type eth_deposit_topic;
14
eth_topic_type eth_withdraw_topic;
15
eth_topic_type erc20_deposit_topic;
16
eth_topic_type erc20_withdraw_topic;
17
asset_id_type ETH_asset_id;
18
asset_id_type BTC_asset_id;
19
sidechain_fines fines;
20
gas_price_type gas_price;
21
uint32_t satoshis_per_byte = 1;
22
uint32_t coefficient_waiting_blocks = 0;
23
uint64_t btc_deposit_withdrawal_min = 0;
24
uint64_t btc_deposit_withdrawal_fee = 0;
25
uint64_t eth_withdrawal_fee = 0;
26
uint64_t eth_withdrawal_min = 0;
27
};
Copied!

Configuration parameters for Echo ERC20 Sidechain

1
struct erc20_config
2
{
3
uint64_t create_token_fee;
4
eth_topic_type transfer_topic;
5
eth_method check_balance_method;
6
eth_method burn_method;
7
eth_method issue_method;
8
};
Copied!

Configuration parameters for Echo Stake Sidechain

1
struct stake_config
2
{
3
eth_address_type contract_address;
4
eth_topic_type balance_updated_topic;
5
};
Copied!
Last modified 10mo ago