Skip to content

Instantly share code, notes, and snippets.

View lalalune's full-sized avatar

Shaw lalalune

View GitHub Profile
### Installing Python 3.10 on macOS
1. **Install Homebrew** (if not already installed):
- Open a terminal and install Homebrew by running:
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
- Follow the on-screen instructions to complete the installation.
2. **Install pyenv** using Homebrew:
@lalalune
lalalune / contracts...Cowboys.sol
Last active July 6, 2022 11:03
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.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
// ______ _____ ______ ______ _____ _____ _____ ______
// | ____| __ \| ____| ____|/ ____|/ ____| /\ | __ \| ____|
// | |__ | |__) | |__ | |__ | (___ | | / \ | |__) | |__
// | __| | _ /| __| | __| \___ \| | / /\ \ | ___/| __|
// | | | | \ \| |____| |____ ____) | |____ / ____ \| | | |____
// |_| |_| \_\______|______|_____/ \_____/_/ __\_\_| |______|
// / ____/ __ \ \ / / _ \ / __ \ \ / / ____|
// | | | | | \ \ /\ / /| |_) | | | \ \_/ / (___
// | | | | | |\ \/ \/ / | _ <| | | |\ / \___ \
// SPDX-License-Identifier: MIT
// Creator: Shawbot @ The Nexus
// Modified ERC721A contract by Chiru Labs
pragma solidity ^0.8.0;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol';