Skip to content

Instantly share code, notes, and snippets.

View alexpvpmindustry's full-sized avatar

alex alexpvpmindustry

View GitHub Profile
@alexpvpmindustry
alexpvpmindustry / .deps...npm...@openzeppelin...contracts...token...ERC721...ERC721.sol
Created July 23, 2021 04:30
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.6+commit.11564f7e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
@alexpvpmindustry
alexpvpmindustry / contracts...master.sol
Created July 23, 2021 13:28
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.6+commit.11564f7e.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.0;
//SPDX-License-Identifier: SPDX-License-Identifier: <SPDX-License>
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/IERC20.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/Context.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SafeMath.sol";
//import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/";
// https://docs.openzeppelin.com/contracts/4.x/erc20
@alexpvpmindustry
alexpvpmindustry / gist-2b351a08a675f497e01c9cf0887f0eaa...contracts...master.sol
Last active July 25, 2021 03:45
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.6+commit.11564f7e.js&optimize=false&runs=200&gist=
pragma solidity ^0.8.0;
// SPDX-License-Identifier: MIT
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
@alexpvpmindustry
alexpvpmindustry / master.sol
Last active August 3, 2021 04:38
doge multiverse smart contract
pragma solidity 0.8.4;
// SPDX-License-Identifier: MIT
// this contract follows the standard ERC20 format compiled into a single file.
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
@alexpvpmindustry
alexpvpmindustry / contracts...DogeMultiverse_airdrop.sol
Created August 17, 2021 14:48
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.8.4;
// SPDX-License-Identifier: MIT
interface ierc20 {
function transfer(address recipient, uint256 amount) external returns (bool);
}
contract AirDropContract {
// contract adddress
address cAddr = 0x3C37ab18d0EC386d06dD68E3470e49bFDC0D46E8;
address _owner = 0x74Cd43787D10fD7247bCcaB93b2f7803b48c6e4f;
@alexpvpmindustry
alexpvpmindustry / index.html
Created January 25, 2022 02:20
minimal confetti svg
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.0.5/gsap.min.js"></script>
<svg id="mainSVG" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600">
<defs>
<g class="confetti">
<rect class="paper" width="13" height="8" />
</g>
</defs>
<text x="50%" y="50%" fill="rgb(155,110,255)">Click Me</text>
<g class="container"/>
</svg>