This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*Before running script via `node Prove_Finalize`: | |
| 1. Run npm i viem inside the working dir | |
| 2. add the following to your package.json at the top level: | |
| ``` | |
| { | |
| // ... | |
| "type": "module", | |
| } | |
| ``` | |
| 3. Submit initiate withdrawl transaction on L2 adapter and insert the transaction hash at L41 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifndef HFTLOB_H_ | |
| #define HFTLOB_H_ | |
| /** | |
| * CUSTOM STRUCTS | |
| */ | |
| typedef struct Order{ | |
| char *tid; | |
| unsigned buyOrSell; | |
| double shares; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <math.h> | |
| #include <assert.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include "order_matching.hpp" | |
| /* Order Operations */ | |
| int pushOrder(Limit *limit, Order *newOrder){ |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ! function() { | |
| var t, e, n; | |
| (function() { | |
| t = this | |
| }).call(this), | |
| function() { | |
| var t = __meteor_runtime_config__; | |
| e = t.meteorEnv, n = { | |
| isProduction: "production" === e.NODE_ENV, | |
| isDevelopment: "production" !== e.NODE_ENV, |