Contract detail
Storage
Storage is a verified Robinhood Chain smart contract at 0x050a0935…d434d3a2 with 1 indexed transactions.
- Address type
- Smart contract
- Transactions
- 1
- First indexed block
- #28495243
- Latest indexed block
- #28495243
- Native balance
- 0 ETH
- Balance observed at
- Block #35584393
- Verification
- Verified
- Compiler
- 0.8.30+commit.73712a01
- Verification match
- full
- Creation transaction
- 0x7cab300e…85f6efa1
- Created at block
- #28495038
- Language
- solidity
- EVM version
- prague
- License
- none
- Compiler optimization
- Disabled
Related activity
Transactions
| Transaction | Block | From | To | Value (wei) |
|---|---|---|---|---|
| 0x4cbb6564…7b76396e | #28495243 | 0x943fad33…d3a2bd19 | 0x050a0935…d434d3a2 | 0 |
Verified contract
Contract source code
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.8.2 <0.9.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
* @custom:dev-run-script ./scripts/deploy_with_ethers.ts
*/
contract Storage {
uint256 number;
/**
* @dev Store value in variable
* @param num value to store
*/
function store(uint256 num) public {
number = num;
}
/**
* @dev Return value
* @return value of 'number'
*/
function retrieve() public view returns (uint256){
return number;
}
}