Skip to content

Instantly share code, notes, and snippets.

We can't make this file beautiful and searchable because it's too large.
trader,amm,size,margin,openNotional,blockNumber,updated,marginRatio,spotPositionNotional,spotUnrealizedPnl,twapPositionNotional,twapUnrealizedPnl
0x39Dc349D7A15ed8ce7d4508Cb9B004C017748B93,0x838B322610BD99a449091D3bF3FBA60D794909a9,0.43844372131414383,12.179253265470626,22.702016980375834,22102864,2022-05-16 23:07:56.291,0.2542603343884771,13.80177600784197,-8.900240972533867,13.80177600784197,-8.900240972533867
0xD5b107D4D98C9785E4d77381FaE6f72b39a6A08F,0xfcAE57DB10356FCf76B6476B21ac14C504a45128,0.7363976753271484,8.130579211085449,6,15989351,2022-05-16 22:56:16.197,3.5514424189880094,1.0067292378844777,-4.993270762115523,1.0067292378844777,-4.993270762115523
0x0cD3969C159172483eB0965ab2f832154Aef38D8,0x8d22F1a9dCe724D8c1B4c688D75f17A2fE2D32df,0.07368500935645245,118.41437678629852,218.343945,18339549,2022-05-16 22:58:46.324,0.3348012470592013,145.13836812361717,-73.20557687638282,145.13836812361717,-73.20557687638282
0xA9d5902Df9df08Aa9A826d5aFaEe1A1649b1807a,0x0f346e19F01471C02485DF1758cfd3d624E399B4,0.000
@diwu1989
diwu1989 / README.txt
Created October 15, 2021 22:13
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS
@diwu1989
diwu1989 / wootric.css
Created June 17, 2016 06:59
wootric css
/*
------------------------------------------
ALL WOOTRIC BEACON CSS BELOW
------------------------------------------
*/
#wootric-modal * {
/* intelligent box-model please! */
/* include padding in container sizing */
@diwu1989
diwu1989 / Beacon.js
Last active June 17, 2016 06:55 — forked from marinhero/Beacon.js
/*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k="".trim,l={},m="1.11.0",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,
@diwu1989
diwu1989 / rawgithub alternatives
Created June 19, 2013 03:55
raw.github.com alternatives
http://raw-github.herokuapp.com/