Skip to content

Latest commit

 

History

History
89 lines (75 loc) · 3.8 KB

REWARD_MANAGEMENT.md

File metadata and controls

89 lines (75 loc) · 3.8 KB

Reward Management

NATIVE-TO-ERC

Configuration:

HOME_REWARDABLE=ONE_DIRECTION
FOREIGN_REWARDABLE=ONE_DIRECTION

Home to Foreign transfer

Fees are calculated and distributed on Foreign network. Validators will receive ERC20 tokens. native-erc-hometoforeign

Foreign to Home transfer

Fees are calculated and distributed on Home network. Validators will receive native coins. native-erc-foreigntohome

NATIVE-TO-ERC - Fees collected on Home network only

Configuration:

HOME_REWARDABLE=BOTH_DIRECTIONS
FOREIGN_REWARDABLE=false

Home to Foreign transfer

Fees are calculated and distributed on Home network. Validators will receive native coins. native-erc-homefee-hometoforeign

Foreign to Home transfer

Fees are calculated and distributed on Home network. Validators will receive native coins. native-erc-homefee-foreigntohome

ERC-TO-NATIVE - Fees distributed among bridge validators

Configuration:

HOME_REWARDABLE=BOTH_DIRECTIONS
FOREIGN_REWARDABLE=false
HOME_FEE_MANAGER_TYPE=BRIDGE_VALIDATORS_REWARD

Foreign to Home transfer

Fees are calculated and distributed on Home network. Validators will receive native coins. erc-native-foreigntohome

Home to Foreign transfer

Fees are calculated and distributed on Home network. Validators will receive native coins. erc-native-hometoforeign

ERC-TO-NATIVE - Fees distributed among network validators

Configuration:

HOME_REWARDABLE=BOTH_DIRECTIONS
FOREIGN_REWARDABLE=false
HOME_FEE_MANAGER_TYPE=POSDAO_REWARD

Foreign to Home transfer

Fees are calculated and distributed on Home network. Validators will receive native coins. POSDAO-ERC-Native-ForeignToHome

Home to Foreign transfer

Fees are calculated and distributed on Home network. Validators will receive native coins. POSDAO-ERC-Native-HomeToForeign

ERC-TO-ERC

Configuration:

HOME_REWARDABLE=BOTH_DIRECTIONS
FOREIGN_REWARDABLE=false

Foreign to Home transfer

Fees are calculated and distributed on Home network. Validators will receive ERC20 tokens. ERC-ERC-ForeignToHome

Home to Foreign transfer

Fees are calculated and distributed on Home network. Validators will receive ERC20 tokens. ERC-ERC-HomeToForeign

AMB-NATIVE-TO-ERC

Configuration:

HOME_REWARDABLE=ONE_DIRECTION
FOREIGN_REWARDABLE=ONE_DIRECTION

Home to Foreign transfer

Fees are calculated and distributed on Foreign network. The reward accounts will receive ERC20 tokens. AMB-NATIVE-TO-ERC677-Home-Foreign

Foreign to Home transfer

Fees are calculated and distributed on Home network. The reward accounts will receive native tokens. AMB-NATIVE-TO-ERC677-Foreign-Home