Change poker method

This commit is contained in:
nolash 2021-12-21 14:23:33 +00:00
parent 6562d37a30
commit 3a52a78e93
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -12,7 +12,7 @@ for token_address in ${token_addresses[@]}; do
v=`eth-encode --signature demurrageAmount -e $token_address --notx` v=`eth-encode --signature demurrageAmount -e $token_address --notx`
>&2 echo last demurrage apply call for $token_address was value $v at $t >&2 echo last demurrage apply call for $token_address was value $v at $t
if [ "$?" -eq 0 ]; then if [ "$?" -eq 0 ]; then
h=`eth-encode --signature changePeriod -i $CHAIN_SPEC -y $WALLET_KEY_FILE -e $token_address --fee-limit 8000000 -s -ww` h=`eth-encode --signature applyDemurrage -i $CHAIN_SPEC -y $WALLET_KEY_FILE -e $token_address --fee-limit 8000000 -s -ww`
>&2 echo applied demurrage on $token_address tx hash $h >&2 echo applied demurrage on $token_address tx hash $h
fi fi
done done