Verified contractPartial
TokenHolder
Address0x71d5d9627b5fa2d0ab3cd9512810091cfdf3c0b2
- Balance
0 ETH
- Transactions
0
- Compiler
solc 0.5.8
- Same code
4,113 more contracts
Details
- Compiler
- solc 0.5.8+commit.23d335f2
- Language
- solidity
- Optimization
- No
- License
- Not stated
- Match
- Partialcreation code: no, runtime code: yes
- Verified on Sourcify
- Created in block
- 8,284,579
- Creation transaction
- 0xab5afc9934…5ae10d69bd
TokenHolder.sol
// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.5.0;
// The library at 0xcdb2d465f7fd3c985f4302ef72cb4d25cc87bb03 is unverified; only its interface is known (names from
// Sourcify's signature database). These bodies are placeholders: the library's own code is not part of this result.
library TokenLib {
function _transferToken(address token, address to) public {
token; to;
}
function _getTokenBalance(address token) public view returns (uint256) {
token;
return 0;
}
}
contract TokenHolder {
address private _primary;
constructor() public {
_primary = msg.sender;
}
modifier onlyPrimary() {
require(msg.sender == _primary, "Secondary: caller is not the primary account");
_;
}
function transferToken(address token, address to) public onlyPrimary {
TokenLib._transferToken(token, to);
}
function getCurrentTokenBalance(address token) public returns (uint256) {
return TokenLib._getTokenBalance(token);
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
}
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.