Skip to content

Instantly share code, notes, and snippets.

@Parameshwarz
Parameshwarz / .deps...npm....resolution-index.json
Created May 24, 2026 07:45
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.34+commit.80d5c536.js&optimize=undefined&runs=200&gist=
{
"StorageFactory.sol": {
"./SimpleStorage.sol": "SimpleStorage.sol",
"__sources__": {
"StorageFactory.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.34;\n\nimport { SimpleStorage } from \"./SimpleStorage.sol\" ;\n\ncontract StorageFactory {\n SimpleStorage[] public simpleStoragelist ;\n\n function createSimpleStorageContract() public {\n SimpleStorage newSimpleStorage = new SimpleStorage();\n simpleStoragelist.push(newSimpleStorage);\n }\n\n function sfStorage(uint256 _simpleStorageIndex, uint256 _newSimppleStorageNum) public { \n simpleStoragelist[_simpleStorageIndex].store(_newSimppleStorageNum);\n }\n\n function sfGet(uint _simpleStorageIndex) public view returns(uint256) {\n return simpleStoragelist[_simpleStorageIndex].retrieve();\n }\n\n} ",
"file": "StorageFactory.sol"
},
"SimpleStorage.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.34; // Starting
@Parameshwarz
Parameshwarz / .deps...npm....resolution-index.json
Created May 24, 2026 07:44
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.34+commit.80d5c536.js&optimize=undefined&runs=200&gist=
{
"StorageFactory.sol": {
"./SimpleStorage.sol": "SimpleStorage.sol",
"__sources__": {
"StorageFactory.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.34;\n\nimport { SimpleStorage } from \"./SimpleStorage.sol\" ;\n\ncontract StorageFactory {\n SimpleStorage[] public simpleStoragelist ;\n\n function createSimpleStorageContract() public {\n SimpleStorage newSimpleStorage = new SimpleStorage();\n simpleStoragelist.push(newSimpleStorage);\n }\n\n function sfStorage(uint256 _simpleStorageIndex, uint256 _newSimppleStorageNum) public { \n simpleStoragelist[_simpleStorageIndex].store(_newSimppleStorageNum);\n }\n\n function sfGet(uint _simpleStorageIndex) public view returns(uint256) {\n return simpleStoragelist[_simpleStorageIndex].retrieve();\n }\n\n} ",
"file": "StorageFactory.sol"
},
"SimpleStorage.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.34; // Starting