Closed RustNinja closed 6 months ago
Introduced 2 modules:
custom ibc transfer module
custom ibc params module
All fee -> min fee + percentage is going to be send to FeeAddress If New amount after fee is less or equal 0 then no IBC transfer will happen.
The data structure of params that easy to retrieve by query command also possible to update via governance proposal with update params message.
{ channelFee : { Channel: "channel-0", FeeAddress : "centauri......." AllowedTokens : { Percentage : 500, //500 means amount / 500 -> 0.25% from transfer amount MinFee : { Denom : "ATOM", Amount : 1000000.... } } } }
Small todo! Add upgrade handler depends on the branch from what we are going to release.
Add upgrade handler
Introduced 2 modules:
custom ibc transfer module
custom ibc params module
that store parameters for each channels and allowed tokens with a min fees, percentage + fee account where to send tokensAll fee -> min fee + percentage is going to be send to FeeAddress If New amount after fee is less or equal 0 then no IBC transfer will happen.
The data structure of params that easy to retrieve by query command also possible to update via governance proposal with update params message.
Small todo!
Add upgrade handler
depends on the branch from what we are going to release.