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
from electrum import util, keystore, bitcoin | |
import argparse | |
import sys | |
import threading | |
MAX_THREADS=25 | |
TARGET_ADDR="3CcxyPhyvyc3S9UuPfu42GNZLvVVV11Uk8" | |
# How many of the address indexes to try. Default to just /0. | |
# i.e. last digit in derivation path: m/49'/0'/0'/0/0 | |
MAX_ADDR_IDX=1 |
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
pragma solidity ^0.4.23; | |
contract Stranger { | |
uint public value; | |
function execute() public { | |
num(); | |
} | |
function num() public { |
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
pragma solidity ^0.4.23; | |
contract Stranger { | |
uint public value; | |
function execute() public { | |
num(); | |
} | |
function num() public { |
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
pragma solidity ^0.4.23; | |
contract Stranger { | |
uint public value; | |
function execute() public { | |
num(); | |
} | |
function num() public { |
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
pragma solidity ^0.4.23; | |
contract Check { | |
uint public retCheck; | |
address public owner; | |
function recAdd(address newOwner) public { | |
owner = newOwner; | |
} |
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
pragma solidity ^0.4.23; | |
contract Casting { | |
uint public retCheck; | |
address public owner; | |
function recAdd(address newOwner) public { | |
owner = newOwner; | |
} |
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
pragma solidity ^0.4.23; | |
contract Casting { | |
function uint8toBytes32(uint8 value) public returns(bytes32) { | |
/* | |
input: 255 | |
output: 0x00000000000000000000000000000000000000000000000000000000000000ff | |
*/ | |
return bytes32(value); |
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
pragma solidity ^0.4.23; | |
contract Casting { | |
function uint8toBytes32(uint8 value) public returns(bytes32) { | |
/* | |
input: 255 | |
output: 0x00000000000000000000000000000000000000000000000000000000000000ff | |
*/ | |
return bytes32(value); |
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
pragma solidity ^0.4.23; | |
//Understanding method overriding during multiple childrens | |
//inherting methods from parent contract | |
contract Main { | |
uint public num; | |
function storeNum() { | |
num = 0; | |
} |
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
pragma solidity ^0.4.23; | |
//Understanding method overriding during multiple childrens | |
//inherting methods from parent contract | |
contract Main { | |
uint public num; | |
function storeNum() { | |
num = 0; | |
} |
OlderNewer