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; | |
| /// @title DonationPlatform | |
| /// @author Aleks | |
| /// @dev Bug when returning funds , figured out events | |
| import "@openzeppelin/contracts/access/Ownable.sol"; | |
| contract DonationPlatform is Ownable { | |
| /// @notice Create campaigns and recieve funds |
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; | |
| /// @title DonationPlatform | |
| /// @author Aleks | |
| /// @dev So far didnt spot any errors | |
| import "@openzeppelin/contracts/access/Ownable.sol"; | |
| contract DonationPlatform is Ownable { | |
| // creating campaign attributes |
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; | |
| // erc721 standard, Counter, Ownable, | |
| import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
| import "@openzeppelin/contracts/utils/Counters.sol"; | |
| import "@openzeppelin/contracts/access/Ownable.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
| contract DNFT is ERC721URIStorage, Ownable { | |
| using Counters for Counters.Counter; |
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; | |
| /// @title DonationPlatform | |
| /// @author | |
| /// @notice Can only be used for the most basic simulation | |
| /// @dev So far didnt spot any errors | |
| import "@openzeppelin/contracts/access/Ownable.sol"; | |
| import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; | |
| import "./ucenje.sol"; |
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; | |
| /// @title DonationPlatform | |
| /// @author Aleksandar | |
| /// @notice Can only be used for the most basic simulation | |
| /// @dev So far didnt spot any errors | |
| import "github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol"; |
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; | |
| /// @title DonationPlatform | |
| /// @author Aleksandar Damjanivic | |
| /// @notice Can only be used for the most basic simulation | |
| /// @dev Currently facing issues with gas expenditure, deadline implementation, donation exceeding goal | |
| import "github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol"; |