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
| // SPDX-License-Identifier: GPL-3.0 | |
| pragma solidity >=0.7.0 <0.9.0; | |
| /** | |
| * @title Storage | |
| * @dev Store & retrieve value in a variable | |
| * @custom:dev-run-script ./scripts/deploy_with_ethers.ts | |
| */ | |
| contract Storage { |
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
| // SPDX-License-Identifier: CC-BY-1.0 | |
| // Creative Commons Attribution 1.0 Generic | |
| // Contract will be compiled on version 0.7.0 or greater | |
| pragma solidity ^0.8.0; | |
| // A smart contract to model an IdCard | |
| contract IdCard { | |
| string public constant CONTRACT_AUTHOR = 'Marco Amadei'; | |
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
| // SPDX-License-Identifier: CC-BY-1.0 | |
| // Creative Commons Attribution 1.0 Generic | |
| // Contract will be compiled on version 0.7.0 or greater | |
| pragma solidity >=0.7.0 <0.9.0; | |
| contract Utility { | |
| // The owner of the current instance of this smart contract |
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
| // SPDX-License-Identifier: CC-BY-1.0 | |
| // Creative Commons Attribution 1.0 Generic | |
| // Contract will be compiled on version 0.7.0 or greater | |
| pragma solidity >=0.7.0 <0.9.0; | |
| contract Utility { | |
| // The owner of the current instance of this smart contract |
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
| // SPDX-License-Identifier: CC-BY-1.0 | |
| // Creative Commons Attribution 1.0 Generic | |
| // Contract will be compiled on version 0.7.0 or greater | |
| pragma solidity >=0.7.0 <0.9.0; | |
| contract Utility { | |
| // The owner of the current instance of this smart contract |
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
| // SPDX-License-Identifier: GPL-3.0 | |
| pragma solidity >=0.7.0 <0.9.0; | |
| /** | |
| * @title Storage | |
| * @dev Store & retrieve value in a variable | |
| * @custom:dev-run-script ./scripts/deploy_with_ethers.ts | |
| */ | |
| contract Storage { |
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
| // SPDX-License-Identifier: CC-BY-1.0 | |
| // Creative Commons Attribution 1.0 Generic | |
| // Contract will be compiled on version 0.7.0 or greater | |
| pragma solidity ^0.8.0; | |
| // A smart contract to model a music album | |
| contract IdCard { | |
| string public constant contractAuthor = 'Marco Amadei'; | |
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
| // SPDX-License-Identifier: CC-BY-1.0 | |
| // Creative Commons Attribution 1.0 Generic | |
| // Contract will be compiled on version 0.7.0 or greater | |
| pragma solidity ^0.8.0; | |
| // A smart contract to model a music album | |
| contract IdCard { | |
| string public constant contractAuthor = 'Marco Amadei'; | |
NewerOlder