Skip to content

Instantly share code, notes, and snippets.

View rkdevstack's full-sized avatar

Ramakrishna Kiran rkdevstack

View GitHub Profile
@rkdevstack
rkdevstack / MetaGol-ERC20-smart-contract...MetaGol.sol
Created March 20, 2023 18: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.7.6+commit.7338295f.js&optimize=false&runs=200&gist=
pragma solidity ^0.7.0;
// SPDX-License-Identifier: MIT
// ----------------------------------------------------------------------------
// 'METAGOL' token contract
//
// Deployed to : 0x4f7C10bC925d95fcb5284eEf4e524C8ad642e8Cb
// Symbol : METAGOL
// Name : METAGOL
@rkdevstack
rkdevstack / NFT Marketplace Smart Contract...Migrations.sol
Created March 20, 2023 18:38
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.18+commit.87f61d96.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;
contract Migrations {
address public owner = msg.sender;
uint public last_completed_migration;
modifier restricted() {
require(
msg.sender == owner,