Skip to content

Instantly share code, notes, and snippets.

View bonedaddy's full-sized avatar
🌷
pfSense > cisco

bonedaddy bonedaddy

🌷
pfSense > cisco
View GitHub Profile
@client.event
async def on_member_join(member):
server = member.server
fmt = 'Welcome {0.mention} to {1.name}!'
await client.send_message(server, fmt.format(member, server))
function sendFifty() public returns (bool success) {
halfOf = msg.value / 2;
walletOne.transfer(halfOf);
walletTwo.transfer(halfOf);
}
function sendFifty() public returns (bool success) {
halfOf = msg.value / 2;
walletOne.transfer(halfOf);
walletTwo.transfer(halfOf);
return true;
}
0xB865ad9DCF6Fd8cb48908099858c6c6550C82Ba2
0xB865ad9DCF6Fd8cb48908099858c6c6550C82Ba2
0x3dbd9EfF42b3Bc1cbe2f877E008B9D6dBA05CB33
0x220Cd26aA8BE81C49Cf3f6eE37F0415e50c3406a
0xD2726B64E2C68cbb15e7C6708fe8C84A906d4031
interface SomeToken {
function transfer(address _recipient, uint256 _amount);
}
contract ICO {
SomeToken public tokenContract;
function ICO(address _tokenContract) {
tokenContract = SomeToken(_tokenContract);
0x27E9011783Da628cBDaB6Ae9C4bA4bC95761030D