# godens.robots.farm ## Recent Posts - [// 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; } }](https://paragraph.com/@godens.robots.farm/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-functi) ## Blog Information - [Homepage](https://paragraph.com/@godens.robots.farm/): Main blog page - [RSS Feed](https://api.paragraph.com/blogs/rss/@godens.robots.farm): Subscribe to updates ## Optional - [All Posts](https://paragraph.com/@godens.robots.farm/): Complete post archive - [Sitemap](https://paragraph.com/@godens.robots.farm/sitemap-index.xml): XML sitemap for crawlers