A Study on Shared Objects in Sui Smart Contracts
<|reference_start|>A Study on Shared Objects in Sui Smart Contracts: In many smart contract architectures, every contract or object is mutably shared by default. The Sui smart contract platform bears the unique feature of distinguishing between shared and owned objects. While transactions operating on shared objects require consensus to sequence reads and writes, those involving only owned objects are independent and may bypass consensus; thus, the latter are less prone to this throughput bottleneck. However, it may not always be possible or desirable to avoid using shared objects. This article aims at identifying and investigating decentralized applications that require shared objects. Utilizing the Sui Rust SDK to query programmable transaction blocks, we analyze the frequency of transactions involving shared objects, shared resource contention levels, and most "popular" applications that contain shared objects. The presented results are reproducible and show the extensive usage of shared objects in Sui, low contention levels, and moderate dependency among shared objects in atomic transactions. This novel study of shared object use cases in a relatively new smart contract platform is important for improving the efficiency of such object-based architectures. This work is relevant for smart contract platform designers and smart contract developers.<|reference_end|>
@article{overko2024a,
    title={A Study on Shared Objects in Sui Smart Contracts},
    author={Roman Overko},
    journal={arXiv preprint arXiv:2406.15002},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.15002},
    primaryClass={cs.DC}
}