Skip to content

Instantly share code, notes, and snippets.

View thisiscodingnow's full-sized avatar
🏠
Working from home

thisiscodingnow

🏠
Working from home
View GitHub Profile
0x5667578AC6cD26Df42d430291CC76F1fe6FFebE5
0xA535F0006349383971AB75331C84D16CFaCF7f73
0xA535F0006349383971AB75331C84D16CFaCF7f73
0x5667578AC6cD26Df42d430291CC76F1fe6FFebE5
pragma solidity ^0.4.11;
contract CustodialContract{
address client;
bool _switch = false;
event UpdateStatus(string _msg);
event UserStatus(string _msg,address user, uint amount);
function CustodialContract(){
pragma solidity ^0.4.11;
contract CustodialContract{
address client;
bool _switch = false;
function CustodialContract(){
client = msg.sender;
}
pragma solidity ^0.4.11;
contract PayableContract{
function PayableContract() {
}
function receiveFunds() payable {
0x5667578AC6cD26Df42d430291CC76F1fe6FFebE5
0x5667578AC6cD26Df42d430291CC76F1fe6FFebE5
/*
This Token Contract implements the standard token functionality (https://github.com/ethereum/EIPs/issues/20) as well as the following OPTIONAL extras intended for use by humans.
In other words. This is intended for deployment in something like a Token Factory or Mist wallet, and then used by humans.
Imagine coins, currencies, shares, voting weight, etc.
Machine-based, rapid creation of many tokens would not necessarily need these extra features or will be minted in other manners.
1) Initial Finite Supply (upon creation one specifies how much is minted).
2) In the absence of a token registry: Optional Decimal, Symbol & Name.
3) Optional approveAndCall() functionality to notify a contract if an approval() has occurred.