Assuming I would have to store Monero addresses or any cryptonote based coins addresses in a smart contract, would there be any issues?
Consider that those addresses are as long as this random monero address:
43ZmqBKrvcL7nRYfTTrpngJ8M9bB6HyuvVnQzqJJW5Gai1ScVVDeSy5jDkKtt7qgB1Ld4Fx3MHEw1HkwZNPVkpmN7rhk9YT
The following smart contract stores the above address, however are there any drawbacks such as potential cybersecurity issues? Also could that smart contract be improved to be more efficient by storing the monero address as bytes rather than string??
pragma solidity ^0.5.1;
contract Addresses
{
string public moneroAddress;
function setAddress(string address_)public returns(bool)
{
moneroAddress = address_;
}
}