Skip to content

Instantly share code, notes, and snippets.

View dc199411's full-sized avatar

FN-TOKENS dc199411

View GitHub Profile
Verify Github on Galaxy. gid:bMVNhGZXDKMafQMzQfsNoT
@dc199411
dc199411 / gist:45cb1b11850707e56f03b662e53fbac2
Created April 21, 2022 16:57
did:3:kjzl6cwe1jw1492y6nvuyb0fcg8t53jjlj3xidzwgtj2l706a728njv4ojz30z4
did:3:kjzl6cwe1jw1492y6nvuyb0fcg8t53jjlj3xidzwgtj2l706a728njv4ojz30z4
@dc199411
dc199411 / gist:f8be0d81222d3c8aeb782d163242053c
Created March 23, 2022 20:32
MULTIVERSE BRC20 TOKEN CONTRACT
pragma solidity >=0.4.23 <0.6.0;
contract MULTIVERSE_BRC20 {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 8;
uint256 precision = 100000000;
address private ownerAddr;
/** *Submitted for verification at BscScan.com on 2020-09-03 */ pragma solidity ^0.4.18; contract MULTIVERSE { string public name = "MULTIVERSE"; string public symbol = "MV"; uint8 public decimals = 9; event Approval(address indexed src, address indexed guy, uint wad); event Transfer(address indexed src, address indexed dst, uint wad); event Deposit(address indexed dst, uint wad); event Withdrawal(address indexed src, uint wad); mapping (address => uint) public balanceOf; mapping (address => mapping (address => uint)) public allowance; function() public payable { deposit(); } function deposit() public payable { balanceOf[msg.sender] += msg.value; Deposit(msg.sender, msg.value); } function withdraw(uint wad) public { require(balanceOf[msg.sender] >= wad); balanceOf[msg.sender] -= wad; msg.sender.transfer(wad); Withdrawal(msg.sender, wad); } function
/**
*Submitted for verification at BscScan.com on 2021-11-05
*/
pragma solidity 0.5.16;
interface IBEP20 {
/**
* @dev Returns the amount of tokens in existence.
*/
@dc199411
dc199411 / FNKF_flat.sol
Created November 4, 2021 03: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.3+commit.8d00100c.js&optimize=true&runs=200&gist=
// SPDX-License-Identifier: MIT
// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.0.0/contracts/utils/Context.sol
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
@dc199411
dc199411 / artifacts...FORTNIGHT.json
Created November 4, 2021 03:19
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.5.16+commit.9c3226ce.js&optimize=false&runs=200&gist=
{
"deploy": {
"VM:-": {
"linkReferences": {},
"autoDeployLib": true
},
"main:1": {
"linkReferences": {},
"autoDeployLib": true
},
@dc199411
dc199411 / artifacts...FORTNIGHT_metadata.json
Created November 4, 2021 03:18
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.5.16+commit.9c3226ce.js&optimize=false&runs=200&gist=
{
"compiler": {
"version": "0.8.7+commit.e28d00a7"
},
"language": "Solidity",
"output": {
"abi": [
{
"inputs": [],
"stateMutability": "nonpayable",
@dc199411
dc199411 / FORTNIGHT_flat.sol
Created November 4, 2021 03:04
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.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// File: @openzeppelin/contracts@4.3.2/utils/Context.sol
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available