The Swapp Foundation has obtained a paid, professional audit of the SWAPP contract Solidity source code from RD Auditors, Chainsulting1, Chainsulting2, and the Certik(coming soon), all reputable auditing firms. The full audit report is included below.
RD Findings: The auditors’ conclusion was, “We have used all possible tests based on the given object. We found no critical, high, [or] medium level issues so it is good to go for production. Security state of reviewed contract is “secured”.
All public interfaces (at a minimum) should be annotated using the NatSpec format.
Unit tests should provide 100% coverage of the source code. All conceivable edge and corner cases should be covered.
Function and variable names should convey their purpose and usage as clearly and tersely as possible, in plain English. Avoid using digits, unnecessary abbreviations, acronyms, shorthand, or slang.
Functions should be as short as is practical. They should do what their name implies, and not much else. A good rule of thumb is that a function should try to be viewable in its entirety on a typical monitor, at a typical font size, if at all possible.
SWAPP — the utility token and smart contract described here.
TESLA— the base unit of the SWAPP token, similar to wei for ETH, or satoshi for BTC. One SWAPP equals one quintillion TESLA (1,000,000,000,000,000,000).
Stake — a time locked deposit of SWAPP which earns interest over time.
Auction Phase — the first thirty(30) days of the contract’s existence, during which users may deposit ETH to reserve part of the initial supply of SWAPP.
Circulation Epoch — the epoch immediately following the end of the LT Epoch, during which users may mint their tokens reserved in the LT Epoch, transfer tokens, stake tokens, etc.
Uniswap — a decentralized, non-custodial ERC-20 token and ETH exchange on the Ethereum blockchain. The SWAPP contract is integrated directly with Uniswap. General info on Uniswap is here, Uniswap exchange stats are here, and the main exchange is here.
ERC-20 — a standard interface for Ethereum smart contract tokens. ERC stands for “Ethereum Request for Comment”. The original EIP (Ethereum Improvement Proposal) describing ERC-20 tokens can be found here.