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
| #!/bin/bash | |
| # Shutdown the app | |
| # php artisan down | |
| # Pulling latest changes | |
| git pull origin master | |
| # Install composer while optimizing | |
| composer install --no-dev --optimize-autoloader | |
| # Optimizing cache | |
| php artisan cache:clear |
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
| <?php | |
| use GuzzleHttp\Client; | |
| $credentials = [ | |
| 'api' => 'https://orders.oneflow.io/api', | |
| 'token' => 'your_token', | |
| 'secret' => 'your_secret', | |
| 'destination' => 'supplier_key', | |
| ]; |
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.8.4; | |
| import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; | |
| import "@openzeppelin/contracts/utils/Counters.sol"; | |
| import "@openzeppelin/contracts/access/AccessControl.sol"; | |
| contract NFTradeNFTToken is ERC721, AccessControl { | |
| using Counters for Counters.Counter; | |
| Counters.Counter private _tokenIds; |
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 "@openzeppelin/contracts/access/Ownable.sol"; | |
| interface ERC20 { | |
| function balanceOf(address account) external view returns (uint256); | |
| function transfer(address account, uint256 amount) external; | |
| } |
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.8.4; | |
| import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; | |
| import "@openzeppelin/contracts/utils/Address.sol"; | |
| interface RoyaltiesInterface { | |
| function claimCommunity(uint256 tokenId) external; | |
| } | |
| abstract contract RoyaltiesAddon is ERC721URIStorage { |