This file contains 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.7; | |
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; | |
import "@openzeppelin/contracts/token/ERC1155/utils/ERC1155Receiver.sol"; | |
contract NftStaker { | |
IERC1155 public parentNFT; | |
struct Stake { |
This file contains 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.6.0; | |
contract PetAdoption { | |
Adoption[16] public adoptions; | |
mapping(uint256 => Pet) private pet_list; | |
struct Adoption { |
This file contains 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.4.23; | |
import "./ownable.sol"; | |
import "openzeppelin-solidity/contracts/token/ERC721/ERC721.sol"; | |
/** | |
* @title CowBreeding | |
* @dev Cow Basic Implementation to breed them and provides basic functions. | |
*/ | |
contract CowBreeding is Ownable { |
This file contains 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
// File: @openzeppelin/contracts/math/SafeMath.sol | |
// SPDX-License-Identifier: MIT | |
pragma solidity >=0.6.0 <0.8.0; | |
/** | |
* @dev Wrappers over Solidity's arithmetic operations with added overflow | |
* checks. | |
* |
This file contains 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
{"data":"Something went wrong. Please try again. \n{\"message\":\"Permissions error\",\"type\":\"OAuthException\",\"code\":200,\"error_subcode\":1373034,\"is_transient\":false,\"error_user_title\":\"Insufficient Permission\",\"error_user_msg\":\"You do not have the necessary permission for the specified Page to perform the requested action.\",\"fbtrace_id\":\"Agh4kn5yEEC\"}","status":500,"config":{"method":"POST","transformRequest":[null],"transformResponse":[null],"url":"https://api-my.hbot.io/v1/graph/facebook/subscribed_apps","data":{"bot_id":"5b594d71db615b5c57aed2dc","page_name":"คลินิกทันตกรรม ศรีสุ ...","page_id":"183910861660558","access_token":"EAAadxs0eBZBUBAFrxBUnJeYs46qVNZCQGEVOrcoW7dLkk4uH1IiqHXSP9bZCaiWuMkSK6D9ZByQZCG2Up6gFZBqtF1JkxKh3e8YdFzcqacMXqzs7UqXUQhgFOigyvwdko6ipNxDbdPNdaZAJRgDZAE4jzUnDjDpDcPTxMKrLZClsQBxkZAd70vA9wZASm9ZC0rWICKoZD"},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8"}},"statusText":""} |
This file contains 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
decart |