Skip to content

Instantly share code, notes, and snippets.

yaronvel

Block or report user

Report or block yaronvel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View ilan.js
var Web3 = require('web3');
//url = "http://localhost:8545/jsonrpc";
url = "https://mainnet.infura.io";
//url = "http://13.229.54.28:8545/"; // override
var web3 = new Web3(new Web3.providers.HttpProvider(url));
var BigNumber = web3.utils.BN;
var fs = require("fs");
icoAbi = [{"constant":true,"inputs":[],"name":"cappedSaleStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"openSaleStartTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"list","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"contributor","type":"address"},{"name":"amountInWei","type":"uint256"}],"name":"eligible","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"contributor","type":"address"}],"name":"contributorCap","outputs":[{"name":"","type":"uint256"}],"payable":false,"type"
View nested_rlp.c
#include <stdio.h>
#include <string.h>
const char* fields[] = {
"parentHash",
"ommersHash",
"beneficiary",
"stateRoot",
"transactionsRoot",
View nested_rlp.c
#include <stdio.h>
#include <string.h>
const char* fields[] = {
"parentHash",
"ommersHash",
"beneficiary",
"stateRoot",
"transactionsRoot",
View nested_rlp.c
#include <stdio.h>
#include <string.h>
const char* fields[] = {
"parentHash",
"ommersHash",
"beneficiary",
"stateRoot",
"transactionsRoot",
View nested_rlp.c
#include <stdio.h>
#include <string.h>
const char* fields[] = {
"parentHash",
"ommersHash",
"beneficiary",
"stateRoot",
"transactionsRoot",
View nested
#include <stdio.h>
#include <string.h>
const char* fields[] = {
"parentHash",
"ommersHash",
"beneficiary",
"stateRoot",
"transactionsRoot",
View nested_rlp.c
#include <stdio.h>
#include <string.h>
const char* fields[] = {
"parentHash",
"ommersHash",
"beneficiary",
"stateRoot",
"transactionsRoot",
View mul_tested.c
#include <stdio.h>
#include <string.h>
const char* fields[] = {
"parentHash",
"ommersHash",
"beneficiary",
"stateRoot",
"transactionsRoot",
View mult.c
/*****************************************************************************/
static unsigned __int128 decode_number128(unsigned char* input, uint len) {
uint i;
unsigned __int128 result;
result = 0;
for(i = 0 ; i < len ; i++) {
result = result << 8;
result += (unsigned char)input[i];
}
View rlp_minus_end.c
#include <stdio.h>
#include <string.h>
const char* fields[] = {
"parentHash",
"ommersHash",
"beneficiary",
"stateRoot",
"transactionsRoot",
You can’t perform that action at this time.