Skip to content

Instantly share code, notes, and snippets.

View zemse's full-sized avatar

soham zemse

View GitHub Profile
@zemse
zemse / main.py
Last active February 7, 2021 05:56
ISI Kolkata - Statistics Assignment 3 - Problem 9
# Question 9
#
# Suppose X1 and X2 are IID from the discrete uniform distribution on
# {1, 2, ... , 5}. Derive the sampling distribution of (X1 + X2)/2. Verify
# your result by means of simulation.
from random import randint
# number of trials, more the trials accuracy increases
TRIALS = 10000000
@zemse
zemse / esn.sol
Last active August 24, 2020 21:19
eraswapnetwork dependency contract abstracts
/// VERSION: 1.1.0
/// Please note that the following APIs (function name, args and return values) may be changed to
/// incorporate proper logic in ES whitepaper. Please recheck that your contracts use the latest version.
/// This gist is intended for reference purpose of the Era Swap Team and buidlers building dApps that
/// will be a part Era Swap Ecosystem.
pragma solidity 0.7.0;
/// KYC DApp