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.
For each incoming XCM message the parachain takes some fees on assets and burns some of them (value in units needed to execute transaction)
Since the parachain has not any tokenomics there are two ways to organize the transaction fee withdrawal
1) Calculate the rate of each asset on the parachain and take some fees based on that. The fees would be sent to outbound channel to technical account or other treasury account or an entity
2) Calculate the rate of each asset on Sora network.
The second way is more relevant because it is easier to organize the asset rate calculation on sora side. Bit the biggest drawback of that way - is to leave parachain without transaction fees that leads to security vulnerability. Thus, parachain should have a protection from spamming with low amounts of tokens - so for each registered asset the minimum amount that can be passed through the bridge should exist.
Description
No response
Definition of Done
Create a storage that keeps the information about minimum amount of assets that can be sent to it via XCM
Create a code that checks for this amount and returns an error for each amount
Problem statement
The second way is more relevant because it is easier to organize the asset rate calculation on sora side. Bit the biggest drawback of that way - is to leave parachain without transaction fees that leads to security vulnerability. Thus, parachain should have a protection from spamming with low amounts of tokens - so for each registered asset the minimum amount that can be passed through the bridge should exist.
Description
No response
Definition of Done
Requirements
No response