
function TD_unix2human() {
    local OS_SYSTEM=`uname -s`
    local ival="$(echo ${1}|tr -d '"')"
    if [[ "$OS_SYSTEM" == "Linux" ]];then
        echo "$(date  +'%F %T %Z' -d @$ival)"
    else
        echo "$(date -r $ival +'%F %T %Z')"
    fi
}

VestRound=`tonos-cli run $(cat $KEYS_DIR/depool.addr) getParticipantInfo "{\"addr\":\"$(cat $KEYS_DIR/$(hostname -s).addr)\"}" --abi $DSCs_DIR/DePool.abi.json| sed -e '1,/Succeeded./d'|sed 's/Result: //'|jq '[.vestings[]]|.[0]'`