The Solidity Contract-Oriented Programming Language - By chatting here you agree to the https://github.com/ethereum/solidity/blob/develop/CODE_OF_CONDUCT.md
hello guys,
I have just constructed and successfully executed a token transfer transaction with extra data behind the message call (check extra 8888 added at the end of tx payload).
https://etherscan.io/tx/0xac41ca71ce075d7efb031433b205f99382cd63532de684b4437a23096b242c74
It seems working, but the question is: is it specified in solidity or it can change any time?
It is could be interesting as the base for stealth token transaction in ethereum
@phalexo with most of the proposed standards the changes are orthogonal, yes. Anything that isn't you could plan for in advance if you think that it's at all a likely outcome.
In my ERC-20 contracts I have a separate storage contract for token balances but allowances are in the ERC-20 contract. If I upgrade to a contract without allowances (or without the same way of doing allowances) I can just drop the existing ones with the old contract and set something new up on the new contract. Plus, there's no reason why you couldn't leave the ERC-20 contract in place and have multiple contracts access the same token store
Hi guys, I have a serious problem when using Remix IDE. I use Javascript VM to test my code . when I use an account to test it the address of the account is not the same as msg.sender
My code is about organising an election and for this function:
function presentyourself(address a){
require(addvoters[msg.sender].adr == a);
candidates[addvoters[msg.sender].index].cur = true;}
addvoters is a mapping : mapping (address => Voter) public addvoters;
and Voter is the structure representing a voter
cur is a boolean indicating if he presented himself as candidate or not
I need the msg.sender to be the same as the address of the account ( for more security) but it is not the case... any thoughts ?
_