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
# cat /home/steam/Steam/logs/stderr.txt | |
sh: 1: /home/steam/steamcmd/linux32/../ubuntu12_64/gldriverquery: not found | |
sh: 1: /home/steam/steamcmd/linux32/../ubuntu12_32/gldriverquery: not found | |
sh: 1: /home/steam/steamcmd/linux32/../ubuntu12_64/vulkandriverquery: not found | |
CApplicationManagerPopulateThread took 11 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread) | |
CAppInfoCacheReadFromDiskThread took 54 milliseconds to initialize |
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
+ docker pull bwstitt/mordhau | |
Using default tag: latest | |
latest: Pulling from bwstitt/mordhau | |
Digest: sha256:1a37d30c78cc03c04dcd6445879244d1983a4d90f01c99bc4641e4d19a0f0730 | |
Status: Image is up to date for bwstitt/mordhau:latest | |
+ exec docker run --rm -it --network=host --storage-opt size=10G --device /dev/dri:/dev/dri -v /transcode/steamcmd:/home/steam/steamcmd -v /transcode/Steam:/home/steam/Steam -v /home/mgmt/mordhau/Game.ini:/etc/mordhau/Game.ini --mount type=tmpfs,destination=/tmp --name mordhau-server bwstitt/mordhau | |
[s6-init] making user provided files available at /var/run/s6/etc...exited 0. | |
[s6-init] ensuring user provided files have correct perms...exited 0. | |
[fix-attrs.d] applying ownership & permissions fixes... | |
[fix-attrs.d] done. |
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
$ docker run --rm -it --network=host --storage-opt size=100G gitlab-registry.stytt.com/docker/mordhau | |
Updating... | |
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt' | |
[ 0%] Checking for available updates... | |
[----] Verifying installation... | |
[ 0%] Downloading update... | |
[ 0%] Checking for available updates... | |
[----] Download complete. | |
[----] Extracting package... | |
[----] Extracting package... |
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
DAI: token_address: 0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359; | |
USDC: token_address: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 | |
ETH/DAI via Kyber best of 1 Ask = 0.006995959027496193 | |
# 1 / 0.006995959027496193 = 142.939659319 | |
# the above price of 142 DAI for 1 ETH looks correct to me | |
ETH/USDC via Kyber best of 1 Bid = 130.40041255 | |
# the above price of 130 USDC for 1 ETH looks correct to me |
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
pragma solidity 0.5.4; | |
// TODO: https://github.com/0xProject/dev-tools-truffle-example/issues/4#issuecomment-467639079 | |
pragma experimental ABIEncoderV2; | |
/* | |
https://solidity.readthedocs.io/en/v0.5.0/050-breaking-changes.html#interoperability-with-older-contracts | |
https://github.com/0xProject/0x-monorepo/blob/development/contracts/exchange/contracts/src/interfaces/IExchange.sol | |
TODO: i don't think changing types will work. that changes the call signature. i need the original types for this to work! |
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
{ | |
"contractName": "IZrxExchange", | |
"abi": [ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "orders", | |
"type": "bytes[]" | |
}, |
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
{ | |
"schemaVersion": "2.0.0", | |
"contractName": "IZrxExchange", | |
"compilerOutput": { | |
"abi": [ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "orders", |
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
{ | |
"contractName": "IZrxExchange", | |
"abi": [ | |
{ | |
"constant": false, | |
"inputs": [ | |
{ | |
"name": "targetOrderEpoch", | |
"type": "uint256" | |
} |
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
{ | |
"contractName": "GasToken2", | |
"abi": [ | |
{ | |
"constant": true, | |
"inputs": [], | |
"name": "name", | |
"outputs": [ | |
{ | |
"name": "", |
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
pragma solidity 0.5.4; | |
/* https://docs.uniswap.io/smart-contract-integration/interface#factory-interface */ | |
interface IUniswapFactory { | |
// Public Variables | |
// address public exchangeTemplate; | |
function exchangeTemplate() external view returns (address _exchangeTemplate); | |
// uint256 public tokenCount; | |
function tokenCount() external view returns (uint256 _tokenCount); |