sora-xor / sora2-parachain

SORA is a new economic system aimed at creating a supranational, world economic system with built-in tools for decentralized finance (DeFi). The SORA network implements a new way of parachain architecture on Polkadot and Kusama network, with the capability to bridge external blockchains (like Ethereum) to the Polkadot ecosystem.
The Unlicense
15 stars 4 forks source link

[Tech]: Implement XCM Comissions on the parachain #93

Closed N1ghtStorm closed 1 year ago

N1ghtStorm commented 1 year ago

Problem statement

Due to #25 now Dummy trader is used

Description

No response

Definition of Done

  1. Make investigations how other parachain implement the trader
  2. Implement trader for Sora

Requirements

No response

N1ghtStorm commented 1 year ago

Now we use trader that burns part of any incoming tokens according to weight to spend the transaction. We can withdraw commissions sending it through and not burn tokens. For each registered tokens we can store it rate per second for commission(for example - according to it's wealth) and send the part of it to a treasury or relayers accounts, for example. It should be discussed from business perspective

Now we do not take any XCM fees for outgoing messages

N1ghtStorm commented 1 year ago

the comissions on parachain side disable due to #119