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-or-later | |
| pragma solidity >=0.8.4; | |
| import "https://github.com/Rari-Capital/solmate/src/tokens/ERC721.sol"; | |
| interface IOwnable { | |
| function owner() external view returns (address); | |
| } |
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-or-later | |
| pragma solidity >=0.8.4; | |
| import "https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol"; | |
| import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol"; | |
| contract FERC721 is ERC721("FERC721", "FERC"), Ownable { | |
| string public baseURI; |
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: UNLICENSED | |
| pragma solidity >=0.8.0; | |
| /// @notice Basic ERC20 implementation. | |
| contract ERC20 { | |
| string public name; | |
| string public symbol; | |
| uint8 constant public decimals = 18; | |
| uint public totalSupply; | |
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-or-later | |
| pragma solidity >=0.8.4; | |
| contract ETHfeed { | |
| uint256 feeRate; | |
| address feeReceiver; | |
| constructor(uint256 feeRate_) { |
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.2; | |
| import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/extensions/draft-ERC721Votes.sol"; | |
| import "@openzeppelin/contracts/security/Pausable.sol"; | |
| contract PartyNFT is ERC721, ERC721Burnable, ERC721Enumerable, ERC721Votes, Pausable { |
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-or-later | |
| pragma solidity >=0.8.4; | |
| import 'https://github.com/kalidao/kali-contracts/blob/main/contracts/tokens/erc721/ERC721initializable.sol'; | |
| import 'https://github.com/kalidao/kali-contracts/blob/main/contracts/utils/Multicall.sol'; | |
| import 'https://github.com/kalidao/kali-contracts/blob/main/contracts/libraries/Base64.sol'; | |
| import 'https://github.com/kalidao/kali-contracts/blob/main/contracts/utils/NFThelper.sol'; | |
| /// @notice Minimal ERC-20 interface. |
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-or-later | |
| pragma solidity >=0.8.4; | |
| import 'https://github.com/kalidao/kali-contracts/blob/main/contracts/tokens/erc721/ERC721initializable.sol'; | |
| import 'https://github.com/kalidao/kali-contracts/blob/main/contracts/utils/Multicall.sol'; | |
| import 'https://github.com/kalidao/kali-contracts/blob/main/contracts/libraries/Base64.sol'; | |
| import 'https://github.com/kalidao/kali-contracts/blob/main/contracts/utils/NFThelper.sol'; | |
| /// @notice Minimal ERC-20 interface. |
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-v3.0-or-later | |
| pragma solidity >=0.8.0; | |
| import 'https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol'; | |
| import 'https://github.com/kalidao/kali-contracts/blob/main/contracts/libraries/Base64.sol'; | |
| /// @notice Bind your Soul to an NFT Deed. | |
| contract Soulbinder is ERC721("Soulbinder", "SOUL") { | |
| /// ----------------------------------------------------------------------- | |
| /// Soul Logic |
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: AGPL-3.0-only | |
| pragma solidity >=0.8.4; | |
| import 'https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol'; | |
| error NotGood(); | |
| error NotEnough(); | |
| error ETHtransferFailed(); | |
| error NotSummoner(); |
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.4; | |
| import 'https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol'; | |
| contract Ownable { | |
| address public owner; | |
| modifier onlyOwner { |