Traders are charged a default commission fee of 0.3% on every swap that uses one of Ruby's XY=K pools, and 0.04% for every StableSwap trade. These fees are divided between Liquidity Providers (LPs) for those pools, and the RubyMaker contract, which distributes a percentage of fees to RUBY holders who have staked their tokens. LP rewards are locked for three months. LPs who want to access their earnings before the end of this vesting period can do so by paying a 50% penalty fee.RUBY Stakers can opt to receive their rewards immediately, with no restrictions. Alternatively, they can lock their RUBY for three months and receive a higher rate of rewards, paid for by the 50% early-exit penalty fees for LPs.