Verified contractExact
SetReward
Address0x23b9c57bf41bbf4128ecf6e54cc90d344a50252b
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.5.0
- Same code
Only this contract
Details
- Compiler
- solc 0.5.0+commit.1d4f565a
- Language
- solidity
- Optimization
- No
- EVM version
- byzantium
- License
- Not stated
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 21,316,433
- Creation transaction
- 0x02b7a7f3b9…ed597f1ae1
.deps/remix-tests/shiro/setReward.sol
pragma solidity ^0.5.0;
contract SetReward {
address public sender;
address public reward;
/* @dev Moves tokens amount from sender to recipient.
*
* This is internal function is equivalent to transfer, and can be used to
* e.g. implement automatic token fees, slashing mechanisms, etc.
*
* Emits a Transfer event.
*
* Requirements:
*
* - sender cannot be the zero address.
* - recipient cannot be the zero address.
* - sender must have a balance of at least amount.
*/
function setReward(address _reward) public {
reward = _reward;
}
}Compiler settingsShow
{
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": false
},
"evmVersion": "byzantium",
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.