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: MIT | |
| pragma solidity ^0.8.0; | |
| contract HotelRoom { | |
| enum Statuses { | |
| Vacant, | |
| Occupied | |
| } | |
| Statuses public currentStatus; |
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: MIT | |
| pragma solidity ^0.8.20; | |
| import "@openzeppelin/contracts@5.0.2/token/ERC721/extensions/ERC721URIStorage.sol"; | |
| import "@openzeppelin/contracts@5.0.2/access/Ownable.sol"; | |
| // This contract is for educational demo purposes only. Do not put this on the mainnet. | |
| contract SimpleMintNFT is ERC721URIStorage, Ownable { | |
| uint256 private _nextId = 1; | |
| bool public mintingEnabled = true; |
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
| { | |
| // Theme & Icons | |
| "workbench.colorTheme": "Monokai Classic", | |
| "workbench.iconTheme": "Monokai Classic Monochrome Icons", | |
| // Editor | |
| "editor.lineHeight": 22, | |
| "editor.cursorStyle": "block", | |
| "editor.cursorBlinking": "phase", | |
| "editor.glyphMargin": false, |
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
| :root { | |
| --background: #050505; | |
| --foreground: #FFFFFF; | |
| --clr-black: #050505; | |
| --clr-white: #FFFFFF; | |
| --clr-gray: #686868; | |
| --clr-orange: #FF9C1C; | |
| --clr-green: #2FD070; | |
| --clr-red: #D02F2F; |
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
| ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl |
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
| const Markets = () => { | |
| return( | |
| <div className='component exchange__markets'> | |
| <div className='component__header'> | |
| </div> | |
| <hr /> | |
| </div> | |
| ) |
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
| const Balance = () => { | |
| return ( | |
| <div className='component exchange__transfers'> | |
| <div className='component__header flex-between'> | |
| <h2>Balance</h2> | |
| <div className='tabs'> | |
| <button className='tab tab--active'>Deposit</button> | |
| <button className='tab'>Withdraw</button> | |
| </div> |
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
| { | |
| "name": "bootcamp", | |
| "version": "0.1.0", | |
| "private": true, | |
| "dependencies": { | |
| "@testing-library/jest-dom": "^5.16.4", | |
| "@testing-library/react": "^13.1.1", | |
| "@testing-library/user-event": "^13.5.0", | |
| "dotenv": "^16.0.0", | |
| "lodash": "^4.17.21", |
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
| pragma solidity ^0.6.0; | |
| contract HotelRoom { | |
| enum Statuses { Vacant, Occupied } | |
| Statuses currentStatus; | |
| address payable public owner; | |
| event Occupy(address _occupant, uint _value); |
NewerOlder