This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "noth.sol": { | |
| "__sources__": { | |
| "noth.sol": { | |
| "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\ncontract StudentPortal {\n string public schoolName;\n uint public minStudentAge;\n bool public isPortalOpen;\n address public admin;\n\n string[] public registeredStudentNames;\n\n struct Student {\n string name;\n uint age;\n }\n\n mapping(address => Student) public studentRecords;\n mapping(address => bool) public isRegistered;\n mapping(address => uint) public studentBalances;\n\n modifier onlyAdmin() {\n require(msg.sender == admin, \"Unauthorized\");\n _;\n }\n\n modifier portalIsOpen() {\n require(isPortalOpen, \"Portal closed\");\n _;\n }\n\n constructor(string memory _initialSchoolName, uint _initialMinAge) {\n admin = msg.sender;\n schoolName = _initialSchoolName;\n minStudentAge = _initialMinAge;\n isPortalOpen = true;\n }\n\n function regist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "noth.sol": { | |
| "__sources__": { | |
| "noth.sol": { | |
| "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\ncontract StudentPortal {\n string public schoolName;\n uint public minStudentAge;\n bool public isPortalOpen;\n address public admin;\n\n string[] public registeredStudentNames;\n\n struct Student {\n string name;\n uint age;\n }\n\n mapping(address => Student) public studentRecords;\n mapping(address => bool) public isRegistered;\n mapping(address => uint) public studentBalances;\n\n modifier onlyAdmin() {\n require(msg.sender == admin, \"Unauthorized\");\n _;\n }\n\n modifier portalIsOpen() {\n require(isPortalOpen, \"Portal closed\");\n _;\n }\n\n constructor(string memory _initialSchoolName, uint _initialMinAge) {\n admin = msg.sender;\n schoolName = _initialSchoolName;\n minStudentAge = _initialMinAge;\n isPortalOpen = true;\n }\n\n function regist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "noth.sol": { | |
| "__sources__": { | |
| "noth.sol": { | |
| "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\ncontract StudentPortal {\n string public schoolName;\n uint public minStudentAge;\n bool public isPortalOpen;\n address public admin;\n\n string[] public registeredStudentNames;\n\n struct Student {\n string name;\n uint age;\n }\n\n mapping(address => Student) public studentRecords;\n mapping(address => bool) public isRegistered;\n mapping(address => uint) public studentBalances;\n\n modifier onlyAdmin() {\n require(msg.sender == admin, \"Unauthorized\");\n _;\n }\n\n modifier portalIsOpen() {\n require(isPortalOpen, \"Portal closed\");\n _;\n }\n\n constructor(string memory _initialSchoolName, uint _initialMinAge) {\n admin = msg.sender;\n schoolName = _initialSchoolName;\n minStudentAge = _initialMinAge;\n isPortalOpen = true;\n }\n\n function regist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "noth.sol": { | |
| "__sources__": { | |
| "noth.sol": { | |
| "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\ncontract StudentPortal {\n string public schoolName;\n uint public minStudentAge;\n bool public isPortalOpen;\n address public admin;\n\n string[] public registeredStudentNames;\n\n struct Student {\n string name;\n uint age;\n }\n\n mapping(address => Student) public studentRecords;\n mapping(address => bool) public isRegistered;\n mapping(address => uint) public studentBalances;\n\n modifier onlyAdmin() {\n require(msg.sender == admin, \"Unauthorized\");\n _;\n }\n\n modifier portalIsOpen() {\n require(isPortalOpen, \"Portal closed\");\n _;\n }\n\n constructor(string memory _initialSchoolName, uint _initialMinAge) {\n admin = msg.sender;\n schoolName = _initialSchoolName;\n minStudentAge = _initialMinAge;\n isPortalOpen = true;\n }\n\n function regist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "noth.sol": { | |
| "__sources__": { | |
| "noth.sol": { | |
| "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\ncontract StudentPortal {\n string public schoolName;\n uint public minStudentAge;\n bool public isPortalOpen;\n address public admin;\n\n string[] public registeredStudentNames;\n\n struct Student {\n string name;\n uint age;\n }\n\n mapping(address => Student) public studentRecords;\n mapping(address => bool) public isRegistered;\n mapping(address => uint) public studentBalances;\n\n modifier onlyAdmin() {\n require(msg.sender == admin, \"Unauthorized\");\n _;\n }\n\n modifier portalIsOpen() {\n require(isPortalOpen, \"Portal closed\");\n _;\n }\n\n constructor(string memory _initialSchoolName, uint _initialMinAge) {\n admin = msg.sender;\n schoolName = _initialSchoolName;\n minStudentAge = _initialMinAge;\n isPortalOpen = true;\n }\n\n function regist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "noth.sol": { | |
| "__sources__": { | |
| "noth.sol": { | |
| "content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.30;\n\ncontract StudentPortal {\n string public schoolName;\n uint public minStudentAge;\n bool public isPortalOpen;\n address public admin;\n\n string[] public registeredStudentNames;\n\n struct Student {\n string name;\n uint age;\n }\n\n mapping(address => Student) public studentRecords;\n mapping(address => bool) public isRegistered;\n mapping(address => uint) public studentBalances;\n\n modifier onlyAdmin() {\n require(msg.sender == admin, \"Unauthorized\");\n _;\n }\n\n modifier portalIsOpen() {\n require(isPortalOpen, \"Portal closed\");\n _;\n }\n\n constructor(string memory _initialSchoolName, uint _initialMinAge) {\n admin = msg.sender;\n schoolName = _initialSchoolName;\n minStudentAge = _initialMinAge;\n isPortalOpen = true;\n }\n\n function regist |