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
# ./flap_checker.sh 1 10 1900 | |
# will check flaps 1 through 9 if they are selling at more than 6% deviation from 1900 | |
ID=$1 | |
END_ID=$2 | |
FAIR_PRICE=$3 | |
while [[ ID -ne END_ID ]] | |
do | |
ret=`seth call 0xC4269cC7acDEdC3794b221aA4D9205F564e27f0d "bids(uint256)(uint256,uint256,address,uint48,uint48)" $ID` | |
a=($(echo "$ret" | tr ',' '\n')) |
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
// BUGGED, DO NOT DEPLOY | |
// SPDX-License-Identifier: AGPL-3.0-only | |
pragma solidity ^0.8.11; | |
/// @title AvsBGame | |
/// @notice A Liar's Game: Vote by putting ETH behind A or B ... the side with the least votes gets all the ETH | |
/// @author AvsB Team | |
/// @dev Built using a Commit-Reveal scheme |
OlderNewer