This file contains 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
@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)) |
This file contains 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
function sendFifty() public returns (bool success) { | |
halfOf = msg.value / 2; | |
walletOne.transfer(halfOf); | |
walletTwo.transfer(halfOf); | |
} |
This file contains 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
function sendFifty() public returns (bool success) { | |
halfOf = msg.value / 2; | |
walletOne.transfer(halfOf); | |
walletTwo.transfer(halfOf); | |
return true; | |
} |
This file contains 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
0xB865ad9DCF6Fd8cb48908099858c6c6550C82Ba2 |
This file contains 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
0xB865ad9DCF6Fd8cb48908099858c6c6550C82Ba2 |
This file contains 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
0x3dbd9EfF42b3Bc1cbe2f877E008B9D6dBA05CB33 |
This file contains 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
0x220Cd26aA8BE81C49Cf3f6eE37F0415e50c3406a |
This file contains 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
0xD2726B64E2C68cbb15e7C6708fe8C84A906d4031 |
This file contains 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
interface SomeToken { | |
function transfer(address _recipient, uint256 _amount); | |
} | |
contract ICO { | |
SomeToken public tokenContract; | |
function ICO(address _tokenContract) { | |
tokenContract = SomeToken(_tokenContract); |
This file contains 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
0x27E9011783Da628cBDaB6Ae9C4bA4bC95761030D |
OlderNewer