Skip to content

Instantly share code, notes, and snippets.

View sunnya97's full-sized avatar

Sunny Aggarwal sunnya97

View GitHub Profile
This file has been truncated, but you can view the full file.
{
"app_hash": "",
"app_state": {
"auth": {
"accounts": [
{
"type": "cosmos-sdk/Account",
"value": {
"account_number": "3942",
"address": "str1qqyu6qgrvdfl84lr6tq6kk2jsvthkx6ude2wek",

0x17dff97e8a7213a0ea16970bb16cc605b3de64ed5c8c73a3ec7f3ed12fdf9474

{
"body": {
"messages": [
{
"@type": "/cosmos.staking.v1beta1.MsgCreateValidator",
"description": {
"moniker": "validator",
"identity": "",
"website": "",
"security_contact": "",
from telethon import TelegramClient
# GET YOUR OWN VALUES FROM https://my.telegram.org/apps
api_id = 0
api_hash = ''
# Insert Telegram Group ID
group_id = -1001431173533
client = TelegramClient('anon', api_id, api_hash)
pragma solidity >=0.4.22 <0.7.0;
import "./IERC20.sol";
contract DumbOpyn {
struct Put {
uint id;
address creator;
{"claims":[{"timestamp":1578977877,"type":"ACCOUNT","address":"0x0328b30Dd55bAA5A5FC1be23C4575A7Fb779Dc25"}],"meta":{"address":"0x333d3Ad4628E36Db96beC8B3292F41bACE58fc33","signature":"0x20efd9cd6f0536b0285b39fbdc09ef4148cd4d03154f294c0a9ff2c29db4d9c762b57fcf356e98b361682fa8a62c52b915df7295b3b7927d72ba9b43348d85c61b"}}
{"claims":[{"url":"http://64.225.2.198","timestamp":1578977545,"type":"ATTESTATION_SERVICE_URL"},{"timestamp":1578977550,"type":"ACCOUNT","address":"0x333d3Ad4628E36Db96beC8B3292F41bACE58fc33"}],"meta":{"address":"0x0328b30Dd55bAA5A5FC1be23C4575A7Fb779Dc25","signature":"0x1a80ce951e2ffb7cd4bc3777f15829375b235b0f29f3a68e11d5d2e132060f3216457384bfd87b0ac889ff65518490c6be7684bda5e7244d0831c04cdb98e1611c"}}
{"claims":[{"url":"http://64.225.2.198","timestamp":1578977545,"type":"ATTESTATION_SERVICE_URL"},{"timestamp":1578977550,"type":"ACCOUNT","address":"0x333d3Ad4628E36Db96beC8B3292F41bACE58fc33"}],"meta":{"address":"0x0328b30Dd55bAA5A5FC1be23C4575A7Fb779Dc25","signature":"0x1a80ce951e2ffb7cd4bc3777f15829375b235b0f29f3a68e11d5d2e132060f3216457384bfd87b0ac889ff65518490c6be7684bda5e7244d0831c04cdb98e1611c"}}
@sunnya97
sunnya97 / celo-stake-off.md
Created December 8, 2019 23:08
Sikka Celo Stake Off

export CELO_VALIDATOR_GROUP_ADDRESS=333d3ad4628e36db96bec8b3292f41bace58fc33 export CELO_VALIDATOR_ADDRESS=0328b30dd55baa5a5fc1be23c4575a7fb779dc25

import pywapi
import string
import random
weather_com_result = pywapi.get_weather_from_weather_com('20740', 'imperial')
text = weather_com_result['current_conditions']['text']
temp = weather_com_result['current_conditions']['temperature']
temp = int(temp)