-
-
Save korrio/c65173fbb0191fda517d0317c530d572 to your computer and use it in GitHub Desktop.
Testnet Tokens
This file contains hidden or 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
{ | |
"name": "PHX Token List", | |
"logoURI": "ipfs://QmaypvtnoXGQo4gSGHjgXaMUY98hf2FotQRfXgdLL4jo4i", | |
"keywords": [ "testnet" ], | |
"tags": { }, | |
"timestamp": "2020-09-01T00:00:00+00:00", | |
"tokens": [ | |
{ | |
"chainId": 42, | |
"address": "0x1e34cbb7490981d15958b3692e416f6d2a34355c", | |
"symbol": "PHX", | |
"name": "PhonenixETH", | |
"decimals": 18, | |
"logoURI": "ipfs://QmX1jR3PxfMfzTNv5YTEALZrrdZVxXj2CNWyyafdyboTev", | |
"tags": [] | |
}, | |
{ | |
"chainId": 42, | |
"address": "0x029ff5466955779f531c59fd43ef4951c0711422", | |
"symbol": "VOTE", | |
"name": "Governance Token", | |
"decimals": 18, | |
"logoURI": "ipfs://QmQmcgdbDuy2JkraJ2woiHqLxnKYV2EqX9YwpqeDyNJdo8", | |
"tags": [] | |
}, | |
{ | |
"chainId": 42, | |
"address": "0x16E59Bf0B49E5BCa6C62B703491825C3D044cb55", | |
"symbol": "PONZI", | |
"name": "Ponzi Scheme", | |
"decimals": 18, | |
"logoURI": "ipfs://QmVMXMmzRsk1vbenJQrYrNkdBNp3sxYwcRpMX7WRygHw5Z", | |
"tags": [] | |
}, | |
{ | |
"chainId": 42, | |
"address": "0xC8Ecf7860F7d2d51F559bbbb312674F8316e628e", | |
"symbol": "SCAM", | |
"name": "Scam Coin", | |
"decimals": 18, | |
"logoURI": "ipfs://QmXB1RkMYeoMhMttVrMZKGupbrJzJpcgdcMrKyWX4YdTkF", | |
"tags": [] | |
}, | |
{ | |
"chainId": 42, | |
"address": "0x948cf6dc245d7f99edf4a327404f1fb3fe6549e7", | |
"symbol": "SEC", | |
"name": "Security", | |
"decimals": 18, | |
"logoURI": "ipfs://QmYcq2WBfAixvC9tjALbSXe5UmtQnDBjdpmCL6CjXjoNkG", | |
"tags": [] | |
}, | |
{ | |
"chainId": 42, | |
"address": "0xeFC5D2aa8f5149cB0593C4cDE60067B3961aA8F6", | |
"symbol": "SHIT", | |
"name": "Shit Coin", | |
"decimals": 18, | |
"logoURI": "ipfs://QmRatiitUSXqbuZAUypjp7KWFz6HCfKtbReaMt13pcdjxD", | |
"tags": [] | |
}, | |
{ | |
"chainId": 42, | |
"address": "0x23de31d98d78084de626659f752058266feb69a5", | |
"symbol": "STABLE", | |
"name": "Stable Coin", | |
"decimals": 18, | |
"logoURI": "ipfs://QmUsRopup2zaK2HUn7aQJTqe2K3zTZ5i54GJ1VEUbQpwb2", | |
"tags": [] | |
}, | |
{ | |
"chainId": 42, | |
"address": "0xFd4C5737CC3D7950f2ff0fD109fbA31e040cde44", | |
"symbol": "TOY", | |
"name": "Toy Token", | |
"decimals": 18, | |
"logoURI": "ipfs://QmSnxZwxeZHMG6K5o8Y4D4jac8ZatTfvmmLp3ETW2C6jiU", | |
"tags": [] | |
}, | |
{ | |
"chainId": 42, | |
"address": "0x808f7ff8be79589f11c5c542e1e199662db4ffac", | |
"symbol": "UTIL", | |
"name": "Utility Token", | |
"decimals": 18, | |
"logoURI": "ipfs://QmWJ1NsTtLHZEr6FYqLCwcTjprnZ26NbrY6oMXmpRqH9tG", | |
"tags": [] | |
}, | |
{ | |
"chainId": 42, | |
"address": "0xd47abb5e330e4e78546a921ee1318c942464bac6", | |
"symbol": "YIELD", | |
"name": "Yield Farm", | |
"decimals": 18, | |
"logoURI": "ipfs://QmWncq8zPrSkeNuWuCtg3ZMYzXKhYqkf2tPH7dkoCJ5ehL", | |
"tags": [] | |
}, | |
{ | |
"chainId": 3, | |
"address": "0x7aac4d2b6f111790a0842f92b895f4dbe1e884e4", | |
"symbol": "FOOD", | |
"name": "Food Token", | |
"decimals": 18, | |
"logoURI": "ipfs://QmX1jR3PxfMfzTNv5YTEALZrrdZVxXj2CNWyyafdyboTev", | |
"tags": [] | |
}, | |
{ | |
"chainId": 3, | |
"address": "0x029ff5466955779f531c59fd43ef4951c0711422", | |
"symbol": "VOTE", | |
"name": "Governance Token", | |
"decimals": 18, | |
"logoURI": "ipfs://QmQmcgdbDuy2JkraJ2woiHqLxnKYV2EqX9YwpqeDyNJdo8", | |
"tags": [] | |
}, | |
{ | |
"chainId": 3, | |
"address": "0x16E59Bf0B49E5BCa6C62B703491825C3D044cb55", | |
"symbol": "PONZI", | |
"name": "Ponzi Scheme", | |
"decimals": 18, | |
"logoURI": "ipfs://QmVMXMmzRsk1vbenJQrYrNkdBNp3sxYwcRpMX7WRygHw5Z", | |
"tags": [] | |
}, | |
{ | |
"chainId": 3, | |
"address": "0xC8Ecf7860F7d2d51F559bbbb312674F8316e628e", | |
"symbol": "SCAM", | |
"name": "Scam Coin", | |
"decimals": 18, | |
"logoURI": "ipfs://QmXB1RkMYeoMhMttVrMZKGupbrJzJpcgdcMrKyWX4YdTkF", | |
"tags": [] | |
}, | |
{ | |
"chainId": 3, | |
"address": "0x948cf6dc245d7f99edf4a327404f1fb3fe6549e7", | |
"symbol": "SEC", | |
"name": "Security", | |
"decimals": 18, | |
"logoURI": "ipfs://QmYcq2WBfAixvC9tjALbSXe5UmtQnDBjdpmCL6CjXjoNkG", | |
"tags": [] | |
}, | |
{ | |
"chainId": 3, | |
"address": "0xeFC5D2aa8f5149cB0593C4cDE60067B3961aA8F6", | |
"symbol": "SHIT", | |
"name": "Shit Coin", | |
"decimals": 18, | |
"logoURI": "ipfs://QmRatiitUSXqbuZAUypjp7KWFz6HCfKtbReaMt13pcdjxD", | |
"tags": [] | |
}, | |
{ | |
"chainId": 3, | |
"address": "0x23de31d98d78084de626659f752058266feb69a5", | |
"symbol": "STABLE", | |
"name": "Stable Coin", | |
"decimals": 18, | |
"logoURI": "ipfs://QmUsRopup2zaK2HUn7aQJTqe2K3zTZ5i54GJ1VEUbQpwb2", | |
"tags": [] | |
}, | |
{ | |
"chainId": 3, | |
"address": "0xFd4C5737CC3D7950f2ff0fD109fbA31e040cde44", | |
"symbol": "TOY", | |
"name": "Toy Token", | |
"decimals": 18, | |
"logoURI": "ipfs://QmSnxZwxeZHMG6K5o8Y4D4jac8ZatTfvmmLp3ETW2C6jiU", | |
"tags": [] | |
}, | |
{ | |
"chainId": 3, | |
"address": "0x808f7ff8be79589f11c5c542e1e199662db4ffac", | |
"symbol": "UTIL", | |
"name": "Utility Token", | |
"decimals": 18, | |
"logoURI": "ipfs://QmWJ1NsTtLHZEr6FYqLCwcTjprnZ26NbrY6oMXmpRqH9tG", | |
"tags": [] | |
}, | |
{ | |
"chainId": 3, | |
"address": "0xd47abb5e330e4e78546a921ee1318c942464bac6", | |
"symbol": "YIELD", | |
"name": "Yield Farm", | |
"decimals": 18, | |
"logoURI": "ipfs://QmWncq8zPrSkeNuWuCtg3ZMYzXKhYqkf2tPH7dkoCJ5ehL", | |
"tags": [] | |
}, | |
{ | |
"chainId": 4, | |
"address": "0x7aac4d2b6f111790a0842f92b895f4dbe1e884e4", | |
"symbol": "FOOD", | |
"name": "Food Token", | |
"decimals": 18, | |
"logoURI": "ipfs://QmX1jR3PxfMfzTNv5YTEALZrrdZVxXj2CNWyyafdyboTev", | |
"tags": [] | |
}, | |
{ | |
"chainId": 4, | |
"address": "0x029ff5466955779f531c59fd43ef4951c0711422", | |
"symbol": "VOTE", | |
"name": "Governance Token", | |
"decimals": 18, | |
"logoURI": "ipfs://QmQmcgdbDuy2JkraJ2woiHqLxnKYV2EqX9YwpqeDyNJdo8", | |
"tags": [] | |
}, | |
{ | |
"chainId": 4, | |
"address": "0x16E59Bf0B49E5BCa6C62B703491825C3D044cb55", | |
"symbol": "PONZI", | |
"name": "Ponzi Scheme", | |
"decimals": 18, | |
"logoURI": "ipfs://QmVMXMmzRsk1vbenJQrYrNkdBNp3sxYwcRpMX7WRygHw5Z", | |
"tags": [] | |
}, | |
{ | |
"chainId": 4, | |
"address": "0xC8Ecf7860F7d2d51F559bbbb312674F8316e628e", | |
"symbol": "SCAM", | |
"name": "Scam Coin", | |
"decimals": 18, | |
"logoURI": "ipfs://QmXB1RkMYeoMhMttVrMZKGupbrJzJpcgdcMrKyWX4YdTkF", | |
"tags": [] | |
}, | |
{ | |
"chainId": 4, | |
"address": "0x948cf6dc245d7f99edf4a327404f1fb3fe6549e7", | |
"symbol": "SEC", | |
"name": "Security", | |
"decimals": 18, | |
"logoURI": "ipfs://QmYcq2WBfAixvC9tjALbSXe5UmtQnDBjdpmCL6CjXjoNkG", | |
"tags": [] | |
}, | |
{ | |
"chainId": 4, | |
"address": "0xeFC5D2aa8f5149cB0593C4cDE60067B3961aA8F6", | |
"symbol": "SHIT", | |
"name": "Shit Coin", | |
"decimals": 18, | |
"logoURI": "ipfs://QmRatiitUSXqbuZAUypjp7KWFz6HCfKtbReaMt13pcdjxD", | |
"tags": [] | |
}, | |
{ | |
"chainId": 4, | |
"address": "0x23de31d98d78084de626659f752058266feb69a5", | |
"symbol": "STABLE", | |
"name": "Stable Coin", | |
"decimals": 18, | |
"logoURI": "ipfs://QmUsRopup2zaK2HUn7aQJTqe2K3zTZ5i54GJ1VEUbQpwb2", | |
"tags": [] | |
}, | |
{ | |
"chainId": 4, | |
"address": "0xFd4C5737CC3D7950f2ff0fD109fbA31e040cde44", | |
"symbol": "TOY", | |
"name": "Toy Token", | |
"decimals": 18, | |
"logoURI": "ipfs://QmSnxZwxeZHMG6K5o8Y4D4jac8ZatTfvmmLp3ETW2C6jiU", | |
"tags": [] | |
}, | |
{ | |
"chainId": 4, | |
"address": "0x808f7ff8be79589f11c5c542e1e199662db4ffac", | |
"symbol": "UTIL", | |
"name": "Utility Token", | |
"decimals": 18, | |
"logoURI": "ipfs://QmWJ1NsTtLHZEr6FYqLCwcTjprnZ26NbrY6oMXmpRqH9tG", | |
"tags": [] | |
}, | |
{ | |
"chainId": 4, | |
"address": "0xd47abb5e330e4e78546a921ee1318c942464bac6", | |
"symbol": "YIELD", | |
"name": "Yield Farm", | |
"decimals": 18, | |
"logoURI": "ipfs://QmWncq8zPrSkeNuWuCtg3ZMYzXKhYqkf2tPH7dkoCJ5ehL", | |
"tags": [] | |
} | |
], | |
"version": { | |
"major": 1, | |
"minor": 0, | |
"patch": 0 | |
} | |
} |
This file contains hidden or 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.7.0; | |
contract FoodToken { | |
uint256 constant public totalSupply = 10_000_000 * 10**18; | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; | |
string constant public symbol = "FOOD"; | |
uint8 constant public decimals = 18; | |
string constant public name = "Food Token"; | |
constructor() { | |
balanceOf[0x799D329e5f583419167cD722962485926E338F4a] = totalSupply; | |
} | |
event Approval(address indexed src, address indexed guy, uint wad); | |
event Transfer(address indexed src, address indexed dst, uint wad); | |
function approve(address guy, uint wad) public returns (bool) { | |
allowance[msg.sender][guy] = wad; | |
emit Approval(msg.sender, guy, wad); | |
return true; | |
} | |
function transfer(address dst, uint wad) external returns (bool) { | |
return transferFrom(msg.sender, dst, wad); | |
} | |
function transferFrom(address src, address dst, uint wad) public returns (bool) | |
{ | |
if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { | |
require(allowance[src][msg.sender] >= wad, "ds-token-insufficient-approval"); | |
allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad); | |
} | |
require(balanceOf[src] >= wad, "ds-token-insufficient-balance"); | |
balanceOf[src] = sub(balanceOf[src], wad); | |
balanceOf[dst] = add(balanceOf[dst], wad); | |
emit Transfer(src, dst, wad); | |
return true; | |
} | |
function add(uint x, uint y) internal pure returns (uint z) { | |
require((z = x + y) >= x, "ds-math-add-overflow"); | |
} | |
function sub(uint x, uint y) internal pure returns (uint z) { | |
require((z = x - y) <= x, "ds-math-sub-underflow"); | |
} | |
} | |
// address: 0x7aac4d2b6f111790a0842f92b895f4dbe1e884e4 | |
// source: dweb:/ipfs/QmQE3J233JCQF5MfdJd99FL3mGXszhkzThaGjoz6PPUa7p | |
// metadata: dweb:/ipfs/QmY1FV8hQFKwU1VC3H52EyWcGnFaprEhotDBJNEHkU7ta4 | |
// deployment bytecode: 0x608060405234801561001057600080fd5b5073799d329e5f583419167cd722962485926e338f4a60009081526020526a084595161401484a0000007f470d3b8acc65c67db0cc3601ddf1351c49fecf7672de40137d5795c3a5c35602556106528061006b6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610271565b604080519115158252519081900360200190f35b61015d6102d8565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102e7565b6101ad610515565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b031661051a565b6100a061052c565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561054c565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610560565b6040518060400160405280600a8152602001692337b7b2102a37b5b2b760b11b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6a084595161401484a00000081565b60006001600160a01b038416331480159061032757506001600160a01b038416600090815260016020908152604080832033845290915290205460001914155b156103f7576001600160a01b03841660009081526001602090815260408083203384529091529020548211156103a4576040805162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c0000604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020546103d2908361057d565b6001600160a01b03851660009081526001602090815260408083203384529091529020555b6001600160a01b038416600090815260208190526040902054821115610464576040805162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e6365000000604482015290519081900360640190fd5b6001600160a01b038416600090815260208190526040902054610487908361057d565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546104b690836105cd565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b60006020819052908152604090205481565b604051806040016040528060048152602001631193d3d160e21b81525081565b60006105593384846102e7565b9392505050565b600160209081526000928352604080842090915290825290205481565b808203828111156102d2576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156102d2576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea26469706673582212208f9c9325ff8d9b107703f60ec76d0c6f638c55d36ac792b4e26fbfe73c95d8a964736f6c63430007000033 |
This file contains hidden or 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.7.0; | |
contract GovernanceToken { | |
uint256 constant public totalSupply = 10_000_000 * 10**18; | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; | |
string constant public symbol = "VOTE"; | |
uint8 constant public decimals = 18; | |
string constant public name = "Governance Token"; | |
constructor() { | |
balanceOf[0x799D329e5f583419167cD722962485926E338F4a] = totalSupply; | |
} | |
event Approval(address indexed src, address indexed guy, uint wad); | |
event Transfer(address indexed src, address indexed dst, uint wad); | |
function approve(address guy, uint wad) public returns (bool) { | |
allowance[msg.sender][guy] = wad; | |
emit Approval(msg.sender, guy, wad); | |
return true; | |
} | |
function transfer(address dst, uint wad) external returns (bool) { | |
return transferFrom(msg.sender, dst, wad); | |
} | |
function transferFrom(address src, address dst, uint wad) public returns (bool) | |
{ | |
if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { | |
require(allowance[src][msg.sender] >= wad, "ds-token-insufficient-approval"); | |
allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad); | |
} | |
require(balanceOf[src] >= wad, "ds-token-insufficient-balance"); | |
balanceOf[src] = sub(balanceOf[src], wad); | |
balanceOf[dst] = add(balanceOf[dst], wad); | |
emit Transfer(src, dst, wad); | |
return true; | |
} | |
function add(uint x, uint y) internal pure returns (uint z) { | |
require((z = x + y) >= x, "ds-math-add-overflow"); | |
} | |
function sub(uint x, uint y) internal pure returns (uint z) { | |
require((z = x - y) <= x, "ds-math-sub-underflow"); | |
} | |
} | |
// address: 0x029ff5466955779f531c59fd43ef4951c0711422 | |
// source: dweb:/ipfs/QmWzLssmfZn5abndwT5UuhbBcBxWZ9AdAVAjAPK2zy6fno | |
// metadata: dweb:/ipfs/QmY1fdVRmX71WmsG5UgFjYEzD6rjnP2AQ7kMNukkJqZYDG | |
// deployment bytecode: 0x608060405234801561001057600080fd5b5073799d329e5f583419167cd722962485926e338f4a60009081526020526a084595161401484a0000007f470d3b8acc65c67db0cc3601ddf1351c49fecf7672de40137d5795c3a5c35602556106588061006b6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610277565b604080519115158252519081900360200190f35b61015d6102de565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102ed565b6101ad61051b565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610520565b6100a0610532565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610552565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610566565b6040518060400160405280601081526020016f23b7bb32b93730b731b2902a37b5b2b760811b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6a084595161401484a00000081565b60006001600160a01b038416331480159061032d57506001600160a01b038416600090815260016020908152604080832033845290915290205460001914155b156103fd576001600160a01b03841660009081526001602090815260408083203384529091529020548211156103aa576040805162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c0000604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020546103d89083610583565b6001600160a01b03851660009081526001602090815260408083203384529091529020555b6001600160a01b03841660009081526020819052604090205482111561046a576040805162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e6365000000604482015290519081900360640190fd5b6001600160a01b03841660009081526020819052604090205461048d9083610583565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546104bc90836105d3565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b60006020819052908152604090205481565b60405180604001604052806004815260200163564f544560e01b81525081565b600061055f3384846102ed565b9392505050565b600160209081526000928352604080842090915290825290205481565b808203828111156102d8576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156102d8576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea26469706673582212208fb7dfe693e4b2136938e49b20196d5cd4d9ed03ff54bc471ba32c1a44eeb00364736f6c63430007000033 |
This file contains hidden or 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.7.0; | |
contract PonziScheme { | |
uint256 constant public totalSupply = 10_000_000 * 10**18; | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; | |
string constant public symbol = "PONZI"; | |
uint8 constant public decimals = 18; | |
string constant public name = "Ponzi Scheme"; | |
constructor() { | |
balanceOf[0x799D329e5f583419167cD722962485926E338F4a] = totalSupply; | |
} | |
event Approval(address indexed src, address indexed guy, uint wad); | |
event Transfer(address indexed src, address indexed dst, uint wad); | |
function approve(address guy, uint wad) public returns (bool) { | |
allowance[msg.sender][guy] = wad; | |
emit Approval(msg.sender, guy, wad); | |
return true; | |
} | |
function transfer(address dst, uint wad) external returns (bool) { | |
return transferFrom(msg.sender, dst, wad); | |
} | |
function transferFrom(address src, address dst, uint wad) public returns (bool) | |
{ | |
if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { | |
require(allowance[src][msg.sender] >= wad, "ds-token-insufficient-approval"); | |
allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad); | |
} | |
require(balanceOf[src] >= wad, "ds-token-insufficient-balance"); | |
balanceOf[src] = sub(balanceOf[src], wad); | |
balanceOf[dst] = add(balanceOf[dst], wad); | |
emit Transfer(src, dst, wad); | |
return true; | |
} | |
function add(uint x, uint y) internal pure returns (uint z) { | |
require((z = x + y) >= x, "ds-math-add-overflow"); | |
} | |
function sub(uint x, uint y) internal pure returns (uint z) { | |
require((z = x - y) <= x, "ds-math-sub-underflow"); | |
} | |
} | |
// address: 0x16E59Bf0B49E5BCa6C62B703491825C3D044cb55 | |
// source: dweb:/ipfs/QmbT3F5iwNZAXeAijEwJarXEDg54cpsGG6kxbvbRRo4ieP | |
// metadata: dweb:/ipfs/QmaFbQrrcaFBp7sPoYTTg4eWMhmbhzRt2pHoiftMeRVUhU | |
// deployment bytecode: 0x608060405234801561001057600080fd5b5073799d329e5f583419167cd722962485926e338f4a60009081526020526a084595161401484a0000007f470d3b8acc65c67db0cc3601ddf1351c49fecf7672de40137d5795c3a5c35602556106558061006b6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610273565b604080519115158252519081900360200190f35b61015d6102da565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102e9565b6101ad610517565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b031661051c565b6100a061052e565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561054f565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610563565b6040518060400160405280600c81526020016b506f6e7a6920536368656d6560a01b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6a084595161401484a00000081565b60006001600160a01b038416331480159061032957506001600160a01b038416600090815260016020908152604080832033845290915290205460001914155b156103f9576001600160a01b03841660009081526001602090815260408083203384529091529020548211156103a6576040805162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c0000604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020546103d49083610580565b6001600160a01b03851660009081526001602090815260408083203384529091529020555b6001600160a01b038416600090815260208190526040902054821115610466576040805162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e6365000000604482015290519081900360640190fd5b6001600160a01b0384166000908152602081905260409020546104899083610580565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546104b890836105d0565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b60006020819052908152604090205481565b60405180604001604052806005815260200164504f4e5a4960d81b81525081565b600061055c3384846102e9565b9392505050565b600160209081526000928352604080842090915290825290205481565b808203828111156102d4576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156102d4576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea2646970667358221220b1009c59df32dac1f4bbee8c41e5bdfafa5675e8c0ee1561cc9c1e70037b6e7764736f6c63430007000033 |
This file contains hidden or 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.7.0; | |
contract ScamCoin { | |
uint256 constant public totalSupply = 10_000_000 * 10**18; | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; | |
string constant public symbol = "SCAM"; | |
uint8 constant public decimals = 18; | |
string constant public name = "Scam Coin"; | |
constructor() { | |
balanceOf[0x799D329e5f583419167cD722962485926E338F4a] = totalSupply; | |
} | |
event Approval(address indexed src, address indexed guy, uint wad); | |
event Transfer(address indexed src, address indexed dst, uint wad); | |
function approve(address guy, uint wad) public returns (bool) { | |
allowance[msg.sender][guy] = wad; | |
emit Approval(msg.sender, guy, wad); | |
return true; | |
} | |
function transfer(address dst, uint wad) external returns (bool) { | |
return transferFrom(msg.sender, dst, wad); | |
} | |
function transferFrom(address src, address dst, uint wad) public returns (bool) | |
{ | |
if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { | |
require(allowance[src][msg.sender] >= wad, "ds-token-insufficient-approval"); | |
allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad); | |
} | |
require(balanceOf[src] >= wad, "ds-token-insufficient-balance"); | |
balanceOf[src] = sub(balanceOf[src], wad); | |
balanceOf[dst] = add(balanceOf[dst], wad); | |
emit Transfer(src, dst, wad); | |
return true; | |
} | |
function add(uint x, uint y) internal pure returns (uint z) { | |
require((z = x + y) >= x, "ds-math-add-overflow"); | |
} | |
function sub(uint x, uint y) internal pure returns (uint z) { | |
require((z = x - y) <= x, "ds-math-sub-underflow"); | |
} | |
} | |
// address: 0xC8Ecf7860F7d2d51F559bbbb312674F8316e628e | |
// source: dweb:/ipfs/QmZa2sq9mzuvG9qB7FK3DoMz8Zb9CRaVWhqehHhVuJ3quJ | |
// metadata: dweb:/ipfs/QmZMag876ds1gQmcCyB1V7s28BHgB4z56WnSt3kwpKE7a7 | |
// deployment bytecode: 0x608060405234801561001057600080fd5b5073799d329e5f583419167cd722962485926e338f4a60009081526020526a084595161401484a0000007f470d3b8acc65c67db0cc3601ddf1351c49fecf7672de40137d5795c3a5c35602556106518061006b6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610270565b604080519115158252519081900360200190f35b61015d6102d7565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102e6565b6101ad610514565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610519565b6100a061052b565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561054b565b61015d6004803603604081101561023357600080fd5b506001600160a01b038135811691602001351661055f565b6040518060400160405280600981526020016829b1b0b69021b7b4b760b91b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6a084595161401484a00000081565b60006001600160a01b038416331480159061032657506001600160a01b038416600090815260016020908152604080832033845290915290205460001914155b156103f6576001600160a01b03841660009081526001602090815260408083203384529091529020548211156103a3576040805162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c0000604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020546103d1908361057c565b6001600160a01b03851660009081526001602090815260408083203384529091529020555b6001600160a01b038416600090815260208190526040902054821115610463576040805162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e6365000000604482015290519081900360640190fd5b6001600160a01b038416600090815260208190526040902054610486908361057c565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546104b590836105cc565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b60006020819052908152604090205481565b604051806040016040528060048152602001635343414d60e01b81525081565b60006105583384846102e6565b9392505050565b600160209081526000928352604080842090915290825290205481565b808203828111156102d1576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156102d1576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea2646970667358221220a3ad9355458e508a7eb6481ff4f79a6945f8b07db15afb44bc9c87779e90cee064736f6c63430007000033 |
This file contains hidden or 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.7.0; | |
contract Security { | |
uint256 constant public totalSupply = 10_000_000 * 10**18; | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; | |
string constant public symbol = "SEC"; | |
uint8 constant public decimals = 18; | |
string constant public name = "Security"; | |
constructor() { | |
balanceOf[0x799D329e5f583419167cD722962485926E338F4a] = totalSupply; | |
} | |
event Approval(address indexed src, address indexed guy, uint wad); | |
event Transfer(address indexed src, address indexed dst, uint wad); | |
function approve(address guy, uint wad) public returns (bool) { | |
allowance[msg.sender][guy] = wad; | |
emit Approval(msg.sender, guy, wad); | |
return true; | |
} | |
function transfer(address dst, uint wad) external returns (bool) { | |
return transferFrom(msg.sender, dst, wad); | |
} | |
function transferFrom(address src, address dst, uint wad) public returns (bool) | |
{ | |
if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { | |
require(allowance[src][msg.sender] >= wad, "ds-token-insufficient-approval"); | |
allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad); | |
} | |
require(balanceOf[src] >= wad, "ds-token-insufficient-balance"); | |
balanceOf[src] = sub(balanceOf[src], wad); | |
balanceOf[dst] = add(balanceOf[dst], wad); | |
emit Transfer(src, dst, wad); | |
return true; | |
} | |
function add(uint x, uint y) internal pure returns (uint z) { | |
require((z = x + y) >= x, "ds-math-add-overflow"); | |
} | |
function sub(uint x, uint y) internal pure returns (uint z) { | |
require((z = x - y) <= x, "ds-math-sub-underflow"); | |
} | |
} | |
// address: 0x948cf6dc245d7f99edf4a327404f1fb3fe6549e7 | |
// source: dweb:/ipfs/QmZLnUBanjuxo4CMpwy2TDbNSVk1wqRfyMm8RYdK3ySiHu | |
// metadata: dweb:/ipfs/QmYeQ19YoYGMbw63XCMfhjuk5xFrCEkqGjKE2Wy4SEMBAX | |
// deployment bytecode: 0x608060405234801561001057600080fd5b5073799d329e5f583419167cd722962485926e338f4a60009081526020526a084595161401484a0000007f470d3b8acc65c67db0cc3601ddf1351c49fecf7672de40137d5795c3a5c356025561064f8061006b6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b03813516906020013561026f565b604080519115158252519081900360200190f35b61015d6102d6565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102e5565b6101ad610513565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610518565b6100a061052a565b6101416004803603604081101561020757600080fd5b506001600160a01b038135169060200135610549565b61015d6004803603604081101561023357600080fd5b506001600160a01b038135811691602001351661055d565b60405180604001604052806008815260200167536563757269747960c01b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6a084595161401484a00000081565b60006001600160a01b038416331480159061032557506001600160a01b038416600090815260016020908152604080832033845290915290205460001914155b156103f5576001600160a01b03841660009081526001602090815260408083203384529091529020548211156103a2576040805162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c0000604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020546103d0908361057a565b6001600160a01b03851660009081526001602090815260408083203384529091529020555b6001600160a01b038416600090815260208190526040902054821115610462576040805162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e6365000000604482015290519081900360640190fd5b6001600160a01b038416600090815260208190526040902054610485908361057a565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546104b490836105ca565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b60006020819052908152604090205481565b6040518060400160405280600381526020016253454360e81b81525081565b60006105563384846102e5565b9392505050565b600160209081526000928352604080842090915290825290205481565b808203828111156102d0576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156102d0576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea26469706673582212209920b20c09322ba3dd97506572f02bd201b169d04dd9297a8fdfca64ab4930e064736f6c63430007000033 |
This file contains hidden or 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.7.0; | |
contract ShitCoin { | |
uint256 constant public totalSupply = 10_000_000 * 10**18; | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; | |
string constant public symbol = "SHIT"; | |
uint8 constant public decimals = 18; | |
string constant public name = "Shit Coin"; | |
constructor() { | |
balanceOf[0x799D329e5f583419167cD722962485926E338F4a] = totalSupply; | |
} | |
event Approval(address indexed src, address indexed guy, uint wad); | |
event Transfer(address indexed src, address indexed dst, uint wad); | |
function approve(address guy, uint wad) public returns (bool) { | |
allowance[msg.sender][guy] = wad; | |
emit Approval(msg.sender, guy, wad); | |
return true; | |
} | |
function transfer(address dst, uint wad) external returns (bool) { | |
return transferFrom(msg.sender, dst, wad); | |
} | |
function transferFrom(address src, address dst, uint wad) public returns (bool) | |
{ | |
if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { | |
require(allowance[src][msg.sender] >= wad, "ds-token-insufficient-approval"); | |
allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad); | |
} | |
require(balanceOf[src] >= wad, "ds-token-insufficient-balance"); | |
balanceOf[src] = sub(balanceOf[src], wad); | |
balanceOf[dst] = add(balanceOf[dst], wad); | |
emit Transfer(src, dst, wad); | |
return true; | |
} | |
function add(uint x, uint y) internal pure returns (uint z) { | |
require((z = x + y) >= x, "ds-math-add-overflow"); | |
} | |
function sub(uint x, uint y) internal pure returns (uint z) { | |
require((z = x - y) <= x, "ds-math-sub-underflow"); | |
} | |
} | |
// address: 0xeFC5D2aa8f5149cB0593C4cDE60067B3961aA8F6 | |
// source: dweb:/ipfs/QmSduzD7NxNHVQbR264Jns4vrpLr22WpWNXfhYQP5wJZhr | |
// metadata: dweb:/ipfs/Qmb6VFaqz2zTCdXAPioKhH3cr4RBTJNJN6hYACucKUCb9d | |
// deployment bytecode: 0x608060405234801561001057600080fd5b5073799d329e5f583419167cd722962485926e338f4a60009081526020526a084595161401484a0000007f470d3b8acc65c67db0cc3601ddf1351c49fecf7672de40137d5795c3a5c35602556106518061006b6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610270565b604080519115158252519081900360200190f35b61015d6102d7565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102e6565b6101ad610514565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610519565b6100a061052b565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561054b565b61015d6004803603604081101561023357600080fd5b506001600160a01b038135811691602001351661055f565b6040518060400160405280600981526020016829b434ba1021b7b4b760b91b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6a084595161401484a00000081565b60006001600160a01b038416331480159061032657506001600160a01b038416600090815260016020908152604080832033845290915290205460001914155b156103f6576001600160a01b03841660009081526001602090815260408083203384529091529020548211156103a3576040805162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c0000604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020546103d1908361057c565b6001600160a01b03851660009081526001602090815260408083203384529091529020555b6001600160a01b038416600090815260208190526040902054821115610463576040805162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e6365000000604482015290519081900360640190fd5b6001600160a01b038416600090815260208190526040902054610486908361057c565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546104b590836105cc565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b60006020819052908152604090205481565b6040518060400160405280600481526020016314d2125560e21b81525081565b60006105583384846102e6565b9392505050565b600160209081526000928352604080842090915290825290205481565b808203828111156102d1576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156102d1576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea2646970667358221220bd871af72857275324cfe6650092065e3445618cc304c4f246426c322d2de42464736f6c63430007000033 |
This file contains hidden or 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.7.0; | |
contract StableCoin { | |
uint256 constant public totalSupply = 10_000_000 * 10**18; | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; | |
string constant public symbol = "STABLE"; | |
uint8 constant public decimals = 18; | |
string constant public name = "Stable Coin"; | |
constructor() { | |
balanceOf[0x799D329e5f583419167cD722962485926E338F4a] = totalSupply; | |
} | |
event Approval(address indexed src, address indexed guy, uint wad); | |
event Transfer(address indexed src, address indexed dst, uint wad); | |
function approve(address guy, uint wad) public returns (bool) { | |
allowance[msg.sender][guy] = wad; | |
emit Approval(msg.sender, guy, wad); | |
return true; | |
} | |
function transfer(address dst, uint wad) external returns (bool) { | |
return transferFrom(msg.sender, dst, wad); | |
} | |
function transferFrom(address src, address dst, uint wad) public returns (bool) | |
{ | |
if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { | |
require(allowance[src][msg.sender] >= wad, "ds-token-insufficient-approval"); | |
allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad); | |
} | |
require(balanceOf[src] >= wad, "ds-token-insufficient-balance"); | |
balanceOf[src] = sub(balanceOf[src], wad); | |
balanceOf[dst] = add(balanceOf[dst], wad); | |
emit Transfer(src, dst, wad); | |
return true; | |
} | |
function add(uint x, uint y) internal pure returns (uint z) { | |
require((z = x + y) >= x, "ds-math-add-overflow"); | |
} | |
function sub(uint x, uint y) internal pure returns (uint z) { | |
require((z = x - y) <= x, "ds-math-sub-underflow"); | |
} | |
} | |
// address: 0x23de31d98d78084de626659f752058266feb69a5 | |
// source: dweb:/ipfs/QmVTPo1U66h9v53ZtFc6ucQiNXiP1DQa5GejuUECHyqg2G | |
// metadata: dweb:/ipfs/QmNqRtnB3nxuy5ySNLQk5hJwdAHypDS95oRYgpBkH3wRAR | |
// deployment bytecode: 0x608060405234801561001057600080fd5b5073799d329e5f583419167cd722962485926e338f4a60009081526020526a084595161401484a0000007f470d3b8acc65c67db0cc3601ddf1351c49fecf7672de40137d5795c3a5c35602556106558061006b6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610272565b604080519115158252519081900360200190f35b61015d6102d9565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102e8565b6101ad610516565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b031661051b565b6100a061052d565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561054f565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610563565b6040518060400160405280600b81526020016a29ba30b136329021b7b4b760a91b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6a084595161401484a00000081565b60006001600160a01b038416331480159061032857506001600160a01b038416600090815260016020908152604080832033845290915290205460001914155b156103f8576001600160a01b03841660009081526001602090815260408083203384529091529020548211156103a5576040805162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c0000604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020546103d39083610580565b6001600160a01b03851660009081526001602090815260408083203384529091529020555b6001600160a01b038416600090815260208190526040902054821115610465576040805162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e6365000000604482015290519081900360640190fd5b6001600160a01b0384166000908152602081905260409020546104889083610580565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546104b790836105d0565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b60006020819052908152604090205481565b60405180604001604052806006815260200165535441424c4560d01b81525081565b600061055c3384846102e8565b9392505050565b600160209081526000928352604080842090915290825290205481565b808203828111156102d3576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156102d3576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea2646970667358221220075f5a35f40df5fa3a819e03726f2d8d8d1e73184584c745ad43294231966cd264736f6c63430007000033 |
This file contains hidden or 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.7.0; | |
contract ToyToken { | |
uint256 constant public totalSupply = 10_000_000 * 10**18; | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; | |
string constant public symbol = "TOY"; | |
uint8 constant public decimals = 18; | |
string constant public name = "Toy Token"; | |
constructor() { | |
balanceOf[0x799D329e5f583419167cD722962485926E338F4a] = totalSupply; | |
} | |
event Approval(address indexed src, address indexed guy, uint wad); | |
event Transfer(address indexed src, address indexed dst, uint wad); | |
function approve(address guy, uint wad) public returns (bool) { | |
allowance[msg.sender][guy] = wad; | |
emit Approval(msg.sender, guy, wad); | |
return true; | |
} | |
function transfer(address dst, uint wad) external returns (bool) { | |
return transferFrom(msg.sender, dst, wad); | |
} | |
function transferFrom(address src, address dst, uint wad) public returns (bool) | |
{ | |
if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { | |
require(allowance[src][msg.sender] >= wad, "ds-token-insufficient-approval"); | |
allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad); | |
} | |
require(balanceOf[src] >= wad, "ds-token-insufficient-balance"); | |
balanceOf[src] = sub(balanceOf[src], wad); | |
balanceOf[dst] = add(balanceOf[dst], wad); | |
emit Transfer(src, dst, wad); | |
return true; | |
} | |
function add(uint x, uint y) internal pure returns (uint z) { | |
require((z = x + y) >= x, "ds-math-add-overflow"); | |
} | |
function sub(uint x, uint y) internal pure returns (uint z) { | |
require((z = x - y) <= x, "ds-math-sub-underflow"); | |
} | |
} | |
// address: 0xFd4C5737CC3D7950f2ff0fD109fbA31e040cde44 | |
// source: dweb:/ipfs/QmNTTgBQwTjLtuF2zmorZDEboodtchfQBDdPMTCtoemNho | |
// metadata: dweb:/ipfs/QmaoCqs5DUvE18upGFVJ53zx2M6CgZQLFt52RjupKAvvpC | |
// deployment bytecode: 0x608060405234801561001057600080fd5b5073799d329e5f583419167cd722962485926e338f4a60009081526020526a084595161401484a0000007f470d3b8acc65c67db0cc3601ddf1351c49fecf7672de40137d5795c3a5c35602556106508061006b6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610270565b604080519115158252519081900360200190f35b61015d6102d7565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102e6565b6101ad610514565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b0316610519565b6100a061052b565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561054a565b61015d6004803603604081101561023357600080fd5b506001600160a01b038135811691602001351661055e565b604051806040016040528060098152602001682a37bc902a37b5b2b760b91b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6a084595161401484a00000081565b60006001600160a01b038416331480159061032657506001600160a01b038416600090815260016020908152604080832033845290915290205460001914155b156103f6576001600160a01b03841660009081526001602090815260408083203384529091529020548211156103a3576040805162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c0000604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020546103d1908361057b565b6001600160a01b03851660009081526001602090815260408083203384529091529020555b6001600160a01b038416600090815260208190526040902054821115610463576040805162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e6365000000604482015290519081900360640190fd5b6001600160a01b038416600090815260208190526040902054610486908361057b565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546104b590836105cb565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b60006020819052908152604090205481565b60405180604001604052806003815260200162544f5960e81b81525081565b60006105573384846102e6565b9392505050565b600160209081526000928352604080842090915290825290205481565b808203828111156102d1576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156102d1576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea2646970667358221220b919ad8acba6019e11bac912112257ff457edf97f0f11a808b8a29f6483f5dfd64736f6c63430007000033 |
This file contains hidden or 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.7.0; | |
contract UtilityToken { | |
uint256 constant public totalSupply = 10_000_000 * 10**18; | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; | |
string constant public symbol = "UTIL"; | |
uint8 constant public decimals = 18; | |
string constant public name = "Utility Token"; | |
constructor() { | |
balanceOf[0x799D329e5f583419167cD722962485926E338F4a] = totalSupply; | |
} | |
event Approval(address indexed src, address indexed guy, uint wad); | |
event Transfer(address indexed src, address indexed dst, uint wad); | |
function approve(address guy, uint wad) public returns (bool) { | |
allowance[msg.sender][guy] = wad; | |
emit Approval(msg.sender, guy, wad); | |
return true; | |
} | |
function transfer(address dst, uint wad) external returns (bool) { | |
return transferFrom(msg.sender, dst, wad); | |
} | |
function transferFrom(address src, address dst, uint wad) public returns (bool) | |
{ | |
if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { | |
require(allowance[src][msg.sender] >= wad, "ds-token-insufficient-approval"); | |
allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad); | |
} | |
require(balanceOf[src] >= wad, "ds-token-insufficient-balance"); | |
balanceOf[src] = sub(balanceOf[src], wad); | |
balanceOf[dst] = add(balanceOf[dst], wad); | |
emit Transfer(src, dst, wad); | |
return true; | |
} | |
function add(uint x, uint y) internal pure returns (uint z) { | |
require((z = x + y) >= x, "ds-math-add-overflow"); | |
} | |
function sub(uint x, uint y) internal pure returns (uint z) { | |
require((z = x - y) <= x, "ds-math-sub-underflow"); | |
} | |
} | |
// address: 0x808f7ff8be79589f11c5c542e1e199662db4ffac | |
// source: dweb:/ipfs/Qmbu2v5L8DYFv6JYJKRdPZebBR9S6RgjwcgxNQTUdRo22G | |
// metadata: dweb:/ipfs/Qmb5Mde6XrvRKmyU7Wr7DV3nQd39KLd9WVbodQEQXEGu84 | |
// deployment bytecode: 0x608060405234801561001057600080fd5b5073799d329e5f583419167cd722962485926e338f4a60009081526020526a084595161401484a0000007f470d3b8acc65c67db0cc3601ddf1351c49fecf7672de40137d5795c3a5c35602556106558061006b6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610274565b604080519115158252519081900360200190f35b61015d6102db565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102ea565b6101ad610518565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b031661051d565b6100a061052f565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561054f565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610563565b6040518060400160405280600d81526020016c2aba34b634ba3c902a37b5b2b760991b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6a084595161401484a00000081565b60006001600160a01b038416331480159061032a57506001600160a01b038416600090815260016020908152604080832033845290915290205460001914155b156103fa576001600160a01b03841660009081526001602090815260408083203384529091529020548211156103a7576040805162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c0000604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020546103d59083610580565b6001600160a01b03851660009081526001602090815260408083203384529091529020555b6001600160a01b038416600090815260208190526040902054821115610467576040805162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e6365000000604482015290519081900360640190fd5b6001600160a01b03841660009081526020819052604090205461048a9083610580565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546104b990836105d0565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b60006020819052908152604090205481565b604051806040016040528060048152602001631555125360e21b81525081565b600061055c3384846102ea565b9392505050565b600160209081526000928352604080842090915290825290205481565b808203828111156102d5576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156102d5576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea2646970667358221220bd3ce8ac1b922ae788febb29d879fda6d5d22d2188823bd2d3330ba4e236c71164736f6c63430007000033 |
This file contains hidden or 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.7.0; | |
contract YieldFarm { | |
uint256 constant public totalSupply = 10_000_000 * 10**18; | |
mapping (address => uint256) public balanceOf; | |
mapping (address => mapping (address => uint256)) public allowance; | |
string constant public symbol = "YIELD"; | |
uint8 constant public decimals = 18; | |
string constant public name = "Yield Farm"; | |
constructor() { | |
balanceOf[0x799D329e5f583419167cD722962485926E338F4a] = totalSupply; | |
} | |
event Approval(address indexed src, address indexed guy, uint wad); | |
event Transfer(address indexed src, address indexed dst, uint wad); | |
function approve(address guy, uint wad) public returns (bool) { | |
allowance[msg.sender][guy] = wad; | |
emit Approval(msg.sender, guy, wad); | |
return true; | |
} | |
function transfer(address dst, uint wad) external returns (bool) { | |
return transferFrom(msg.sender, dst, wad); | |
} | |
function transferFrom(address src, address dst, uint wad) public returns (bool) | |
{ | |
if (src != msg.sender && allowance[src][msg.sender] != uint(-1)) { | |
require(allowance[src][msg.sender] >= wad, "ds-token-insufficient-approval"); | |
allowance[src][msg.sender] = sub(allowance[src][msg.sender], wad); | |
} | |
require(balanceOf[src] >= wad, "ds-token-insufficient-balance"); | |
balanceOf[src] = sub(balanceOf[src], wad); | |
balanceOf[dst] = add(balanceOf[dst], wad); | |
emit Transfer(src, dst, wad); | |
return true; | |
} | |
function add(uint x, uint y) internal pure returns (uint z) { | |
require((z = x + y) >= x, "ds-math-add-overflow"); | |
} | |
function sub(uint x, uint y) internal pure returns (uint z) { | |
require((z = x - y) <= x, "ds-math-sub-underflow"); | |
} | |
} | |
// address: 0xd47abb5e330e4e78546a921ee1318c942464bac6 | |
// source: dweb:/ipfs/QmPszHmcUJEcWfrRot6A31ruuodsbKSJa5cfnr5z1PGY7q | |
// metadata: dweb:/ipfs/QmW9X4MPXgbga6QxEWf9yqshx1k5wEDdsVnJ1qUsMQ2Jv8 | |
// deployment bytecode: 0x608060405234801561001057600080fd5b5073799d329e5f583419167cd722962485926e338f4a60009081526020526a084595161401484a0000007f470d3b8acc65c67db0cc3601ddf1351c49fecf7672de40137d5795c3a5c35602556106538061006b6000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063313ce56711610066578063313ce567146101a557806370a08231146101c357806395d89b41146101e9578063a9059cbb146101f1578063dd62ed3e1461021d57610093565b806306fdde0314610098578063095ea7b31461011557806318160ddd1461015557806323b872dd1461016f575b600080fd5b6100a061024b565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100da5781810151838201526020016100c2565b50505050905090810190601f1680156101075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101416004803603604081101561012b57600080fd5b506001600160a01b038135169060200135610271565b604080519115158252519081900360200190f35b61015d6102d8565b60408051918252519081900360200190f35b6101416004803603606081101561018557600080fd5b506001600160a01b038135811691602081013590911690604001356102e7565b6101ad610515565b6040805160ff9092168252519081900360200190f35b61015d600480360360208110156101d957600080fd5b50356001600160a01b031661051a565b6100a061052c565b6101416004803603604081101561020757600080fd5b506001600160a01b03813516906020013561054d565b61015d6004803603604081101561023357600080fd5b506001600160a01b0381358116916020013516610561565b6040518060400160405280600a8152602001695969656c64204661726d60b01b81525081565b3360008181526001602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b6a084595161401484a00000081565b60006001600160a01b038416331480159061032757506001600160a01b038416600090815260016020908152604080832033845290915290205460001914155b156103f7576001600160a01b03841660009081526001602090815260408083203384529091529020548211156103a4576040805162461bcd60e51b815260206004820152601e60248201527f64732d746f6b656e2d696e73756666696369656e742d617070726f76616c0000604482015290519081900360640190fd5b6001600160a01b03841660009081526001602090815260408083203384529091529020546103d2908361057e565b6001600160a01b03851660009081526001602090815260408083203384529091529020555b6001600160a01b038416600090815260208190526040902054821115610464576040805162461bcd60e51b815260206004820152601d60248201527f64732d746f6b656e2d696e73756666696369656e742d62616c616e6365000000604482015290519081900360640190fd5b6001600160a01b038416600090815260208190526040902054610487908361057e565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546104b690836105ce565b6001600160a01b038085166000818152602081815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060019392505050565b601281565b60006020819052908152604090205481565b60405180604001604052806005815260200164165251531160da1b81525081565b600061055a3384846102e7565b9392505050565b600160209081526000928352604080842090915290825290205481565b808203828111156102d2576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b808201828110156102d2576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfea2646970667358221220740374a039f118d74d8e0f843cdcd27062ceb5530c228f444bc41ce79342328564736f6c63430007000033 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment