darwinia-network / darwinia-messages-sol

Darwinia cross-chain messages gateway and protocol for EVM developers 💌
MIT License
29 stars 8 forks source link

Support multi chain config in FeeMarket #164

Closed hujw77 closed 2 years ago

hujw77 commented 2 years ago

Different bridged chain should have different config such as collateralPerOrder, priceRatio etc.

wuminzhe commented 2 years ago

what do you mean?

the market fee is getting from storage. so I think this can be implemented through multi storage keys. A storage key contains the the pallet name.

hujw77 commented 2 years ago

One FeeMarket only serve for one bridge.