-
Notifications
You must be signed in to change notification settings - Fork 6
RAM Considerations
The AtomicMarket pays for any RAM costs associated to the balance table. The RAM costs for one row are 112 + 1 + 16 * [amount of different tokens] B
.
A balance table entry is only created for accounts that actively interact with the AtomicMarket smart contract or authors of an AtomicAssets collection. It is therefore assumed that an attacker can only for make the AtomicMarket smart contract pay for balance tables rows of accounts that the attacker has control over. The ~3kB of RAM required to create an account that an attacker has to pay is therefore significantly higher than the potential damage caused.
Anyone can pay for the RAM of an existing sale / auction / buyoffer using the paysaleram / payauctram / paybuyoram actions.
This is meant to give dapps the ability to pay for sales / auctions / buyoffers of their assets, in order to improve their users' experience.
Marketplace for atomicassets.io - developed with ❤️ by pink.network