Skip to content

Instantly share code, notes, and snippets.

Avatar

Nam Chu Hoai nambrot

View GitHub Profile
@nambrot
nambrot / initialization_data.json
Created Nov 12, 2020
Initialization Data for CGP13
View initialization_data.json
{
"DowntimeSlasher": ["0x000000000000000000000000000000000000ce10", "100000000000000000000", "10000000000000000000", "8640"]
}
View release-2.diff
diff --git a/packages/protocol/contracts/common/FixidityLib.sol b/packages/protocol/contracts/common/FixidityLib.sol
index e5ad4d1b4..15fd8f08f 100644
--- a/packages/protocol/contracts/common/FixidityLib.sol
+++ b/packages/protocol/contracts/common/FixidityLib.sol
@@ -19,6 +19,14 @@ library FixidityLib {
uint256 value;
}
+ /**
+ * @notice Returns the storage, major, minor, and patch version of the contract.
View baklavastaging-metadata-group.json
{"claims":[{"timestamp":1575675355,"type":"ACCOUNT","address":"0xf1683788A623aBc57976aF937cc0Cb9B246328F4"}],"meta":{"address":"0x07f52046f4F90EB4E9667Fa0D1ADA8AEd8F98ec2","signature":"0x19f3bc795b2df586e39179dcb09d7e3572b3f946e4ca07e96afd012fd4b82ab9196a78451acbe22a2cb9aa48f6539a4760d05cd188010318a810b9ebd956176b1b"}}
View baklavastaging-metadata.json
{"claims":[{"url":"http://104.198.237.254","timestamp":1575570171,"type":"ATTESTATION_SERVICE_URL"}],"meta":{"address":"0xf1683788A623aBc57976aF937cc0Cb9B246328F4","signature":"0x6fc94cbb03b8a28778335c5a8cbdf0bea017057b1d6d70b5560680bf00042d8e1f096c04c161abd8edf396d03bd54d1e44fe7f0b544418a117e4b23cd2a203a21b"}}
View baklavastaging-metadata.json
{"claims":[{"url":"http://167.99.168.47:3000","timestamp":1574733893,"type":"ATTESTATION_SERVICE_URL"}],"meta":{"address":"0x7059f5038a97CB70f37c73FaDAE11B83Dca982A8","signature":"0x574bbd0e55abffd09bda9c593877087316450c27706ac01a1945786be47ca21401760e0e89fc10348dc2e0a3bd7fec086c509a555d98ceca26ee0120f574837c1c"}}
View celo-stake-off.md

CELO_VALIDATOR_GROUP_ADDRESS=0456e7b4b6a7e25f167f4ebeb17b7268e36af4f8 CELO_VALIDATOR_ADDRESS=7059f5038a97cb70f37c73fadae11b83dca982a8

View minsweeper.ruby
require 'json'
class Minesweeper
def initialize(n, m, number_of_mines)
@n = n
@m = m
@number_of_mines = number_of_mines
@user_board = []
@visible = []
View Minesweeper.java
import java.io.*;
import java.util.*;
/*
* To execute Java, please define "static void main" on a class
* named Solution.
*
* If you need more classes, simply define them inline.
*/
View seminar_tf.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.