Skip to content

Instantly share code, notes, and snippets.

@saadSarwar28
saadSarwar28 / contracts...RugSwap.sol
Created September 2, 2021 21:35
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.4+commit.c7e474f2.js&optimize=true&runs=200&gist=
pragma solidity >=0.7.0 <0.9.0;
import "./access/Ownable.sol";
import "./token/BEP20/IBEP20.sol";
// SPDX-License-Identifier: MIT
/**
* @title RugSwap
* @author Saad Sarwar
*/
@saadSarwar28
saadSarwar28 / contracts...RugZombieAuthenticator.sol
Created August 23, 2021 20:34
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.4+commit.c7e474f2.js&optimize=true&runs=200&gist=
pragma solidity >=0.7.0 <0.9.0;
import "./interfaces/IZombieToken.sol";
// SPDX-License-Identifier: MIT
/**
* @title RugZombieAuthenticator
* @author Saad Sarwar
*/
@saadSarwar28
saadSarwar28 / contracts...test.sol
Created August 18, 2021 18:46
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.4+commit.c7e474f2.js&optimize=false&runs=200&gist=
pragma solidity >=0.7.0 <0.9.0;
// SPDX-License-Identifier: MIT
/**
* @title Ownership
* check Ownership of nfts
*/
interface deployedContract {
function totalSupply() external view returns (uint);
function ownerOf(uint tokenId)external view returns (address);
@saadSarwar28
saadSarwar28 / contracts...test.sol
Created August 18, 2021 15:14
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.4+commit.c7e474f2.js&optimize=false&runs=200&gist=
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Ownership
* check Ownership of nfts
*/
interface deployedContract {
function totalSupply() external view returns (uint);
function ownerOf(uint tokenId)external view returns (address);
@saadSarwar28
saadSarwar28 / contracts...test.sol
Created August 17, 2021 23:49
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.4+commit.c7e474f2.js&optimize=false&runs=200&gist=
pragma solidity >=0.7.0 <0.9.0;
/**
* @title Ownership
* check Ownership of nfts
*/
interface deployedContract {
function totalSupply() external view returns (uint);
function ownerOf(uint tokenId)external view returns (address);