The contract is Ownable and Pausable from OpenZeppelin to stop it if an attack is detected.
msg.senderis used wherever necessary. The contract is ownable.
- Fixed updated pragma in Solidity compiler set to 0.8.10
- There are no private functions, but modifiers; externally callable functions have been properly set to 'public'.