Contract detail
Token
Token is a verified Robinhood Chain smart contract at 0x1bdea2c4…4080eb39 with 1 indexed transactions.
- Address type
- Smart contract
- Transactions
- 1
- First indexed block
- #919853
- Latest indexed block
- #919853
- ERC-20 transfers
- 1
- Emitted events
- 5
- Token tracker
- test2 (t2)
- Verification
- Verified
- Compiler
- v0.8.35+commit.47b9dedd
- Verification match
- full
- Creation transaction
- 0x87052b1c…038851ab
- Created at block
- #919853
- Language
- solidity
- EVM version
- osaka
- License
- none
- Compiler optimization
- Enabled · 200 runs
Related activity
Transactions
| Transaction | Block | From | To | Value (wei) |
|---|---|---|---|---|
| 0x627f5bf2…6d885666 | #919853 | 0x151405a2…90d59388 | 0x1bdea2c4…4080eb39 | 0 |
Verified contract
Contract source code
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
/// @title Generic fixed-supply ERC-20 for Robinhood Chain
/// @notice Name, symbol, and supply are set at deploy time via constructor args.
/// The entire supply is minted to the deployer.
contract Token is ERC20 {
constructor(string memory name_, string memory symbol_, uint256 supplyWholeTokens)
ERC20(name_, symbol_)
{
_mint(msg.sender, supplyWholeTokens * 10 ** decimals());
}
}